From sunshine at public.kherson.ua Sun Feb 1 00:15:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jan 31 16:15:13 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? // db.EraseOnDelete In-Reply-To: Message-ID: on 1/31/04 11:48 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: >>> For encrypted it should be done by default, opposite than for >>> unencrypted. We discussed this last year. If it is not done, there is >>> a chance of inappropriate data exposure to prying eyes. >> >> But data are encrypted! >> >> What problems? >> >> Nobody can read them. Garbage. >> >> If you think that somebody can read encrypted data, >> Then your original encrypted data even in more danger. >> >> Hopefully, encrypted data are protected. > > As far as I know, Valentian encrypts only current data. Since data > may be left in records deleted before encryption that data may remain > visible. Or does valentina encrypt now all records, regardless > whether they are deleted or not? I see what you mean. records DELETED before ENCRYPTION set. Mmmm, Valentina always encrypt 1KB of data, one by one. So it do not choose between deleted and existed records. In 2.0, files always will be read by 4KB pages. And encrypted will be page a block. So no problems 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 erichg at mcmm.com Sun Feb 1 00:13:39 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Sat Jan 31 17:13:53 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: References: Message-ID: - Cross platform language support (already discussed here) - Sub-selects on cursors (already discussed) - Callbacks for client timeouts on active cursors It would save a lot of error tracking if we could get a message in that case. - Better documentation I know it's not easy during development, but I would love to have a complete list of error codes including system errors. Erich From steinman at midsouth.rr.com Sun Feb 1 01:34:35 2004 From: steinman at midsouth.rr.com (Scott Steinman) Date: Sun Feb 1 01:34:43 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? Message-ID: <154071F9-5489-11D8-B4F0-000A95C45232@midsouth.rr.com> I'd like to see dedicated video and audio field types (just like pictures are a dedicated field type) in V4RB, so that VBlobs and conversions wouldn't need to be used. Dr. Scott Steinman steinman@midsouth.rr.com From sunshine at public.kherson.ua Sun Feb 1 10:31:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 1 02:31:51 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: Message-ID: on 2/1/04 1:13 AM, Erich Geiersberger at erichg@mcmm.com wrote: > - Callbacks for client timeouts on active cursors > It would save a lot of error tracking if we could get a message in that case. Explain 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 Sun Feb 1 10:32:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 1 02:32:29 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: <4385FCEF-5443-11D8-89C9-000A95A4E83A@mindstarprods.com> Message-ID: on 2/1/04 1:14 AM, Frank Schima at frank-list2@mindstarprods.com wrote: >>> I was just thinking of on the fly temp table creation for complex SQL >>> selects so you can easily sub-select from it. Like this: >>> >>> SELECT a, b, c >>> FROM table1, table2, table3 >>> WHERE condition1 AND condition2... >>> INTO new_table >> >> Frank, this can be done right now in 1.x using >> INSERT ... (SELECT) >> >> Something exist for such task. >> >> >> Does in above query, DBMS should self create new TMP table according >> cursor >> fields? Or that new_table must be prepared manually before query? > > The DBMS should automatically create a new TMP table based on the > fields SELECTed in the Query. That's what I meant by "on the fly" table > creation. Hi Frank, Ok, this is standard? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Sun Feb 1 22:35:55 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Sun Feb 1 03:33:58 2004 Subject: V4RB Windows VarChar Error 351 Message-ID: Hi Ruslan, I've been struggling all week trying to solve these issues I'm having with sending data over TCP/IP across to my server program. Some of the problems appeared to be related to windows double-sending pockets across so I have managed to solve these. The latest issue, though, is still related to error 351 which is a varchar error. All I am sending in each packet is a single record as a text field. This record contains a mix of string, short, varchar fields, etc. Sending from Mac to Mac - no problem. The program comes up with no errors at all and works consistently over 100's of records. Working directly on my PC without sending to the server works with no problems. The records save with no errors at all. But, sending from either Mac to PC or PC to PC using the same program and the same dataset, after a few records go across, the server program brings up an error 351 with the assessment database being corrupt. This is not on a single record - it is on a random record and can occur at any time - after 10 records have been sent across or maybe 15 or whatever. I cannot see any reason for this to occur at all. I am using the same download for V4RB for both Mac and Windows. All I am doing is getting the text to go into the field, setting the string with that text and adding or updating the record depending on whether I am adding or editing. I'm not sure where to go from here. I have checked every record as it is going through and seen what is going in the assessments database varchar field (there is only 1 varchar field in this database) and they are all perfectly fine. Yet the database continues to corrupt. I have tried this with the standard 1.10 plugin, the windows 1.10 plugin and the 1.9 plugin as well. I feel that there is a problem somewhere in the varchar field in the windows version as this problem does not occur at all in the Macintosh version. Any help would be much appreciated. -- 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 erichg at mcmm.com Sun Feb 1 10:52:19 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Sun Feb 1 03:58:17 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: References: Message-ID: > > - Callbacks for client timeouts on active cursors > > It would save a lot of error tracking if we could get a message >in that case. > >Explain please Let's say a client has created server side cursors. He leaves while a data selection is open. When he comes back he might want to try to access one of the records. Since meanwhile his session has been terminated by the server I need to track for the error on each and every single data access. I think the server knows which client has requested cursors. When a client timeout occurs, it could send a message back to the client before it disconnects the him. The same could be done when the server is stopped. At least Director offers callback methods which could receive such a message. It would simplify handling of this kind of events. I could display an alert to the user "You have been disconnected due to inactivity" and send him back to a login screen. Erich From erichg at mcmm.com Sun Feb 1 11:50:23 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Sun Feb 1 04:50:43 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: <5875C1F8-5444-11D8-89C9-000A95A4E83A@mindstarprods.com> References: <5875C1F8-5444-11D8-89C9-000A95A4E83A@mindstarprods.com> Message-ID: >>- Better documentation >>I know it's not easy during development, but I would love to have a >>complete list of error codes including system errors. > >I have a database on my web site with all Valentina error codes. > >http://homepage.mac.com/macsforever2000/visql/errors_db.hqx > > >Best regards, >Frank Thanks Frank, but it's also not complete. Valentinaerror also returns windows system error numbers like 10038, 10054, 10061. From sunshine at public.kherson.ua Sun Feb 1 14:49:13 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 1 06:49:22 2004 Subject: V4RB Windows VarChar Error 351 In-Reply-To: Message-ID: on 2/1/04 11:35 AM, Cindy Brown at cindy@kowhaiprogramming.com wrote: Hi Cindy, > I've been struggling all week trying to solve these issues I'm having with > sending data over TCP/IP across to my server program. Some of the problems > appeared to be related to windows double-sending pockets across so I have > managed to solve these. > > The latest issue, though, is still related to error 351 which is a varchar > error. All I am sending in each packet is a single record as a text field. > This record contains a mix of string, short, varchar fields, etc. > > Sending from Mac to Mac - no problem. The program comes up with no errors at > all and works consistently over 100's of records. Working directly on my PC > without sending to the server works with no problems. The records save with > no errors at all. > > But, sending from either Mac to PC or PC to PC using the same program and > the same dataset, after a few records go across, the server program brings > up an error 351 with the assessment database being corrupt. This is not on a > single record - it is on a random record and can occur at any time - after > 10 records have been sent across or maybe 15 or whatever. I cannot see any > reason for this to occur at all. I am using the same download for V4RB for > both Mac and Windows. All I am doing is getting the text to go into the > field, setting the string with that text and adding or updating the record > depending on whether I am adding or editing. > > I'm not sure where to go from here. I have checked every record as it is > going through and seen what is going in the assessments database varchar > field (there is only 1 varchar field in this database) and they are all > perfectly fine. Yet the database continues to corrupt. I have tried this > with the standard 1.10 plugin, the windows 1.10 plugin and the 1.9 plugin as > well. I feel that there is a problem somewhere in the varchar field in the > windows version as this problem does not occur at all in the Macintosh > version. > > Any help would be much appreciated. 1) I doubt this is bug in kernel. You self say that you have TEST your app on the same PC. And it works fine, yes? IF bug is in kernel, then this variant also should produce problems. Agree? 2) then the only source of problems -- how you have made your server. -- threading -- networking -- user handling I wonder, do you use in REALbasic any semaphores/mutexes To wrap access to Valentina? 3) am I right that you get problems even when send info from ONE client connected to YOUR server? Strange. Cindy, when you say: working directly on PC What you mean? Client and your server both on the same computer and use use localhost As point of connect? In any case I think problem NOT in kernel. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 1 14:50:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 1 06:50:32 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: Message-ID: on 2/1/04 12:50 PM, Erich Geiersberger at erichg@mcmm.com wrote: > Thanks Frank, but it's also not complete. > Valentinaerror also returns windows system error numbers like 10038, > 10054, 10061. For mac OS you can use AppleErrors utility. For Windows exists MS utility ErrorLockup -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 1 14:54:02 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 1 06:54:06 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: Message-ID: on 2/1/04 11:52 AM, Erich Geiersberger at erichg@mcmm.com wrote: >>> - Callbacks for client timeouts on active cursors >>> It would save a lot of error tracking if we could get a message >> in that case. >> >> Explain please > > Let's say a client has created server side cursors. He leaves while a > data selection is open. When he comes back he might want to try to > access one of the records. Since meanwhile his session has been > terminated by the server I need to track for the error on each and > every single data access. > > I think the server knows which client has requested cursors. When a > client timeout occurs, it could send a message back to the client > before it disconnects the him. > The same could be done when the server is stopped. ----------------- > At least Director offers callback methods which could receive such a message. > > It would simplify handling of this kind of events. I could display an > alert to the user "You have been disconnected due to inactivity" and > send him back to a login screen. I see what you mean! Igor, to implement this, you need add into C++ Client SDK, Callback function which IS called when server send to client message that it is disconnected. I am sure it send such message, yes? Then we will be able use this callback to implement in V4MD and V4RB callback on Lingo and RB code level. You see? REALbasic name this Events it seems. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 1 14:58:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 1 06:58:23 2004 Subject: [DIRECT-L] Valentina 2.0. -- What is your 3 DREAM features? // XML In-Reply-To: <20040201060023.4F2B93B651@kondor.ukrcom.kherson.ua> Message-ID: > Date: Sat, 31 Jan 2004 11:58:29 +0100 > From: Florian Bogeschdorfer > > Mix, subtract, add, merge existing cursors We have made this on SQL level in the first turn. > Erasing (overwriting) deleted records on demand ok > Export cursors to XML Florian, explain this in details. Very in details. What query for example you do? what XML format you want to get from us? how and where you will use this XML dump? Please answer on Valentina list. Just when we here discuss this feature, the right way from our point of view is not simple. In the same time, we wonder, may be we think in very complex way? May be 80% of developers need something simpler? > Using V4MD local AND server at once ok > Callback handlers for large DB operations (for progress bar) 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 Sun Feb 1 15:04:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 1 07:04:58 2004 Subject: [VSRV] standalone license files updated Message-ID: Hi Guys, Today is 1 Feb, And if you use Valentina server in DEMO mode, you need update license file. You can download them 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 erichg at mcmm.com Sun Feb 1 15:27:13 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Sun Feb 1 08:27:47 2004 Subject: V4RB Windows VarChar Error 351 In-Reply-To: References: Message-ID: >Hi Ruslan, > >I've been struggling all week trying to solve these issues I'm having with >sending data over TCP/IP across to my server program. Some of the problems >appeared to be related to windows double-sending pockets across so I have >managed to solve these. > >The latest issue, though, is still related to error 351 which is a varchar >error. All I am sending in each packet is a single record as a text field. >This record contains a mix of string, short, varchar fields, etc. > >Sending from Mac to Mac - no problem. The program comes up with no errors at >all and works consistently over 100's of records. Working directly on my PC >without sending to the server works with no problems. The records save with >no errors at all. > >But, sending from either Mac to PC or PC to PC using the same program and >the same dataset, after a few records go across, the server program brings >up an error 351 with the assessment database being corrupt. This is not on a >single record - it is on a random record and can occur at any time - after >10 records have been sent across or maybe 15 or whatever. I cannot see any >reason for this to occur at all. I am using the same download for V4RB for >both Mac and Windows. All I am doing is getting the text to go into the >field, setting the string with that text and adding or updating the record >depending on whether I am adding or editing. > >I'm not sure where to go from here. I have checked every record as it is >going through and seen what is going in the assessments database varchar >field (there is only 1 varchar field in this database) and they are all >perfectly fine. Yet the database continues to corrupt. I have tried this >with the standard 1.10 plugin, the windows 1.10 plugin and the 1.9 plugin as >well. I feel that there is a problem somewhere in the varchar field in the >windows version as this problem does not occur at all in the Macintosh >version. > >Any help would be much appreciated. We have made Client-Server test during the last weeks with V4MD and we also had problems with this message. While I am not sure if it works in the same way with V4RB, here are some ideas: Error 351 occured quite often, when a client using read locks wrote to a record and tried to read from the same table immediately afterwards. This might also be related to the fact that our database gets flushed after each write. The server debug window showed an error 351 "VarChar Field corrupted" immediately followed by a "error 0, no error". After a first occurance of that error, it happened more often, but went away after a server restart. I have checked my database a couple of times and found NO errors in it when that happened. After setting most of our cursors to no read locks, it occured a lot less often. I am not absoultely sure what condition makes it happen, but I am quite sure that the message is wrong. It seemed to happen when we tried to read from a freshly edited record while it got flushed to disk. HTH Erich From rjb at rz.uni-potsdam.de Sun Feb 1 15:16:42 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Sun Feb 1 08:31:29 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: References: Message-ID: >on 2/1/04 11:52 AM, Erich Geiersberger at erichg@mcmm.com wrote: > >>>> - Callbacks for client timeouts on active cursors >>>> It would save a lot of error tracking if we could get a message >>> in that case. >>> >>> Explain please >> >> Let's say a client has created server side cursors. He leaves while a >> data selection is open. When he comes back he might want to try to >> access one of the records. Since meanwhile his session has been >> terminated by the server I need to track for the error on each and >> every single data access. >> >> I think the server knows which client has requested cursors. When a >> client timeout occurs, it could send a message back to the client >> before it disconnects the him. >> The same could be done when the server is stopped. > >----------------- >> At least Director offers callback methods which could receive such >>a message. >> >> It would simplify handling of this kind of events. I could display an >> alert to the user "You have been disconnected due to inactivity" and >> send him back to a login screen. > >I see what you mean! > >Igor, to implement this, you need add into C++ Client SDK, >Callback function which IS called when server send to client message that it >is disconnected. > >I am sure it send such message, yes? > >Then we will be able use this callback to implement in V4MD and V4RB >callback on Lingo and RB code level. You see? >REALbasic name this Events it seems. > > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] I am not sure whether supporting callbacks is the true solution. I think it covers really only the situation when the disconnection is due to inactivity or when the server administrator disconnects the user. If the disconnection is due to network, server, or client computer malfunction, the callback can't reach the client or be used as expected. So, error checking on the client side is required anyway. Basically, when using network, we can't assume uninterupted communication, so the programs on both ends have to account for it on each and every client-server exchange. But, of course, if implementing callbacks is not a big deal, it may be nice to have them to simplify things in some cases. Robert From sunshine at public.kherson.ua Sun Feb 1 17:20:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 1 09:20:20 2004 Subject: V4RB Windows VarChar Error 351 In-Reply-To: Message-ID: on 2/1/04 4:27 PM, Erich Geiersberger at erichg@mcmm.com wrote: > We have made Client-Server test during the last weeks with V4MD and > we also had problems with this message. While I am not sure if it > works in the same way with V4RB, here are some ideas: > > Error 351 occured quite often, when a client using read locks wrote > to a record and tried to read from the same table immediately > afterwards. > > This might also be related to the fact that our database gets flushed > after each write. > > The server debug window showed an error 351 "VarChar Field corrupted" > immediately followed by a "error 0, no error". After a first > occurance of that error, it happened more often, but went away after > a server restart. > > I have checked my database a couple of times and found NO errors in > it when that happened. > > After setting most of our cursors to no read locks, it occured a lot > less often. > > I am not absoultely sure what condition makes it happen, but I am > quite sure that the message is wrong. It seemed to happen when we > tried to read from a freshly edited record while it got flushed to > disk. Agree Erich, that message wrong. Igor, try to reproduce this. Erich have give good details it seems. And 1) Cindy use not Valentina server but own one 2) as I see, he get db files really corrupted. So his problem should be 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 frank-list2 at mindstarprods.com Sun Feb 1 11:02:04 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Sun Feb 1 10:02:10 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: References: Message-ID: Hi Ruslan, On Feb 1, 2004, at 3:32 AM, Ruslan Zasukhin wrote: > on 2/1/04 1:14 AM, Frank Schima at frank-list2@mindstarprods.com wrote: >> >> The DBMS should automatically create a new TMP table based on the >> fields SELECTed in the Query. That's what I meant by "on the fly" >> table >> creation. > > Hi Frank, > > Ok, this is standard? I don't know, but Sybase does this. Best regards, Frank From cindy at kowhaiprogramming.com Mon Feb 2 11:19:06 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Sun Feb 1 16:17:06 2004 Subject: V4RB Windows VarChar Error 351 In-Reply-To: Message-ID: Hi Ruslan, >> I am not absoultely sure what condition makes it happen, but I am >> quite sure that the message is wrong. It seemed to happen when we >> tried to read from a freshly edited record while it got flushed to >> disk. > > Agree Erich, that message wrong. > > Igor, try to reproduce this. > Erich have give good details it seems. > > And > > 1) Cindy use not Valentina server but own one > 2) as I see, he get db files really corrupted. As far as I can see, Erich is right. I put in error messages in my server and workstations recently to make sure I know if the databases have been corrupted. This works fine on Macintosh. I assumed that if the database was coming up with an error that it would mean it was corrupt. Without VAPP on windows it is difficult to check. Once I took these error checks out, the database appears to be working much better. Strangely enough, before I took the checks out, it was bringing up a varchar error when adding to a database that has no varchar fields!!! It appears to me that the database has a definite messaging error for varchar, particularly on windows, when there isn't actually an error. I could probably have done without this as I have spent four days on working on an issue that may not have been as bad as I thought it was. By the way, I am a she, not a he. -- 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 deane.venske at eduss.com Mon Feb 2 08:19:48 2004 From: deane.venske at eduss.com (Deane Venske) Date: Sun Feb 1 16:19:58 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: References: Message-ID: I'd like to see : - Cross database queries. - Proper implementation of functions so we can compare or join fields in queries. - Maybe command line tools similar to mysqldump. Something that we can use to dump X amount of sql queries into a database to update it, not replace it. This would be even better if it could be done through the API. - Dumping that could accept different parameters to control what gets dumped like data only, table structures only, specific tables. I use this extensively with mysql like : mysqldump table1, table2 > myDumpFile.sql, it is very good for backups and updates, but if we could have it built into the V4MD/V4RB API it would mean we could do very good maintenance on our databases if we need to. -- 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 Feb 2 00:21:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 1 16:21:31 2004 Subject: V4RB Windows VarChar Error 351 In-Reply-To: Message-ID: on 2/2/04 12:19 AM, Cindy Brown at cindy@kowhaiprogramming.com wrote: Hi Cindy, >>> I am not absoultely sure what condition makes it happen, but I am >>> quite sure that the message is wrong. It seemed to happen when we >>> tried to read from a freshly edited record while it got flushed to >>> disk. >> >> Agree Erich, that message wrong. >> >> Igor, try to reproduce this. >> Erich have give good details it seems. >> >> And >> >> 1) Cindy use not Valentina server but own one >> 2) as I see, he get db files really corrupted. > > As far as I can see, Erich is right. I put in error messages in my server > and workstations recently to make sure I know if the databases have been > corrupted. This works fine on Macintosh. I assumed that if the database was > coming up with an error that it would mean it was corrupt. Without VAPP on > windows it is difficult to check. Once I took these error checks out, the > database appears to be working much better. Strangely enough, before I took > the checks out, it was bringing up a varchar error when adding to a database > that has no varchar fields!!! You can use Valentina studio on Windows to make Diagnose! Also you can move db files to MAC and use VAPP. It is not a problems that db files from Windows. > It appears to me that the database has a definite messaging error for > varchar, particularly on windows, when there isn't actually an error. I > could probably have done without this as I have spent four days on working > on an issue that may not have been as bad as I thought it was. Ok, so we are close to isolate this problem! > By the way, I am a she, not a he. Ops, sorry madam. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 2 00:27:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 1 16:27:46 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: Message-ID: on 2/2/04 12:19 AM, Deane Venske at deane.venske@eduss.com wrote: > I'd like to see : > > - Cross database queries. We think on attached tables. > - Proper implementation of functions so we can compare or join fields in > queries. You mean usage of functions in select? done > - Maybe command line tools similar to mysqldump. Something that we can use > to dump X amount of sql queries into a database to update it, not replace > it. This would be even better if it could be done through the API. > - Dumping that could accept different parameters to control what gets > dumped like data only, table structures only, specific tables. I use this > extensively with mysql like : mysqldump table1, table2 > myDumpFile.sql, > it is very good for backups and updates, but if we could have it built > into the V4MD/V4RB API it would mean we could do very good maintenance on > our databases if we need to. Ok I see, Deane. We have it for the whole db, you want detalization up to Table level. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Mon Feb 2 11:33:52 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Sun Feb 1 16:31:54 2004 Subject: V4RB Windows VarChar Error 351 In-Reply-To: Message-ID: Hi Ruslan, > You can use Valentina studio on Windows to make Diagnose! > > Also you can move db files to MAC and use VAPP. > It is not a problems that db files from Windows. Happy to use Valentina Studio but where do I download it from? > >> It appears to me that the database has a definite messaging error for >> varchar, particularly on windows, when there isn't actually an error. I >> could probably have done without this as I have spent four days on working >> on an issue that may not have been as bad as I thought it was. > > Ok, so we are close to isolate this problem! That would be great. This last week's experience with working with PC's instead of Macs has reconfirmed my dislike of PC's, that's for sure. > >> By the way, I am a she, not a he. > > Ops, sorry madam. No worries! Wouldn't want you to think all programmers were male. -- 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 Mon Feb 2 00:33:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 1 16:33:38 2004 Subject: V4RB Windows VarChar Error 351 In-Reply-To: Message-ID: on 2/2/04 12:33 AM, Cindy Brown at cindy@kowhaiprogramming.com wrote: Hi Cindy, >> You can use Valentina studio on Windows to make Diagnose! >> >> Also you can move db files to MAC and use VAPP. >> It is not a problems that db files from Windows. > > Happy to use Valentina Studio but where do I download it from? On our home page present AD with link to Valentina studio. You will need at first subscribe to beta testing of 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 dave at Parizek.com Sun Feb 1 22:37:43 2004 From: dave at Parizek.com (Dave Parizek) Date: Sun Feb 1 23:37:34 2004 Subject: sql question In-Reply-To: References: Message-ID: -- I have 2 tables joined via an object ptr. Each one has some price data in it. I need to get the records where the price field of one table is greater than the price field in the other. I want to sqlselect: select * from a, b where a.f2 > b.f3 ( b many to one a, a and b joined by object pointers, a.f2 and b.f3 are say two fields with float numbers -- not the ptr or recid fields). I get a 613 error when I run this. Can I not do this in V4RB 1.98 and I need to wait for 2.0? Or am I constructing my query wrong? Is there a term for this kind of query, maybe someone has already mentioned it by its term and I am newbie not knowing term? --Dave From dave at Parizek.com Sun Feb 1 22:41:30 2004 From: dave at Parizek.com (Dave Parizek) Date: Sun Feb 1 23:41:19 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: References: Message-ID: My 3 dream "features": 1. ready to go so I can use it this week. tomorrow. yesterday. 2. very cheap or free upgrade if you just paid for Valentina less than 3-4 months ago and haven't used it to release/build anything yet because you discovered you have to have a feature in 2.0 before you can release your product 3. if not ready to go this week, ready to go next week. Maybe these don't fit the "feature" part, just the dream/wish part? (-: --Dave -- From giv at tlc.kherson.ua Mon Feb 2 11:52:52 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon Feb 2 03:57:14 2004 Subject: V4RB Windows VarChar Error 351 References: Message-ID: <000501c3e972$ea08e1a0$731026c3@giv> Hi Erich, > We have made Client-Server test during the last weeks with V4MD and > we also had problems with this message. While I am not sure if it > works in the same way with V4RB, here are some ideas: > > Error 351 occured quite often, when a client using read locks wrote > to a record and tried to read from the same table immediately > afterwards. > > This might also be related to the fact that our database gets flushed > after each write. > > The server debug window showed an error 351 "VarChar Field corrupted" > immediately followed by a "error 0, no error". After a first > occurance of that error, it happened more often, but went away after > a server restart. Can you, please, send me a small test project reproduced the problem? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv_ua@inbox.ru web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From kgrob at mus.ch Mon Feb 2 11:53:35 2004 From: kgrob at mus.ch (Karl Grob) Date: Mon Feb 2 04:53:44 2004 Subject: V4RB: Encoding VString - VText Message-ID: <0CED63A7-556E-11D8-9F7D-0003933EA490@mus.ch> I have a problem with the encoding of german "Umlaute" (=8A, =9A, =9F = ...) =20 and Class VText. My System: RB 5.2.4 Mac OS 10.3.2 Windows98 (VirtualPC) V4RB.rbx 23.12.03 (4'758'576 Bytes) The following procedure produces a correct string (example is =8A) in = the =20 MsgBox on the Mac: =8A - 138 On Windows the MsgBox shows: =F5 - 137 with exactly the same code, if the VField is of the class VText. The =20 Problem is there with or without DefineEncoding. If I pass the returned string in Windows to a EditField, the Text does =20= not show. Mac is correct. The class VString works correctly. If I encode the Database with DOSLatinUS (while importing Data), I do =20= not get the right encoding for the Valentina-Program, i.e. the =8A, =9A, = =9F =20 etc. dont show correctly. (By the way: If I set the Language of VString =20= or VText to "German", Valentina shows always ASCII. The only way to =20 change the language seems to be the Valentina-Program itself.) Thanks for your help. Karl / =20 ------------------------------------------------------------------------=20= -------- Function getVFieldVal(cur As VCursor, Name As string) As String dim s, s1, ch As string dim i As Integer s =3D DefineEncoding(cur.Field(Name).GetString, encDB) // encDB =3D =20= Encodings.MacRoman // Just for the Test for i =3D 1 to len(s) if Asc(mid(s, i, 1)) > 127 then ch =3D mid(s, i, 1) MsgBox ch + " - " + format(Asc(mid(s, i, 1)), "#") // Mac: =8A = =3D =20 138 (correct); Windows: | =3D 137 (???) end if next // End Test s1 =3D ConvertEncoding(s, encPrg) // encPrg =3D = Encodings.SystemDefault return s1 End Function / =20 ------------------------------------------------------------------------=20= -------- ------ Karl Grob Glockengasse 4 CH-8001 Z=9Frich kgrob@mus.ch= From sunshine at public.kherson.ua Mon Feb 2 16:54:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 2 08:54:58 2004 Subject: V4RB: Encoding VString - VText In-Reply-To: <0CED63A7-556E-11D8-9F7D-0003933EA490@mus.ch> Message-ID: on 2/2/04 12:53 PM, Karl Grob at kgrob@mus.ch wrote: Hi Karl, > I have a problem with the encoding of german "Umlaute" (?, ?, ? ...) > and Class VText. > > My System: > RB 5.2.4 > Mac OS 10.3.2 > Windows98 (VirtualPC) > V4RB.rbx 23.12.03 (4'758'576 Bytes) > > > The following procedure produces a correct string (example is ?) in the > MsgBox on the Mac: > ? - 138 > On Windows the MsgBox shows: > ? - 137 > with exactly the same code, if the VField is of the class VText. The > Problem is there with or without DefineEncoding. > If I pass the returned string in Windows to a EditField, the Text does > not show. Mac is correct. > > The class VString works correctly. VarChar ? > If I encode the Database with DOSLatinUS (while importing Data), I do > not get the right encoding for the Valentina-Program, i.e. the ?, ?, ? > etc. dont show correctly. (By the way: If I set the Language of VString > or VText to "German", Valentina shows always ASCII. The only way to > change the language seems to be the Valentina-Program itself.) Last fact is strange. Sounds like V4RB do not set German language for you. After change in VAPP, does it works fine then? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Mon Feb 2 16:03:05 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Feb 2 09:03:22 2004 Subject: AW: [DIRECT-L] Valentina 2.0. -- What is your 3 DREAM features? // XML In-Reply-To: Message-ID: How did this come to Direct-L ???? > > > > Mix, subtract, add, merge existing cursors > > We have made this on SQL level in the first turn. OK. Say I make 2 cursors with similar requests: Cursor1=makeCursor("SELECT * FROM table WHERE name='Florian') Cursor2=makeCursor("SELECT * FROM table WHERE name='Ruslan') Cursor3=VALmergeCursor(Cursor1,Cursor2) The result is a new cursor having all records from Cursor 1 and 2. I know this can be easily done with SQL but what if the SELECT criteria is much larger? Also what about speed (we discussed that already, remember?) It would moreover be so elegant. Also maybe you have a large cursor and you could easily subtract step by step. Or you have the result of a time-consuming query and hold it in RAM. Now some parameters change by time/demand/whatever and instead of doing an all new query on the whole database I just say: "please subtract all names starting with 'r'". Or two clients make a similar cursor depending on some client data. Now I want to use both cursors from a third client and work with the data in a repeat loop. Instead of having to check both cursors I merge them and have no double records maybe. So: ADD would put two cursors together, if results are double, the cursor will have it double MERGE will join the two cursors, looking if some results and ids are the same and have a double record only occur once SUBTRACT will subtract :-) Of course this needs a lot of thinking. Maybe only cursors with the same tables and fields can be used (would make sense for me) Example: in my database application my user looks for adresses and names for a weekly mailing. He makes a cursor with all girls between 20 and 30 from bavaria maybe. I kind of "store" this cursor in my application, saving the record Ids (my own, not RecId) and the query. Now the other day, my client says he wants to send out a mailing again but he has made another very complex search where he determined records that should not receive mail anymore. He has saved this result also. Now he could say: take mailing list query (1) and subtract this list (query 2). Voila: all I do is make cursor 1, make cursor 2 and do VALsubtractCursors(cursor1,cursor2). Now need to somehow make a most difficult SQL syntax that even might not work due to some restrictions in SQL. I would also like so save cursors to disk. Make a query, need the cursor again in some days, so I save it to disk. Interesting, because if I would repeat the query in a week, it might not be the same because of changed data. Right now, I save a list with my own record Ids to disk, but I can not make it a cursor anymore...I have to go through the list step by step if I need additional data. I love this cursor thing (after having adepted to it) but I would like to work with them more comfortable: ADD,MERGE,SUBTRACT,LOAD,SAVE,XMLDUMP About the XML dump: Right now we can export the whole DB to XML. Now again my user makes his mailing selection SELECT * FROM myCustomers WHERE girls are between 20 and 30 and come from Bavaria Now he wants to use this cursor data with another program (say his preferred label print program) At the moment I export this to .csv with my own routines. I would love to export the result of a query (a cursor with record data) to an external XML file so one could use it in other programs. I am no XML pro so maybe this is not enough info but the format could be similar to the dump() feature but only with the cursor data... Best regards, Florian > > > Erasing (overwriting) deleted records on demand > > ok > > > Export cursors to XML > > Florian, explain this in details. > Very in details. > > What query for example you do? > what XML format you want to get from us? > how and where you will use this XML dump? > > Please answer on Valentina list. > > > Using V4MD local AND server at once > > ok > > > Callback handlers for large DB operations (for progress bar) > > ok From kgrob at mus.ch Mon Feb 2 16:24:15 2004 From: kgrob at mus.ch (Karl Grob) Date: Mon Feb 2 09:24:23 2004 Subject: V4RB: Encoding VString - VText In-Reply-To: References: Message-ID: Am 02.02.2004 um 15:54 schrieb Ruslan Zasukhin: > on 2/2/04 12:53 PM, Karl Grob at kgrob@mus.ch wrote: > > Hi Karl, > >> I have a problem with the encoding of german "Umlaute" (=8A, =9A, =9F = ...) >> and Class VText. >> >> My System: >> RB 5.2.4 >> Mac OS 10.3.2 >> Windows98 (VirtualPC) On my Laptop (Windows98, Compilation with RB 5.2.4 for Windows): Same=20 results >> V4RB.rbx 23.12.03 (4'758'576 Bytes) >> >> >> The following procedure produces a correct string (example is =8A) in=20= >> the >> MsgBox on the Mac: >> =8A - 138 >> On Windows the MsgBox shows: >> =F5 - 137 >> with exactly the same code, if the VField is of the class VText. The >> Problem is there with or without DefineEncoding. >> If I pass the returned string in Windows to a EditField, the Text = does >> not show. Mac is correct. >> >> The class VString works correctly. > VarChar ? I don't use Varchar, only VString and VText. (VarChar would give too much Overhead, because the Texts of all the=20 Works of a Swiss Poet are splitted up within the DB in their respective=20= Words (> 3000000 Records) (with Variants, Comments, Textformatting and=20= Pictures of the original Documents etc. DB > 2 GB ). The Declaration (Extract): // DB_Language is a Constant =3D "German", PFix is a Constant and works=20= as Prefix for the Names of BO. Fld_Autor =3D new VString((PFix + "Autor"), 120, DB_Language) Fld_Titel =3D new VText((PFix + "Titel"), 128, DB_Language) >> If I encode the Database with DOSLatinUS (while importing Data), I do >> not get the right encoding for the Valentina-Program, i.e. the =8A, = =9A, =9F >> etc. dont show correctly. (By the way: If I set the Language of=20 >> VString >> or VText to "German", Valentina shows always ASCII. The only way to >> change the language seems to be the Valentina-Program itself.) > > Last fact is strange. > Sounds like V4RB do not set German language for you. > > After change in VAPP, does it works fine then? No, there is no difference. I just mentioned it to give you this=20 information. > > --=20 > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 > > ------ Karl Grob Glockengasse 4 CH-8001 Z=9Frich kgrob@mus.ch From kgrob at mus.ch Mon Feb 2 17:26:56 2004 From: kgrob at mus.ch (Karl Grob) Date: Mon Feb 2 10:27:03 2004 Subject: V4RB: Encoding VString - VText In-Reply-To: References: Message-ID: <9E0518AA-559C-11D8-9F7D-0003933EA490@mus.ch> Supplement: Am 02.02.2004 um 15:54 schrieb Ruslan Zasukhin: > on 2/2/04 12:53 PM, Karl Grob at kgrob@mus.ch wrote: >> The following procedure produces a correct string (example is =8A) in=20= >> the >> MsgBox on the Mac: >> =8A - 138 >> On Windows the MsgBox shows: >> =F5 - 137 >> with exactly the same code, if the VField is of the class VText. The >> Problem is there with or without DefineEncoding. >> If I pass the returned string in Windows to a EditField, the Text = does >> not show. Mac is correct. >> >> The class VString works correctly. > VarChar ? > VarChar works like VString. (It still remains, that the EditField=20 doesn't show the Text) > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > ------ Karl Grob Glockengasse 4 CH-8001 Z=9Frich kgrob@mus.ch From sunshine at public.kherson.ua Mon Feb 2 19:32:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 2 11:32:59 2004 Subject: V4RB: Encoding VString - VText In-Reply-To: Message-ID: on 2/2/04 5:24 PM, Karl Grob at kgrob@mus.ch wrote: >>> The class VString works correctly. >> VarChar ? > > I don't use Varchar, only VString and VText. > (VarChar would give too much Overhead, because the Texts of all the > Works of a Swiss Poet are splitted up within the DB in their respective > Words (> 3000000 Records) (with Variants, Comments, Textformatting and > Pictures of the original Documents etc. DB > 2 GB ). > > The Declaration (Extract): > // DB_Language is a Constant = "German", PFix is a Constant and works > as Prefix for the Names of BO. > > Fld_Autor = new VString((PFix + "Autor"), 120, DB_Language) > Fld_Titel = new VText((PFix + "Titel"), 128, DB_Language) > > >>> If I encode the Database with DOSLatinUS (while importing Data), I do >>> not get the right encoding for the Valentina-Program, i.e. the ?, ?, ? >>> etc. dont show correctly. (By the way: If I set the Language of >>> VString >>> or VText to "German", Valentina shows always ASCII. The only way to >>> change the language seems to be the Valentina-Program itself.) >> >> Last fact is strange. >> Sounds like V4RB do not set German language for you. >> >> After change in VAPP, does it works fine then? > > No, there is no difference. I just mentioned it to give you this > information. Hi Karl, 1) once I have hear about such problem, and solution was -- create db on Windows. Then both Win and MAC was happy. 2) can you play with my V4RB Example1, to change it in such way that String fields have German. Make sure it create fields with no German. Then please send to me. I'd like in the first turn debug this 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 sunshine at public.kherson.ua Mon Feb 2 19:34:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 2 11:34:39 2004 Subject: V4RB: Encoding VString - VText In-Reply-To: <9E0518AA-559C-11D8-9F7D-0003933EA490@mus.ch> Message-ID: on 2/2/04 6:26 PM, Karl Grob at kgrob@mus.ch wrote: > Supplement: > Am 02.02.2004 um 15:54 schrieb Ruslan Zasukhin: > >> on 2/2/04 12:53 PM, Karl Grob at kgrob@mus.ch wrote: >>> The following procedure produces a correct string (example is ?) in >>> the >>> MsgBox on the Mac: >>> ? - 138 >>> On Windows the MsgBox shows: >>> ? - 137 >>> with exactly the same code, if the VField is of the class VText. The >>> Problem is there with or without DefineEncoding. >>> If I pass the returned string in Windows to a EditField, the Text does >>> not show. Mac is correct. >>> >>> The class VString works correctly. >> VarChar ? >> > VarChar works like VString. (It still remains, that the EditField > doesn't show the Text) Wait a moment, So you have in code ALWAYS translation from MacRoman to system default? I think this explain problem. Deal is that when you move MAC database to Windows, Valentina self convert from MacRoman to Roman windows encoding -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 2 19:46:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 2 11:46:36 2004 Subject: AW: [DIRECT-L Valentina 2.0. -- What is your 3 DREAM features? // XML In-Reply-To: Message-ID: on 2/2/04 5:03 PM, Florian Bogeschdorfer at fb@memedia.de wrote: >>> Mix, subtract, add, merge existing cursors >> >> We have made this on SQL level in the first turn. > > OK. Say I make 2 cursors with similar requests: > > Cursor1=makeCursor("SELECT * FROM table WHERE name='Florian') > Cursor2=makeCursor("SELECT * FROM table WHERE name='Ruslan') > Cursor3=VALmergeCursor(Cursor1,Cursor2) > > The result is a new cursor having all records from Cursor 1 and 2. I know > this can be easily done with SQL but what if the SELECT criteria is much > larger? So what? SELECT ............................ UNION SELECT .............................. > Also what about speed (we discussed that already, remember?) It > would moreover be so elegant. Also maybe you have a large cursor and you > could easily subtract step by step. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Great words. Actually not easy. All operations on cursor will require at first TOTAL SORTING by all columns. Otherwise you do not have way to COMPARE records in effective way. > Or you have the result of a time-consuming query and hold it in RAM. Now > some parameters change by time/demand/whatever and instead of doing an all > new query on the whole database I just say: "please subtract all names > starting with 'r'". > Or two clients make a similar cursor depending on some client data. Now I > want to use both cursors from a third client and work with the data in a > repeat loop. Instead of having to check both cursors I merge them and have > no double records maybe. > > So: > > ADD would put two cursors together, if results are double, the cursor will > have it double > MERGE will join the two cursors, looking if some results and ids are the > same and have a double record only occur once > SUBTRACT will subtract :-) > Of course this needs a lot of thinking. Maybe only cursors with the same > tables and fields can be used (would make sense for me) What you say can be made in this way: 1) you do SELECT, but not just into cursor, but into new TMP Table SELECT ... INTO Table tmp_t1 SELECT ... INTO Table tmp_t2 Now you have the same task. TABLES. Just by definition cursor is -- RESULT Table. We should not use it so flexible as you offer. Now having tmp_t1, you can tell, SELECT * FROM TMP_t1 EXCEPT SELECT * FROM tmp_T1 WHERE f = 'r' > Example: in my database application my user looks for adresses and names for > a weekly mailing. He makes a cursor with all girls between 20 and 30 from > bavaria maybe. I kind of "store" this cursor in my application, saving the > record Ids (my own, not RecId) and the query. Now the other day, my client > says he wants to send out a mailing again but he has made another very > complex search where he determined records that should not receive mail > anymore. He has saved this result also. Now he could say: take mailing list > query (1) and subtract this list (query 2). Voila: all I do is make cursor > 1, make cursor 2 and do VALsubtractCursors(cursor1,cursor2). Now need to > somehow make a most difficult SQL syntax that even might not work due to > some restrictions in SQL. We will discuss your task between SQL gurus. And will see how this must be made on BIG DBMS. > I would also like so save cursors to disk. Make a query, need the cursor > again in some days, so I save it to disk. Interesting, because if I would > repeat the query in a week, it might not be the same because of changed > data. Right now, I save a list with my own record Ids to disk, but I can not > make it a cursor anymore...I have to go through the list step by step if I > need additional data. Yes, this feature is interesting. ability store cursor to disk, and re-create it back AS CURSOR. I want EXPLAIN potential problems: * very often our cursor do not create TMP table, just keep pointers on original table. * I think we cannot SAVE this pointers to disk, because records can be deleted, and replaced by new, so pointers will be quite wrong. Only way -- create TMP table -- as result of such SAVING. This means total coping of data of all records of cursor. You still want such feature? :-) > I love this cursor thing (after having adepted to it) but I would like to > work with them more comfortable: > ADD,MERGE,SUBTRACT,LOAD,SAVE,XMLDUMP -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 2 12:48:14 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Feb 2 11:48:24 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: References: Message-ID: On Feb 1, 2004, at 7:54 AM, Ruslan Zasukhin wrote: [whack] > > I see what you mean! > > Igor, to implement this, you need add into C++ Client SDK, > Callback function which IS called when server send to client message > that it > is disconnected. > > I am sure it send such message, yes? > > Then we will be able use this callback to implement in V4MD and V4RB > callback on Lingo and RB code level. You see? > REALbasic name this Events it seems. Not quite; events in REALbasic are essentially methods that you declare in a class, but implement in a subclass. Events constitute language support for the Template pattern. Charles Yeomans From sunshine at public.kherson.ua Mon Feb 2 20:00:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 2 12:00:55 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? // XML In-Reply-To: Message-ID: on 2/2/04 5:03 PM, Florian Bogeschdorfer at fb@memedia.de wrote: Hi Florian, > About the XML dump: > > Right now we can export the whole DB to XML. > > Now again my user makes his mailing selection > > SELECT * FROM myCustomers WHERE girls are between 20 and 30 and come from > Bavaria > > Now he wants to use this cursor data with another program (say his preferred > label print program) > > At the moment I export this to .csv with my own routines. > I would love to export the result of a query (a cursor with record data) to > an external XML file so one could use it in other programs. I am no XML pro > so maybe this is not enough info but the format could be similar to the > dump() feature but only with the cursor data... So 1) you think about query on SINGLE table only? 2) you want only export into XML, but you do not need MPORT it back into Valentina ? Just the most cool and interesting features come when we consider multi-table ExportXml(). In the same time this is not very simple for both. In short problem is next: let one record from left table, joined to 4 records ofright. Relational join give us Florian phone1 Florian phone2 Florian phone3 Florian phone4 But XML is hierarchical, and can support the original tree Florian phone1 phone2 phone3 phone4 On import back we can put this XML correctly into 2 tables. And other ways cannot do this. But to implement this, we still need add special cursor kind for such ExportXml() -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 2 20:12:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 2 12:12:52 2004 Subject: Charles, RB events? In-Reply-To: Message-ID: on 2/2/04 7:48 PM, Charles Yeomans at yeomans@desuetude.com wrote: > Not quite; events in REALbasic are essentially methods that you declare > in a class, but implement in a subclass. Events constitute language > support for the Template pattern. Aha, similar to virtual methods of C++. Charles, If in RB I have in class A method f1() In the class B which is subclass of A I override f1() Will this work as virtual methods in C++? I.e. pA = new B pa.f1() << will be called A::f1() or B::f1() ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From erichg at mcmm.com Mon Feb 2 20:42:05 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Mon Feb 2 13:42:25 2004 Subject: V4RB Windows VarChar Error 351 In-Reply-To: <000501c3e972$ea08e1a0$731026c3@giv> References: <000501c3e972$ea08e1a0$731026c3@giv> Message-ID: >Hi Erich, > > We have made Client-Server test during the last weeks with V4MD and > > we also had problems with this message. While I am not sure if it > > works in the same way with V4RB, here are some ideas: > > > > Error 351 occured quite often, when a client using read locks wrote > > to a record and tried to read from the same table immediately > > afterwards. > > > > This might also be related to the fact that our database gets flushed > > after each write. > > > > The server debug window showed an error 351 "VarChar Field corrupted" > > immediately followed by a "error 0, no error". After a first > > occurance of that error, it happened more often, but went away after > > a server restart. >Can you, please, send me a small test project reproduced the problem? Hi Igor, i will try, but i will last some days. I am a week behind my schedule at the moment and need to get two CD-ROMs finished ASAP. BTW: this happend on PC. Mac tests started when we had already changed some code... I remember it worked like that: - set kreadWrite = 2 - connect two clients - let the both make the same (order by) selection on a table - load records with getcolumn() - let one of them write to one of the records with flush() - immediately after the write, reload the selection Erich From sunshine at public.kherson.ua Mon Feb 2 22:43:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 2 14:43:32 2004 Subject: V4RB Windows VarChar Error 351 In-Reply-To: Message-ID: on 2/2/04 9:42 PM, Erich Geiersberger at erichg@mcmm.com wrote: >> Can you, please, send me a small test project reproduced the problem? > > Hi Igor, > > i will try, but i will last some days. > I am a week behind my schedule at the moment and need to get two > CD-ROMs finished ASAP. > BTW: this happend on PC. Mac tests started when we had already > changed some code... > > I remember it worked like that: > - set kreadWrite = 2 > - connect two clients > - let the both make the same (order by) selection on a table Erich, Cursor was ServerSide or ClientSide? > - load records with getcolumn() > - let one of them write to one of the records with flush() Actually this step is developer mistake, right? > - immediately after the write, reload the selection What means reload? Repeat SQL SELECT query? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From erichg at mcmm.com Mon Feb 2 22:35:07 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Mon Feb 2 15:35:26 2004 Subject: V4RB Windows VarChar Error 351 In-Reply-To: References: Message-ID: >Erich, > >Cursor was ServerSide or ClientSide? All server side. > > - load records with getcolumn() > > - let one of them write to one of the records with flush() > >Actually this step is developer mistake, right? > > > - immediately after the write, reload the selection > >What means reload? >Repeat SQL SELECT query? Yes. From deane.venske at eduss.com Tue Feb 3 08:09:50 2004 From: deane.venske at eduss.com (Deane Venske) Date: Mon Feb 2 16:09:58 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: References: Message-ID: >> I'd like to see : >> >> - Cross database queries. > > We think on attached tables. Cool. > >> - Proper implementation of functions so we can compare or join fields in >> queries. > > You mean usage of functions in select? > done I thought so but thought I'd wish away :) Thanks! > >> - Maybe command line tools similar to mysqldump. Something that we can >> use >> to dump X amount of sql queries into a database to update it, not >> replace >> it. This would be even better if it could be done through the API. > > >> - Dumping that could accept different parameters to control what gets >> dumped like data only, table structures only, specific tables. I use >> this >> extensively with mysql like : mysqldump table1, table2 > myDumpFile.sql, >> it is very good for backups and updates, but if we could have it built >> into the V4MD/V4RB API it would mean we could do very good maintenance >> on >> our databases if we need to. > > Ok I see, Deane. > > We have it for the whole db, you want detalization up to Table level. Yeah, table specific would be great. This would mean we could give customers XML/SQL dumps of tables we want to expose to them if they want to get information from our software into other SQL/XML compliant programs. -- 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 Tue Feb 3 00:20:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 2 16:20:13 2004 Subject: About ICU Message-ID: Hi Jon, You can read this page http://oss.software.ibm.com/icu/userguide/icudata.html To get answer on your question about customization of 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 deane.venske at eduss.com Tue Feb 3 08:20:13 2004 From: deane.venske at eduss.com (Deane Venske) Date: Mon Feb 2 16:20:20 2004 Subject: AW: [DIRECT-L] Valentina 2.0. -- What is your 3 DREAM features? // XML In-Reply-To: References: Message-ID: Hi Florian, One thing that I have done is written a small bunch of functions in lingo to handle my queries once I have them. I'm started using all my queries as lists once they are in director. I like this very much because it gives me so much control, and it's pretty quick, but I don't really work with huge tables yet. I've got subQuery functions where I pass a list (That has come from the Valentina db) and filter it. So far I have field specific filtering and DISTINCT and NOT functionality, eventually I'd like to have alot more, but that will come as soon as time allows. I'm not sure how quick it will be with large amounts of data, but I'm hoping it will handle it all well. If you'd like a few of the functions (Which are pretty rough) I'd be happy to share them with you. I'm not sure if director's XML parser can go from XML to List and from List to XML, but if it can then this should help with what you want. -- 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 fb at memedia.de Tue Feb 3 00:10:43 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Feb 2 17:10:50 2004 Subject: AW: Valentina 2.0. -- What is your 3 DREAM features? // XML In-Reply-To: Message-ID: > So > > 1) you think about query on SINGLE table only? > > 2) you want only export into XML, but you do not need MPORT > it back into Valentina ? > Since I would not want to import back, we could use multiple tables, right? Just think about it. I find it most interesting... > > Just the most cool and interesting features come when we > consider multi-table ExportXml(). In the same time this is > not very simple for both. > > In short problem is next: > let one record from left table, joined to 4 records ofright. > > Relational join give us > > Florian phone1 > Florian phone2 > Florian phone3 > Florian phone4 > > But XML is hierarchical, and can support the original tree > > Florian > phone1 > phone2 > phone3 > phone4 > > On import back we can put this XML correctly into 2 tables. > And other ways cannot do this. > > But to implement this, we still need add special cursor kind for such > ExportXml() > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 giv at tlc.kherson.ua Tue Feb 3 01:49:34 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon Feb 2 17:49:38 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? References: Message-ID: <005101c3e9e7$37ce73e0$721026c3@giv> > >Igor, to implement this, you need add into C++ Client SDK, > >Callback function which IS called when server send to client message that it > >is disconnected. > > > >I am sure it send such message, yes? Yes, it does. But currently our client layer does not support handling server notifications. To allow this we need to build in some kind of notification mechanism into it. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv_ua@inbox.ru 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 Tue Feb 3 07:37:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 2 23:37:59 2004 Subject: AW: Valentina 2.0. -- What is your 3 DREAM features? // XML In-Reply-To: Message-ID: on 2/3/04 1:10 AM, Florian Bogeschdorfer at fb@memedia.de wrote: >> So >> >> 1) you think about query on SINGLE table only? >> >> 2) you want only export into XML, but you do not need MPORT >> it back into Valentina ? >> > Since I would not want to import back, we could use multiple tables, right? > > Just think about it. I find it most interesting... >> >> Just the most cool and interesting features come when we >> consider multi-table ExportXml(). In the same time this is >> not very simple for both. >> >> In short problem is next: >> let one record from left table, joined to 4 records ofright. >> >> Relational join give us >> >> Florian phone1 >> Florian phone2 >> Florian phone3 >> Florian phone4 But you will get such output with repeated left value. Is it ok 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 fb at memedia.de Tue Feb 3 11:03:40 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 3 04:03:49 2004 Subject: AW: AW: Valentina 2.0. -- What is your 3 DREAM features? // XML In-Reply-To: Message-ID: > >> > >> Relational join give us > >> > >> Florian phone1 > >> Florian phone2 > >> Florian phone3 > >> Florian phone4 > > But you will get such output with repeated left value. > Is it ok for you? > I think so yes. I don't know about others but for me even a one table xml output would be sufficient. Best regards, Florian From fb at memedia.de Tue Feb 3 11:19:28 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 3 04:19:35 2004 Subject: AW: AW: [DIRECT-L Valentina 2.0. -- What is your 3 DREAMfeatures? // XML In-Reply-To: Message-ID: Hi Ruslan! > > > > The result is a new cursor having all records from Cursor 1 > and 2. I > > know this can be easily done with SQL but what if the > SELECT criteria > > is much larger? > > So what? > > SELECT ............................ > UNION > SELECT .............................. > What if you don't know the query anymore? And think about the user(my customer): he gets a quite simple interface to search his db. He does not know SQL and you don't want to make a huge and complicated interface. However he could do quite simple queries and then merge or subtract quite easily... > > Also what about speed (we discussed that already, > remember?) It would > > moreover be so elegant. Also maybe you have a large cursor and you > > could easily subtract step by step. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Great words. Actually not easy. > All operations on cursor will require at first TOTAL SORTING > by all columns. > Otherwise you do not have way to COMPARE records in effective way. > I agree if it comes to multiple tables. But if we talk about a single table (which I would need it for at the moment), all you need is a unique record ID. Add, merge and subtract would be very simple... > What you say can be made in this way: > > 1) you do SELECT, but not just into cursor, but into new TMP Table > > SELECT ... INTO Table tmp_t1 > SELECT ... INTO Table tmp_t2 > > Now you have the same task. TABLES. > > Just by definition cursor is -- RESULT Table. > We should not use it so flexible as you offer. > > Now having tmp_t1, you can tell, > > SELECT * FROM TMP_t1 > EXCEPT > SELECT * FROM tmp_T1 WHERE f = 'r' I understand. It may help in some cases, but I think the merge/add thing is kind of more natural. Also look about the "save" topic later on > > > > I would also like so save cursors to disk. Make a query, need the > > cursor again in some days, so I save it to disk. > Interesting, because > > if I would repeat the query in a week, it might not be the same > > because of changed data. Right now, I save a list with my > own record > > Ids to disk, but I can not make it a cursor anymore...I have to go > > through the list step by step if I need additional data. > > Yes, this feature is interesting. > ability store cursor to disk, and re-create it back AS CURSOR. > > I want EXPLAIN potential problems: > * very often our cursor do not create TMP table, just keep > pointers on original table. > * I think we cannot SAVE this pointers to disk, because > records can be deleted, and replaced by new, so pointers will > be quite wrong. I don't think this is a problem. If you store a cursor to disk I would store the unique record Ids. Since RecId from Valentina is reused, it must be something else. Now if I store a cursor, I know very well that it might be outdated tomorrow, but never mind. You could load the cursor, recreate it according to the saved Ids (this is one table again!) and maybe issue an event that xx records are no longer available. This would be sooooo smooth!! > Only way -- create TMP table -- as result of such SAVING. > This means total coping of data of all records of cursor. > You still want such feature? :-) Yes, still interesting. Imagine a company making a mailing again. It's large and then 100000 letters should be spread over 4 weeks, say 25000 a week. Now data might change in this 4 weeks, but your mailing should ignore this. You need a quite complicated workaround for this. But if I could store the TMP table even with all the date it would be brilliant - just load the cursor and continue. So I think there should be two ways to save cursors: tmp table with all data and cursor with Ids only. I would love this. Also this would be a way to share cursors. Right now client2 can not access a cursor from client1 right? Even if it is serverside. With save/load this would work. Best regards, Florian From fb at memedia.de Tue Feb 3 11:24:02 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 3 04:24:06 2004 Subject: [DIRECT-L Valentina 2.0. -- What is your 3 DREAMfeatures? In-Reply-To: Message-ID: I desperately need a command to make a backup of the DB. Just copy it to a different location. Right now, I have to stop the service, copy, restart. I can not do this from Director. I tried calling the server installer with option /k but from Director you need to use an xtra for this. I tried with the famous BuddyAPI but it did not work. Vserver service did not stop. Since this works from my installer, I guess it's a Buddy API problem but I can not solve this task at the moment and I don't want the user to be responsible for quitting a service. What would even be better was an automized backup engine coming with the server. Something like VALbackupProcess(every day, at startup, to folder XYZ, changed data or all data) Best regards, Florian From aaronbratcher at abdatatools.com Tue Feb 3 09:09:14 2004 From: aaronbratcher at abdatatools.com (Aaron Bratcher) Date: Tue Feb 3 08:09:20 2004 Subject: V4RB... do I need separate plugin for Server? Message-ID: <8BF3D042-5652-11D8-AD0F-000A959E9B12@abdatatools.com> Im adding Valentina Server as a data source to db Reports and am confused as to whether I can use the standard V4RB plugin or do I need something special? -- Aaron Bratcher ab DataTools http://www.abDataTools.com From sunshine at public.kherson.ua Tue Feb 3 16:16:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 3 08:25:04 2004 Subject: V4RB... do I need separate plugin for Server? In-Reply-To: <8BF3D042-5652-11D8-AD0F-000A959E9B12@abdatatools.com> Message-ID: on 2/3/04 4:09 PM, Aaron Bratcher at aaronbratcher@abdatatools.com wrote: > Im adding Valentina Server as a data source to db Reports and am > confused as to whether I can use the standard V4RB plugin or do I need > something special? Yes, Aaron, On V4RB beta download page you can find V4RB_Client plguin. In the plugin folder of V4RB should be or V4RB or V4RB_client plugin. Right now they cannot be mixed. I hope we will find solution to use them both. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Feb 3 17:47:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 3 10:04:45 2004 Subject: AW: AW: [DIRECT-L Valentina 2.0. -- What is your 3 DREAMfeatures? // XML In-Reply-To: Message-ID: on 2/3/04 12:19 PM, Florian Bogeschdorfer at fb@memedia.de wrote: >> Yes, this feature is interesting. >> ability store cursor to disk, and re-create it back AS CURSOR. >> >> I want EXPLAIN potential problems: >> * very often our cursor do not create TMP table, just keep >> pointers on original table. >> * I think we cannot SAVE this pointers to disk, because >> records can be deleted, and replaced by new, so pointers will >> be quite wrong. > > I don't think this is a problem. If you store a cursor to disk I would store > the unique record Ids. Since RecId from Valentina is reused, it must be > something else. Now if I store a cursor, I know very well that it might be > outdated tomorrow, but never mind. You could load the cursor, recreate it > according to the saved Ids (this is one table again!) and maybe issue an > event that xx records are no longer available. This would be sooooo smooth!! No Florian, 1) Valentina cursor, internally use RecIDs and only RecIDs. I cannot use anything else. 2) now. You save cursor that have e.g. RecId = 5. other user delete record 5. later second user add record, and Valentina reuse RecID 5 At morning you read your cursor back, you think that all is right, But NO. Record with RecID = 5 most probably is WRONG and do not satisfy conditions of cursor. There is no way to find such glitch. Well, way exists only when we add TimeStamp to each record of database. Then yes, I will be able recognize that record 5 was CHANGED after cursor creation and do something. >> Only way -- create TMP table -- as result of such SAVING. >> This means total coping of data of all records of cursor. >> You still want such feature? :-) > > Yes, still interesting. Imagine a company making a mailing again. It's large > and then 100000 letters should be spread over 4 weeks, say 25000 a week. Now > data might change in this 4 weeks, but your mailing should ignore this. You > need a quite complicated workaround for this. But if I could store the TMP > table even with all the date it would be brilliant - just load the cursor > and continue. So what problems? CREATE TMP table, copy data, And use that Table during weeks. Actually then it must not be marked as TMP. > So I think there should be two ways to save cursors: tmp table with all data > and cursor with Ids only. I would love this. > > Also this would be a way to share cursors. Right now client2 can not access > a cursor from client1 right? Even if it is serverside. With save/load this > would work. Hmm, really incredible features :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Feb 3 18:00:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 3 10:08:56 2004 Subject: [DIRECT-L Valentina 2.0. -- What is your 3 DREAMfeatures? In-Reply-To: Message-ID: on 2/3/04 12:24 PM, Florian Bogeschdorfer at fb@memedia.de wrote: > I desperately need a command to make a backup of the DB. Just copy it to a > different location. Right now, I have to stop the service, copy, restart. I > can not do this from Director. I tried calling the server installer with > option /k but from Director you need to use an xtra for this. I tried with > the famous BuddyAPI but it did not work. Vserver service did not stop. Since > this works from my installer, I guess it's a Buddy API problem but I can not > solve this task at the moment and I don't want the user to be responsible > for quitting a service. > > What would even be better was an automized backup engine coming with the > server. Something like > > VALbackupProcess(every day, at startup, to folder XYZ, changed data or all > data) Yes, We plan of course to have HOT BACKUP. This is must have feature. We will have own format of backup file, And different options. Igor already have start develop this option more than year ago, But it was freeze, because this feature usually is built on transaction mechanism. ---------- Now let's think what we can do right now. Igor say that he have small utility Shutdown.exe To start again vserver_nt.exe -s So we need just ad this utility to archive of Vserve, And you will be able do .bat files for auto-backup. Am I 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 marty at vineyardbellingham.org Tue Feb 3 08:22:19 2004 From: marty at vineyardbellingham.org (Marty Knapp) Date: Tue Feb 3 10:22:42 2004 Subject: Unsubscribe Message-ID: Please unsubscribe me. Thanks! From james.milne at mac.com Tue Feb 3 17:21:03 2004 From: james.milne at mac.com (James Milne) Date: Tue Feb 3 11:20:08 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: References: Message-ID: <5807201E-566D-11D8-BA4D-000393DB941A@mac.com> One thing I would like in Valentina 2.0 is a VPicture field that isn't crap! :-) There's no good reason why Valentina can't take any type of REALbasic picture object and compress it into a JPEG. This situation where it only accepts Picture objects which are internally PICTs is a pain, since it's more likely in REALbasic that I'd have a GWorld (ie - picture created with NewPicture) that I would want to put into the database. -- James Milne From deane.venske at eduss.com Wed Feb 4 08:07:28 2004 From: deane.venske at eduss.com (Deane Venske) Date: Tue Feb 3 16:07:47 2004 Subject: AW: AW: Valentina 2.0. -- What is your 3 DREAM features? // XML In-Reply-To: References: Message-ID: On Tue, 3 Feb 2004 11:03:40 +0100, Florian Bogeschdorfer wrote: > >> >> >> >> Relational join give us >> >> >> >> Florian phone1 >> >> Florian phone2 >> >> Florian phone3 >> >> Florian phone4 >> >> But you will get such output with repeated left value. >> Is it ok for you? >> > > I think so yes. I don't know about others but for me even a one table xml > output would be sufficient. Well that would be workable, at least we could export each table we need one at a time. But I would really like imports that don't replace a whole DB, so you can update/insert/create tables using a bulk sql file. I've already written functions to read an SQL file so it's not terribly important, but I think that functionality should be in there, not because I need it but because it is a very useful feature available in other RDBMS' around. -- 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 rodneyta at telpacific.com.au Wed Feb 4 15:06:14 2004 From: rodneyta at telpacific.com.au (Rodney Tamblyn) Date: Tue Feb 3 21:54:27 2004 Subject: Valentina SQL: INSERT and binding In-Reply-To: References: Message-ID: Hi Ruslan, I'd like to suggest adding a note under Database_SQLExecute in VXCMD, that you shouldn't use the 'bind with' usage. The VXCMD manual suggests consulting the SQL documentation for exact usage, but doesn't make it clear that 'bind with' doesn't work. It might be worth having a heading in the VXCMD index discussing limitations and special considerations for SQL with VXCMD. Thanks Rodney On 14/01/2004, at 9:26 AM, Ruslan Zasukhin wrote: > on 1/13/04 8:09 PM, Chris Sheffield at cm_sheffield@yahoo.com wrote: > > Hi Chris, > >> In the ValentinaSQL doc it mentions using the INSERT >> (and other) statements with binding. I would like to >> do this, but am not quite sure how it works. I'm >> using the VXCMD with Revolution, but I'm accessing >> it's functions directly, not using Revolution's DB >> functions. >> >> For example, if I want to add a new record to my >> database, how exactly would I build the query string? >> The doc is a little unclear on this. Should I >> actually use the phrase "binded with" followed by my >> list of values just as it appears in the doc? > > NO. > > you read this in ValentinaSQL.pdf which contains ala-syntax. > > You need look into VXCMDReference.pdf > Into function SqlExecute() for correct syntax and example for VXCMD. > > >> Cause I've tried this and it doesn't seem to work. Or do I somehow >> have to >> pass my list of values to the Database_SQLExecute function? >> >> Any help would be most appreciated. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From sunshine at public.kherson.ua Wed Feb 4 10:00:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 4 02:03:40 2004 Subject: Valentina SQL: INSERT and binding In-Reply-To: Message-ID: on 2/4/04 4:06 AM, Rodney Tamblyn at rodneyta@telpacific.com.au wrote: > Hi Ruslan, > > I'd like to suggest adding a note under Database_SQLExecute in VXCMD, > that you shouldn't use the 'bind with' usage. The VXCMD manual > suggests consulting the SQL documentation for exact usage, but doesn't > make it clear that 'bind with' doesn't work. > > It might be worth having a heading in the VXCMD index discussing > limitations and special considerations for SQL with VXCMD. Hi Rodney, Hmm, it looks VXCMD absolutely not support binding !? I must fix this in 2.0 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 4 10:10:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 4 02:10:47 2004 Subject: FIXED: V4RB: Encoding VString - VText In-Reply-To: Message-ID: on 2/4/04 10:03 AM, Karl Grob at kgrob@mus.ch wrote: Hi Karl, > Hi Ruslan, > > With this Build it seems to be ok. What did I do? > > (I use 2 Databases, one as a Intermediate between DBF and Valentina) > Everything was done with the new Build. > > 1. Deletion of all 2 Databases > 2. Import of a significant amount of Data (not everything ( > 4 hours)) > 3. Simple Controlling of EditFields in Mac and Windows (???) > 4. Both where ok. Excellent! > Thank you very much. > Best regards > Karl > > PS: It seemed to me, that this was not exactly the same build as the > one you downloaded to paradigmasoft. I used the one of your email. Must be the same. > Am 03.02.2004 um 10:23 schrieb Ruslan Zasukhin: > >> on 2/3/04 10:20 AM, Karl Grob at kgrob@mus.ch wrote: >> >> Hi Karl, >> >> Please try this build. >> >> It seems I have to see mistake in VTEXT field and fix it. >> Please test encoding now on Windows and 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 fb at memedia.de Wed Feb 4 13:30:36 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Feb 4 06:30:42 2004 Subject: ZIP for embedded server developers is 2 weeks older than "normal" version? Message-ID: Please update Thank you, Florian From fb at memedia.de Wed Feb 4 13:34:47 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Feb 4 06:34:52 2004 Subject: Updating server installer Message-ID: Hi Ruslan! I wonder how to update my embedded server installations to new versions of vserver? I would do it like this: 1. Stop service 2. copy dll and exe 3. Start service Would that be enough? Best regards, Florian From sunshine at public.kherson.ua Wed Feb 4 19:27:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 4 11:27:43 2004 Subject: Charles, RB events? In-Reply-To: Message-ID: on 2/4/04 5:06 PM, Charles Yeomans at yeomans@desuetude.com wrote: Hi Charles, >> Do you have any ideas, what exactly new cool RB 5.5 have that V4RB can >> use? >> >> I was going to use in ne RB SDK >> >> -- default parameters >> -- named constants registered from plugins >> -- may be some calbacks >> >> >> Also I consider introducing/replacing of >> >> VBaseObject ->I_Table or I_BaseObject >> VField ->I_Field >> >> I.e. Introducing of true interface classes, like I have in C++. >> >> Don't know yet what benefit will be, but must be something. I can add: I think we MUST add support of exceptions in RB DK. > The most likely candidate for a class interface is VField -- but please > don't use those nasty COM naming conventions. Hmm, we use in c++ Valentina 2.0 always get_Name() put_Name() As for me, not bad. This is the only thing from COM that we use. > Let's see how this might > work. I assume that all VField subclasses have some common > functionality; perhaps the Name property and some other things. So you > define a class interface VField and an abstract class VAbstractField > that implements the interface and supplies common code. Wait. 1) I cannot use Vfield as name of interface. It is already used in V4RB 1.x as name of classs. 2) as name of interfaces can and must be used I_Field I_Table I_Database I_Cursor Then go I_Field -> I_Field_Imp -> VShort ^^^^^^^^^^^ -> VUshort VField -> Vstring -> VBLOB 3) Aha, remember how many times people on RB list have told about some ABSTRACTION LAYER for database classes. I think now it is time for ME develop such abstraction level. Then other RB developers will be able subclass these interfaces to e.g. Oracle, Postgre, ... Dbs, and use single abstraction layer. Actually this will be some parallel to idea of RB DB API. Don't know if we need make war to REAL, then more that REAL can also connect their interface to controls. In the same time, why so many developers have start develop own layer of classes? What you think? > Would this make it possible to add user-defined field types? > The main problem I see is that Valentina would need to know how to > create new instances of such user-defined field types, for building > VCursors. For this perhaps VDatabase could expose an event in which > one could implement a factory method. Not so simple. I think we will not work on this task even in C++. Here too many problems: how data store in RAM how store them on disk in table how store them in index how to compare 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 Wed Feb 4 19:28:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 4 11:28:17 2004 Subject: ZIP for embedded server developers is 2 weeks older than "normal"version? In-Reply-To: Message-ID: on 2/4/04 2:30 PM, Florian Bogeschdorfer at fb@memedia.de wrote: > Please update Florian, Difference only in new license file. I think not important -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 4 19:29:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 4 11:29:56 2004 Subject: Updating server installer In-Reply-To: Message-ID: on 2/4/04 2:34 PM, Florian Bogeschdorfer at fb@memedia.de wrote: > Hi Ruslan! > > I wonder how to update my embedded server installations to new versions of > vserver? > > I would do it like this: > > 1. Stop service > 2. copy dll and exe > 3. Start service > > > Would that be enough? Hi Florian, I think yes. BTW, according backups: vserver_nt.exe -k stop service vserver_nt.exe -s start service So you can make .bat file and even scheduler for backups. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Wed Feb 4 14:19:33 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Wed Feb 4 16:19:40 2004 Subject: embedded server Message-ID: <20040204221933.38739.qmail@web20421.mail.yahoo.com> Will the embedded server eventually be available for Mac OS X, or is Windows only? Thank, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From sunshine at public.kherson.ua Thu Feb 5 00:30:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 4 16:30:36 2004 Subject: embedded server In-Reply-To: <20040204221933.38739.qmail@web20421.mail.yahoo.com> Message-ID: on 2/5/04 12:19 AM, Chris Sheffield at cm_sheffield@yahoo.com wrote: Hi Chris, > Will the embedded server eventually be available for > Mac OS X, or is Windows only? Embedded server RIGHT NOW exists on OS X. And always was. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Wed Feb 4 14:51:03 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Wed Feb 4 16:51:09 2004 Subject: embedded server In-Reply-To: Message-ID: <20040204225103.5672.qmail@web20420.mail.yahoo.com> Then why is there only a download listed for Windows on your web site? Or is that something different? Also, is there a demo embedded server license available? The VServer document talks about creating a customized installation using the embedded server and replacing the regular license_win_xxxxxx file with the license_emb_xxxxxx file. Can I get that somewhere? Thanks. --- Ruslan Zasukhin wrote: > on 2/5/04 12:19 AM, Chris Sheffield at > cm_sheffield@yahoo.com wrote: > > Hi Chris, > > > Will the embedded server eventually be available > for > > Mac OS X, or is Windows only? > > Embedded server RIGHT NOW exists on OS X. > And always was. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: 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! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From sunshine at public.kherson.ua Thu Feb 5 08:21:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 5 00:22:12 2004 Subject: embedded server In-Reply-To: <20040204225103.5672.qmail@web20420.mail.yahoo.com> Message-ID: on 2/5/04 12:51 AM, Chris Sheffield at cm_sheffield@yahoo.com wrote: > Then why is there only a download listed for Windows > on your web site? Or is that something different? You mean that .ZIP archive? Just Windows developers have ask to do this for comfort. On Windows to install new version it needs to stop service at first, remove old version. On MAC installer can do this with running Vserver. > Also, is there a demo embedded server license > available? For this you should use the same DEMO license, which is located on our site. You distribute to YOUR clients DEMO of YOUR app, With our DEMO license file. As result, tat the end of month, you need send them NEW demo license file. > The VServer document talks about creating > a customized installation using the embedded server > and replacing the regular license_win_xxxxxx file with > the license_emb_xxxxxx file. Can I get that > somewhere? You will get license_emb_xxxx file only after purchase. It DO NOT have time limit. Chris, please note, Embedded Server is in fact THE SAME Vserver that you use now. 100% the same. When you use our DEMO license file, It act as DEMO. Up to the end of month. When you will get license_emb_xxxx file, it start to act as Embedded Server from point of view that it has 5 connections, no limit on time it have signature. Finally, you can use the same procedure, described in Vserver.pdf, to build your own custom installer of Vserver and use our DEMO license file. After purchase, you will just replace DEMO license file on license_emb_xxx And you will add signature into your EB code on connect to server. > Thanks. > > --- Ruslan Zasukhin > wrote: >> on 2/5/04 12:19 AM, Chris Sheffield at >> cm_sheffield@yahoo.com wrote: >> >> Hi Chris, >> >>> Will the embedded server eventually be available >> for >>> Mac OS X, or is Windows only? >> >> Embedded server RIGHT NOW exists on OS X. >> And always was. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From aaronbratcher at abdatatools.com Thu Feb 5 09:06:15 2004 From: aaronbratcher at abdatatools.com (Aaron Bratcher) Date: Thu Feb 5 08:06:20 2004 Subject: db Reports feature requests Message-ID: <76390E68-57E4-11D8-9918-000A959E9B12@abdatatools.com> I will be releasing the final version of db Reports 3.3 soon. After that all work will be focused on version 4.0. I have some exciting things planned, but would like to solicit user feedback first. Send requests to support@abdatatools.com -- Aaron Bratcher ab DataTools http://www.abDataTools.com From cm_sheffield at yahoo.com Thu Feb 5 07:25:43 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Thu Feb 5 09:26:03 2004 Subject: embedded server In-Reply-To: Message-ID: <20040205152543.71722.qmail@web20420.mail.yahoo.com> Thanks, Ruslan. That clears it up. That's kind of what I was assuming, but I just wanted to make sure. --- Ruslan Zasukhin wrote: > on 2/5/04 12:51 AM, Chris Sheffield at > cm_sheffield@yahoo.com wrote: > > > Then why is there only a download listed for > Windows > > on your web site? Or is that something different? > > You mean that .ZIP archive? > > Just Windows developers have ask to do this for > comfort. > On Windows to install new version it needs to stop > service at first, remove > old version. On MAC installer can do this with > running Vserver. > > > > Also, is there a demo embedded server license > > available? > > For this you should use the same DEMO license, which > is located on our site. > > You distribute to YOUR clients DEMO of YOUR app, > With our DEMO license file. > As result, tat the end of month, you need send them > NEW demo license file. > > > The VServer document talks about creating > > a customized installation using the embedded > server > > and replacing the regular license_win_xxxxxx file > with > > the license_emb_xxxxxx file. Can I get that > > somewhere? > > You will get license_emb_xxxx file only after > purchase. > It DO NOT have time limit. > > Chris, please note, Embedded Server is in fact THE > SAME Vserver that you use > now. 100% the same. > > When you use our DEMO license file, It act as DEMO. > Up to the end of month. > > When you will get license_emb_xxxx file, it start to > act as Embedded Server > from point of view that > it has 5 connections, > no limit on time > it have signature. > > Finally, you can use the same procedure, described > in Vserver.pdf, to build > your own custom installer of Vserver and use our > DEMO license file. > > After purchase, you will just replace DEMO license > file on license_emb_xxx > And you will add signature into your EB code on > connect to server. > > > Thanks. > > > > --- Ruslan Zasukhin > > wrote: > >> on 2/5/04 12:19 AM, Chris Sheffield at > >> cm_sheffield@yahoo.com wrote: > >> > >> Hi Chris, > >> > >>> Will the embedded server eventually be available > >> for > >>> Mac OS X, or is Windows only? > >> > >> Embedded server RIGHT NOW exists on OS X. > >> And always was. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: 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: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From ygou at fiberlink.com Thu Feb 5 13:33:27 2004 From: ygou at fiberlink.com (Yukun Gou) Date: Thu Feb 5 12:33:58 2004 Subject: ImportASCII raises an exception Message-ID: Ruslan, I have codes to populate data to database: ........................ a) insert data to table one using insert statement. b) import data from a file to another table, the file is generated and written to disk. ........................ there are three scenarios: 1.a) insert less than 256 records to table one, then b) can import data successfully, 2 a) insert more than 256 records to table one, then b) raises a non xFBL_Exception exception 3 a) insert more than 256 records to table one, if I open the file(use an editor) and save it to disk again, then b) can import data successfully. Any clue what was wrong? Thanks a lot! ----------------------------------------------------------- Yukun Gou Fiberlink Communications Corporation (215)793-6642 Email ygou@fiberlink.com www.fiberlink.com From sunshine at public.kherson.ua Thu Feb 5 20:43:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 5 12:43:20 2004 Subject: ImportASCII raises an exception In-Reply-To: Message-ID: on 2/5/04 8:33 PM, Yukun Gou at ygou@fiberlink.com wrote: Hi Yukun, > I have codes to populate data to database: > ........................ > a) insert data to table one using insert statement. > b) import data from a file to another table, the file is generated and > written to disk. > ........................ > > there are three scenarios: > 1.a) insert less than 256 records to table one, then b) can import data > successfully, > 2 a) insert more than 256 records to table one, then b) raises a non > xFBL_Exception exception > 3 a) insert more than 256 records to table one, if I open the file(use an > editor) and save it to disk again, then b) can import data successfully. > > > Any clue what was wrong? 1) OS ? 2) Valentina API? C++ ? 3) may be your import file, have wrong line feeds ? And Editor correct 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 ygou at fiberlink.com Thu Feb 5 14:00:30 2004 From: ygou at fiberlink.com (Yukun Gou) Date: Thu Feb 5 13:00:59 2004 Subject: ImportASCII raises an exception In-Reply-To: Message-ID: Ruslan, Here is the detail information: >1) OS ? Windows 2000 >2) Valentina API? C++ ? We got the C++ API on 10/17/2003 >3) may be your import file, have wrong line feeds ? And Editor correct this? I think the file is right because the same file doesn't work only in a specific scenario. Thanks. ----------------------------------------------------------- Yukun Gou Fiberlink Communications Corporation (215)793-6642 Email ygou@fiberlink.com www.fiberlink.com Ruslan Zasukhin ua> cc: Sent by: Subject: Re: ImportASCII raises an exception valentina-bounces@lists.m acserve.net 02/05/2004 01:43 PM Please respond to Valentina Developers on 2/5/04 8:33 PM, Yukun Gou at ygou@fiberlink.com wrote: Hi Yukun, > I have codes to populate data to database: > ........................ > a) insert data to table one using insert statement. > b) import data from a file to another table, the file is generated and > written to disk. > ........................ > > there are three scenarios: > 1.a) insert less than 256 records to table one, then b) can import data > successfully, > 2 a) insert more than 256 records to table one, then b) raises a non > xFBL_Exception exception > 3 a) insert more than 256 records to table one, if I open the file(use an > editor) and save it to disk again, then b) can import data successfully. > > > Any clue what was wrong? 1) OS ? 2) Valentina API? C++ ? 3) may be your import file, have wrong line feeds ? And Editor correct 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 sunshine at public.kherson.ua Thu Feb 5 21:10:49 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 5 13:11:01 2004 Subject: ImportASCII raises an exception In-Reply-To: Message-ID: on 2/5/04 9:00 PM, Yukun Gou at ygou@fiberlink.com wrote: > Here is the detail information: >> 1) OS ? > Windows 2000 > >> 2) Valentina API? C++ ? > We got the C++ API on 10/17/2003 > >> 3) may be your import file, have wrong line feeds ? And Editor correct > this? > I think the file is right because the same file doesn't work only in a > specific scenario. ok > on 2/5/04 8:33 PM, Yukun Gou at ygou@fiberlink.com wrote: > > Hi Yukun, > > >> I have codes to populate data to database: >> ........................ >> a) insert data to table one using insert statement. >> b) import data from a file to another table, the file is generated and >> written to disk. Above a), b) in some way related to below text of 3 ways? Just I do not see how. >> ........................ >> >> there are three scenarios: >> 1.a) insert less than 256 records to table one, then b) can import data >> successfully, >> 2 a) insert more than 256 records to table one, then b) raises a non >> xFBL_Exception exception >> 3 a) insert more than 256 records to table one, if I open the file(use an >> editor) and save it to disk again, then b) can import data successfully. Probably I do not understand something. Try exaplin in other way. What you INSERT ? What table? What file you import? Or you do export? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 5 20:24:49 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Thu Feb 5 13:24:26 2004 Subject: FIXED: V4RB: Encoding VString - VText In-Reply-To: Message-ID: Is this fix already available ? Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique le 4/02/04 9:10, Ruslan Zasukhin a ?crit?: > on 2/4/04 10:03 AM, Karl Grob at kgrob@mus.ch wrote: > > Hi Karl, > >> Hi Ruslan, >> >> With this Build it seems to be ok. What did I do? >> >> (I use 2 Databases, one as a Intermediate between DBF and Valentina) >> Everything was done with the new Build. >> >> 1. Deletion of all 2 Databases >> 2. Import of a significant amount of Data (not everything ( > 4 hours)) >> 3. Simple Controlling of EditFields in Mac and Windows (???) >> 4. Both where ok. > > Excellent! > >> Thank you very much. >> Best regards >> Karl >> >> PS: It seemed to me, that this was not exactly the same build as the >> one you downloaded to paradigmasoft. I used the one of your email. > > Must be the same. > >> Am 03.02.2004 um 10:23 schrieb Ruslan Zasukhin: >> >>> on 2/3/04 10:20 AM, Karl Grob at kgrob@mus.ch wrote: >>> >>> Hi Karl, >>> >>> Please try this build. >>> >>> It seems I have to see mistake in VTEXT field and fix it. >>> Please test encoding now on Windows and let me know. From kray at sonsothunder.com Thu Feb 5 14:20:10 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 5 14:21:13 2004 Subject: Compact? Message-ID: <00b901c3ec25$77d41a40$6601a8c0@LightningFlash> When I delete a field from a table and then add a new field, it goes in the "slot" taken up from the field I deleted. If I don't want that to happen (for example, I want the new field to go "at the end") how would I make that happen? Does compacting the DB from VAPP do that? Thanks, Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From rjb at rz.uni-potsdam.de Thu Feb 5 21:33:13 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Feb 5 14:47:58 2004 Subject: Compact? In-Reply-To: <00b901c3ec25$77d41a40$6601a8c0@LightningFlash> References: <00b901c3ec25$77d41a40$6601a8c0@LightningFlash> Message-ID: >When I delete a field from a table and then add a new field, it goes in >the "slot" taken up from the field I deleted. If I don't want that to >happen (for example, I want the new field to go "at the end") how would >I make that happen? Does compacting the DB from VAPP do that? > >Thanks, > >Ken Ray >Sons of Thunder Software >Email: kray@sonsothunder.com >Web Site: http://www.sonsothunder.com/ > Ken, if the field type is compatible, you can just rename the field and change its type. Otherwise, the simplest way is to dump xml, arrange fields in a desired order, then create a new database from that dump. Robert From ygou at fiberlink.com Thu Feb 5 15:50:33 2004 From: ygou at fiberlink.com (Yukun Gou) Date: Thu Feb 5 14:51:03 2004 Subject: ImportASCII raises an exception In-Reply-To: Message-ID: Ruslan, It's a pretty complex system and can not be explained clearly in an email. My question is that when ImportASCII raises a non xFBL_Exception exception and is there any way that I can know what the exception is? Thanks. ----------------------------------------------------------- Yukun Gou Fiberlink Communications Corporation (215)793-6642 Email ygou@fiberlink.com www.fiberlink.com Ruslan Zasukhin ua> cc: Sent by: Subject: Re: ImportASCII raises an exception valentina-bounces@lists.m acserve.net 02/05/2004 02:10 PM Please respond to Valentina Developers on 2/5/04 9:00 PM, Yukun Gou at ygou@fiberlink.com wrote: > Here is the detail information: >> 1) OS ? > Windows 2000 > >> 2) Valentina API? C++ ? > We got the C++ API on 10/17/2003 > >> 3) may be your import file, have wrong line feeds ? And Editor correct > this? > I think the file is right because the same file doesn't work only in a > specific scenario. ok > on 2/5/04 8:33 PM, Yukun Gou at ygou@fiberlink.com wrote: > > Hi Yukun, > > >> I have codes to populate data to database: >> ........................ >> a) insert data to table one using insert statement. >> b) import data from a file to another table, the file is generated and >> written to disk. Above a), b) in some way related to below text of 3 ways? Just I do not see how. >> ........................ >> >> there are three scenarios: >> 1.a) insert less than 256 records to table one, then b) can import data >> successfully, >> 2 a) insert more than 256 records to table one, then b) raises a non >> xFBL_Exception exception >> 3 a) insert more than 256 records to table one, if I open the file(use an >> editor) and save it to disk again, then b) can import data successfully. Probably I do not understand something. Try exaplin in other way. What you INSERT ? What table? What file you import? Or you do export? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Feb 5 23:10:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 5 15:10:34 2004 Subject: Apple Packager? In-Reply-To: <00b701c3ec24$99a48660$6601a8c0@LightningFlash> Message-ID: on 2/5/04 10:13 PM, Ken Ray at kray@sonsothunder.com wrote: > Ruslan, > > You refer to this application in the Server docs, but I can't find it > anywhere, and when I search for "Apple Packager" on Google, the only > thing it hits is the Valentina server docs. What is the full name of the > program you mentioned in the "customized installer for OS X" section of > the Vserver docs, and where did you get it (e.g. where can I get it)? Hi Ken, Aha, really. Correct name: PackageMaker Located Developer/Applications/Utilities -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 5 23:23:52 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 5 15:24:00 2004 Subject: FIXED: V4RB: Encoding VString - VText In-Reply-To: Message-ID: on 2/5/04 9:24 PM, Francois Van Lerberghe at fvanlerberghe@freegates.be wrote: > Is this fix already available ? No, just was a special build. You also get into this problem? As far as I see. TEXT field was broken on cross-platform translation. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 5 23:25:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 5 15:25:12 2004 Subject: Compact? In-Reply-To: Message-ID: on 2/5/04 10:33 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: >> When I delete a field from a table and then add a new field, it goes in >> the "slot" taken up from the field I deleted. If I don't want that to >> happen (for example, I want the new field to go "at the end") how would >> I make that happen? Does compacting the DB from VAPP do that? >> >> Thanks, >> >> Ken Ray >> Sons of Thunder Software >> Email: kray@sonsothunder.com >> Web Site: http://www.sonsothunder.com/ >> > > Ken, if the field type is compatible, you can just rename the field > and change its type. Otherwise, the simplest way is to dump xml, > arrange fields in a desired order, then create a new database from > that dump. Actually not so simple change order in XML file if records present 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 sunshine at public.kherson.ua Thu Feb 5 23:27:32 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 5 15:27:37 2004 Subject: Compact? In-Reply-To: <00b901c3ec25$77d41a40$6601a8c0@LightningFlash> Message-ID: on 2/5/04 10:20 PM, Ken Ray at kray@sonsothunder.com wrote: > When I delete a field from a table and then add a new field, it goes in > the "slot" taken up from the field I deleted. If I don't want that to > happen (for example, I want the new field to go "at the end") how would > I make that happen? Does compacting the DB from VAPP do that? No, Compact do other work -- it remove empty space in database. You talk about "feature", that if we delete field in table, then new field is inserted into its place. No way avoid this now. In 2.0 we will try to make ID of field Position of field We have not work on this yet. Position will allow us, virtually (not physically) assign order of fields. Similar to FileMaker. In the same time, all BIG DBMS guys say: NEVER DEPEND on field order !!! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 5 23:32:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 5 15:32:49 2004 Subject: ImportASCII raises an exception In-Reply-To: Message-ID: on 2/5/04 10:50 PM, Yukun Gou at ygou@fiberlink.com wrote: > Ruslan, > > It's a pretty complex system and can not be explained clearly in an email. > > My question is that when ImportASCII raises a non xFBL_Exception exception > and is there > any way that I can know what the exception is? ANSWER IS: -- Valentina throw ONLY and ONLY xFBL_Exception. I think you know, that Windows OS itself can throw system exceptions In case of e.g. ACCESS BY NULL. Visual c++ (as well as CodeWarrior) allow you in preference set to stop on raise of this exceptions. Although this will not help too much, you do not have sources of kernel. In your code you must catch them by catch(...) IF assume that this is OS exception, you should be able see in LOG some info about this, e.g. Access violation If you will not find problem, but you can reproduce this in separate small project (best of all modified VSDK example), then you can send it to me for debugging. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 5 23:36:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 5 15:37:00 2004 Subject: [V4RB 2.0] Namespaces? Message-ID: Hi guys, I read that now RB SDK allow me from plugin define MODULE, Which act as namespace for RB code. It sounds like we can now avoid using of ValentinaUtilities Module, and born all from plugin. Agree? So, assume that in V4RB I make module Valentina with methods Init() ShutDown() Then you can write in RB code App.Open() Valentina.Init() Valentina.ShutDown() end Looks, nice, yes? Next, this module then also can keep all Valentina constants. What worry me, we get long names db.SqlSelect( query, Valentina.kServerSide, Valentina.kReadWrite ) So my question is: if this is NAMESPACE, then is it posible in RB skip its usage, like we can do this in C++ ? Something as using namespace Valentina db.SqlSelect( query, kServerSide, kReadWrite ) ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 5 13:38:33 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Thu Feb 5 15:38:37 2004 Subject: Compact? In-Reply-To: <00b901c3ec25$77d41a40$6601a8c0@LightningFlash> Message-ID: <20040205213833.77688.qmail@web20419.mail.yahoo.com> Hey, Ken. One trick I found that works for me is to create some temp field, which will probably go into the wrong "slot", then immediately after creating that field, create the actual field that you want. That one should go at the end of the list. Then just delete the temp field. Kind of a round about way, but it has worked for me. This is all using VApp by the way. --- Ken Ray wrote: > When I delete a field from a table and then add a > new field, it goes in > the "slot" taken up from the field I deleted. If I > don't want that to > happen (for example, I want the new field to go "at > the end") how would > I make that happen? Does compacting the DB from VAPP > do that? > > Thanks, > > Ken Ray > Sons of Thunder Software > Email: kray@sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From rjb at rz.uni-potsdam.de Thu Feb 5 22:59:18 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Feb 5 16:06:52 2004 Subject: Compact? In-Reply-To: References: Message-ID: >on 2/5/04 10:33 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: > >>> When I delete a field from a table and then add a new field, it goes in >>> the "slot" taken up from the field I deleted. If I don't want that to >>> happen (for example, I want the new field to go "at the end") how would >>> I make that happen? Does compacting the DB from VAPP do that? >>> >>> Thanks, >>> >>> Ken Ray >>> Sons of Thunder Software >>> Email: kray@sonsothunder.com >>> Web Site: http://www.sonsothunder.com/ >>> >> >> Ken, if the field type is compatible, you can just rename the field >> and change its type. Otherwise, the simplest way is to dump xml, >> arrange fields in a desired order, then create a new database from >> that dump. > >Actually not so simple change order in XML file if records present here > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] In general yes, but in RunRev one can write a script to rearrange all as desired. But you are right, Ruslan, that Ken should rethink why he needs to depend on specific order. Not a good idea usually. Robert From kevo at gatorgraphics.com Thu Feb 5 16:16:57 2004 From: kevo at gatorgraphics.com (Kevin Windham) Date: Thu Feb 5 16:17:08 2004 Subject: [V4RB 2.0] Namespaces? In-Reply-To: References: Message-ID: <0329A7E2-5829-11D8-B17B-000393B29272@gatorgraphics.com> Ruslan, I don't think anything like that has been implemented in RB yet. Kevin On Feb 5, 2004, at 3:36 PM, Ruslan Zasukhin wrote: > > So my question is: > if this is NAMESPACE, then is it posible in RB skip its usage, > like we can do this in C++ ? > > Something as > > > using namespace Valentina > > db.SqlSelect( query, kServerSide, kReadWrite ) > From sunshine at public.kherson.ua Fri Feb 6 00:22:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 5 16:22:33 2004 Subject: [V4RB 2.0] Namespaces? In-Reply-To: <0329A7E2-5829-11D8-B17B-000393B29272@gatorgraphics.com> Message-ID: on 2/6/04 12:16 AM, Kevin Windham at kevo@gatorgraphics.com wrote: > Ruslan, > > I don't think anything like that has been implemented in RB yet. Ok, I will ask on RB beta list > Kevin > > > On Feb 5, 2004, at 3:36 PM, Ruslan Zasukhin wrote: >> >> So my question is: >> if this is NAMESPACE, then is it posible in RB skip its usage, >> like we can do this in C++ ? >> >> Something as >> >> >> using namespace Valentina >> >> db.SqlSelect( query, kServerSide, kReadWrite ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Feb 5 16:40:57 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 5 16:42:54 2004 Subject: Compact? In-Reply-To: Message-ID: <00dd01c3ec39$22e4b210$6601a8c0@LightningFlash> > In the same time, all BIG DBMS guys say: > NEVER DEPEND on field order !!! BigDBMS guys don't have SQLSelectRecords()... :-) When I have several places in my code that retrieves data with SQLSelectRecords, I get back tab-delimited data, where I need to know specifically what's in each column. For example, if my Entites table has FirstName, MiddleName, and LastName fields, my code would say something like "put the first tab-delimited item into a variable for FirstName, put the second into a variable for MiddleName, and put the third into a variable for LastName". If adding a new field makes it FirstName, MiddleName, InsertedField, LastName, I have to change all the places in my code that says "the third tab-delimited item is LastName" (since it *isn't* anymore). Right now I'm adding dummy fields to fill the slots, then adding the "new" field, and then deleting the dummy fields. And I can't use XML export for several reasons (the least of which being that it takes several minutes for a large-ish datababase like I have), but the other is that it chokes on import with special characters that are in fields in the database, and that makes it even harder to use for things like this. Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From sunshine at public.kherson.ua Fri Feb 6 00:46:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 5 16:46:38 2004 Subject: Compact? In-Reply-To: <00dd01c3ec39$22e4b210$6601a8c0@LightningFlash> Message-ID: on 2/6/04 12:40 AM, Ken Ray at kray@sonsothunder.com wrote: > >> In the same time, all BIG DBMS guys say: >> NEVER DEPEND on field order !!! > > BigDBMS guys don't have SQLSelectRecords()... :-) > > When I have several places in my code that retrieves data with > SQLSelectRecords, I get back tab-delimited data, where I need to know > specifically what's in each column. For example, if my Entites table has > FirstName, MiddleName, and LastName fields, my code would say something > like "put the first tab-delimited item into a variable for FirstName, > put the second into a variable for MiddleName, and put the third into a > variable for LastName". If adding a new field makes it FirstName, > MiddleName, InsertedField, LastName, I have to change all the places in > my code that says "the third tab-delimited item is LastName" (since it > *isn't* anymore). Ken, but what problems? You always can do, and should do SELECT FirstName, MiddleName, InsertedField, LastName But not SELECT * This is always good idea, because IF in future you ADD fields, your EXISTED code will not be changed. Using SELECT * you start get MORE fields. > Right now I'm adding dummy fields to fill the slots, then adding the > "new" field, and then deleting the dummy 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 kray at sonsothunder.com Thu Feb 5 16:41:59 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 5 16:46:57 2004 Subject: Apple Packager? In-Reply-To: Message-ID: <00de01c3ec39$48c532c0$6601a8c0@LightningFlash> Thanks! Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: Ruslan Zasukhin [mailto:sunshine@public.kherson.ua] > Sent: Thursday, February 05, 2004 3:10 PM > To: kray@sonsothunder.com; valentina@lists.macserve.net > Subject: Re: Apple Packager? > > > on 2/5/04 10:13 PM, Ken Ray at kray@sonsothunder.com wrote: > > > Ruslan, > > > > You refer to this application in the Server docs, but I > can't find it > > anywhere, and when I search for "Apple Packager" on Google, > the only > > thing it hits is the Valentina server docs. What is the > full name of > > the program you mentioned in the "customized installer for OS X" > > section of the Vserver docs, and where did you get it (e.g. > where can > > I get it)? > > Hi Ken, > > Aha, really. > > Correct name: PackageMaker > > Located Developer/Applications/Utilities > > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/val> entina > > ------------------------------------------------------------- > From plsntbreez at mac.com Thu Feb 5 19:26:25 2004 From: plsntbreez at mac.com (Brian Maher) Date: Thu Feb 5 18:26:40 2004 Subject: Xcode, Cocoa-Java & VJDK Message-ID: <192CB07C-583B-11D8-B2E5-000A95B02D84@mac.com> Hi Folks, When building an application in Xcode using Cocoa-Java exactly where do you need to have the build process copy the libvjdk.jnilib within the generated .app directory structure so that Valentina will find it and run? I need to have this file located within the .app as it needs to be ""drag and drop" installation for the end user. Thanks, Brian From kray at sonsothunder.com Thu Feb 5 20:14:06 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu Feb 5 20:15:13 2004 Subject: Compact? In-Reply-To: Message-ID: <012001c3ec56$e930fbf0$6601a8c0@LightningFlash> > You always can do, and should do > > SELECT FirstName, MiddleName, InsertedField, LastName > > But not > > SELECT * So the suggestion is to type hundreds of extra characters every time I do a query when a single character will do? Some of my tables have 30 fields or so, and I need every one of them in my query, and I have dozens of queries in my application... although this may make sure I don't have a problem when new fields are added, it's a real pain in the neck. I'm going to stay with my kludge until a better solution comes down the pike some time in the future. Thanks for the suggestion, though, Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From fvanlerberghe at freegates.be Fri Feb 6 08:48:52 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Fri Feb 6 01:48:28 2004 Subject: FIXED: V4RB: Encoding VString - VText In-Reply-To: Message-ID: le 5/02/04 22:23, Ruslan Zasukhin a ?crit?: > on 2/5/04 9:24 PM, Francois Van Lerberghe at fvanlerberghe@freegates.be > wrote: > >> Is this fix already available ? > > No, just was a special build. > > You also get into this problem? No, I haven't got this with my db > > As far as I see. > > TEXT field was broken on cross-platform translation. I have this problem. I thought you have find a fix for this. I can do the translation in my code, reading the field value, but the problem stay when data are opened with another software (dbReport, Vapp, ...) Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From nwoe at privat.utfors.se Fri Feb 6 09:06:09 2004 From: nwoe at privat.utfors.se (=?iso-8859-1?Q?niklas_w=F6rmann?=) Date: Fri Feb 6 02:06:17 2004 Subject: V4RB WIN examples In-Reply-To: Message-ID: Hi! I am an old time Director developer who, for reasons of speed am evaluating the possibility to port one of my (dead slow) director projects to RB problem is the examples to download dont work, or i cant figure out how to make them work, cant even open them in RB 5.2.4 WIN (demo) seems the examples are mac specific, the files that i assume are project files dont have the beloved file extensions for pc for example. anyone? TIA niklas woermann sweden From sunshine at public.kherson.ua Fri Feb 6 10:14:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 6 02:14:52 2004 Subject: Xcode, Cocoa-Java & VJDK In-Reply-To: <192CB07C-583B-11D8-B2E5-000A95B02D84@mac.com> Message-ID: on 2/6/04 2:26 AM, Brian Maher at plsntbreez@mac.com wrote: > Hi Folks, > > When building an application in Xcode using Cocoa-Java exactly where do > you need to have the build process copy the libvjdk.jnilib within the > generated .app directory structure so that Valentina will find it and > run? > > I need to have this file located within the .app as it needs to be > ""drag and drop" installation for the end user. Hi Jochen, You have ideas? Please answer to Valentina list. It seems to me, if we drop it into .app The MacOS will not find it self. Or I am wrong? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 6 10:16:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 6 02:17:03 2004 Subject: Compact? In-Reply-To: <012001c3ec56$e930fbf0$6601a8c0@LightningFlash> Message-ID: on 2/6/04 4:14 AM, Ken Ray at kray@sonsothunder.com wrote: >> You always can do, and should do >> >> SELECT FirstName, MiddleName, InsertedField, LastName >> >> But not >> >> SELECT * > > So the suggestion is to type hundreds of extra characters every time I > do a query when a single character will do? Some of my tables have 30 > fields or so, and I need every one of them in my query, and I have > dozens of queries in my application... although this may make sure I > don't have a problem when new fields are added, it's a real pain in the > neck. Well, this is general recommendation for SQL. Another point. IF you always do SELECT *, then you have potential for speed up! RULE: the less fields you SELECT, -- the faster will be cursor. If you have table with 30 fields, but you select just 3 fields, the cursor will scroll 10 times faster. > I'm going to stay with my kludge until a better solution comes down the > pike some time in the future. > > Thanks for the suggestion, though, > > > Ken Ray > Sons of Thunder Software > Email: kray@sonsothunder.com > Web Site: http://www.sonsothunder.com/ -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 6 10:17:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 6 02:18:20 2004 Subject: FIXED: V4RB: Encoding VString - VText In-Reply-To: Message-ID: on 2/6/04 9:48 AM, Francois Van Lerberghe at fvanlerberghe@freegates.be wrote: >> on 2/5/04 9:24 PM, Francois Van Lerberghe at fvanlerberghe@freegates.be >> wrote: >> >>> Is this fix already available ? >> >> No, just was a special build. >> >> You also get into this problem? > > No, I haven't got this with my db > >> >> As far as I see. >> >> TEXT field was broken on cross-platform translation. > > I have this problem. I thought you have find a fix for this. > I can do the translation in my code, reading the field value, but the > problem stay when data are opened with another software (dbReport, Vapp, > ...) You can download fixed V4RB here www.paradigmasoft.com/download/V4RB.sit.bin -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 6 10:19:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 6 02:33:36 2004 Subject: V4RB WIN examples In-Reply-To: Message-ID: on 2/6/04 10:06 AM, niklas w?rmann at nwoe@privat.utfors.se wrote: > Hi! > > I am an old time Director developer who, for reasons of speed am evaluating > the possibility to port one of my (dead slow) director projects to RB > > problem is the examples to download dont work, or i cant figure out how to > make them work, cant even > open them in RB 5.2.4 WIN (demo) > > seems the examples are mac specific, the files that i assume are project > files dont > have the beloved file extensions for pc for example. Hi Niklas, Can be 2 reasons 1) missing extentions. 2) but most probably, examples are in RB 2 format. it seems RB WIN IDE is not able open so old format. If you have MAC, you can open and re-save example project on MAC, Then it must start to work -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From j.peters at valentina-db.de Fri Feb 6 09:46:44 2004 From: j.peters at valentina-db.de (Jochen Peters) Date: Fri Feb 6 02:46:55 2004 Subject: Xcode, Cocoa-Java & VJDK In-Reply-To: References: Message-ID: Hi, please try to put the jni-lib into this app-bundle folder: Contents/Resources/Java I have found that during a quick check of the Apple Developer pages - i will look further into this and let you know if i find any additional information. -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de Am 06.02.2004 um 09:14 schrieb Ruslan Zasukhin: > on 2/6/04 2:26 AM, Brian Maher at plsntbreez@mac.com wrote: > >> Hi Folks, >> >> When building an application in Xcode using Cocoa-Java exactly where >> do >> you need to have the build process copy the libvjdk.jnilib within the >> generated .app directory structure so that Valentina will find it and >> run? >> >> I need to have this file located within the .app as it needs to be >> ""drag and drop" installation for the end user. > > Hi Jochen, > > You have ideas? > Please answer to Valentina list. > > It seems to me, if we drop it into .app > The MacOS will not find it self. > Or I am wrong? > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > From j.peters at valentina-db.de Fri Feb 6 09:50:13 2004 From: j.peters at valentina-db.de (Jochen Peters) Date: Fri Feb 6 02:50:26 2004 Subject: Xcode, Cocoa-Java & VJDK In-Reply-To: References: Message-ID: <7A6F5106-5881-11D8-A626-000A959F6B0C@valentina-db.de> Hi, you can find additional information here: http://developer.apple.com/qa/java/java28.html please look at the bottom of the page. -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de Am 06.02.2004 um 09:14 schrieb Ruslan Zasukhin: > on 2/6/04 2:26 AM, Brian Maher at plsntbreez@mac.com wrote: > >> Hi Folks, >> >> When building an application in Xcode using Cocoa-Java exactly where >> do >> you need to have the build process copy the libvjdk.jnilib within the >> generated .app directory structure so that Valentina will find it and >> run? >> >> I need to have this file located within the .app as it needs to be >> ""drag and drop" installation for the end user. > > Hi Jochen, > > You have ideas? > Please answer to Valentina list. > > It seems to me, if we drop it into .app > The MacOS will not find it self. > Or I am wrong? > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > From nwoe at privat.utfors.se Fri Feb 6 09:51:29 2004 From: nwoe at privat.utfors.se (=?iso-8859-1?Q?niklas_w=F6rmann?=) Date: Fri Feb 6 02:51:36 2004 Subject: SV: V4RB WIN examples In-Reply-To: Message-ID: > -----Ursprungligt meddelande----- > Fr?n: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net]F?r Ruslan Zasukhin > Skickat: den 6 februari 2004 09:20 > Till: valentina@lists.macserve.net > ?mne: Re: V4RB WIN examples > > > on 2/6/04 10:06 AM, niklas w?rmann at nwoe@privat.utfors.se wrote: > > > Hi! > > > > I am an old time Director developer who, for reasons of speed > am evaluating > > the possibility to port one of my (dead slow) director projects to RB > > > > problem is the examples to download dont work, or i cant figure > out how to > > make them work, cant even > > open them in RB 5.2.4 WIN (demo) > > > > seems the examples are mac specific, the files that i assume are project > > files dont > > have the beloved file extensions for pc for example. > > Hi Niklas, > > Can be 2 reasons > > 1) missing extentions. > > 2) but most probably, > examples are in RB 2 format. > it seems RB WIN IDE is not able open so old format. > > If you have MAC, you can open and re-save example project on MAC, > Then it must start to work > Hi! OK, problem is i dont have a mac here, (apart from my powerbook 140 ;) niklas From fvanlerberghe at freegates.be Fri Feb 6 10:24:20 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Fri Feb 6 03:23:54 2004 Subject: FIXED: V4RB: Encoding VString - VText In-Reply-To: Message-ID: le 6/02/04 9:17, Ruslan Zasukhin a ?crit?: > You can download fixed V4RB here > > www.paradigmasoft.com/download/V4RB.sit.bin Thank you. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From bartjan at mac.com Fri Feb 6 12:58:22 2004 From: bartjan at mac.com (bartjan@mac.com) Date: Fri Feb 6 05:58:37 2004 Subject: Valentina Server Message-ID: Hi, 1) any plans on releasing valentina server as a daemon on Linux (Red Hat, SUSE)?. 2) Is this beta or can I already recommend this to my client. Deployment second half of the year. Thanks for any insight. Bart Pietercil --- Mac OSX. I've upped my standards. Up yours. From fb at memedia.de Fri Feb 6 13:07:16 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Feb 6 06:07:24 2004 Subject: AW: Valentina Server In-Reply-To: Message-ID: > > 2) Is this beta or can I already recommend this to my client. > Deployment second half of the year. It is still beta. But I have already sold some copies to customers. It is VERY stable and I never had any corrupted database or lost data! Bugs may still appear, but usually they appear already while authoring... Florian From deane.venske at eduss.com Fri Feb 6 22:27:47 2004 From: deane.venske at eduss.com (Deane Venske) Date: Fri Feb 6 06:28:26 2004 Subject: Compact? In-Reply-To: References: Message-ID: I have to agree with Ruslan and well the majority of the DB programmers out there (At least the ones doing things properly). You should never use *, it just opens you up for trouble. Personally I've never found a need for a table with 30 fields. You'll probably find with a little work you could make your DB alot more relational and it would probably make things faster, more stable and alot easier to update in the future. I'm to the point where if I need to I'll make 5 tables instead of one because it saves so much time in the long run and makes the database design so much more logical. Of course your situation could be unique, but go back to your design, draw out some alternatives on paper do some more data definition tables and see where you can make things more efficient. And if you wait for a solution to * then you'll be waiting a long time in my opinion, you should do things properly from the beginning. After all you might only write a query that long 50 times in development. If it takes you an extra 2minutes (And I don't know many queries that take that long to write) then all it's going to take is an extra 2 hours work. From maxprog at mac.com Fri Feb 6 13:51:55 2004 From: maxprog at mac.com (Stan Busk) Date: Fri Feb 6 06:52:03 2004 Subject: [V4RB] ValentinaEscapeString is not esaping all regex chars Message-ID: <3E26681A-58A3-11D8-882F-000A95C377AA@mac.com> Hi, It seems ValentinaEscapeString is not working properly (At least not for me). For example I am looking for records containing the '' string (without quotes). ValentinaEscapeString(mystring, True) returns: rather than: \ Currently my function is escaping following chars: +-*/=%<>()[].$'^?& If I use my function 'SQlSelect' with 'like' returns the right result. If I use ValentinaEscapeString(mystring, True), I get no records. ~/Stan From sunshine at public.kherson.ua Fri Feb 6 15:09:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 6 07:10:03 2004 Subject: SV: V4RB WIN examples In-Reply-To: Message-ID: on 2/6/04 10:51 AM, niklas w?rmann at nwoe@privat.utfors.se wrote: > Hi! > OK, problem is i dont have a mac here, (apart from my powerbook 140 ;) then probably, I need convert examples self. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 6 15:12:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 6 07:12:34 2004 Subject: Valentina Server In-Reply-To: Message-ID: on 2/6/04 1:58 PM, bartjan@mac.com at bartjan@mac.com wrote: Hi Bart, > 1) any plans on releasing valentina server as a daemon on Linux (Red > Hat, SUSE)?. Yes of course. > 2) Is this beta or can I already recommend this to my client. > Deployment second half of the year. You mean of second half of THIS year? After June? On that time, you will get Valentina Server release 2.0 based on Valentina engine 2.0 But yes, you can start right now using Vserver beta Based STABLE 1.x kernel. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 6 15:17:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 6 07:17:45 2004 Subject: [V4RB] ValentinaEscapeString is not esaping all regex chars In-Reply-To: <3E26681A-58A3-11D8-882F-000A95C377AA@mac.com> Message-ID: on 2/6/04 2:51 PM, Stan Busk at maxprog@mac.com wrote: > Hi, > > It seems ValentinaEscapeString is not working properly (At least not > for me). For example I am looking for records containing the > '' string (without quotes). > > ValentinaEscapeString(mystring, True) returns: > > rather than: \ > > Currently my function is escaping following chars: +-*/=%<>()[].$'^?& > > If I use my function 'SQlSelect' with 'like' returns the right result. > If I use ValentinaEscapeString(mystring, True), I get no records. Thank you for info, Stan. But does < > $ are REGEX SYNTAX symbols? I do not remember 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 maxprog at mac.com Fri Feb 6 14:34:34 2004 From: maxprog at mac.com (Stan Busk) Date: Fri Feb 6 07:34:46 2004 Subject: [V4RB] ValentinaEscapeString is not esaping all regex chars In-Reply-To: References: Message-ID: <33CA638C-58A9-11D8-882F-000A95C377AA@mac.com> Hi, < > can be used for look-behind assertions but I am not sure if they need to be escaped as they use to be preceded with a '?'. The '$' is the regex end of line. ~/Stan > on 2/6/04 2:51 PM, Stan Busk at maxprog@mac.com wrote: > >> Hi, >> >> It seems ValentinaEscapeString is not working properly (At least not >> for me). For example I am looking for records containing the >> '' string (without quotes). >> >> ValentinaEscapeString(mystring, True) returns: >> >> rather than: \ >> >> Currently my function is escaping following chars: +-*/=%<>()[].$'^?& >> >> If I use my function 'SQlSelect' with 'like' returns the right result. >> If I use ValentinaEscapeString(mystring, True), I get no records. > > Thank you for info, Stan. > > But does < > $ are REGEX SYNTAX symbols? > I do not remember them. > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From martin.kloss at gmx.de Fri Feb 6 14:55:01 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Fri Feb 6 07:55:15 2004 Subject: Compact? In-Reply-To: References: Message-ID: <6.0.1.1.2.20040206145211.01bcff18@pop.gmx.de> At 13:27 06.02.2004, you wrote: >I have to agree with Ruslan and well the majority of the DB programmers >out there (At least the ones doing things properly). You should never use >*, it just opens you up for trouble. Personally I've never found a need >for a table with 30 fields. You'll probably find with a little work you >could make your DB alot more relational and it would probably make things >faster, more stable and alot easier to update in the future. I'm to the >point where if I need to I'll make 5 tables instead of one because it >saves so much time in the long run and makes the database design so much >more logical. Hmm, it depends. I recently had to decide to put a couple of fields in the same table I would usually have put into different tables, so I was consciously violating normalization rules. I had to do it, because doing an OR condition for fields in different tables does not work in 1.x and I can't wait for 2.0, so in some cases design depends on required functionality. 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 bartjan at mac.com Fri Feb 6 14:59:11 2004 From: bartjan at mac.com (bartjan@mac.com) Date: Fri Feb 6 07:59:21 2004 Subject: Valentina Server In-Reply-To: References: Message-ID: On 06 Feb 2004, at 14:12, Ruslan Zasukhin wrote: > on 2/6/04 1:58 PM, bartjan@mac.com at bartjan@mac.com wrote: > > Hi Bart, > >> 1) any plans on releasing valentina server as a daemon on Linux (Red >> Hat, SUSE)?. > > Yes of course. > When would the Linux release be ? Bart -- There are 10 types of people in the world. Those who understand binary and those who don't. From sunshine at public.kherson.ua Fri Feb 6 16:04:52 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 6 08:05:00 2004 Subject: Valentina Server In-Reply-To: Message-ID: on 2/6/04 3:59 PM, bartjan@mac.com at bartjan@mac.com wrote: > > On 06 Feb 2004, at 14:12, Ruslan Zasukhin wrote: > >> on 2/6/04 1:58 PM, bartjan@mac.com at bartjan@mac.com wrote: >> >> Hi Bart, >> >>> 1) any plans on releasing valentina server as a daemon on Linux (Red >>> Hat, SUSE)?. >> >> Yes of course. >> > When would the Linux release be ? At first we will ship 2.0 Then I believe will be a couple of bug fix releases 2.1, 2.2, 2.3 And during this we will start work on Linux version. I think maximum one month to port to Linux. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Fri Feb 6 08:31:31 2004 From: andrew at learningware.com (Andrew Sinning) Date: Fri Feb 6 08:28:50 2004 Subject: V4MD In-Reply-To: Message-ID: I read somewhere that it is possible to reduce the size of Val db by running some kind of cleanup command on the db or the tables, but I can't find this in the V4MD doc. Can you help me out? Thanks. From martin.kloss at gmx.de Fri Feb 6 15:31:16 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Fri Feb 6 08:31:36 2004 Subject: *** GMX Spamverdacht *** V4MD In-Reply-To: References: Message-ID: <6.0.1.1.2.20040206152931.01be3318@pop.gmx.de> At 15:31 06.02.2004, you wrote: >I read somewhere that it is possible to reduce the size of Val db by >running some kind of cleanup command on the db or the tables, but I >can't find this in the V4MD doc. Hi Andrew, check out XML Dump / Load in your docs, you can do that from Director or even easier from VAPP. That should clean up the db as far as unused segments / orphans etc. are concerned. 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 andrew at learningware.com Fri Feb 6 08:46:54 2004 From: andrew at learningware.com (Andrew Sinning) Date: Fri Feb 6 08:44:05 2004 Subject: V4MD In-Reply-To: Message-ID: Okay, I'm using the following: SqlExecute(dbConn,"COMPACT") -- dbConn is my instance of the vList, connected to my db and am getting "No Error", BUT the size of my .blb file remains the same, even though I have replaced all of the large field values with very small field values. Thanks. -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]On Behalf Of Andrew Sinning Sent: Friday, February 06, 2004 8:32 AM To: Valentina Developers Subject: V4MD I read somewhere that it is possible to reduce the size of Val db by running some kind of cleanup command on the db or the tables, but I can't find this in the V4MD doc. Can you help me out? Thanks. _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Feb 6 16:46:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 6 08:46:32 2004 Subject: V4MD In-Reply-To: Message-ID: on 2/6/04 4:31 PM, Andrew Sinning at andrew@learningware.com wrote: > I read somewhere that it is possible to reduce the size of Val db by > running some kind of cleanup command on the db or the tables, but I > can't find this in the V4MD doc. > > Can you help me out? Thanks. It is in the ValentinaSQL.pdf COMPACT Also you can XML dump and Load -- the best thing. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Fri Feb 6 09:06:19 2004 From: andrew at learningware.com (Andrew Sinning) Date: Fri Feb 6 09:03:40 2004 Subject: V4MD In-Reply-To: Message-ID: Ruslan, I am using SetMedia and GetMedia in combination with vList xtra members. This method is 17 times faster than using the vList xtra method of saving the vList data to a file! However, SetMedia takes up 2x as much disk space. Don't get me wrong, I'd much rather have 17x speed than .5x space, but is there anything I can do to bring the size down. As I said in my last email, COMPACT doesn't seem to reduce the size of the .blb file, even after I've overwritten very large BLOB values with very small BLOB values. Thanks. I'm very happy with your product and service. It is truley 1st rate! -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]On Behalf Of Ruslan Zasukhin Sent: Friday, February 06, 2004 8:46 AM To: valentina@lists.macserve.net Subject: Re: V4MD on 2/6/04 4:31 PM, Andrew Sinning at andrew@learningware.com wrote: > I read somewhere that it is possible to reduce the size of Val db by > running some kind of cleanup command on the db or the tables, but I > can't find this in the V4MD doc. > > Can you help me out? Thanks. It is in the ValentinaSQL.pdf COMPACT Also you can XML dump and Load -- the best thing. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Feb 6 17:11:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 6 09:11:36 2004 Subject: V4MD In-Reply-To: Message-ID: on 2/6/04 4:46 PM, Andrew Sinning at andrew@learningware.com wrote: > Okay, > > I'm using the following: > > SqlExecute(dbConn,"COMPACT") -- dbConn is my instance of the vList, > connected to my db COMPACT DATABASE -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From plsntbreez at mac.com Fri Feb 6 07:33:01 2004 From: plsntbreez at mac.com (Brian Maher) Date: Fri Feb 6 09:33:08 2004 Subject: Xcode, Cocoa-Java & VJDK Message-ID: <15082956.1076081581674.JavaMail.plsntbreez@mac.com> Hi Jochen, Thanks for the response. I found that document (along with others) last night and have temporarily placed the jnilib in ~/Library/Java/Extensions (or maybe ~/Library/Extensions/Java) and it does work. Unfortunately, it appears that the comment in that document that says that your .app's Contents/Resources/Java directory is searched does not work (this is where I had the build process placing the file initially). So, for now (development) I am ok. I do still need to deployment resolution. One thought I had (but have not tested) is if I do a System.load of the library myself and specify the full path to the jnilib would this work? By that I mean, when your code does a loadLibrary call will Java realize that the library has already been loaded and not attempt to load it again then return a reference to the previously loaded copy? Thanks, Brian From andrew at learningware.com Fri Feb 6 09:36:11 2004 From: andrew at learningware.com (Andrew Sinning) Date: Fri Feb 6 09:33:51 2004 Subject: V4MD In-Reply-To: Message-ID: SqlExecute(dbConn,"COMPACT DATABASE") doesn't seem to do anything. It takes no time at all and the dates of the files do not change. Is there anyway to get a report back of what it has done. When I check put ValentinaErrorString() I get "no error". -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]On Behalf Of Ruslan Zasukhin Sent: Friday, February 06, 2004 9:11 AM To: valentina@lists.macserve.net Subject: Re: V4MD on 2/6/04 4:46 PM, Andrew Sinning at andrew@learningware.com wrote: > Okay, > > I'm using the following: > > SqlExecute(dbConn,"COMPACT") -- dbConn is my instance of the vList, > connected to my db COMPACT DATABASE -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 marcus at synchromedia.co.uk Fri Feb 6 17:09:13 2004 From: marcus at synchromedia.co.uk (Marcus Bointon) Date: Fri Feb 6 11:09:21 2004 Subject: Valentina 2.0. -- What is your 3 DREAM features? In-Reply-To: Message-ID: Just thought I'd drop in my 2?, while trying to avoid repetition of other requests: 1) QuickTime media support in the same way that Frontbase does, allowing things like searching & indexing of text tracks and playback direct from DB with random access. 2) ENUM fields, which kind of goes hand in hand with the ability to make fields with arbitrary bit lengths. This can be very important for optimising very large databases (and indexes) for minimal size (e.g. To fit on a CD or DVD) where every additional bit counts. I don't know if this is outside the scope of what could be done in a field plugin. 3) Produce or port a web front end for database admin - a port of phpMyAdmin would be a good start. I've been trying out all kinds of dedicated clients for MySQL recently, and on the whole I still prefer a web interface over all of them! I'm also +1 for transactions, hot backup. Now all we have to do is to get Macromedia to support Unicode properly in Director... 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 Fri Feb 6 21:59:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 6 13:59:35 2004 Subject: V4MD In-Reply-To: Message-ID: on 2/6/04 5:36 PM, Andrew Sinning at andrew@learningware.com wrote: > SqlExecute(dbConn,"COMPACT DATABASE") doesn't seem to do anything. It > takes no time at all and the dates of the files do not change. Is there > anyway to get a report back of what it has done. When I check > > > put ValentinaErrorString() > > I get "no error". Then probably nothing found to compact. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 6 22:03:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 6 14:03:16 2004 Subject: V4MD In-Reply-To: Message-ID: on 2/6/04 5:06 PM, Andrew Sinning at andrew@learningware.com wrote: Hi Andrew, > I am using SetMedia and GetMedia in combination with vList xtra members. > This method is 17 times faster than using the vList xtra method of > saving the vList data to a file! However, SetMedia takes up 2x as much > disk space. Don't get me wrong, I'd much rather have 17x speed than .5x > space, but is there anything I can do to bring the size down. > > As I said in my last email, COMPACT doesn't seem to reduce the size of > the .blb file, even after I've overwritten very large BLOB values with > very small BLOB values. Aha, COMPACT is NOT for this! You have 2 ways to try reduce disk space: 1) what is segment of BLOB field? try set it to as low as 128 bytes. (or 256, or 512) 2) you can set for this BLOB field flag fCompressed. then Valentina will do ZIP compression for it. you can expect 4-7 times save of space. You need set flag for empty db and later add data. Or you can set flag on existed data, and then call COMPACT > Thanks. I'm very happy with your product and service. It is truley 1st > rate! Thank you, :-) Tell this to 10 your friends :-)) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 6 22:36:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 6 14:36:07 2004 Subject: Xcode, Cocoa-Java & VJDK In-Reply-To: <15082956.1076081581674.JavaMail.plsntbreez@mac.com> Message-ID: on 2/6/04 5:33 PM, Brian Maher at plsntbreez@mac.com wrote: > Hi Jochen, > > Thanks for the response. I found that document (along with others) last night > and have temporarily placed the jnilib in ~/Library/Java/Extensions (or maybe > ~/Library/Extensions/Java) and it does work. Unfortunately, it appears that > the comment in that document that says that your .app's > Contents/Resources/Java directory is searched does not work (this is where I > had the build process placing the file initially). > > So, for now (development) I am ok. I do still need to deployment resolution. > > One thought I had (but have not tested) is if I do a System.load of the > library myself and specify the full path to the jnilib would this work? By > that I mean, when your code does a loadLibrary call will Java realize that the > library has already been loaded and not attempt to load it again then return a > reference to the previously loaded copy? If that functions loads DLLs, I expect it will link it correctly. You need 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 j.peters at valentina-db.de Fri Feb 6 22:01:06 2004 From: j.peters at valentina-db.de (Jochen Peters) Date: Fri Feb 6 15:01:21 2004 Subject: Xcode, Cocoa-Java & VJDK In-Reply-To: References: Message-ID: <949CDCBC-58E7-11D8-8C4B-000A959F6B0C@valentina-db.de> Hi, >> Hi Jochen, >> >> Thanks for the response. I found that document (along with others) >> last night >> and have temporarily placed the jnilib in ~/Library/Java/Extensions >> (or maybe >> ~/Library/Extensions/Java) and it does work. Unfortunately, it >> appears that >> the comment in that document that says that your .app's >> Contents/Resources/Java directory is searched does not work (this is >> where I >> had the build process placing the file initially). Hhhm - strange. Maybe you must specify this directory in the plist file of your bundle - please look at the Apple Developer Pages for more info - i have read something about plist variables concerning Java in the past - i will also have a look at it. Do you run Panther? >> >> So, for now (development) I am ok. I do still need to deployment >> resolution. >> >> One thought I had (but have not tested) is if I do a System.load of >> the >> library myself and specify the full path to the jnilib would this >> work? By >> that I mean, when your code does a loadLibrary call will Java realize >> that the >> library has already been loaded and not attempt to load it again then >> return a >> reference to the previously loaded copy? > > If that functions loads DLLs, I expect it will link it correctly. > You need test I would also expect that it should work - but i have not tested it myself. > -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From plsntbreez at mac.com Fri Feb 6 17:52:13 2004 From: plsntbreez at mac.com (Brian Maher) Date: Fri Feb 6 16:52:29 2004 Subject: Xcode, Cocoa-Java & VJDK In-Reply-To: <949CDCBC-58E7-11D8-8C4B-000A959F6B0C@valentina-db.de> References: <949CDCBC-58E7-11D8-8C4B-000A959F6B0C@valentina-db.de> Message-ID: <1A99C2F8-58F7-11D8-9619-000A95B02D84@mac.com> Hi Jochen, On Feb 6, 2004, at 4:01 PM, Jochen Peters wrote: > Hhhm - strange. Maybe you must specify this directory in the plist > file of your > bundle - please look at the Apple Developer Pages for more info - i > have read something > about plist variables concerning Java in the past - i will also have a > look at it. > Do you run Panther? According to the Apple docs it /should/ find the file automatically. Given that it isn't it is probably an Apple bug. I am running Panther. >> If that functions loads DLLs, I expect it will link it correctly. >> You need test > I would also expect that it should work - but i have not tested it > myself. I'll do that tonight and let you know the results. Thanks, Brian From plsntbreez at mac.com Fri Feb 6 18:03:54 2004 From: plsntbreez at mac.com (Brian Maher) Date: Fri Feb 6 17:04:09 2004 Subject: Xcode, Cocoa-Java & VJDK In-Reply-To: <1A99C2F8-58F7-11D8-9619-000A95B02D84@mac.com> References: <949CDCBC-58E7-11D8-8C4B-000A959F6B0C@valentina-db.de> <1A99C2F8-58F7-11D8-9619-000A95B02D84@mac.com> Message-ID: Hi Jochen, >>> If that functions loads DLLs, I expect it will link it correctly. >>> You need test >> I would also expect that it should work - but i have not tested it >> myself. > > I'll do that tonight and let you know the results. It did not work. The jnilib was loaded successfully, however, it appears that when your init method is called and it attempts to load the library via System.loadLibrary java does no checking to see if the library has already been loaded. Is there any way that you can modify your java code to do a check before attempting to invoke System.loadLibrary()?? Brian From nwoe at privat.utfors.se Sat Feb 7 23:30:19 2004 From: nwoe at privat.utfors.se (=?us-ascii?Q?niklas_wormann?=) Date: Sat Feb 7 16:30:27 2004 Subject: v4RB windows and ide In-Reply-To: Message-ID: Hi! i am having a hard time figuring out how to get valentina to run in RB 5.2.4. i am running it on windows (2000) using the demo version. first of all i couldn?t get the valentina example projects from paradigma to work on windows. however i found a sample project, with the datagrid component from einhaugur. when i try to run it in the IDE, absolutely nothing happens.. rb says "compiling" and then "launching the application" but thats it, no windows appear and no error messages either for that matter. i appears something is running though, since the menu choice under "debug" now has the "kill" command enabled. something is running, but its not available for me to see. ? i have placed the valentina plugin in the plugins folder, and i am using the version from the web (23 dec 03) what gives? niklas wormann From sunshine at public.kherson.ua Sun Feb 8 00:45:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 7 16:46:11 2004 Subject: v4RB windows and ide In-Reply-To: Message-ID: on 2/8/04 12:30 AM, niklas wormann at nwoe@privat.utfors.se wrote: > > Hi! > i am having a hard time figuring out how to get valentina to > run in RB 5.2.4. > i am running it on windows (2000) using the demo version. > > first of all i couldn?t get the valentina example projects from paradigma to > work on windows. > > however i found a sample project, with the datagrid component from > einhaugur. Hi Niklas, I am sending converted examples to you 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 Sun Feb 8 00:48:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 7 16:48:10 2004 Subject: [FAQ] v4RB windows and ide In-Reply-To: Message-ID: on 2/8/04 12:30 AM, niklas wormann at nwoe@privat.utfors.se wrote: > when i try to run it in the IDE, absolutely nothing happens.. > rb says "compiling" and then "launching the application" but thats it, no > windows > appear and no error messages either for that matter. i appears something is > running though, since the menu > choice under "debug" now has the "kill" command enabled. something is > running, but its not available for me to see. > ? > i have placed the valentina plugin in the plugins folder, and i am using the > version from the web (23 dec 03) > > what gives? Please check next point. in the RB project open Build Settings panel go to windows build make sure that check box "Multiple Document Interface" is 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 nwoe at privat.utfors.se Sun Feb 8 00:00:31 2004 From: nwoe at privat.utfors.se (=?us-ascii?Q?niklas_wormann?=) Date: Sat Feb 7 17:00:35 2004 Subject: SV: [FAQ] v4RB windows and ide In-Reply-To: Message-ID: > Please check next point. > > in the RB project open Build Settings panel > go to windows build > make sure that check box "Multiple Document Interface" is ON. > Hi! i am getting some progress now.. thanks! niklas ps what are your working hours? or rather, what are your sleeping hours? ds From cindy at kowhaiprogramming.com Sun Feb 8 13:09:49 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Sat Feb 7 18:07:49 2004 Subject: V4RB and dates Message-ID: Hi All, I have recently set up a new database with about three date fields. I am running OS X and my system date formats are set to Australian (d/m/y) as I live in New Zealand. In a previous program I had written, dates are stored and retrieved with no problems. In the new database, when I save a date higher than the 15th, Valentina stores the date 16 days previously. For example, if I put a date in as 17/12/03, the date is stored as 1/12/03. I know it is only happening when it is saved as when I bring up a message box just after I set the datestring showing what is in the text box and what is in the saved field, they are both different. Vtransactions.field("Date").SetString (datefield.text) MsgBox datefield.txt + " " + vtransactions.field("Date").GetString This should bring up the same thing but is not when the date is higher than the 15th. Is there any reason for this and any way I can stop it from happening? Thanks in anticipation. -- 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 Sun Feb 8 10:08:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 8 02:08:53 2004 Subject: SV: [FAQ] v4RB windows and ide In-Reply-To: Message-ID: on 2/8/04 1:00 AM, niklas wormann at nwoe@privat.utfors.se wrote: >> Please check next point. >> >> in the RB project open Build Settings panel >> go to windows build >> make sure that check box "Multiple Document Interface" is ON. >> > > Hi! > i am getting some progress now.. > thanks! Excellent. > niklas > > ps > what are your working hours? > or rather, what are your sleeping hours? :-) Do not worry. I sleep at least 7-8 hours per day. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Sun Feb 8 13:50:36 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Sun Feb 8 06:51:08 2004 Subject: [VAPP] XML Load Error Message-ID: <6.0.1.1.2.20040208133909.01b97fc8@pop.gmx.de> Hi Ruslan, I just did a XML Dump / Load from VAPP to repair a 700MB database, which had several corrupt records. I don't know how on earth these records got corrupted, but the diagnose report said that a lot of text blobs had orphaned segments and so on. The result was that the text got displayed as garbage, not very nice and even deleting the records and creating new records didn't help,. because the binary space seems to get recycled. So after my client freaked and shouted and said very bad things about valentina, I'm now in the process of trying to repair the database by doing an XML dump and load and then re-inserting 10.000 pictures, because it seems that there is no other way to repair this database :-( Anyway, the XML dump took only about 15 minutes on a dual cpu., 1GB RAM, OS X 10.3.2 machine with VAPP. It worked fine and produced a gigantic XML file. Subsequently, I tried to load the XML file, which took the whole night. This morning VAPP showed an error about a line in the XML file being "not well formed" (position 0). How can that be? I don't have another night to load the XML file and I don't know how to fix the database now. How can a XML file that has been generated by VAPP cause an error when being read again with VAPP? I'm very frustrated, time is running away, my client is pissed and the database is still broken... 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 Sun Feb 8 14:53:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 8 06:53:45 2004 Subject: V4RB and dates In-Reply-To: Message-ID: on 2/8/04 2:09 AM, Cindy Brown at cindy@kowhaiprogramming.com wrote: Hi Cindy, > I have recently set up a new database with about three date fields. I am > running OS X and my system date formats are set to Australian (d/m/y) as I > live in New Zealand. In a previous program I had written, dates are stored > and retrieved with no problems. In the new database, when I save a date > higher than the 15th, Valentina stores the date 16 days previously. For > example, if I put a date in as 17/12/03, the date is stored as 1/12/03. I > know it is only happening when it is saved as when I bring up a message box > just after I set the datestring showing what is in the text box and what is > in the saved field, they are both different. > > Vtransactions.field("Date").SetString (datefield.text) > MsgBox datefield.txt + " " + vtransactions.field("Date").GetString > > This should bring up the same thing but is not when the date is higher than > the 15th. > > Is there any reason for this and any way I can stop it from happening? Please check db.DateFormat Property. May be you have wrong value? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 8 15:10:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 8 07:10:42 2004 Subject: [VAPP] XML Load Error In-Reply-To: <6.0.1.1.2.20040208133909.01b97fc8@pop.gmx.de> Message-ID: on 2/8/04 2:50 PM, Martin Kloss at martin.kloss@gmx.de wrote: Hi Martin, > I just did a XML Dump / Load from VAPP to repair a 700MB > database, which had several corrupt records. I don't know how > on earth these records got corrupted, but the diagnose report > said that a lot of text blobs had orphaned segments and so on. > The result was that the text got displayed as garbage, not very > nice and even deleting the records and creating new records > didn't help,. because the binary space seems to get recycled. > > So after my client freaked and shouted and said very bad things > about valentina, I'm now in the process of trying to repair the > database by doing an XML dump and load and then re-inserting > 10.000 pictures, because it seems that there is no other way > to repair this database :-( ops > Anyway, the XML dump took only about 15 minutes on a dual > cpu., 1GB RAM, OS X 10.3.2 machine with VAPP. It worked > fine and produced a gigantic XML file. Subsequently, I tried to > load the XML file, which took the whole night. This morning > VAPP showed an error about a line in the XML file being > "not well formed" (position 0). How can that be? I have see ... One reason of this: 1) text contains some characters that XML parser do not understand. > I don't have another night to load the XML file and I don't > know how to fix the database now. How can a XML file that > has been generated by VAPP cause an error when being > read again with VAPP? I'm very frustrated, time is running > away, my client is pissed and the database is still broken... To make you client COOL, please tell him 2 things 1) I know EXACTLY 100% that even BIG DBMS that have -- transactions, -- logs, -- recovery system Also can broke things. Just not so far one of our developer have great dancing with Sybase, He work in local bank. 2) IF your customer have SO IMPORTANT data, he MUST to use EVERY DAY or even EVERY HOUR backup. Without back up -- SORRY. HIS MISTAKE. ------- According to how recover. 1) you can try open that file in editor and go to that bad formed line. Most probably you will see some garbage on that line, and can try fix it. But that also will follow by LONG TIME XML parsing. And who know may be exist other bad place. 2) you can try next way: * write small lingo project that will open his bad db, * which will create empty tables (or you can truncate XML file self to get empty structure of tables from it) * now for each table for each record do COPY of each field and add record. If you meet some bad record, then skip it. Question is how to recognize bad record... In any case, such procedure must give you new fresh db with data, Without orphan segments. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Mon Feb 9 11:58:48 2004 From: deane.venske at eduss.com (Deane Venske) Date: Sun Feb 8 19:58:57 2004 Subject: Linked tables and WHERE clauses. Hoping for a good answer. Message-ID: Hi Guys, I'm absolutely baffled by what is happening and I really need answers as to why it is happening. I don't want to have to test every query I make to make sure it works in all cases because of some quirk. It's fine if my query is wrong, but I can't see what could possibly be wrong in the following. Here are 2 queries with their results. SELECT work.*, class.name FROM work, class WHERE class.classID = work.classID AND class.teacherID = 3 AND work.programID = 2 AND work.workType = 2 -> Returns all records in the work table even if programID is 1. SELECT work.*, class.name FROM work, class WHERE class.classID = work.classID AND class.teacherID = 3 AND work.workType = 2 AND work.programID = 2 -> Returns all records in the work table even if workType is 1. Here are the dumps of the tables. CREATE TABLE class ( classID UShort NOT NULL UNIQUE INDEXED, teacherID UShort NOT NULL INDEXED, name VarChar(30,'ASCII') NOT NULL INDEXED ); CREATE TABLE work ( programID UShort INDEXED, workID UShort NOT NULL UNIQUE INDEXED, workTitle String(50,'ASCII') NOT NULL INDEXED, classID UShort NOT NULL INDEXED, dateSet ULong Long NOT NULL, dateDue ULong Long NOT NULL, workType UShort NOT NULL INDEXED, noQuestions UShort NOT NULL ); I can't work out why switching two parts of a where clause around would cause a problem like this. I did another test adding "AND noQuestions = 3" to the end of this and it returned absolutely everything that had 3 set for that. Now it's looking like it is only looking at the last WHERE clause. Please confirm this, am I doing something wrong, I tested this in mysql using LEFT JOIN to join the tables and I got the correct results. I am now very worried about other queries throughout my program that I will now need to double check. This is a HUGE concern to me because it really makes it impossible to release the software. -- 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 Fred.Stephenson at communication-unltd.com Mon Feb 9 09:19:14 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Mon Feb 9 02:16:02 2004 Subject: V4RB and dates In-Reply-To: References: Message-ID: I had the same problem on Friday and gave it a miss for the weekend. I just found the problem, at least for me cursor.field("date").setstring(d.shortdate) is the culprit cursor.datefield("date").set(d.year,d.month,d.day) is the solution looks like setstring is broken. Is this what you were doing Cindy?? all the best Fred >on 2/8/04 2:09 AM, Cindy Brown at cindy@kowhaiprogramming.com wrote: > >Hi Cindy, > >> I have recently set up a new database with about three date fields. I am >> running OS X and my system date formats are set to Australian (d/m/y) as I >> live in New Zealand. In a previous program I had written, dates are stored >> and retrieved with no problems. In the new database, when I save a date >> higher than the 15th, Valentina stores the date 16 days previously. For >> example, if I put a date in as 17/12/03, the date is stored as 1/12/03. I >> know it is only happening when it is saved as when I bring up a message box >> just after I set the datestring showing what is in the text box and what is >> in the saved field, they are both different. >> >> Vtransactions.field("Date").SetString (datefield.text) >> MsgBox datefield.txt + " " + vtransactions.field("Date").GetString >> >> This should bring up the same thing but is not when the date is higher than >> the 15th. >> >> Is there any reason for this and any way I can stop it from happening? > >Please check > > db.DateFormat > >Property. May be you have wrong value? > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Mon Feb 9 10:58:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 9 02:58:48 2004 Subject: Linked tables and WHERE clauses. Hoping for a good answer. In-Reply-To: Message-ID: on 2/9/04 3:58 AM, Deane Venske at deane.venske@eduss.com wrote: Hi Deane, > I'm absolutely baffled by what is happening and I really need answers as > to why it is happening. I don't want to have to test every query I make to > make sure it works in all cases because of some quirk. It's fine if my > query is wrong, but I can't see what could possibly be wrong in the > following. > > Here are 2 queries with their results. > SELECT work.*, class.name FROM work, class WHERE class.classID = > work.classID AND class.teacherID = 3 AND work.programID = 2 AND > work.workType = 2 > -> Returns all records in the work table even if programID is 1. > > SELECT work.*, class.name FROM work, class WHERE class.classID = > work.classID AND class.teacherID = 3 AND work.workType = 2 AND > work.programID = 2 > -> Returns all records in the work table even if workType is 1. > > Here are the dumps of the tables. > CREATE TABLE class ( > classID UShort NOT NULL UNIQUE INDEXED, > teacherID UShort NOT NULL INDEXED, > name VarChar(30,'ASCII') NOT NULL INDEXED > ); > > CREATE TABLE work ( > programID UShort INDEXED, > workID UShort NOT NULL UNIQUE INDEXED, > workTitle String(50,'ASCII') NOT NULL INDEXED, > classID UShort NOT NULL INDEXED, > dateSet ULong Long NOT NULL, > dateDue ULong Long NOT NULL, > workType UShort NOT NULL INDEXED, > noQuestions UShort NOT NULL > ); > > I can't work out why switching two parts of a where clause around would > cause a problem like this. 1) Valentina 1.x have one glitch. fields on each table must be grouped together in the WHERE clause. 2) but it seems both your query differ only on order of work.programID = 2 AND work.workType = 2 work.workType = 2 AND work.programID = 2 So Hmm.. Try to add () SELECT work.*, class.name FROM work, class WHERE class.classID = work.classID AND class.teacherID = 3 AND (work.programID = 2 AND work.workType = 2) Now 100% order must not mater. If not helps, then I think you need to REINDEX your database. > I did another test adding "AND noQuestions = 3" > to the end of this and it returned absolutely everything that had 3 set > for that. Now it's looking like it is only looking at the last WHERE > clause. Please confirm this, am I doing something wrong, I tested this in > mysql using LEFT JOIN to join the tables and I got the correct results. > > I am now very worried about other queries throughout my program that I > will now need to double check. This is a HUGE concern to me because it > really makes it impossible to release the software. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 9 10:59:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 9 02:59:52 2004 Subject: V4RB and dates In-Reply-To: Message-ID: on 2/9/04 10:19 AM, Fred.Stephenson at Fred.Stephenson@communication-unltd.com wrote: > I had the same problem on Friday and gave it a miss for the weekend. > I just found the problem, at least for me > > cursor.field("date").setstring(d.shortdate) is the culprit > > cursor.datefield("date").set(d.year,d.month,d.day) is the solution > > looks like setstring is broken. > > Is this what you were doing Cindy?? Fred, To get setstring() work correctly, You must make sure that db.DateFormat is EXACTLY the same as string that you enter. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Mon Feb 9 10:51:24 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Mon Feb 9 03:48:11 2004 Subject: V4RB and dates In-Reply-To: References: Message-ID: Ruslan, >> looks like setstring is broken. correction : looks like Freds brain was fried ;?( >To get setstring() work correctly, >You must make sure that db.DateFormat is EXACTLY >the same as string that you enter. Thanks. I assumed it was because that was how it was showing in VAPP but the format was actually 0 and not 1. Back to the drawing board ;?) Fred From deane.venske at eduss.com Mon Feb 9 19:48:10 2004 From: deane.venske at eduss.com (Deane Venske) Date: Mon Feb 9 03:48:36 2004 Subject: Linked tables and WHERE clauses. Hoping for a good answer. In-Reply-To: References: Message-ID: On Mon, 09 Feb 2004 10:58:35 +0200, Ruslan Zasukhin wrote: > on 2/9/04 3:58 AM, Deane Venske at deane.venske@eduss.com wrote: > > Hi Deane, > >> I'm absolutely baffled by what is happening and I really need answers as >> to why it is happening. I don't want to have to test every query I make >> to >> make sure it works in all cases because of some quirk. It's fine if my >> query is wrong, but I can't see what could possibly be wrong in the >> following. >> >> Here are 2 queries with their results. >> SELECT work.*, class.name FROM work, class WHERE class.classID = >> work.classID AND class.teacherID = 3 AND work.programID = 2 AND >> work.workType = 2 >> -> Returns all records in the work table even if programID is 1. >> >> SELECT work.*, class.name FROM work, class WHERE class.classID = >> work.classID AND class.teacherID = 3 AND work.workType = 2 AND >> work.programID = 2 >> -> Returns all records in the work table even if workType is 1. >> >> Here are the dumps of the tables. >> CREATE TABLE class ( >> classID UShort NOT NULL UNIQUE INDEXED, >> teacherID UShort NOT NULL INDEXED, >> name VarChar(30,'ASCII') NOT NULL INDEXED >> ); >> >> CREATE TABLE work ( >> programID UShort INDEXED, >> workID UShort NOT NULL UNIQUE INDEXED, >> workTitle String(50,'ASCII') NOT NULL INDEXED, >> classID UShort NOT NULL INDEXED, >> dateSet ULong Long NOT NULL, >> dateDue ULong Long NOT NULL, >> workType UShort NOT NULL INDEXED, >> noQuestions UShort NOT NULL >> ); >> >> I can't work out why switching two parts of a where clause around would >> cause a problem like this. > > 1) Valentina 1.x have one glitch. > fields on each table must be grouped together in the WHERE clause. > > 2) but it seems both your query differ only on order of > > work.programID = 2 AND work.workType = 2 > work.workType = 2 AND work.programID = 2 > > So Hmm.. > > Try to add () > > SELECT work.*, class.name > FROM work, class > WHERE class.classID = work.classID > AND > class.teacherID = 3 > AND > (work.programID = 2 AND work.workType = 2) > > Now 100% order must not mater. > > If not helps, then I think you need to REINDEX your database. > > >> I did another test adding "AND noQuestions = 3" >> to the end of this and it returned absolutely everything that had 3 set >> for that. Now it's looking like it is only looking at the last WHERE >> clause. Please confirm this, am I doing something wrong, I tested this >> in >> mysql using LEFT JOIN to join the tables and I got the correct results. >> >> I am now very worried about other queries throughout my program that I >> will now need to double check. This is a HUGE concern to me because it >> really makes it impossible to release the software. > Thanks Ruslan, I'll give it a go in the morning and let you know how it went. I'm holding thumbs! Deane -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ From cm_sheffield at yahoo.com Mon Feb 9 07:50:27 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Mon Feb 9 09:50:33 2004 Subject: ip address of server Message-ID: <20040209155027.62938.qmail@web20413.mail.yahoo.com> Does anyone have an easy way to automatically obtain the IP address of the server that's running VServer? Specifically, is there a method that can be called from the client to do this? If not, is there a way to do it somehow on the server itself? I'm using Revolution for this. I'll mostly likely be using VServer embedded, and would like to be able to obtain that IP address automatically while installing VServer and save it to some kind of file that can be accessed by the clients for automatic setup. If anyone has ideas on this, I'd be very grateful. Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From kray at sonsothunder.com Mon Feb 9 10:07:18 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon Feb 9 10:09:46 2004 Subject: ip address of server In-Reply-To: <20040209155027.62938.qmail@web20413.mail.yahoo.com> Message-ID: <026401c3ef26$ce485b30$6601a8c0@LightningFlash> Chris, the only way I know of is to store it yourself after the client makes the connection. Since the client needs to know what IP to use to get to the server in the first place, you should theoretically already *have* that info. Or am I missing something? 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 > Chris Sheffield > Sent: Monday, February 09, 2004 9:50 AM > To: valentina@lists.macserve.net > Subject: ip address of server > > > Does anyone have an easy way to automatically obtain > the IP address of the server that's running VServer? > Specifically, is there a method that can be called > from the client to do this? If not, is there a way to > do it somehow on the server itself? > > I'm using Revolution for this. I'll mostly likely be > using VServer embedded, and would like to be able to > obtain that IP address automatically while installing > VServer and save it to some kind of file that can be > accessed by the clients for automatic setup. If > anyone has ideas on this, I'd be very grateful. > > Thanks, > > > ===== > Chris Sheffield > Read Naturally > www.readnaturally.com > > __________________________________ > Do you Yahoo!? > Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From fb at memedia.de Mon Feb 9 17:20:32 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Feb 9 10:20:54 2004 Subject: AW: ip address of server In-Reply-To: <026401c3ef26$ce485b30$6601a8c0@LightningFlash> Message-ID: There is no way to automatically receive the server IP adress. The only thing you can do, is: 1. Read the client ID and usually the first three numbers will be identical. 2. Try with localHost first (server could be client as well) 3. Try to connect with changing the last number (4th) of the client IP from 1 to 255 and see if the server answers But this is a time-consuming thing. I agree with Ken: Installting a Vserver application demands some knowledge from the user (like the server must have a fixed IP number), so he must be able to enter the server IP. Then store it and that's it. Best regards, Florian > -----Urspr?ngliche Nachricht----- > Von: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] Im Auftrag von Ken Ray > Gesendet: Montag, 9. Februar 2004 17:07 > An: 'Valentina Developers' > Betreff: RE: ip address of server > > Chris, the only way I know of is to store it yourself after > the client makes the connection. Since the client needs to > know what IP to use to get to the server in the first place, > you should theoretically already > *have* that info. > > Or am I missing something? > > 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 Chris > > Sheffield > > Sent: Monday, February 09, 2004 9:50 AM > > To: valentina@lists.macserve.net > > Subject: ip address of server > > > > > > Does anyone have an easy way to automatically obtain the IP > address of > > the server that's running VServer? > > Specifically, is there a method that can be called from the > client to > > do this? If not, is there a way to do it somehow on the server > > itself? > > > > I'm using Revolution for this. I'll mostly likely be using VServer > > embedded, and would like to be able to obtain that IP address > > automatically while installing VServer and save it to some kind of > > file that can be accessed by the clients for automatic setup. If > > anyone has ideas on this, I'd be very grateful. > > > > Thanks, > > > > > > ===== > > Chris Sheffield > > Read Naturally > > www.readnaturally.com > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Finance: Get your refund fast by filing online. > http://taxes.yahoo.com/filing.html > _______________________________________________ > 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 cm_sheffield at yahoo.com Mon Feb 9 08:39:26 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Mon Feb 9 10:39:43 2004 Subject: AW: ip address of server In-Reply-To: Message-ID: <20040209163926.74583.qmail@web20413.mail.yahoo.com> OK, that's kind of what I figured. I just thought it would be nice to make it as automatic as possible, just in case the person doing the installation wasn't a real "techie" and didn't know how to find the ip address of the server. This is sometimes the case in an educational environment. Anyway, maybe I'll try your idea and just see how fast it is. Thanks to both you and Ken. Chris --- Florian Bogeschdorfer wrote: > There is no way to automatically receive the server > IP adress. > > The only thing you can do, is: > > 1. Read the client ID and usually the first three > numbers will be identical. > > 2. Try with localHost first (server could be client > as well) > > 3. Try to connect with changing the last number > (4th) of the client IP from > 1 to 255 and see if the server answers > > But this is a time-consuming thing. > > I agree with Ken: Installting a Vserver application > demands some knowledge > from the user (like the server must have a fixed IP > number), so he must be > able to enter the server IP. Then store it and > that's it. > > Best regards, Florian > ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From yeomans at desuetude.com Mon Feb 9 14:42:28 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Feb 9 13:42:36 2004 Subject: Charles, RB events? In-Reply-To: References: Message-ID: <180B0C9E-5B38-11D8-BEB8-003065BB0634@desuetude.com> On Feb 4, 2004, at 12:27 PM, Ruslan Zasukhin wrote: > on 2/4/04 5:06 PM, Charles Yeomans at yeomans@desuetude.com wrote: > > Hi Charles, > >>> Do you have any ideas, what exactly new cool RB 5.5 have that V4RB >>> can >>> use? >>> >>> I was going to use in ne RB SDK >>> >>> -- default parameters >>> -- named constants registered from plugins >>> -- may be some calbacks >>> >>> >>> Also I consider introducing/replacing of >>> >>> VBaseObject ->I_Table or I_BaseObject >>> VField ->I_Field >>> >>> I.e. Introducing of true interface classes, like I have in C++. >>> >>> Don't know yet what benefit will be, but must be something. > > I can add: I think we MUST add support of exceptions in RB DK. > > >> The most likely candidate for a class interface is VField -- but >> please >> don't use those nasty COM naming conventions. > > Hmm, we use in c++ Valentina 2.0 always > > get_Name() > put_Name() > > As for me, not bad. > This is the only thing from COM that we use. > >> Let's see how this might >> work. I assume that all VField subclasses have some common >> functionality; perhaps the Name property and some other things. So >> you >> define a class interface VField and an abstract class VAbstractField >> that implements the interface and supplies common code. > > Wait. > > 1) I cannot use Vfield as name of interface. It is already used in > V4RB 1.x > as name of classs. Of course you can; as we say here in the US, it is a woman's prerogative to change her mind. Since VField is an abstract class, I think that such a change wouldn't break any existing code. > > 2) as name of interfaces can and must be used > I_Field > I_Table > I_Database > I_Cursor > > Then go > I_Field -> I_Field_Imp -> VShort > ^^^^^^^^^^^ -> VUshort > VField -> Vstring > -> VBLOB > > > 3) Aha, remember how many times people on RB list have told about some > ABSTRACTION LAYER for database classes. > > I think now it is time for ME develop such abstraction level. > Then other RB developers will be able subclass these interfaces to e.g. > Oracle, Postgre, ... Dbs, and use single abstraction layer. > > Actually this will be some parallel to idea of RB DB API. > Don't know if we need make war to REAL, then more that REAL can also > connect > their interface to controls. > > In the same time, why so many developers have start develop own layer > of > classes? > > What you think? I think that people have different ideas about the interface they need. For example, I have written a DBQuery class that allows me to build SQL queries using the Valentina VField and VBaseObject objects. It can also return a VCursor -- this allows me to raise an exception if it fails, instead of having to add code after every cursor creation to check for errors. But I am not so worried about being able to move between databases (assuming VServer pricing is reasonable...). > > >> Would this make it possible to add user-defined field types? >> The main problem I see is that Valentina would need to know how to >> create new instances of such user-defined field types, for building >> VCursors. For this perhaps VDatabase could expose an event in which >> one could implement a factory method. > > Not so simple. > > I think we will not work on this task even in C++. > Here too many problems: > how data store in RAM > how store them on disk in table > how store them in index > how to compare them > What I think I had in mind was the ability to define new Valentina field types in terms of the existing types. Charles Yeomans From solon at mail.enaturalist.org Mon Feb 9 15:07:54 2004 From: solon at mail.enaturalist.org (Solon Morse) Date: Mon Feb 9 14:08:02 2004 Subject: [V4WS] Problems setting nullable float field to null Message-ID: V4WS 1.10. I have a nullable field, type float. Some records have a value of "0". "UPDATE tbl SET f = null WHERE f = 0" returns number of rows effected, but viewed in VAPP the values remain "0" -- i.e. not changed to null. Am I doing something wrong? Thanks, Solon -- Solon Morse Assistant Director of Education Roger Tory Peterson Institute 311 Curtis Street Jamestown, NY 14701 Jamestown: (716) 665-2473 ext 243 Buffalo: (716) 886-1920 smorse@rtpi.org From sunshine at public.kherson.ua Mon Feb 9 22:48:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 9 14:48:16 2004 Subject: [V4WS] Problems setting nullable float field to null In-Reply-To: Message-ID: on 2/9/04 10:07 PM, Solon Morse at solon@mail.enaturalist.org wrote: Hi Solon, > V4WS 1.10. > > I have a nullable field, type float. Some records have a value of "0". > > "UPDATE tbl SET f = null WHERE f = 0" returns number of rows effected, but > viewed in VAPP the values remain "0" -- i.e. not changed to null. > > Am I doing something wrong? And field marked as nullable, yes? You see check box ON in VAPP? It seems your query is right. May be we have bug on Update to NULL... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From zavpublic at mac.com Mon Feb 9 12:54:57 2004 From: zavpublic at mac.com (zavpublic@mac.com) Date: Mon Feb 9 14:55:11 2004 Subject: ip address of server In-Reply-To: <20040209155027.62938.qmail@web20413.mail.yahoo.com> References: <20040209155027.62938.qmail@web20413.mail.yahoo.com> Message-ID: <37FE63E2-5B42-11D8-87B5-000393CFECE6@mac.com> On Feb 9, 2004, at 7:50 AM, Chris Sheffield wrote: > Does anyone have an easy way to automatically obtain > the IP address of the server that's running VServer? > Specifically, is there a method that can be called > from the client to do this? If not, is there a way to > do it somehow on the server itself? > If you are on a mac, there are applescripts and shell scripts that can do this. You can google for them. From solon at mail.enaturalist.org Mon Feb 9 16:01:37 2004 From: solon at mail.enaturalist.org (Solon Morse) Date: Mon Feb 9 15:01:45 2004 Subject: [V4WS] Problems setting nullable float field to null In-Reply-To: Message-ID: > And field marked as nullable, yes? > You see check box ON in VAPP? > > It seems your query is right. > > > May be we have bug on Update to NULL... > Yes -- the field is marked as nullable and the checkbox is on in VAPP. Also INDEX is set to true. Thanks, Solon From sunshine at public.kherson.ua Mon Feb 9 23:10:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 9 15:10:44 2004 Subject: [V4WS] Problems setting nullable float field to null In-Reply-To: Message-ID: on 2/9/04 11:01 PM, Solon Morse at solon@mail.enaturalist.org wrote: >> And field marked as nullable, yes? >> You see check box ON in VAPP? >> >> It seems your query is right. >> >> >> May be we have bug on Update to NULL... >> > > Yes -- the field is marked as nullable and the checkbox is on in VAPP. Also > INDEX is set to true. If you need do this operation once, Please use API of V4WS for this for 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 cindy at kowhaiprogramming.com Tue Feb 10 10:35:09 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Mon Feb 9 15:49:04 2004 Subject: V4RB and dates In-Reply-To: Message-ID: Hi Ruslan, That's fine. I'll give it a try. The thing is, I set the database up in VAPP, not in RB. There doesn't seem to be anywhere in VAPP to set date formats. It would be handy if you could set the date format in there as well. Cindy > To get setstring() work correctly, > You must make sure that db.DateFormat is EXACTLY > the same as string that you enter. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 9 23:50:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 9 15:50:26 2004 Subject: V4RB and dates In-Reply-To: Message-ID: on 2/9/04 11:35 PM, Cindy Brown at cindy@kowhaiprogramming.com wrote: > Hi Ruslan, > > That's fine. I'll give it a try. The thing is, I set the database up in > VAPP, not in RB. There doesn't seem to be anywhere in VAPP to set date > formats. It would be handy if you could set the date format in there as > well. Valentina Studio have such feature already. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From deane.venske at eduss.com Tue Feb 10 08:17:35 2004 From: deane.venske at eduss.com (Deane Venske) Date: Mon Feb 9 16:17:42 2004 Subject: AW: ip address of server In-Reply-To: <20040209163926.74583.qmail@web20413.mail.yahoo.com> References: <20040209163926.74583.qmail@web20413.mail.yahoo.com> Message-ID: On Mon, 9 Feb 2004 08:39:26 -0800 (PST), Chris Sheffield wrote: > OK, that's kind of what I figured. I just thought it > would be nice to make it as automatic as possible, > just in case the person doing the installation wasn't > a real "techie" and didn't know how to find the ip > address of the server. This is sometimes the case in > an educational environment. > > Anyway, maybe I'll try your idea and just see how fast > it is. Thanks to both you and Ken. > > Chris You could make it automatic by having your own custom installation. On the server an admin would run an installation, most programming languages should give you a way to find out the local IP address of the computer you're running on. Your server installation should write this information to a file and leave a client installation on the server. The admin would then go to a client workstation and run the installation from the server which would then set up config files so that the application knows where the VServer is. I've also looked into using broadcasting as Florian suggested to have self installing applications. We're also looking at the possibility of selling an actual pre-setup server to people with a web service setup so that they can go to the URL and run the setup from there from each workstation. -- 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 rjb at rz.uni-potsdam.de Mon Feb 9 23:12:12 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Feb 9 16:23:43 2004 Subject: V4RB and dates In-Reply-To: References: Message-ID: >Hi Ruslan, > >That's fine. I'll give it a try. The thing is, I set the database up in >VAPP, not in RB. There doesn't seem to be anywhere in VAPP to set date >formats. It would be handy if you could set the date format in there as >well. > >Cindy > >> To get setstring() work correctly, >> You must make sure that db.DateFormat is EXACTLY >> the same as string that you enter. >> >> -- >> Best regards, >> Ruslan Zasukhin [ I feel the need...the need for speed ] > > ------------------------------------------------------------- I rarely use the built-in date function anymore but store dates as longs in yyyymmdd format. It is a practical alternative for many situations. Most of my date handling focuses on checking which one is within a specific time period or which one is before another. And the dates I output are bilingual, so I need to format them anyway. Robert From deane.venske at eduss.com Tue Feb 10 08:28:52 2004 From: deane.venske at eduss.com (Deane Venske) Date: Mon Feb 9 16:29:01 2004 Subject: Linked tables and WHERE clauses. Hoping for a good answer. In-Reply-To: References: Message-ID: Hi Ruslan, So far all the queries I've changed to use the () work now. Will this be fixed in 2.0? I hope so, I know it's partly laziness that makes me not want to use brackets, but if there is no need for them it will make things easier. Deane From sunshine at public.kherson.ua Tue Feb 10 00:31:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 9 16:31:08 2004 Subject: Linked tables and WHERE clauses. Hoping for a good answer. In-Reply-To: Message-ID: on 2/10/04 12:28 AM, Deane Venske at deane.venske@eduss.com wrote: Hi Deane, > So far all the queries I've changed to use the () work now. Will this be > fixed in 2.0? yes > I hope so, I know it's partly laziness that makes me not > want to use brackets, but if there is no need for them it will make things > easier. Yes, problem in 1.x was that I have stupidly re-draw design of search node from ... It seems RB SDK. 2.0 engine will keep AND, OR nodes as arrays, so order is not important. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Feb 10 00:31:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 9 16:32:01 2004 Subject: V4RB and dates In-Reply-To: Message-ID: on 2/10/04 12:12 AM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: > I rarely use the built-in date function anymore but store dates as > longs in yyyymmdd format. Robert, Valentina do the same actually. > It is a practical alternative for many situations. > Most of my date handling focuses on checking which one is > within a specific time period or which one is before another. And the > dates I output are bilingual, so I need to format them anyway. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 10 08:46:22 2004 From: deane.venske at eduss.com (Deane Venske) Date: Mon Feb 9 16:46:34 2004 Subject: Linked tables and WHERE clauses. Hoping for a good answer. In-Reply-To: References: Message-ID: On Tue, 10 Feb 2004 00:31:00 +0200, Ruslan Zasukhin wrote: > on 2/10/04 12:28 AM, Deane Venske at deane.venske@eduss.com wrote: > > Hi Deane, > >> So far all the queries I've changed to use the () work now. Will this be >> fixed in 2.0? > > yes > >> I hope so, I know it's partly laziness that makes me not >> want to use brackets, but if there is no need for them it will make >> things >> easier. > > Yes, problem in 1.x was that I have stupidly re-draw design of search > node > from ... It seems RB SDK. > > 2.0 engine will keep AND, OR nodes as arrays, so order is not important. > I probably should have let you know, this problem is in V4MD, incase you need to investigate it on V4MD. -- 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 Tue Feb 10 08:47:46 2004 From: deane.venske at eduss.com (Deane Venske) Date: Mon Feb 9 16:47:50 2004 Subject: Integer storage Message-ID: Hi Guys, I'm pretty sure there is not, but I was wondering if there is a format of integers that will allow 14 characters (20040215051530), I'm not even sure if it would be more efficient than a 14character string anyway. It's basically a time stamp that I format in my program. -- 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 Tue Feb 10 00:54:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 9 16:54:42 2004 Subject: Integer storage In-Reply-To: Message-ID: on 2/10/04 12:47 AM, Deane Venske at deane.venske@eduss.com wrote: > Hi Guys, > > I'm pretty sure there is not, but I was wondering if there is a format of > integers that will allow 14 characters (20040215051530), I'm not even sure > if it would be more efficient than a 14character string anyway. It's > basically a time stamp that I format in my program. Hi Deane, If you ask about storing of IP, then taking into account that max IP is 255.255.255.255 This can be stored into ULONG. ---------- 20 040 215 051 530 -- such number can be stored in ULLONG But V4MD do not support it, thanks to Lingo You can try to use it only via 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 deane.venske at eduss.com Tue Feb 10 09:00:40 2004 From: deane.venske at eduss.com (Deane Venske) Date: Mon Feb 9 17:00:47 2004 Subject: Integer storage In-Reply-To: References: Message-ID: On Tue, 10 Feb 2004 00:54:34 +0200, Ruslan Zasukhin wrote: > on 2/10/04 12:47 AM, Deane Venske at deane.venske@eduss.com wrote: > >> Hi Guys, >> >> I'm pretty sure there is not, but I was wondering if there is a format >> of >> integers that will allow 14 characters (20040215051530), I'm not even >> sure >> if it would be more efficient than a 14character string anyway. It's >> basically a time stamp that I format in my program. > > Hi Deane, > > If you ask about storing of IP, then taking into account that max IP is > > 255.255.255.255 > > This can be stored into ULONG. > > > > ---------- > 20 040 215 051 530 -- such number can be stored in ULLONG > > But V4MD do not support it, thanks to Lingo > > You can try to use it only via strings. > > > I'm wanting to store a timestamp YYYYMMDDHHMMSS I've come to not trust any date functionality in any program. I want to handle dates myself when it comes to storage. I've had countless problems with every DB I've used (MySQL, Access) and prefer a method I know works. But ATM I use a Varchar(14) and it's working great. Thought I'd see if I could be a little more effecient. -- 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 Tue Feb 10 09:01:36 2004 From: deane.venske at eduss.com (Deane Venske) Date: Mon Feb 9 17:01:41 2004 Subject: Linked tables and WHERE clauses. Hoping for a good answer. In-Reply-To: References: Message-ID: On Tue, 10 Feb 2004 08:46:22 +1000, Deane Venske wrote: > On Tue, 10 Feb 2004 00:31:00 +0200, Ruslan Zasukhin > wrote: > >> on 2/10/04 12:28 AM, Deane Venske at deane.venske@eduss.com wrote: >> >> Hi Deane, >> >>> So far all the queries I've changed to use the () work now. Will this >>> be >>> fixed in 2.0? >> >> yes >> >>> I hope so, I know it's partly laziness that makes me not >>> want to use brackets, but if there is no need for them it will make >>> things >>> easier. >> >> Yes, problem in 1.x was that I have stupidly re-draw design of search >> node >> from ... It seems RB SDK. >> >> 2.0 engine will keep AND, OR nodes as arrays, so order is not important. >> > > I probably should have let you know, this problem is in V4MD, incase you > need to investigate it on V4MD. > Hi Ruslan, I'm now having problems with another cross table query that I also want to use the ORDER BY function in. The query works until I put in ORDER BY and then it returns nothing. -- 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 Tue Feb 10 09:04:43 2004 From: deane.venske at eduss.com (Deane Venske) Date: Mon Feb 9 17:04:49 2004 Subject: Linked tables and WHERE clauses. Hoping for a good answer. In-Reply-To: References: Message-ID: Never mind this one Ruslan, just realised I'm not returning the field I'm trying to order by. From deane.venske at eduss.com Tue Feb 10 11:30:43 2004 From: deane.venske at eduss.com (Deane Venske) Date: Mon Feb 9 19:30:52 2004 Subject: Using functions Message-ID: Is there anyway to use the current functions on fields? I want to for instance get a percentage from two fields in the database by using : SELECT (mark/noQuestions) * 100 FROM results I know some things don't work but does any of it? -- 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 rjb at rz.uni-potsdam.de Tue Feb 10 03:28:48 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Feb 9 20:44:04 2004 Subject: Using functions In-Reply-To: References: Message-ID: >Is there anyway to use the current functions on fields? I want to >for instance get a percentage from two fields in the database by >using : >SELECT (mark/noQuestions) * 100 FROM results > >I know some things don't work but does any of it? > Just make a Method field and use it in select. Robert From deane.venske at eduss.com Tue Feb 10 13:15:08 2004 From: deane.venske at eduss.com (Deane Venske) Date: Mon Feb 9 21:15:18 2004 Subject: Using functions In-Reply-To: References: Message-ID: On Tue, 10 Feb 2004 03:28:48 +0100, Robert Brenstein wrote: >> Is there anyway to use the current functions on fields? I want to for >> instance get a percentage from two fields in the database by using : >> SELECT (mark/noQuestions) * 100 FROM results >> >> I know some things don't work but does any of it? >> > > Just make a Method field and use it in select. > > Robert > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina Thanks Robert, Never used methods before. -- 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 solon at mail.enaturalist.org Tue Feb 10 00:51:35 2004 From: solon at mail.enaturalist.org (Solon Morse) Date: Mon Feb 9 23:51:45 2004 Subject: [V4WS] Another problem with numeric fields? Message-ID: When iterating through a cursor, V4WS 1.10 seems to report null and 0 as 0 for numeric fields -- or at least websiphon interprets both as 0. repeat with x from 1 to recordCount valGoToRecord( curs, x ); var = valGetField( curs, field ); end repeat; Records sort properly, but var is set to 0 whether the field holds zero or nothing. Shouldn't I get at least "" for null? If I do valGetRecord(curs,x), empty fields return and 0 returns 0. I would do it this way, but then my methods fields return when they shouldn't. Do you think this a Siphon coercion problem, a Valentina problem or am I missing something? Thanks. -- Solon Morse Assistant Director of Education Roger Tory Peterson Institute 311 Curtis Street Jamestown, NY 14701 Jamestown: (716) 665-2473 ext 243 Buffalo: (716) 886-1920 smorse@rtpi.org From maheshm at uniqueworld.net Tue Feb 10 17:29:19 2004 From: maheshm at uniqueworld.net (Mahesh Markus) Date: Tue Feb 10 00:32:02 2004 Subject: [V4MD] Order By Command Message-ID: <8828FA21BDC2D44DA010E4498439D0EC7738AF@ophelia.uniqueworld.net> I noticed that the Order By command presents its information based on the case of the fieldText. Example: SELECT LastName, FirstName FROM tblUsers Order By LastName, FirstName will return the following result set. Admin Admin Admin Elizabeth admin admin admin elizabeth How can I make this sort order case insensitive? Mahesh Markus Senior Consultant maheshm@uniqueworld.net Unique World Pty Ltd http://www.uniqueworld.net t: (02) 9268 0269 f: (02) 9268 0278 From sunshine at public.kherson.ua Tue Feb 10 09:39:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 10 01:39:39 2004 Subject: Integer storage In-Reply-To: Message-ID: on 2/10/04 1:00 AM, Deane Venske at deane.venske@eduss.com wrote: > I'm wanting to store a timestamp YYYYMMDDHHMMSS > I've come to not trust any date functionality in any program. :-) > I want to > handle dates myself when it comes to storage. I've had countless problems > with every DB I've used (MySQL, Access) and prefer a method I know works. > But ATM I use a Varchar(14) and it's working great. Thought I'd see if I > could be a little more effecient. Yes, For string 14 bytes length, better use STRING[14] Will be more effective of VarChar -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Feb 10 09:40:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 10 01:41:03 2004 Subject: [V4MD] Order By Command In-Reply-To: <8828FA21BDC2D44DA010E4498439D0EC7738AF@ophelia.uniqueworld.net> Message-ID: on 2/10/04 8:29 AM, Mahesh Markus at maheshm@uniqueworld.net wrote: > I noticed that the Order By command presents its information based on > the case of the fieldText. > > Example: > > SELECT LastName, FirstName > FROM tblUsers > Order By LastName, FirstName > > will return the following result set. > > Admin Admin > Admin Elizabeth > admin admin > admin elizabeth > > > How can I make this sort order case insensitive? Hi Mahesh, I think this present in FAQs You need make BaseObject Method LastNameLwr = "lower(LastName)" And use it in the 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 Feb 10 09:42:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 10 01:42:42 2004 Subject: [V4WS] Another problem with numeric fields? In-Reply-To: Message-ID: on 2/10/04 7:51 AM, Solon Morse at solon@mail.enaturalist.org wrote: > When iterating through a cursor, V4WS 1.10 seems to report null and 0 as 0 > for numeric fields -- or at least websiphon interprets both as 0. > > repeat with x from 1 to recordCount > valGoToRecord( curs, x ); > var = valGetField( curs, field ); > end repeat; > > Records sort properly, but var is set to 0 whether the field holds zero or > nothing. Shouldn't I get at least "" for null? I am sure that to check if value is NULL, You have special function valIsNull() You need at first check by it NULL value, And if you see it is not NULL, then do GetField() > If I do valGetRecord(curs,x), empty fields return and 0 returns 0. I > would do it this way, but then my methods fields return when they > shouldn't. > > Do you think this a Siphon coercion problem, a Valentina problem or am I > missing something? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 10 19:37:51 2004 From: deane.venske at eduss.com (Deane Venske) Date: Tue Feb 10 03:38:31 2004 Subject: Integer storage In-Reply-To: References: Message-ID: On Tue, 10 Feb 2004 09:39:30 +0200, Ruslan Zasukhin wrote: > on 2/10/04 1:00 AM, Deane Venske at deane.venske@eduss.com wrote: > >> I'm wanting to store a timestamp YYYYMMDDHHMMSS >> I've come to not trust any date functionality in any program. > > :-) > >> I want to >> handle dates myself when it comes to storage. I've had countless >> problems >> with every DB I've used (MySQL, Access) and prefer a method I know >> works. >> But ATM I use a Varchar(14) and it's working great. Thought I'd see if I >> could be a little more effecient. > > Yes, > > For string 14 bytes length, better use STRING[14] > Will be more effective of VarChar > > Ok thanks Ruslan I will keep this in mind. Should all VarChars be strings? When is each more efficient? -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ From sunshine at public.kherson.ua Tue Feb 10 12:21:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 10 04:21:31 2004 Subject: Integer storage In-Reply-To: Message-ID: on 2/10/04 11:37 AM, Deane Venske at deane.venske@eduss.com wrote: >> For string 14 bytes length, better use STRING[14] >> Will be more effective of VarChar >> >> > Ok thanks Ruslan I will keep this in mind. Should all VarChars be strings? > When is each more efficient? This is described in Valentina Kernel.pdf VarChar is good choice if strings longer of 40-50 bytes -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From arthur at visiblearea.com Tue Feb 10 12:27:08 2004 From: arthur at visiblearea.com (Arthur Clemens) Date: Tue Feb 10 05:27:13 2004 Subject: test, please ignore Message-ID: <0FFEEDF3-5BBC-11D8-AD8E-00039366A36E@visiblearea.com> From solon at mail.enaturalist.org Tue Feb 10 07:25:00 2004 From: solon at mail.enaturalist.org (Solon Morse) Date: Tue Feb 10 06:25:04 2004 Subject: [V4WS] Another problem with numeric fields? In-Reply-To: Message-ID: On 2/10/04 2:42 AM, "Ruslan Zasukhin" wrote: > valIsNull() No function valIsNull() in V4WS. I tried some version of if valGetField(curs,field) = null value = "null"; else value = valGetField(curs,field); ... This returns "null" if the field holds null or 0. typeOf(valGetField(records, y)) returns "float" for null or 0 as well. typeOf() actually never returns "null" for valGetField() -- it always returns the datatype for the field itself. typeOf() works as I would expect for values obtained by valGetRecord(). When I do valGetRecord() my methods fields return even when the cursor holds a value. How do I get methods fields with valGetRecord()? I tried turning indexing on and off for those fields, rebuilt indexes etc. Thanks. -- Solon Morse Assistant Director of Education Roger Tory Peterson Institute 311 Curtis Street Jamestown, NY 14701 Jamestown: (716) 665-2473 ext 243 Buffalo: (716) 886-1920 smorse@rtpi.org From sunshine at public.kherson.ua Tue Feb 10 14:28:49 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 10 06:29:08 2004 Subject: [V4WS] Another problem with numeric fields? In-Reply-To: Message-ID: on 2/10/04 2:25 PM, Solon Morse at solon@mail.enaturalist.org wrote: >> valIsNull() > > No function valIsNull() in V4WS. Hi Solon, Page 53 valFieldIsNull( fldRef ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From solon at mail.enaturalist.org Tue Feb 10 07:46:43 2004 From: solon at mail.enaturalist.org (Solon Morse) Date: Tue Feb 10 06:46:47 2004 Subject: [V4WS] Another problem with numeric fields? In-Reply-To: Message-ID: On 2/10/04 7:28 AM, "Ruslan Zasukhin" wrote: > valFieldIsNull( fldRef ) Got it! Sorry I didn't read to the end of the manual now. Thanks Ruslan. -- Solon Morse Assistant Director of Education Roger Tory Peterson Institute 311 Curtis Street Jamestown, NY 14701 Jamestown: (716) 665-2473 ext 243 Buffalo: (716) 886-1920 smorse@rtpi.org From cm_sheffield at yahoo.com Tue Feb 10 07:34:21 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Feb 10 09:34:25 2004 Subject: Novell server Message-ID: <20040210153421.73933.qmail@web20416.mail.yahoo.com> Does anyone know if VServer will run on a server running Novell? Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From sunshine at public.kherson.ua Tue Feb 10 17:37:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 10 09:37:38 2004 Subject: Novell server In-Reply-To: <20040210153421.73933.qmail@web20416.mail.yahoo.com> Message-ID: on 2/10/04 5:34 PM, Chris Sheffield at cm_sheffield@yahoo.com wrote: > Does anyone know if VServer will run on a server > running Novell? Hi Chris, You are second who ask this. NO. Vserver works with TCP/IP. As I know, Novel server do not runs Windows, 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 sunshine at public.kherson.ua Tue Feb 10 20:09:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 10 12:09:19 2004 Subject: [V4RB 1.10] don't set language ? In-Reply-To: Message-ID: on 2/10/04 8:04 PM, Daniel FLEURY at daniel.fleury@free.fr wrote: > Hi ruslan, > > I just discover the new 1.10 and I found this problem: language is > not set correctly when creating the DB. For example: > > nomMaladieField=new VString("nomMaladie", 150, "French", KV_Indexed+KV_Unique) > > "french" become "ascii" after creating the DB, as I can verify > opening the DB with the valentina tool. Of course sorting is not the > same > > No problem with the previous (?) 1.98 Hmm. You second who say this. But I have check and on my computer it works. Aha! Do you use RB 5.x ? It seems you need switch to V4RB in the 5.x format to fix this 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 christer at ljusaideer.se Tue Feb 10 19:39:38 2004 From: christer at ljusaideer.se (Christer Olsson) Date: Tue Feb 10 12:39:46 2004 Subject: ODBC driver for Valentina Mac OS X Message-ID: Do you plan to have an ODBC driver for Valentina Mac OS X, so an ODBC client can connect to a Valentina data source? -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmoe Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From sunshine at public.kherson.ua Tue Feb 10 20:43:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 10 12:43:35 2004 Subject: ODBC driver for Valentina Mac OS X In-Reply-To: Message-ID: on 2/10/04 8:39 PM, Christer Olsson at christer@ljusaideer.se wrote: Hi Christer, > Do you plan to have an ODBC driver for Valentina Mac OS X, so an ODBC client > can connect to a Valentina data source? Ye we plan it. And JDBC driver is under development right 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 christer at ljusaideer.se Tue Feb 10 20:43:09 2004 From: christer at ljusaideer.se (Christer Olsson) Date: Tue Feb 10 13:43:24 2004 Subject: ODBC driver for Valentina Mac OS X In-Reply-To: References: Message-ID: >on 2/10/04 8:39 PM, Christer Olsson at christer@ljusaideer.se wrote: > >Hi Christer, > >> Do you plan to have an ODBC driver for Valentina Mac OS X, so an ODBC client >> can connect to a Valentina data source? > >Ye we plan it. > >And JDBC driver is under development right now. Sounds just fine. Any ETA for them both? -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmoe Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From sunshine at public.kherson.ua Tue Feb 10 22:39:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 10 14:39:32 2004 Subject: ODBC driver for Valentina Mac OS X In-Reply-To: Message-ID: on 2/10/04 9:43 PM, Christer Olsson at christer@ljusaideer.se wrote: >> on 2/10/04 8:39 PM, Christer Olsson at christer@ljusaideer.se wrote: >> >> Hi Christer, >> >>> Do you plan to have an ODBC driver for Valentina Mac OS X, so an ODBC client >>> can connect to a Valentina data source? >> >> Ye we plan it. >> >> And JDBC driver is under development right now. > > Sounds just fine. Any ETA for them both? I think JDBC we will get closer to 2.0 release. JDBC driver will be of type 4, i.e. pure client to Valentina Server. ODBC not started yet. More correctly, we have try it 2-3 years ago, but project as not finished. Now it needs start from 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 yeomans at desuetude.com Tue Feb 10 16:54:12 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Feb 10 15:54:19 2004 Subject: cursor field name question Message-ID: When making an aggregate query like "SELECT SUM(time_worked) FROM Time", I see that the field name in the cursor is "sum(time_worked)" instead of "time_worked", which is what I expected. I'll assume that this is the intended behavior, but is it the desirable behavior? Charles Yeomans From sunshine at public.kherson.ua Wed Feb 11 00:01:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 10 16:01:55 2004 Subject: cursor field name question In-Reply-To: Message-ID: on 2/10/04 11:54 PM, Charles Yeomans at yeomans@desuetude.com wrote: > When making an aggregate query like "SELECT SUM(time_worked) FROM > Time", I see that the field name in the cursor is "sum(time_worked)" > instead of "time_worked", which is what I expected. I'll assume that > this is the intended behavior, but is it the desirable behavior? Why not? This is already not time_worked field values, But SUMs -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From maheshm at uniqueworld.net Wed Feb 11 09:11:00 2004 From: maheshm at uniqueworld.net (Mahesh Markus) Date: Tue Feb 10 16:11:08 2004 Subject: [V4MD] Order By Command Message-ID: <8828FA21BDC2D44DA010E4498439D0EC7738B1@ophelia.uniqueworld.net> Thanks -----Original Message----- From: Ruslan Zasukhin [mailto:sunshine@public.kherson.ua] Sent: Tuesday, 10 February 2004 6:41 PM To: valentina@lists.macserve.net Subject: Re: [V4MD] Order By Command on 2/10/04 8:29 AM, Mahesh Markus at maheshm@uniqueworld.net wrote: > I noticed that the Order By command presents its information based on > the case of the fieldText. > > Example: > > SELECT LastName, FirstName > FROM tblUsers > Order By LastName, FirstName > > will return the following result set. > > Admin Admin > Admin Elizabeth > admin admin > admin elizabeth > > > How can I make this sort order case insensitive? Hi Mahesh, I think this present in FAQs You need make BaseObject Method LastNameLwr = "lower(LastName)" And use it in the 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 From deane.venske at eduss.com Wed Feb 11 08:11:31 2004 From: deane.venske at eduss.com (Deane Venske) Date: Tue Feb 10 16:11:41 2004 Subject: Updating Message-ID: Hi Ruslan, I'm working with V4MD and I'm finding a very odd problem. I'm doing an update to a table and I'm even getting a records affected = 1, but the data is not being updated. I've made sure I void my cursor after doing selects on that table (I actually have a global query function that returns the query as a list and then get rid of the cursor by voiding it. Do I need to do a VCursor.close() or something like that? The odd thing is getting the records affected = 1. I also am using flush(db) once I've done the update. -- 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 Wed Feb 11 08:43:03 2004 From: deane.venske at eduss.com (Deane Venske) Date: Tue Feb 10 16:43:12 2004 Subject: Updating In-Reply-To: References: Message-ID: On Wed, 11 Feb 2004 08:11:31 +1000, Deane Venske wrote: > Hi Ruslan, > > I'm working with V4MD and I'm finding a very odd problem. I'm doing an > update to a table and I'm even getting a records affected = 1, but the > data is not being updated. I've made sure I void my cursor after doing > selects on that table (I actually have a global query function that > returns the query as a list and then get rid of the cursor by voiding > it. Do I need to do a VCursor.close() or something like that? The odd > thing is getting the records affected = 1. I also am using flush(db) > once I've done the update. > Seems the problem was having a method in that table stopped updates from happening. Is this a bug? -- 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 Wed Feb 11 01:33:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 10 17:33:25 2004 Subject: Updating In-Reply-To: Message-ID: on 2/11/04 12:43 AM, Deane Venske at deane.venske@eduss.com wrote: >> Hi Ruslan, >> >> I'm working with V4MD and I'm finding a very odd problem. I'm doing an >> update to a table and I'm even getting a records affected = 1, but the >> data is not being updated. I've made sure I void my cursor after doing >> selects on that table (I actually have a global query function that >> returns the query as a list and then get rid of the cursor by voiding >> it. Do I need to do a VCursor.close() or something like that? The odd >> thing is getting the records affected = 1. I also am using flush(db) >> once I've done the update. >> > > Seems the problem was having a method in that table stopped updates from > happening. Is this a bug? Unlikely. May be that method marked as UNIQUE? And new data cause it to unique value? Or something like such? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Wed Feb 11 09:40:12 2004 From: deane.venske at eduss.com (Deane Venske) Date: Tue Feb 10 17:40:21 2004 Subject: Updating In-Reply-To: References: Message-ID: On Wed, 11 Feb 2004 01:33:17 +0200, Ruslan Zasukhin wrote: > on 2/11/04 12:43 AM, Deane Venske at deane.venske@eduss.com wrote: > >>> Hi Ruslan, >>> >>> I'm working with V4MD and I'm finding a very odd problem. I'm doing an >>> update to a table and I'm even getting a records affected = 1, but the >>> data is not being updated. I've made sure I void my cursor after doing >>> selects on that table (I actually have a global query function that >>> returns the query as a list and then get rid of the cursor by voiding >>> it. Do I need to do a VCursor.close() or something like that? The odd >>> thing is getting the records affected = 1. I also am using flush(db) >>> once I've done the update. >>> >> >> Seems the problem was having a method in that table stopped updates from >> happening. Is this a bug? > > Unlikely. > > May be that method marked as UNIQUE? > And new data cause it to unique value? > > Or something like such? > I couldn't even update a value that was unrelated to the method. TABLE : exerciseID, mark, noQuestions, userID, assessmentMode METHOD : percentage : (mark / noQuestions) * 100 When I tried to update userID it failed, gave records affected. Even a table wide update gave 15 records affected but no changes happened. -- 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 Wed Feb 11 09:06:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 11 01:06:26 2004 Subject: Updating In-Reply-To: Message-ID: on 2/11/04 1:40 AM, Deane Venske at deane.venske@eduss.com wrote: >>> Seems the problem was having a method in that table stopped updates from >>> happening. Is this a bug? >> >> Unlikely. >> >> May be that method marked as UNIQUE? >> And new data cause it to unique value? >> >> Or something like such? >> > > I couldn't even update a value that was unrelated to the method. > TABLE : exerciseID, mark, noQuestions, userID, assessmentMode > METHOD : percentage : (mark / noQuestions) * 100 > When I tried to update userID it failed, gave records affected. Even a > table wide update gave 15 records affected but no changes happened. Please send me snapshot of your db And UPDATE command. I assume it not works from viSQL 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 fb at memedia.de Wed Feb 11 10:57:21 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Feb 11 03:57:25 2004 Subject: Weird errors V4MD Server/Client Message-ID: Hi Ruslan, look at this x=VALselectReturnCursor("SELECT * FROM KUNDENtable WHERE vorname=Florian") put x -- put valcursorreccount(x) -- 44 put x.getRecordAsPropList() -- [#mobilnummer: "", #mobilnummer_ai: 0, #inhouse: 0, #allowed: 0, #newDate: "00.00.0000", #lastDate: "00.00.0000", #lastInhouse: "00.00.0000", #lastActive: "00.00.0000", #flirtID: "", #smsFlirtIDglobal: "", #anrede: "", #vorname: "", #vorname_ai: 0, #name: "", #name_ai: 0, #zusatz: "", #strasse1: "", #strasse1_ai: 0, #strasse2: "", #plz: "", #plz_ai: 0, #ort: "", #ort_ai: 0, #land: "", #geburtsdatum: "00.00.0000", #KD_PICpath: "", #mixnick: "", #code: "", #Email: "", #telefon: "", #mobilnetz: "", #telefonSMStauglich: 0, #fax: "", #geschlecht: 0, #spNr: "", #bdNr: "", #zusatz1: "", #zusatz2: "", #zusatz3: "", #zusatz4: "", #zusatz5: "", #zusatz6: "", #zusatz7: "", #mailPreferred: "", #KDstatModul1: 0, #KDstatModul2: 0, #KDstatModul3: 0, #KDstatModul4: 0, #KDstatModul5: 0, #KDstatModul6: 0, #KD_ID: 0, #KD_BUDlistID: 0, #KD_KDG_ID1: "", #KD_KDG_ID2: "", #KD_KDG_ID3: "", #KD_KDG_ID4: "", #KD_mailFlag: 0, #KD_smsFlag: 0, #KD_briefFlag: 0, #KD_faxFlag: 0, #KD_notiz: "", #KD_BLZ: "", #KD_KTO: "", #KD_BankName: "", #KD_Einzugsermaechtigung: 0, #KD_KTOinhaber: "", #KD_CC_Inhaber: "", #KD_CC_Nummer: "", #KD_CC_Valid_From: "", #KD_CC_Valid_To: "", #KD_CC_CardCompany: "", #KD_Ausweisnummer: "", #KD_mobileApproved: 0, #KD_checkedInToday: 0, #KD_spare1: "", #KD_spare2: "", #KD_spare3: "", #KD_spare4: 0, #KD_GEB_Year: 0, #KD_GEB_Count: 0] -- SO FAR SO GOOD. NOW I WANT THE RECORD AS A STRING put x.getRecordAsString() -- put x.getRecordsAsString() -- put getRecordsAsString(x) error 5 -- -- I DO NOT UNDERSTAND WHY THIS DOES NOT WORK, THE CURSOR IS STILL OK - SEE BELOW: put getRecordAsPropList(x) -- [#mobilnummer: "", #mobilnummer_ai: 0, #inhouse: 0, #allowed: 0, #newDate: "00.00.0000", #lastDate: "00.00.0000", #lastInhouse: "00.00.0000", #lastActive: "00.00.0000", #flirtID: "", #smsFlirtIDglobal: "", #anrede: "", #vorname: "", #vorname_ai: 0, #name: "", #name_ai: 0, #zusatz: "", #strasse1: "", #strasse1_ai: 0, #strasse2: "", #plz: "", #plz_ai: 0, #ort: "", #ort_ai: 0, #land: "", #geburtsdatum: "00.00.0000", #KD_PICpath: "", #mixnick: "", #code: "", #Email: "", #telefon: "", #mobilnetz: "", #telefonSMStauglich: 0, #fax: "", #geschlecht: 0, #spNr: "", #bdNr: "", #zusatz1: "", #zusatz2: "", #zusatz3: "", #zusatz4: "", #zusatz5: "", #zusatz6: "", #zusatz7: "", #mailPreferred: "", #KDstatModul1: 0, #KDstatModul2: 0, #KDstatModul3: 0, #KDstatModul4: 0, #KDstatModul5: 0, #KDstatModul6: 0, #KD_ID: 0, #KD_BUDlistID: 0, #KD_KDG_ID1: "", #KD_KDG_ID2: "", #KD_KDG_ID3: "", #KD_KDG_ID4: "", #KD_mailFlag: 0, #KD_smsFlag: 0, #KD_briefFlag: 0, #KD_faxFlag: 0, #KD_notiz: "", #KD_BLZ: "", #KD_KTO: "", #KD_BankName: "", #KD_Einzugsermaechtigung: 0, #KD_KTOinhaber: "", #KD_CC_Inhaber: "", #KD_CC_Nummer: "", #KD_CC_Valid_From: "", #KD_CC_Valid_To: "", #KD_CC_CardCompany: "", #KD_Ausweisnummer: "", #KD_mobileApproved: 0, #KD_checkedInToday: 0, #KD_spare1: "", #KD_spare2: "", #KD_spare3: "", #KD_spare4: 0, #KD_GEB_Year: 0, #KD_GEB_Count: 0] ???? Still: how can the cursor data be empty, at least the #vorname should be "Florian" I have to add that playing with the getRecordAsString() I got errors 5, 189220 and some other strange errors up to 10038: 10:30:34.621000 (544): (400) SQL: SELECT * FROM KUNDENtable WHERE vorname=Florian; # of records: 44 10:30:34.621000 (544): (400) CURSOR(0xF05130): FirstRecord : OK 10:31:38.963000 (536): (400) CURSOR(0xF05130): NextRecord (2) : OK 10:33:25.687000 (548): (400) CURSOR(0xF05130): GoToRecord #1 : OK 10:34:31.962000 (544): (400) CURSOR(0xF05130): GoToRecord #1 : OK 10:34:34.055000 (536): Client has been suddenly disconnected (400) 10:34:34.055000 (536): Closing connection (400) Now I tried after restart: x=VALselectReturnCursor("SELECT * FROM KUNDENtable WHERE vorname='Florian'") put x -- put VALcursorRecCount(x) -- 44 put getRecordAsPropList(x) -- [#mobilnummer: "01732426070", #mobilnummer_ai: 560, #inhouse: 0, #allowed: 0, #newDate: "24.01.2003", #lastDate: "12.11.2003", #lastInhouse: "00.00.2000", #lastActive: "00.00.0000", #flirtID: "", #smsFlirtIDglobal: "", #anrede: "Herr", #vorname: "Florian", #vorname_ai: 523, #name: "Mott", #name_ai: 324, #zusatz: "", #strasse1: "Reinickendorfer Str. 45", #strasse1_ai: 1578, #strasse2: "", #plz: "13347", #plz_ai: 258, #ort: "Berlin", #ort_ai: 444, #land: "", #geburtsdatum: "15.10.1978", #KD_PICpath: "", #mixnick: "", #code: "", #Email: "", #telefon: "", #mobilnetz: "", #telefonSMStauglich: 0, #fax: "", #geschlecht: 1, #spNr: "", #bdNr: "", #zusatz1: "", #zusatz2: "", #zusatz3: "", #zusatz4: "", #zusatz5: "", #zusatz6: "", #zusatz7: "", #mailPreferred: "SMS", #KDstatModul1: 0, #KDstatModul2: 0, #KDstatModul3: 0, #KDstatModul4: 0, #KDstatModul5: 0, #KDstatModul6: 0, #KD_ID: 74, #KD_BUDlistID: 0, #KD_KDG_ID1: "", #KD_KDG_ID2: "", #KD_KDG_ID3: "", #KD_KDG_ID4: "", #KD_mailFlag: 1, #KD_smsFlag: 1, #KD_briefFlag: 1, #KD_faxFlag: 0, #KD_notiz: "", #KD_BLZ: "", #KD_KTO: "", #KD_BankName: "", #KD_Einzugsermaechtigung: 0, #KD_KTOinhaber: "", #KD_CC_Inhaber: "", #KD_CC_Nummer: "", #KD_CC_Valid_From: "", #KD_CC_Valid_To: "", #KD_CC_CardCompany: "", #KD_Ausweisnummer: "", #KD_mobileApproved: 0, #KD_checkedInToday: 0, #KD_spare1: "", #KD_spare2: "", #KD_spare3: "", #KD_spare4: 0, #KD_GEB_Year: 0, #KD_GEB_Count: 0] put getRecordAsString(x) -- " " Why is the string empty or better filled with spaces and TABs? Where is the data? What am I doing wrong? TIA, Florian Best regards, Florian From sunshine at public.kherson.ua Wed Feb 11 12:01:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 11 04:04:31 2004 Subject: Weird errors V4MD Server/Client In-Reply-To: Message-ID: on 2/11/04 11:57 AM, Florian Bogeschdorfer at fb@memedia.de wrote: > Hi Ruslan, look at this > > x=VALselectReturnCursor("SELECT * FROM KUNDENtable WHERE vorname=Florian") > put x > -- > put valcursorreccount(x) > -- 44 > put x.getRecordAsPropList() > -- [#mobilnummer: "", #mobilnummer_ai: 0, #inhouse: 0, #allowed: 0, > #newDate: "00.00.0000", #lastDate: "00.00.0000", #lastInhouse: "00.00.0000", > #lastActive: "00.00.0000", #flirtID: "", #smsFlirtIDglobal: "", #anrede: "", > #vorname: "", #vorname_ai: 0, #name: "", #name_ai: 0, #zusatz: "", > #strasse1: "", #strasse1_ai: 0, #strasse2: "", #plz: "", #plz_ai: 0, #ort: > "", #ort_ai: 0, #land: "", #geburtsdatum: "00.00.0000", #KD_PICpath: "", > #mixnick: "", #code: "", #Email: "", #telefon: "", #mobilnetz: "", > #telefonSMStauglich: 0, #fax: "", #geschlecht: 0, #spNr: "", #bdNr: "", > #zusatz1: "", #zusatz2: "", #zusatz3: "", #zusatz4: "", #zusatz5: "", > #zusatz6: "", #zusatz7: "", #mailPreferred: "", #KDstatModul1: 0, > #KDstatModul2: 0, #KDstatModul3: 0, #KDstatModul4: 0, #KDstatModul5: 0, > #KDstatModul6: 0, #KD_ID: 0, #KD_BUDlistID: 0, #KD_KDG_ID1: "", #KD_KDG_ID2: > "", #KD_KDG_ID3: "", #KD_KDG_ID4: "", #KD_mailFlag: 0, #KD_smsFlag: 0, > #KD_briefFlag: 0, #KD_faxFlag: 0, #KD_notiz: "", #KD_BLZ: "", #KD_KTO: "", > #KD_BankName: "", #KD_Einzugsermaechtigung: 0, #KD_KTOinhaber: "", > #KD_CC_Inhaber: "", #KD_CC_Nummer: "", #KD_CC_Valid_From: "", > #KD_CC_Valid_To: "", #KD_CC_CardCompany: "", #KD_Ausweisnummer: "", > #KD_mobileApproved: 0, #KD_checkedInToday: 0, #KD_spare1: "", #KD_spare2: > "", #KD_spare3: "", #KD_spare4: 0, #KD_GEB_Year: 0, #KD_GEB_Count: 0] > > -- SO FAR SO GOOD. NOW I WANT THE RECORD AS A STRING > > put x.getRecordAsString() > -- > > put x.getRecordsAsString() > -- > > put getRecordsAsString(x) > error 5 > -- Hi Florian, Can you send us test project? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 11 11:04:27 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Feb 11 04:04:40 2004 Subject: Weird Part 2 Message-ID: Sorry, but am I blind to oversee something very elementary? x=VALselectReturnCursor("SELECT * FROM KUNDENtable WHERE vorname=Florian") put x -- put VALcursorRecCount(x) -- 44 put getRecordAsPropList(x) -- [#mobilnummer: "01732426070", #mobilnummer_ai: 560, #inhouse: 0, #allowed: 0, #newDate: "24.01.2003", #lastDate: "12.11.2003", #lastInhouse: "00.00.2000", #lastActive: "00.00.0000", #flirtID: "", #smsFlirtIDglobal: "", #anrede: "Herr", #vorname: "Florian", #vorname_ai: 523, #name: "Mott", #name_ai: 324, #zusatz: "", #strasse1: "Reinickendorfer Str. 45", #strasse1_ai: 1578, #strasse2: "", #plz: "13347", #plz_ai: 258, #ort: "Berlin", #ort_ai: 444, #land: "", #geburtsdatum: "15.10.1978", #KD_PICpath: "", #mixnick: "", #code: "", #Email: "", #telefon: "", #mobilnetz: "", #telefonSMStauglich: 0, #fax: "", #geschlecht: 1, #spNr: "", #bdNr: "", #zusatz1: "", #zusatz2: "", #zusatz3: "", #zusatz4: "", #zusatz5: "", #zusatz6: "", #zusatz7: "", #mailPreferred: "SMS", #KDstatModul1: 0, #KDstatModul2: 0, #KDstatModul3: 0, #KDstatModul4: 0, #KDstatModul5: 0, #KDstatModul6: 0, #KD_ID: 74, #KD_BUDlistID: 0, #KD_KDG_ID1: "", #KD_KDG_ID2: "", #KD_KDG_ID3: "", #KD_KDG_ID4: "", #KD_mailFlag: 1, #KD_smsFlag: 1, #KD_briefFlag: 1, #KD_faxFlag: 0, #KD_notiz: "", #KD_BLZ: "", #KD_KTO: "", #KD_BankName: "", #KD_Einzugsermaechtigung: 0, #KD_KTOinhaber: "", #KD_CC_Inhaber: "", #KD_CC_Nummer: "", #KD_CC_Valid_From: "", #KD_CC_Valid_To: "", #KD_CC_CardCompany: "", #KD_Ausweisnummer: "", #KD_mobileApproved: 0, #KD_checkedInToday: 0, #KD_spare1: "", #KD_spare2: "", #KD_spare3: "", #KD_spare4: 0, #KD_GEB_Year: 0, #KD_GEB_Count: 0] put getRecordsAsPropList(x) -- [] put getRecordAsPropList(x) -- [#mobilnummer: "01732426070", #mobilnummer_ai: 560, #inhouse: 0, #allowed: 0, #newDate: "24.01.2003", #lastDate: "12.11.2003", #lastInhouse: "00.00.2000", #lastActive: "00.00.0000", #flirtID: "", #smsFlirtIDglobal: "", #anrede: "Herr", #vorname: "Florian", #vorname_ai: 523, #name: "Mott", #name_ai: 324, #zusatz: "", #strasse1: "Reinickendorfer Str. 45", #strasse1_ai: 1578, #strasse2: "", #plz: "13347", #plz_ai: 258, #ort: "Berlin", #ort_ai: 444, #land: "", #geburtsdatum: "15.10.1978", #KD_PICpath: "", #mixnick: "", #code: "", #Email: "", #telefon: "", #mobilnetz: "", #telefonSMStauglich: 0, #fax: "", #geschlecht: 1, #spNr: "", #bdNr: "", #zusatz1: "", #zusatz2: "", #zusatz3: "", #zusatz4: "", #zusatz5: "", #zusatz6: "", #zusatz7: "", #mailPreferred: "SMS", #KDstatModul1: 0, #KDstatModul2: 0, #KDstatModul3: 0, #KDstatModul4: 0, #KDstatModul5: 0, #KDstatModul6: 0, #KD_ID: 74, #KD_BUDlistID: 0, #KD_KDG_ID1: "", #KD_KDG_ID2: "", #KD_KDG_ID3: "", #KD_KDG_ID4: "", #KD_mailFlag: 1, #KD_smsFlag: 1, #KD_briefFlag: 1, #KD_faxFlag: 0, #KD_notiz: "", #KD_BLZ: "", #KD_KTO: "", #KD_BankName: "", #KD_Einzugsermaechtigung: 0, #KD_KTOinhaber: "", #KD_CC_Inhaber: "", #KD_CC_Nummer: "", #KD_CC_Valid_From: "", #KD_CC_Valid_To: "", #KD_CC_CardCompany: "", #KD_Ausweisnummer: "", #KD_mobileApproved: 0, #KD_checkedInToday: 0, #KD_spare1: "", #KD_spare2: "", #KD_spare3: "", #KD_spare4: 0, #KD_GEB_Year: 0, #KD_GEB_Count: 0] From fb at memedia.de Wed Feb 11 11:35:12 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Feb 11 04:35:35 2004 Subject: AW: Weird errors V4MD Server/Client In-Reply-To: Message-ID: > > Hi Florian, > > Can you send us test project? > > I have it ready. Should I send it to you or/and Igor? Florian From sunshine at public.kherson.ua Wed Feb 11 12:39:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 11 04:40:00 2004 Subject: AW: Weird errors V4MD Server/Client In-Reply-To: Message-ID: on 2/11/04 12:35 PM, Florian Bogeschdorfer at fb@memedia.de wrote: >> Hi Florian, >> >> Can you send us test project? >> >> > > I have it ready. Should I send it to you or/and Igor? 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 rjb at rz.uni-potsdam.de Wed Feb 11 14:15:04 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Feb 11 07:20:57 2004 Subject: SQL frustrations Message-ID: I have just moved my oldest project from valentina 1.8.10 to 1.9.6 (no, I am not ready yet to move to a newer version) and have a hell time with SQL querries. My program hasn't been been changed for a very long time, so what I am seeing are clearly differences between versions of Valentina. First, a number of queries reported 640 error. They all were fixed by including the SORT fields in SELECT. This is weird because the release notes state (for one of 1.9.5 betas) that: [SQL][Fix] Fixed broken ability to sort on not SELECTed field. So this was fixed but apparently broken later again. I wonder whether it works in newer versions. Second, I have a number of queries that now return wrong results (too many records). I am still struggling to figure out why, so any tips are appreciated. They all involve more complex comparisons with a series of and's and or's. I hope applying some extra parenthesis will cure these but haven't found the receipe yet. Robert From sunshine at public.kherson.ua Wed Feb 11 16:45:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 11 08:46:08 2004 Subject: SQL frustrations In-Reply-To: Message-ID: on 2/11/04 3:15 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: > First, a number of queries reported 640 error. They all were fixed by > including the SORT fields in SELECT. This is weird because the > release notes state (for one of 1.9.5 betas) that: > > [SQL][Fix] Fixed broken ability to sort on not SELECTed field. This was changed it seems after adding GROUP BY. > So this was fixed but apparently broken later again. I wonder whether > it works in newer versions. In 1.10 also no. Actually by Standard ORDER BY must be on SELECTed field only. > Second, I have a number of queries that now return wrong results (too > many records). I am still struggling to figure out why, so any tips > are appreciated. They all involve more complex comparisons with a > series of and's and or's. I hope applying some extra parenthesis will > cure these but haven't found the receipe yet. Rule is simple: 1) use () 2) in the WHERE you should group fields of the same table together (T1.f1 and T1.f2 and T1.f ... ) and (T2. And or T2 ... ) 3) OR on fields from different tables not works. Can be replaced on fld IN (subselect) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 11 09:51:38 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Wed Feb 11 08:49:46 2004 Subject: Encrypt with Valentina App. Message-ID: Hi, Does the Valentina application also allow for encryption? Greg From sunshine at public.kherson.ua Wed Feb 11 16:54:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 11 08:55:01 2004 Subject: Encrypt with Valentina App. In-Reply-To: Message-ID: on 2/11/04 4:51 PM, Gregory Kowalski at gregkowalski@earthlink.net wrote: > Hi, > > Does the Valentina application also allow for encryption? Valentina Studio 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 sunshine at public.kherson.ua Wed Feb 11 17:22:13 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 11 09:22:49 2004 Subject: Changes in V4RB API for 2.0 Message-ID: Hi guys, Now RB SDK support default parameters. This opens excellent way to improve API of V4RB. I want do the next major change: -- in the class VBaseObject drop methods CreateField() -- instead you will use set of methods: CreateBooleanField() CreateShortField() ... -- and in these methods I want add parameter flags. We have now CreateShortField( name, method ) We will have CreateShortField( name, flags = 0, method = nil ) As you see BOTH steps can break existed code: 1) if you have use CreateField() method you must witch to type specific create. 2) must be corrected CreatexxxxField() calls for new parameters. But instead we get logical API as we have in C++ SDK. I was not able mirror it in V4RB API up to 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 rjb at rz.uni-potsdam.de Wed Feb 11 17:01:04 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Feb 11 10:06:57 2004 Subject: SQL frustrations In-Reply-To: References: Message-ID: > >Rule is simple: Yes, I know that I just need to fiddle with () and the order of conditions until I get proper results. It is just painful and wasting my time as I need to manually inspect results from all queries (and there a few dozens of those). At least I noticed the problem before sending the monthly reports to the client. That would be more embarassing than having to tell them that there is a delay. I really hope that version 2 parser ends these headaches. >1) use () > >2) in the WHERE you should group fields of the same table together > > (T1.f1 and T1.f2 and T1.f ... ) > and > (T2. And or T2 ... ) And what is the order if I have fields from 3 or 4 tables having pair comparisons between each two? There is no way to group the queries together as I see. >3) OR on fields from different tables not works. All or's are on the same table. That much i know :) Robert From sunshine at public.kherson.ua Wed Feb 11 18:11:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 11 10:11:42 2004 Subject: SQL frustrations In-Reply-To: Message-ID: on 2/11/04 6:01 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: >> 2) in the WHERE you should group fields of the same table together >> >> (T1.f1 and T1.f2 and T1.f ... ) >> and >> (T2. And or T2 ... ) > > And what is the order if I have fields from 3 or 4 tables having pair > comparisons between each two? There is no way to group the queries > together as I see. That are LINK CONDITIONS FROM T1, T2, T3, T4 WHERE T1.id = T2.ptr and T2.id = T3.ptr and T3.id = T4.ptr AND // now we list SEARCH CONDITIONS: (T1.f1 and T1.f2 and T1.f ... ) and (T2. And or T2 ... ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gregkowalski at earthlink.net Wed Feb 11 12:27:13 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Wed Feb 11 11:25:22 2004 Subject: Search question Message-ID: <87D8517E-5CB7-11D8-98B0-000393DAB46A@earthlink.net> Hello, When I make a search with the following expression: whichSearch = "select * from Table where catalognumber = "&keyword&" order by catalog" The catalog numbers are in a string field. 0014-01 gives me a result but 0014-01X does not. Neither does A0759-05. It seems that whenever I the catalog number contains a letter it cannot be found. What is the reason for this? Thanks for your help Greg From yeomans at desuetude.com Wed Feb 11 12:30:28 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Feb 11 11:30:37 2004 Subject: Changes in V4RB API for 2.0 In-Reply-To: References: Message-ID: On Feb 11, 2004, at 10:22 AM, Ruslan Zasukhin wrote: > Hi guys, > > Now RB SDK support default parameters. > > This opens excellent way to improve API of V4RB. > > I want do the next major change: > > -- in the class VBaseObject drop methods CreateField() > > -- instead you will use set of methods: > CreateBooleanField() > CreateShortField() > ... > > > -- and in these methods I want add parameter flags. > > We have now > > CreateShortField( name, method ) > > We will have > > CreateShortField( name, flags = 0, method = nil ) > > > As you see BOTH steps can break existed code: > > 1) if you have use CreateField() method you must witch to type > specific > create. > > 2) must be corrected CreatexxxxField() calls for new parameters. > > > But instead we get logical API as we have in C++ SDK. > I was not able mirror it in V4RB API up to know. Sounds like a good idea to me. Charles Yeomans From sunshine at public.kherson.ua Wed Feb 11 19:32:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 11 11:32:27 2004 Subject: Search question In-Reply-To: <87D8517E-5CB7-11D8-98B0-000393DAB46A@earthlink.net> Message-ID: on 2/11/04 7:27 PM, Gregory Kowalski at gregkowalski@earthlink.net wrote: Hi Gregory, > When I make a search with the following expression: > > whichSearch = "select * from Table where catalognumber = "&keyword&" > order by catalog" Important mistake, -- you have forget single quotes around string "select * from Table where catalognumber = '"&keyword& "' order by catalog" > The catalog numbers are in a string field. > > > 0014-01 gives me a result but 0014-01X does not. Neither does A0759-05. > It seems that whenever I the catalog number contains a letter it > cannot be found. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 11 23:56:29 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 11 15:56:35 2004 Subject: FIXED: Weird errors V4MD Server/Client In-Reply-To: Message-ID: on 2/11/04 11:57 AM, Florian Bogeschdorfer at fb@memedia.de wrote: Hi Florian, FIXED. Bug was in CLIENT You can download V4MD_Client a56 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 fci at europa.com Wed Feb 11 13:58:10 2004 From: fci at europa.com (Lynn Fredricks) Date: Wed Feb 11 15:58:39 2004 Subject: Valentina Developers in the Northwest In-Reply-To: Message-ID: <000001c3f0ea$2c7626a0$0100000a@LYNNP42G> Hello all, In preparing for the Valentina 2.0 product line Im looking for individual or a small team of developer-consultants that are interested in playing a role in the future of the products. While your location must be in the US, Im going to favor those in in the Northwest (Oregon and Washington especially) just because its easier to get togther for a meeting where there's a Starbuck's every other city block ;-) If you are interested, please email me directly, offlist. Best regards, Lynn Fredricks President Proactive International, LLC http://www.proactive-intl.com From deane.venske at eduss.com Thu Feb 12 08:14:03 2004 From: deane.venske at eduss.com (Deane Venske) Date: Wed Feb 11 16:14:12 2004 Subject: Updating In-Reply-To: References: Message-ID: On Wed, 11 Feb 2004 09:06:15 +0200, Ruslan Zasukhin wrote: > on 2/11/04 1:40 AM, Deane Venske at deane.venske@eduss.com wrote: > >>>> Seems the problem was having a method in that table stopped updates >>>> from >>>> happening. Is this a bug? >>> >>> Unlikely. >>> >>> May be that method marked as UNIQUE? >>> And new data cause it to unique value? >>> >>> Or something like such? >>> >> >> I couldn't even update a value that was unrelated to the method. >> TABLE : exerciseID, mark, noQuestions, userID, assessmentMode >> METHOD : percentage : (mark / noQuestions) * 100 >> When I tried to update userID it failed, gave records affected. Even a >> table wide update gave 15 records affected but no changes happened. > > Please send me snapshot of your db > > And UPDATE command. > > I assume it not works from viSQL also? > I haven't tried viSQL, but from vStudio it is also broken. I'll recreate the problem (DIdn't backup the DB before removing the method), and send you the sample DB -- 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 Thu Feb 12 08:18:52 2004 From: deane.venske at eduss.com (Deane Venske) Date: Wed Feb 11 16:18:58 2004 Subject: Weird Part 2 In-Reply-To: References: Message-ID: On Wed, 11 Feb 2004 11:04:27 +0100, Florian Bogeschdorfer wrote: > Sorry, but am I blind to oversee something very elementary? > > x=VALselectReturnCursor("SELECT * FROM KUNDENtable WHERE > vorname=Florian") > put x > -- > put VALcursorRecCount(x) > -- 44 > put getRecordAsPropList(x) > -- [#mobilnummer: "01732426070", #mobilnummer_ai: 560, #inhouse: 0, > #allowed: 0, #newDate: "24.01.2003", #lastDate: "12.11.2003", > #lastInhouse: > "00.00.2000", #lastActive: "00.00.0000", #flirtID: "", #smsFlirtIDglobal: > "", #anrede: "Herr", #vorname: "Florian", #vorname_ai: 523, #name: > "Mott", > #name_ai: 324, #zusatz: "", #strasse1: "Reinickendorfer Str. 45", > #strasse1_ai: 1578, #strasse2: "", #plz: "13347", #plz_ai: 258, #ort: > "Berlin", #ort_ai: 444, #land: "", #geburtsdatum: "15.10.1978", > #KD_PICpath: > "", #mixnick: "", #code: "", #Email: "", #telefon: "", #mobilnetz: "", > #telefonSMStauglich: 0, #fax: "", #geschlecht: 1, #spNr: "", #bdNr: "", > #zusatz1: "", #zusatz2: "", #zusatz3: "", #zusatz4: "", #zusatz5: "", > #zusatz6: "", #zusatz7: "", #mailPreferred: "SMS", #KDstatModul1: 0, > #KDstatModul2: 0, #KDstatModul3: 0, #KDstatModul4: 0, #KDstatModul5: 0, > #KDstatModul6: 0, #KD_ID: 74, #KD_BUDlistID: 0, #KD_KDG_ID1: "", > #KD_KDG_ID2: "", #KD_KDG_ID3: "", #KD_KDG_ID4: "", #KD_mailFlag: 1, > #KD_smsFlag: 1, #KD_briefFlag: 1, #KD_faxFlag: 0, #KD_notiz: "", #KD_BLZ: > "", #KD_KTO: "", #KD_BankName: "", #KD_Einzugsermaechtigung: 0, > #KD_KTOinhaber: "", #KD_CC_Inhaber: "", #KD_CC_Nummer: "", > #KD_CC_Valid_From: "", #KD_CC_Valid_To: "", #KD_CC_CardCompany: "", > #KD_Ausweisnummer: "", #KD_mobileApproved: 0, #KD_checkedInToday: 0, > #KD_spare1: "", #KD_spare2: "", #KD_spare3: "", #KD_spare4: 0, > #KD_GEB_Year: > 0, #KD_GEB_Count: 0] > > put getRecordsAsPropList(x) > -- [] > > put getRecordAsPropList(x) > -- [#mobilnummer: "01732426070", #mobilnummer_ai: 560, #inhouse: 0, > #allowed: 0, #newDate: "24.01.2003", #lastDate: "12.11.2003", > #lastInhouse: > "00.00.2000", #lastActive: "00.00.0000", #flirtID: "", #smsFlirtIDglobal: > "", #anrede: "Herr", #vorname: "Florian", #vorname_ai: 523, #name: > "Mott", > #name_ai: 324, #zusatz: "", #strasse1: "Reinickendorfer Str. 45", > #strasse1_ai: 1578, #strasse2: "", #plz: "13347", #plz_ai: 258, #ort: > "Berlin", #ort_ai: 444, #land: "", #geburtsdatum: "15.10.1978", > #KD_PICpath: > "", #mixnick: "", #code: "", #Email: "", #telefon: "", #mobilnetz: "", > #telefonSMStauglich: 0, #fax: "", #geschlecht: 1, #spNr: "", #bdNr: "", > #zusatz1: "", #zusatz2: "", #zusatz3: "", #zusatz4: "", #zusatz5: "", > #zusatz6: "", #zusatz7: "", #mailPreferred: "SMS", #KDstatModul1: 0, > #KDstatModul2: 0, #KDstatModul3: 0, #KDstatModul4: 0, #KDstatModul5: 0, > #KDstatModul6: 0, #KD_ID: 74, #KD_BUDlistID: 0, #KD_KDG_ID1: "", > #KD_KDG_ID2: "", #KD_KDG_ID3: "", #KD_KDG_ID4: "", #KD_mailFlag: 1, > #KD_smsFlag: 1, #KD_briefFlag: 1, #KD_faxFlag: 0, #KD_notiz: "", #KD_BLZ: > "", #KD_KTO: "", #KD_BankName: "", #KD_Einzugsermaechtigung: 0, > #KD_KTOinhaber: "", #KD_CC_Inhaber: "", #KD_CC_Nummer: "", > #KD_CC_Valid_From: "", #KD_CC_Valid_To: "", #KD_CC_CardCompany: "", > #KD_Ausweisnummer: "", #KD_mobileApproved: 0, #KD_checkedInToday: 0, > #KD_spare1: "", #KD_spare2: "", #KD_spare3: "", #KD_spare4: 0, > #KD_GEB_Year: > 0, #KD_GEB_Count: 0] > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina Hi Florian, Not sure if you were asking for us to look if there is something simple wrong here or showing something simple wrong. If you are asking if there is somethign we can spot then here it is : In your function that did not work you have made a syntax error: put getRecordsAsPropList(x) ^ Shouldn't have the "s" Best wishes! -- 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 nwoe at privat.utfors.se Wed Feb 11 23:42:45 2004 From: nwoe at privat.utfors.se (=?iso-8859-15?Q?niklas_w=F6rmann?=) Date: Wed Feb 11 16:42:51 2004 Subject: SV: Weird Part 2 In-Reply-To: Message-ID: > > Not sure if you were asking for us to look if there is something simple > wrong here or showing something simple wrong. If you are asking if there > is somethign we can spot then here it is : > In your function that did not work you have made a syntax error: > put getRecordsAsPropList(x) > ^ > Shouldn't have the "s" > > Best wishes! > hi! those are both valid calls, getrecordasproplist (without s) gets the current record as proplist and getrecordSasproplist gets all the records in the cursor as proplist which doesn?t make the problem any clearer ;) niklas woermann From leemiller at madisongrp.com Wed Feb 11 18:25:06 2004 From: leemiller at madisongrp.com (Lee Miller) Date: Wed Feb 11 17:26:34 2004 Subject: Storing zip files Message-ID: <5.2.0.9.0.20040211182412.00af0d58@mail.madisongrp.com> Just need a recommendation on what field type is best to store small zip files into. Each file is less than 100k. Thanks Lee From support at monkeybreadsoftware.de Thu Feb 12 00:43:31 2004 From: support at monkeybreadsoftware.de (Christian Schmitz) Date: Wed Feb 11 17:43:39 2004 Subject: Storing zip files In-Reply-To: <5.2.0.9.0.20040211182412.00af0d58@mail.madisongrp.com> Message-ID: <1g90pyy.1wet1wp1nwmhljM%support@monkeybreadsoftware.de> Lee Miller wrote: > Just need a recommendation on what field type is best to store small zip > files into. Each file is less than 100k. I'd suggest: variable binary And the manual may tell us what the difference between VBLOB and VVarBinary is. Mfg Christian -- Six thousand functions in one REALbasic plug-in. The MBS Plugin. From maheshm at uniqueworld.net Thu Feb 12 16:46:44 2004 From: maheshm at uniqueworld.net (Mahesh Markus) Date: Wed Feb 11 23:46:52 2004 Subject: VCursur Insert Query for date time format errors Message-ID: <8828FA21BDC2D44DA010E4498439D0EC7738D0@ophelia.uniqueworld.net> I have a valentina db, which has the dateformat set to [2, "/", ":", 20] However, an "INSERT" sql query (using vCursur ) will insert the correct date if and only if the date format is "D/M/Y" How do I make sure that the INSERT sql queries with a date format "Y/M/D" will put in the correct values? Mahesh Markus Senior Consultant maheshm@uniqueworld.net Unique World Pty Ltd http://www.uniqueworld.net t: (02) 9268 0269 f: (02) 9268 0278 From sunshine at public.kherson.ua Thu Feb 12 08:11:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 00:11:53 2004 Subject: VCursur Insert Query for date time format errors In-Reply-To: <8828FA21BDC2D44DA010E4498439D0EC7738D0@ophelia.uniqueworld.net> Message-ID: on 2/12/04 7:46 AM, Mahesh Markus at maheshm@uniqueworld.net wrote: > I have a valentina db, which has the dateformat set to [2, "/", ":", 20] > > However, an "INSERT" sql query (using vCursur ) will insert the correct > date if and only if the date format is "D/M/Y" > > How do I make sure that the INSERT sql queries with a date format > "Y/M/D" will put in the correct values? I will check this. BTW, you also can easy check your db in Valentina Studio To see that you have format 2 That Valentina Studio then correctly show dates in YMD And that INSERT query do what you need. Do you set date format to a database AFTER its open ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 12 08:12:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 00:12:40 2004 Subject: Storing zip files In-Reply-To: <1g90pyy.1wet1wp1nwmhljM%support@monkeybreadsoftware.de> Message-ID: on 2/12/04 1:43 AM, Christian Schmitz at support@monkeybreadsoftware.de wrote: > Lee Miller wrote: > >> Just need a recommendation on what field type is best to store small zip >> files into. Each file is less than 100k. > > I'd suggest: variable binary > > And the manual may tell us what the difference between VBLOB and > VVarBinary is. VarBinary can be maximum 64KB. So only BLOB is a choice -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Thu Feb 12 07:14:50 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Feb 12 00:14:54 2004 Subject: AW: Weird Part 2 In-Reply-To: Message-ID: > Hi Florian, > > Not sure if you were asking for us to look if there is > something simple wrong here or showing something simple > wrong. If you are asking if there is somethign we can spot > then here it is : > In your function that did not work you have made a syntax error: > put getRecordsAsPropList(x) > ^ > Shouldn't have the "s" > > Best wishes! > Hi Daene! Thank you, but there is one function with and one function without "s". But never mind, it was a bug in the client xtra and Ruslan has fixed it meanwhile. Best regards, Florian From fb at memedia.de Thu Feb 12 07:17:10 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Feb 12 00:17:14 2004 Subject: AW: FIXED: Weird errors V4MD Server/Client In-Reply-To: Message-ID: Good moorning Ruslan! Thank you. What was it? Has nobody used the string thing with V4MD client up to now? Best regards, Florian > -----Urspr?ngliche Nachricht----- > Von: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] Im Auftrag von > Ruslan Zasukhin > Gesendet: Mittwoch, 11. Februar 2004 22:56 > An: valentina@lists.macserve.net > Betreff: FIXED: Weird errors V4MD Server/Client > > on 2/11/04 11:57 AM, Florian Bogeschdorfer at fb@memedia.de wrote: > > Hi Florian, > > FIXED. > > Bug was in CLIENT > > You can download V4MD_Client a56 WIN > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From maheshm at uniqueworld.net Thu Feb 12 17:27:52 2004 From: maheshm at uniqueworld.net (Mahesh Markus) Date: Thu Feb 12 00:27:59 2004 Subject: VCursur Insert Query for date time format errors Message-ID: <8828FA21BDC2D44DA010E4498439D0EC7738D3@ophelia.uniqueworld.net> I don't have a copy of Valentina Studio. I use ViSQL to develop my queries. Mahesh -----Original Message----- From: Ruslan Zasukhin [mailto:sunshine@public.kherson.ua] Sent: Thursday, 12 February 2004 5:12 To: valentina@lists.macserve.net Subject: Re: VCursur Insert Query for date time format errors on 2/12/04 7:46 AM, Mahesh Markus at maheshm@uniqueworld.net wrote: > I have a valentina db, which has the dateformat set to [2, "/", ":", > 20] > > However, an "INSERT" sql query (using vCursur ) will insert the > correct date if and only if the date format is "D/M/Y" > > How do I make sure that the INSERT sql queries with a date format > "Y/M/D" will put in the correct values? I will check this. BTW, you also can easy check your db in Valentina Studio To see that you have format 2 That Valentina Studio then correctly show dates in YMD And that INSERT query do what you need. Do you set date format to a database AFTER its open ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From maheshm at uniqueworld.net Thu Feb 12 17:28:43 2004 From: maheshm at uniqueworld.net (Mahesh Markus) Date: Thu Feb 12 00:28:47 2004 Subject: VCursur Insert Query for date time format errors Message-ID: <8828FA21BDC2D44DA010E4498439D0EC7738D4@ophelia.uniqueworld.net> I also set the Date format after the database is open. -----Original Message----- From: Mahesh Markus Sent: Thursday, 12 February 2004 5:28 To: Valentina Developers Subject: RE: VCursur Insert Query for date time format errors I don't have a copy of Valentina Studio. I use ViSQL to develop my queries. Mahesh -----Original Message----- From: Ruslan Zasukhin [mailto:sunshine@public.kherson.ua] Sent: Thursday, 12 February 2004 5:12 To: valentina@lists.macserve.net Subject: Re: VCursur Insert Query for date time format errors on 2/12/04 7:46 AM, Mahesh Markus at maheshm@uniqueworld.net wrote: > I have a valentina db, which has the dateformat set to [2, "/", ":", > 20] > > However, an "INSERT" sql query (using vCursur ) will insert the > correct date if and only if the date format is "D/M/Y" > > How do I make sure that the INSERT sql queries with a date format > "Y/M/D" will put in the correct values? I will check this. BTW, you also can easy check your db in Valentina Studio To see that you have format 2 That Valentina Studio then correctly show dates in YMD And that INSERT query do what you need. Do you set date format to a database AFTER its open ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Feb 12 08:43:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 00:43:20 2004 Subject: AW: FIXED: Weird errors V4MD Server/Client In-Reply-To: Message-ID: on 2/12/04 8:17 AM, Florian Bogeschdorfer at fb@memedia.de wrote: > Good moorning Ruslan! > > Thank you. What was it? Has nobody used the string thing with V4MD client up > to now? Yes. Nobody have use THIS function yet -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 12 08:43:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 00:44:05 2004 Subject: VCursur Insert Query for date time format errors In-Reply-To: <8828FA21BDC2D44DA010E4498439D0EC7738D3@ophelia.uniqueworld.net> Message-ID: on 2/12/04 8:27 AM, Mahesh Markus at maheshm@uniqueworld.net wrote: > I don't have a copy of Valentina Studio. You can get it. It is in beta now > I use ViSQL to develop my queries. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From maheshm at uniqueworld.net Thu Feb 12 18:15:58 2004 From: maheshm at uniqueworld.net (Mahesh Markus) Date: Thu Feb 12 01:16:05 2004 Subject: VCursur Insert Query for date time format errors Message-ID: <8828FA21BDC2D44DA010E4498439D0EC7738D6@ophelia.uniqueworld.net> Sorry, I set the date format when the database is created, and not when it is opened. If use SetDateTimeFormat when it is opened, then the the return value from GetDateTimeFormat is correct. However, I would have thought that the DateTimeFormat persists when the database is created. Mahesh -----Original Message----- From: Mahesh Markus Sent: Thursday, 12 February 2004 5:29 To: Valentina Developers Subject: RE: VCursur Insert Query for date time format errors I also set the Date format after the database is open. -----Original Message----- From: Mahesh Markus Sent: Thursday, 12 February 2004 5:28 To: Valentina Developers Subject: RE: VCursur Insert Query for date time format errors I don't have a copy of Valentina Studio. I use ViSQL to develop my queries. Mahesh -----Original Message----- From: Ruslan Zasukhin [mailto:sunshine@public.kherson.ua] Sent: Thursday, 12 February 2004 5:12 To: valentina@lists.macserve.net Subject: Re: VCursur Insert Query for date time format errors on 2/12/04 7:46 AM, Mahesh Markus at maheshm@uniqueworld.net wrote: > I have a valentina db, which has the dateformat set to [2, "/", ":", > 20] > > However, an "INSERT" sql query (using vCursur ) will insert the > correct date if and only if the date format is "D/M/Y" > > How do I make sure that the INSERT sql queries with a date format > "Y/M/D" will put in the correct values? I will check this. BTW, you also can easy check your db in Valentina Studio To see that you have format 2 That Valentina Studio then correctly show dates in YMD And that INSERT query do what you need. Do you set date format to a database AFTER its open ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From marcus at synchromedia.co.uk Thu Feb 12 09:37:28 2004 From: marcus at synchromedia.co.uk (Marcus Bointon) Date: Thu Feb 12 03:37:41 2004 Subject: AW: ip address of server In-Reply-To: Message-ID: on 9/2/04 16:20, Florian Bogeschdorfer at fb@memedia.de wrote: > There is no way to automatically receive the server IP adress. There would be if Valentina supported Rendezvous, at least for LAN setups. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk From aj_vdl at hotmail.com Thu Feb 12 13:08:37 2004 From: aj_vdl at hotmail.com (Aart Jan van der Linden) Date: Thu Feb 12 06:08:45 2004 Subject: Corrupt Database Message-ID: Hi, I'm working on an application that uses Valentina in a PC & Mac Director cd-rom. Two times in the last days the database got corrupted. I found posts about updating the records quickly after the Query is finished, and I will loook in my code for improvements on that. But the problem I'm stuck with is this: The corrupt database opens fine in VAPP on a Mac, but when I start the Director project (on a Windows computer) the application crashes, before having given any error messages... When I go to [utilities] -> [diagnose Database] in the VAPP I get an error report with a lot of lines like -----> Field: "uitleg' of type VarChar Problems found! ...........Page 2 (!) ItemCount =7425 is bigger of max possible value =510 (!) Length of deleted 672 record is NOT zero Next offset must be >=, but it is less. For RecID = 673 (!) Length of deleted 755 record is NOT zero (!) Length of deleted 762 record is NOT zero (!) Length of deleted 781 record is NOT zero (!) Length of deleted 782 record is NOT zero (...) I have a three-file database, with a .dat, a .ind and a .vdb file How can I fix this??? Thanx in advance Aart Jan _________________________________________________________________ MSN Zoeken helpt je om de gekste dingen te vinden! http://search.msn.nl From sunshine at public.kherson.ua Thu Feb 12 14:19:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 06:19:34 2004 Subject: Corrupt Database In-Reply-To: Message-ID: on 2/12/04 2:08 PM, Aart Jan van der Linden at aj_vdl@hotmail.com wrote: > Hi, > > I'm working on an application that uses Valentina in a PC & Mac Director > cd-rom. > > Two times in the last days the database got corrupted. I found posts about > updating the records quickly after the Query is finished, and I will loook > in my code for improvements on that. > > But the problem I'm stuck with is this: The corrupt database opens fine in > VAPP on a Mac, but when I start the Director project (on a Windows computer) > the application crashes, before having given any error messages... > When I go to [utilities] -> [diagnose Database] in the VAPP I get an error > report with a lot of lines like > > -----> Field: "uitleg' of type VarChar > Problems found! > > ...........Page 2 > (!) ItemCount =7425 is bigger of max possible value =510 > (!) Length of deleted 672 record is NOT zero > Next offset must be >=, but it is less. For RecID = 673 > (!) Length of deleted 755 record is NOT zero > (!) Length of deleted 762 record is NOT zero > (!) Length of deleted 781 record is NOT zero > (!) Length of deleted 782 record is NOT zero > (...) > > I have a three-file database, with a .dat, a .ind and a .vdb file > > How can I fix this??? Hi Aart, Such kind of corruption on VarChar page can be try to be fixed Using XML Dump and Load into new fresh db. Some records/values most probably will be lost. Windows crashes on start because sometimes it is MORE strict than MacOS. Although OS X also is not bad. Yes, check if you make Flush() after record modifications. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 12 15:53:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 07:53:49 2004 Subject: V4RB, how to write TAB, CR in REALbasic Message-ID: Hi Guys, "ImportText( File as FolderItem, FieldDelimeter as String = "\t", LineDelimeter as String = "\r" )" Is this syntax correct in RB ? I need specify TAB symbol and CR. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Feb 12 09:45:48 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Thu Feb 12 08:46:01 2004 Subject: V4RB, how to write TAB, CR in REALbasic In-Reply-To: References: Message-ID: <2598F8E8-5D6A-11D8-B1F8-000A95A4E83A@mindstarprods.com> Hi Ruslan, On Feb 12, 2004, at 8:53 AM, Ruslan Zasukhin wrote: > "ImportText( > File as FolderItem, > FieldDelimeter as String = "\t", > LineDelimeter as String = "\r" )" > > > Is this syntax correct in RB ? > > I need specify TAB symbol and CR. No. You need to use chr() commands. Tab = chr(9) CR = chr(13) Best regards, Frank From sunshine at public.kherson.ua Thu Feb 12 17:05:16 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 09:05:25 2004 Subject: V4RB, how to write TAB, CR in REALbasic In-Reply-To: <2598F8E8-5D6A-11D8-B1F8-000A95A4E83A@mindstarprods.com> Message-ID: on 2/12/04 4:45 PM, Frank Schima at frank-list2@mindstarprods.com wrote: > Hi Ruslan, > > > On Feb 12, 2004, at 8:53 AM, Ruslan Zasukhin wrote: > >> "ImportText( >> File as FolderItem, >> FieldDelimeter as String = "\t", >> LineDelimeter as String = "\r" )" >> >> >> Is this syntax correct in RB ? >> >> I need specify TAB symbol and CR. > > No. You need to use chr() commands. > > Tab = chr(9) > CR = chr(13) But can I use this in function declaration ? As I have show? "ImportText( File as FolderItem, FieldDelimeter as String = chr(9) LineDelimeter as String = chr(13) ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Feb 12 10:22:46 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Thu Feb 12 09:23:11 2004 Subject: V4RB, how to write TAB, CR in REALbasic In-Reply-To: References: Message-ID: <4FC37E28-5D6F-11D8-B1F8-000A95A4E83A@mindstarprods.com> On Feb 12, 2004, at 10:05 AM, Ruslan Zasukhin wrote: > on 2/12/04 4:45 PM, Frank Schima at frank-list2@mindstarprods.com > wrote: > >> Hi Ruslan, >> >> >> On Feb 12, 2004, at 8:53 AM, Ruslan Zasukhin wrote: >> >>> "ImportText( >>> File as FolderItem, >>> FieldDelimeter as String = "\t", >>> LineDelimeter as String = "\r" )" >>> >>> >>> Is this syntax correct in RB ? >>> >>> I need specify TAB symbol and CR. >> >> No. You need to use chr() commands. >> >> Tab = chr(9) >> CR = chr(13) > > But can I use this in function declaration ? > As I have show? > > > "ImportText( > File as FolderItem, > FieldDelimeter as String = chr(9) > LineDelimeter as String = chr(13) ) Yes, I tested it. myVCursor.ImportText(myFolderItem, chr(9), chr(13)) Best regards, Frank From bitterlich at gsco.de Thu Feb 12 17:03:15 2004 From: bitterlich at gsco.de (Frank Bitterlich) Date: Thu Feb 12 10:03:28 2004 Subject: V4RB, how to write TAB, CR in REALbasic In-Reply-To: <4FC37E28-5D6F-11D8-B1F8-000A95A4E83A@mindstarprods.com> Message-ID: Ruslan, If you want to specify such characters as the default value for the function declaration, that's the way I do it normally: Function importtext(File as FolderItem, fieldDelimiter as string="\t", LineDelimiter as string = "\r") FieldDelimiter = ReplaceAll(ReplaceAll(FieldDelimiter, "\r", chr(13)), "\t", chr(9)) ... (Actually, I'm using a global function for the ReplaceAll, so that even more characters can be used). That way, the user can even specify ttheir own special characters easily (such as "\r\n"). Cheers, Frank+++ On 12.02.2004 16:22 Uhr, Frank Schima wrote: > > On Feb 12, 2004, at 10:05 AM, Ruslan Zasukhin wrote: > >> on 2/12/04 4:45 PM, Frank Schima at frank-list2@mindstarprods.com >> wrote: >> >>> Hi Ruslan, >>> >>> >>> On Feb 12, 2004, at 8:53 AM, Ruslan Zasukhin wrote: >>> >>>> "ImportText( >>>> File as FolderItem, >>>> FieldDelimeter as String = "\t", >>>> LineDelimeter as String = "\r" )" >>>> >>>> >>>> Is this syntax correct in RB ? >>>> >>>> I need specify TAB symbol and CR. >>> >>> No. You need to use chr() commands. >>> >>> Tab = chr(9) >>> CR = chr(13) >> >> But can I use this in function declaration ? >> As I have show? >> >> >> "ImportText( >> File as FolderItem, >> FieldDelimeter as String = chr(9) >> LineDelimeter as String = chr(13) ) > > Yes, I tested it. > > myVCursor.ImportText(myFolderItem, chr(9), chr(13)) -- There's no place like 127.0.0.1 G?nter Schmidt & Co. oHG Frank Bitterlich eMail: bitterlich@gsco.de Schlosserstr. 4 WWW: http://www.gsco.de/gsco D-60322 Frankfurt Tel.: 069 / 156809-29 GERMANY Fax: 069 / 156809-28 From andrew at learningware.com Thu Feb 12 10:45:49 2004 From: andrew at learningware.com (Andrew Sinning) Date: Thu Feb 12 10:42:49 2004 Subject: DB Viewer Tool For Windows In-Reply-To: Message-ID: I've been using V4MD for about 4 months now, and it just occurred to me: Is there Valentina DB viewer tool that runs under Windows? I just want a quick way to check records (modify would be nice) without having to type. Thanks. From sunshine at public.kherson.ua Thu Feb 12 18:48:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 10:48:20 2004 Subject: DB Viewer Tool For Windows In-Reply-To: Message-ID: on 2/12/04 6:45 PM, Andrew Sinning at andrew@learningware.com wrote: > I've been using V4MD for about 4 months now, and it just occurred to me: > Is there Valentina DB viewer tool that runs under Windows? I just want > a quick way to check records (modify would be nice) without having to > type. Yes Andrew, Valentina Studio Link on our home page -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gagraham at comcast.net Thu Feb 12 10:55:28 2004 From: gagraham at comcast.net (George A. Graham Jr.) Date: Thu Feb 12 11:55:34 2004 Subject: V4RB - nil VCursor after adding new records Message-ID: Ruslan, We are writing a DB application using Valentina that is being developed on Windows, but is to run on MacOS and MacOS X as well. This is being written with REALbasic 5.2.4. After importing a tab delimited file into the DB I try to do an SQLSelect on the DB. On Windows this works fine and I am able to get a VCursor object. On MacOS X this same SQL returns a nil object. I have tried putting a call to the Flush command for the DB, and that does insure that the data is saved to file, but on the Mac the SQLSelect still returns nil. If you exit immediately after the import, and then restart and open the DB, the SQLSelect works fine on the Mac. I haven't tried Closing and doing an Open again on the DB, but that is my next task. Is this a bug? Regards, George From sunshine at public.kherson.ua Thu Feb 12 20:05:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 12:05:48 2004 Subject: V4RB - nil VCursor after adding new records In-Reply-To: Message-ID: on 2/12/04 7:55 PM, George A. Graham Jr. at gagraham@comcast.net wrote: Hi George, > We are writing a DB application using Valentina that is being developed on > Windows, but is to run on MacOS and MacOS X as well. This is being written > with REALbasic 5.2.4. > After importing a tab delimited file into the DB I try to do an SQLSelect on > the DB. > > On Windows this works fine and I am able to get a VCursor object. > > On MacOS X this same SQL returns a nil object. > > I have tried putting a call to the Flush command for the DB, and that does > insure that the data is saved to file, but on the Mac the SQLSelect still > returns nil. > > If you exit immediately after the import, and then restart and open the DB, > the SQLSelect works fine on the Mac. > I haven't tried Closing and doing an Open again on the DB, but that is my next > task. Is this a bug? I do not think this is a bug. Let's check. * so you do not move files from Win to MAC, you just do all the same on MAC create db files, create tables, then create cursor and import into it file. Yes? BTW, do you import THE SAME file? On MacOS importer expect to see text file in MAC OS format. Check this. * after cursor NIL check Valentina Error code. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gagraham at comcast.net Thu Feb 12 11:23:38 2004 From: gagraham at comcast.net (George A. Graham Jr.) Date: Thu Feb 12 12:23:44 2004 Subject: V4RB - nil VCursor after adding new records Message-ID: I do not think this is a bug. Let's check. * so you do not move files from Win to MAC, you just do all the same on MAC create db files, create tables, then create cursor and import into it file. Yes? Ruslan: that's right. We create a new db on the Mac, and use the identical file (BTW, this file was created on the Mac using Filemaker, and works fine importing in Windows). BTW, do you import THE SAME file? Ruslan: Yes On MacOS importer expect to see text file in MAC OS format. Check this. Ruslan: It is using the NthField function in RB to separate the tab delimited fields. It is getting the data into the DB because after adding the Flush method call, after crashing with a NilPointerException you can re-run the app and open the DB created in last run. It has the imported data and can do a SQLSelect and return a non-nil VCursor. * after cursor NIL check Valentina Error code. ------------------------------------------------------------- From andrew at learningware.com Thu Feb 12 14:02:14 2004 From: andrew at learningware.com (Andrew Sinning) Date: Thu Feb 12 13:59:15 2004 Subject: SHOW TABLES? In-Reply-To: Message-ID: Is there a valid Valentina SQL statement such as SHOW TABLES? How does one get the tables? I remember seeing this, but now I can't find it in the docs. Thanks. From sunshine at public.kherson.ua Thu Feb 12 22:59:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 14:59:59 2004 Subject: Problem with V4RB and nil VCursor In-Reply-To: Message-ID: on 2/12/04 9:50 PM, George A. Graham Jr. at gagraham@comcast.net wrote: > Ruslan, > > I found out why I was getting a nil VCursor. The import takes 3 minutes on > my Windows machine, and it takes 11 minutes on the Mac Ti-book I am using. > I had forgot to put in my Mac and Win license keys in the ValentinaInit. > All is now fine. I am sorry I wasted your time. Hi George, Ok, although now I wonder, You have wrong serials. Probably you have got import faster of 10 minutes. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 12 23:00:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 15:00:26 2004 Subject: SHOW TABLES? In-Reply-To: Message-ID: on 2/12/04 10:02 PM, Andrew Sinning at andrew@learningware.com wrote: > Is there a valid Valentina SQL statement such as SHOW TABLES? > > How does one get the tables? I remember seeing this, but now I can't > find it in the docs. SELECT * FROM table_name -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From frank-list2 at mindstarprods.com Thu Feb 12 16:34:29 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Thu Feb 12 15:34:42 2004 Subject: SHOW TABLES? In-Reply-To: References: Message-ID: <3D144634-5DA3-11D8-A221-000A95A4E83A@mindstarprods.com> Hi guys, On Feb 12, 2004, at 4:00 PM, Ruslan Zasukhin wrote: > on 2/12/04 10:02 PM, Andrew Sinning at andrew@learningware.com wrote: > >> Is there a valid Valentina SQL statement such as SHOW TABLES? >> >> How does one get the tables? I remember seeing this, but now I can't >> find it in the docs. > > SELECT * FROM table_name Ruslan, I think he wants a SQL command to list all the table names in the database. MySQL, at least, has this SQL command. I'm not sure if it is in the standard. From andrew at learningware.com Thu Feb 12 16:01:54 2004 From: andrew at learningware.com (Andrew Sinning) Date: Thu Feb 12 15:58:50 2004 Subject: SHOW TABLES? In-Reply-To: <3D144634-5DA3-11D8-A221-000A95A4E83A@mindstarprods.com> Message-ID: ah, found it: -- dbConn in the dbObject instance count = GetBaseObjectCount(dbConn) repeat with n = 1 to count put GetBaseObjectName(dbConn,n) end repeat -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]On Behalf Of Frank Schima Sent: Thursday, February 12, 2004 3:34 PM To: Valentina Developers Subject: Re: SHOW TABLES? Hi guys, On Feb 12, 2004, at 4:00 PM, Ruslan Zasukhin wrote: > on 2/12/04 10:02 PM, Andrew Sinning at andrew@learningware.com wrote: > >> Is there a valid Valentina SQL statement such as SHOW TABLES? >> >> How does one get the tables? I remember seeing this, but now I can't >> find it in the docs. > > SELECT * FROM table_name Ruslan, I think he wants a SQL command to list all the table names in the database. MySQL, at least, has this SQL command. I'm not sure if it is in the standard. _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From yeomans at desuetude.com Thu Feb 12 17:17:03 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Feb 12 16:17:10 2004 Subject: Error 631 Message-ID: <2F812CC6-5DA9-11D8-B699-003065BB0634@desuetude.com> What does error 631 represent? It's not in my kernel docs. Charles Yeomans From sunshine at public.kherson.ua Fri Feb 13 00:35:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 16:35:35 2004 Subject: Error 631 In-Reply-To: <2F812CC6-5DA9-11D8-B699-003065BB0634@desuetude.com> Message-ID: on 2/13/04 12:17 AM, Charles Yeomans at yeomans@desuetude.com wrote: > What does error 631 represent? It's not in my kernel docs. const long errSQL_Expected_SELECT = 600; const long errSQL_Expected_FROM = 601; const long errSQL_TableNotFound = 602; const long errSQL_FieldNotFound = 603; const long errSQL_SyntaxError = 604; const long errSQL_ReadOnly = 605; const long errSQL_Expected_NULL = 606; const long errSQL_Expected_LeftBracket = 607; const long errSQL_Expected_RightBracket = 608; const long errSQL_Expected_Expression = 609; const long errSQL_WrongFieldType = 610; const long errSQL_NotStringField = 611; const long errSQL_Expected_Value = 612; const long errSQL_WrongLink = 613; const long errSQL_AmbiguousLink = 614; const long errSQL_MissingLink = 615; const long errSQL_WrongExpression = 616; const long errSQL_MixAgregativeAndNormal= 617; const long errSQL_Expected_Comma = 618; const long errSQL_NotEnoughParameters = 619; const long errSQL_Expected_TABLE = 620; const long errSQL_Expected_WHERE = 621; const long errSQL_Expected_INTO = 622; const long errSQL_Expected_VALUES = 623; const long errSQL_Expected_SET = 624; const long errSQL_Expected_ASSIGN = 625; const long errSQL_Expected_DOT = 626; const long errSQL_Invalid_FieldLength = 627; const long errSQL_Invalid_FieldValue = 628; const long errSQL_Missing_FieldValues = 629; const long errSQL_ExpectedStringConstant = 630; const long errSQL_Expected_AND = 631; const long errSQL_Expected_ONE_FIELD = 632; // semantic errors: const long errSQL_FieldNotFromSelectedTable = 640; -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Feb 12 17:36:00 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Feb 12 16:36:05 2004 Subject: SQL query question Message-ID: The following query results in error 612. SELECT M1.matter_name FROM Matters M1, Matters M2 WHERE M1.leftIndex BETWEEN M2.leftIndex AND M2.rightIndex AND M2.matter_name='ICI' Is such a query not possible in the current version of Valentina? Charles Yeomans From sunshine at public.kherson.ua Fri Feb 13 00:39:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 16:39:56 2004 Subject: SQL query question In-Reply-To: Message-ID: on 2/13/04 12:36 AM, Charles Yeomans at yeomans@desuetude.com wrote: > The following query results in error 612. > SELECT M1.matter_name FROM Matters M1, Matters M2 WHERE M1.leftIndex > BETWEEN M2.leftIndex AND M2.rightIndex AND M2.matter_name='ICI' > > Is such a query not possible in the current version of Valentina? But where is your link condition Charles? It seems you have self-recursion yes? With ObjectPtr this 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 yeomans at desuetude.com Thu Feb 12 18:01:32 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Feb 12 17:01:36 2004 Subject: SQL query question In-Reply-To: References: Message-ID: <6655A897-5DAF-11D8-B699-003065BB0634@desuetude.com> On Feb 12, 2004, at 5:39 PM, Ruslan Zasukhin wrote: > on 2/13/04 12:36 AM, Charles Yeomans at yeomans@desuetude.com wrote: > >> The following query results in error 612. >> SELECT M1.matter_name FROM Matters M1, Matters M2 WHERE M1.leftIndex >> BETWEEN M2.leftIndex AND M2.rightIndex AND M2.matter_name='ICI' >> >> Is such a query not possible in the current version of Valentina? > > But where is your link condition Charles? > > It seems you have self-recursion yes? > With ObjectPtr this works > I am trying something different. There is another model for representing hierarchical data in a table, based on nested sets. The idea is this. A "set" is an interval [a, b]. To each record I associate such a set. Then I say that record X is a child of record Y if the interval associated to record X is contained in the interval associated to record Y; this clearly defines a partial ordering on the records. I store the set associated to each record in ULong fields leftIndex and rightIndex. With this scheme, the above query should return the record whose matter_name is 'ICI', plus all of its descendants. Charles Yeomans From sunshine at public.kherson.ua Fri Feb 13 01:20:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 17:21:05 2004 Subject: SQL query question In-Reply-To: <6655A897-5DAF-11D8-B699-003065BB0634@desuetude.com> Message-ID: on 2/13/04 1:01 AM, Charles Yeomans at yeomans@desuetude.com wrote: > On Feb 12, 2004, at 5:39 PM, Ruslan Zasukhin wrote: > >> on 2/13/04 12:36 AM, Charles Yeomans at yeomans@desuetude.com wrote: >> >>> The following query results in error 612. >>> SELECT M1.matter_name FROM Matters M1, Matters M2 WHERE M1.leftIndex >>> BETWEEN M2.leftIndex AND M2.rightIndex AND M2.matter_name='ICI' >>> >>> Is such a query not possible in the current version of Valentina? >> >> But where is your link condition Charles? >> >> It seems you have self-recursion yes? >> With ObjectPtr this works >> > > I am trying something different. There is another model for > representing hierarchical data in a table, based on nested sets. The > idea is this. A "set" is an interval [a, b]. Aha. You do WHERE M1.leftIndex BETWEEN M2.leftIndex AND M2.rightIndex In any case you must at first make JOIN on 2 tables, Before use fields from both. And yes, I afraid such query will not work. > To each record I associate such a set. Then I say that record X is a child of > record Y if the interval associated to record X is contained in the interval > associated to record Y; this clearly defines a partial ordering on the > records. I store the set associated to each record in ULong fields leftIndex > and rightIndex. Interesting. I have never it seems hear about such kind if relation :-) > With this scheme, the above query should return the record whose > matter_name is 'ICI', plus all of its descendants. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 13 01:22:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 17:22:37 2004 Subject: SQL query question In-Reply-To: <6655A897-5DAF-11D8-B699-003065BB0634@desuetude.com> Message-ID: on 2/13/04 1:01 AM, Charles Yeomans at yeomans@desuetude.com wrote: >>> The following query results in error 612. >>> SELECT M1.matter_name FROM Matters M1, Matters M2 WHERE M1.leftIndex >>> BETWEEN M2.leftIndex AND M2.rightIndex AND M2.matter_name='ICI' >>> >>> Is such a query not possible in the current version of Valentina? >> >> But where is your link condition Charles? >> >> It seems you have self-recursion yes? >> With ObjectPtr this works >> > > I am trying something different. There is another model for > representing hierarchical data in a table, based on nested sets. The > idea is this. A "set" is an interval [a, b]. To each record I > associate such a set. Then I say that record X is a child of record Y > if the interval associated to record X is contained in the interval > associated to record Y; this clearly defines a partial ordering on the > records. I store the set associated to each record in ULong fields > leftIndex and rightIndex. > > With this scheme, the above query should return the record whose > matter_name is 'ICI', plus all of its descendants. IF you search childs of just ONE record, Then I think you can ask only ONE table on BETWEEN May be you need to use fld IN SUBSELECT For you 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 fb at memedia.de Fri Feb 13 00:24:37 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Feb 12 17:24:46 2004 Subject: V4MD Message-ID: The good news is: Director MX2004 is out. The even better news: my tests with the client xtra are promising: everything tested has worked Florian From yeomans at desuetude.com Thu Feb 12 18:30:13 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Feb 12 17:30:19 2004 Subject: SQL query question In-Reply-To: References: Message-ID: <68061D6B-5DB3-11D8-B699-003065BB0634@desuetude.com> On Feb 12, 2004, at 6:20 PM, Ruslan Zasukhin wrote: > on 2/13/04 1:01 AM, Charles Yeomans at yeomans@desuetude.com wrote: > >> On Feb 12, 2004, at 5:39 PM, Ruslan Zasukhin wrote: >> >>> on 2/13/04 12:36 AM, Charles Yeomans at yeomans@desuetude.com wrote: >>> >>>> The following query results in error 612. >>>> SELECT M1.matter_name FROM Matters M1, Matters M2 WHERE M1.leftIndex >>>> BETWEEN M2.leftIndex AND M2.rightIndex AND M2.matter_name='ICI' >>>> >>>> Is such a query not possible in the current version of Valentina? >>> >>> But where is your link condition Charles? >>> >>> It seems you have self-recursion yes? >>> With ObjectPtr this works >>> >> >> I am trying something different. There is another model for >> representing hierarchical data in a table, based on nested sets. The >> idea is this. A "set" is an interval [a, b]. > > Aha. > > You do > > WHERE M1.leftIndex BETWEEN M2.leftIndex AND M2.rightIndex > > In any case you must at first make JOIN on 2 tables, > Before use fields from both. > > And yes, I afraid such query will not work. Is this something that will work in v2? I gather that it is legal and works with other SQL databases. > > >> To each record I associate such a set. Then I say that record X is a >> child of >> record Y if the interval associated to record X is contained in the >> interval >> associated to record Y; this clearly defines a partial ordering on the >> records. I store the set associated to each record in ULong fields >> leftIndex >> and rightIndex. > > Interesting. > > I have never it seems hear about such kind if relation :-) > It's a very clever idea. Here are a couple of URLs. Charles Yeomans From yeomans at desuetude.com Thu Feb 12 18:34:02 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Feb 12 17:34:08 2004 Subject: SQL query question In-Reply-To: References: Message-ID: On Feb 12, 2004, at 6:22 PM, Ruslan Zasukhin wrote: > on 2/13/04 1:01 AM, Charles Yeomans at yeomans@desuetude.com wrote: > >>>> The following query results in error 612. >>>> SELECT M1.matter_name FROM Matters M1, Matters M2 WHERE M1.leftIndex >>>> BETWEEN M2.leftIndex AND M2.rightIndex AND M2.matter_name='ICI' >>>> >>>> Is such a query not possible in the current version of Valentina? >>> >>> But where is your link condition Charles? >>> >>> It seems you have self-recursion yes? >>> With ObjectPtr this works >>> >> >> I am trying something different. There is another model for >> representing hierarchical data in a table, based on nested sets. The >> idea is this. A "set" is an interval [a, b]. To each record I >> associate such a set. Then I say that record X is a child of record Y >> if the interval associated to record X is contained in the interval >> associated to record Y; this clearly defines a partial ordering on the >> records. I store the set associated to each record in ULong fields >> leftIndex and rightIndex. >> >> With this scheme, the above query should return the record whose >> matter_name is 'ICI', plus all of its descendants. > > IF you search childs of just ONE record, > Then I think you can ask only ONE table on BETWEEN > Indeed I can. But what I really want is to do aggregate reports and that does seem to require SQL of the sort I gave. Of course I can build my reports using SQL plus some Rb programming. Charles Yeomans From listmail at gearyweb.com Thu Feb 12 16:38:57 2004 From: listmail at gearyweb.com (michael geary) Date: Thu Feb 12 17:38:21 2004 Subject: V4MD In-Reply-To: References: Message-ID: I've been using the V4MD xtra for months during beta testing of MX2004. Never hit a problem. Haven't used the server/client stuff, though. michael geary On Feb 12, 2004, at 4:24 PM, Florian Bogeschdorfer wrote: > The good news is: Director MX2004 is out. > > The even better news: my tests with the client xtra are promising: > everything tested has worked From sunshine at public.kherson.ua Fri Feb 13 01:39:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 17:39:44 2004 Subject: V4MD In-Reply-To: Message-ID: on 2/13/04 1:24 AM, Florian Bogeschdorfer at fb@memedia.de wrote: > The good news is: Director MX2004 is out. Names of version is just "perfect" :-) I always have wonder, how will be named MacOS after X ? :-) > The even better news: my tests with the client xtra are promising: > everything tested has worked great -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Fri Feb 13 00:41:43 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Feb 12 17:41:47 2004 Subject: SQL sorting Message-ID: Hi list! I have two tables, each has a date and a time field : TABLE1 myDateField1 myTimeField1 Other fields... TABLE2 myDateField2 myTimeField2 Other fields... Now I would like to make a search over both tables and sort the data first by date then by time 1. How can I sort by date and after that by time? 2. The date fields and time fields have different names in both tables but I would like to sort like this: TABLE1 01.11.2003 25.08.2003 TABLE2 10.10.2003 Wanted result: 25.08.2003 10.10.2003 01.11.2003 How can I do this? TIA, Florian From fb at memedia.de Fri Feb 13 00:44:29 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Feb 12 17:44:32 2004 Subject: AW: V4MD In-Reply-To: Message-ID: > > > The good news is: Director MX2004 is out. > > Names of version is just "perfect" :-) > > I always have wonder, how will be named MacOS after X ? :-) > Actually the US have always liked "X". Why else would they have "X-files" and XXX videos? :-) From zavpublic at mac.com Thu Feb 12 15:48:08 2004 From: zavpublic at mac.com (zavpublic@mac.com) Date: Thu Feb 12 17:49:51 2004 Subject: V4MD In-Reply-To: References: Message-ID: On Feb 12, 2004, at 3:24 PM, Florian Bogeschdorfer wrote: > The good news is: Director MX2004 is out. > > The even better news: my tests with the client xtra are promising: > everything tested has worked > > Florian And everything is what exactly? From sunshine at public.kherson.ua Fri Feb 13 01:50:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 17:50:26 2004 Subject: AW: V4MD In-Reply-To: Message-ID: on 2/13/04 1:44 AM, Florian Bogeschdorfer at fb@memedia.de wrote: > >> >>> The good news is: Director MX2004 is out. >> >> Names of version is just "perfect" :-) >> >> I always have wonder, how will be named MacOS after X ? :-) >> > > Actually the US have always liked "X". Why else would they have "X-files" > and XXX videos? So we will get MacOS XX Then MacOS XXX :-)) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 13 01:51:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 17:51:42 2004 Subject: SQL query question In-Reply-To: Message-ID: on 2/13/04 1:34 AM, Charles Yeomans at yeomans@desuetude.com wrote: >> IF you search childs of just ONE record, >> Then I think you can ask only ONE table on BETWEEN >> > > Indeed I can. But what I really want is to do aggregate reports and > that does seem to require SQL of the sort I gave. Of course I can > build my reports using SQL plus some Rb programming. Again, Try May be you need to use fld IN SUBSELECT For you 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 sunshine at public.kherson.ua Fri Feb 13 01:53:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 12 17:53:11 2004 Subject: SQL sorting In-Reply-To: Message-ID: on 2/13/04 1:41 AM, Florian Bogeschdorfer at fb@memedia.de wrote: > Hi list! > > I have two tables, each has a date and a time field : > > TABLE1 > myDateField1 > myTimeField1 > Other fields... > > TABLE2 > myDateField2 > myTimeField2 > Other fields... > > > Now I would like to make a search over both tables and sort the data first > by date then by time > > 1. How can I sort by date and after that by time? > > 2. The date fields and time fields have different names in both tables but I > would like to sort like this: > > TABLE1 > 01.11.2003 > 25.08.2003 > > TABLE2 > 10.10.2003 > > > > Wanted result: > 25.08.2003 > 10.10.2003 > 01.11.2003 > > > How can I do this? For this you need UNION, Not works in 1.x You can just self copy records into TMP record. BTW, UNION will do the same -- build TMP table. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Fri Feb 13 00:53:45 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Feb 12 17:53:48 2004 Subject: AW: V4MD In-Reply-To: Message-ID: > > Florian > > And everything is what exactly? > Creating/reading from/writing to tables and records in different styles Of course I have not tested every command ( I have never user all commands :-)) but there should not be a problem. Obviously most other xtras work too (not vList and Oscontrol) Florian From fb at memedia.de Fri Feb 13 00:55:29 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Feb 12 17:55:33 2004 Subject: AW: AW: V4MD In-Reply-To: Message-ID: > > and XXX videos? > > So we will get > > MacOS XX > > Then > > MacOS XXX > > :-)) > Maybe MacOS 2X? Or since Apple already invented the "i" and the "X", what about "Z"? Or Omega?? From zavpublic at mac.com Thu Feb 12 16:00:40 2004 From: zavpublic at mac.com (zavpublic@mac.com) Date: Thu Feb 12 18:00:51 2004 Subject: AW: V4MD In-Reply-To: References: Message-ID: On Feb 12, 2004, at 3:53 PM, Florian Bogeschdorfer wrote: > > >>> Florian >> >> And everything is what exactly? >> > > Creating/reading from/writing to tables and records in different styles > > Of course I have not tested every command ( I have never user all > commands > :-)) but there should not be a problem. > Obviously most other xtras work too (not vList and Oscontrol) > > Florian > FYI, on the Direct-l some of us have been playing with 2004 to get a feel for it. There should be an updated xtra compatibility list on UpdateStage soon. From maheshm at uniqueworld.net Fri Feb 13 12:00:21 2004 From: maheshm at uniqueworld.net (Mahesh Markus) Date: Thu Feb 12 19:00:29 2004 Subject: [V4MD] SetDateTimeFormat Message-ID: <8828FA21BDC2D44DA010E4498439D0EC5145F0@ophelia.uniqueworld.net> Can I use SetDateTimeFormat when creating a new database from Lingo, so that the dateTimeFormat persists with the database? Mahesh Markus Senior Consultant maheshm@uniqueworld.net Unique World Pty Ltd http://www.uniqueworld.net t: (02) 9268 0269 f: (02) 9268 0278 From sunshine at public.kherson.ua Fri Feb 13 10:05:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 13 02:05:52 2004 Subject: [V4MD] SetDateTimeFormat In-Reply-To: <8828FA21BDC2D44DA010E4498439D0EC5145F0@ophelia.uniqueworld.net> Message-ID: on 2/13/04 3:00 AM, Mahesh Markus at maheshm@uniqueworld.net wrote: > Can I use SetDateTimeFormat when creating a new database from Lingo, so > that the dateTimeFormat persists with the database? Hi Mahesh, As far as I remember YES. DateFormat, DateSep, TimeSep are stored inside of .vdb file You can check: change it close db open it check 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 nwoe at privat.utfors.se Fri Feb 13 09:23:42 2004 From: nwoe at privat.utfors.se (=?US-ASCII?Q?niklas_wormann?=) Date: Fri Feb 13 02:23:50 2004 Subject: [OT] SQL books anyone In-Reply-To: <8828FA21BDC2D44DA010E4498439D0EC5145F0@ophelia.uniqueworld.net> Message-ID: Hi! I have been cheating in SQL for a long time now, and i got most of the simple stuff covered when it comes to more complex relations i am having some problems though. has anyone got any tips on a more general SQL and db design book? i would appreciate it if it wasn?t tied to any specific database, although i do have access and mysql installed where i am at. TIA niklas woermann From sunshine at public.kherson.ua Fri Feb 13 10:54:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 13 02:55:25 2004 Subject: [OT] SQL books anyone In-Reply-To: Message-ID: on 2/13/04 10:23 AM, niklas wormann at nwoe@privat.utfors.se wrote: > Hi! > > I have been cheating in SQL for a long time now, and i got most of the > simple stuff covered > > when it comes to more complex relations i am having some problems though. > has anyone got any tips on a more general SQL and db design book? i would > appreciate it if it wasn?t tied to any specific database, although i do have > access and mysql installed where i am at. Hi Niklas, I like this book: James G Groff, Paul N. Weinberg SQL The complete Reference 3d edition McGraw Hill Companies, Inc, 2002 ISBN 0-07-222559-9 It have good description of SQL. But I think there is no info on database design. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bstreef at mac.com Fri Feb 13 13:34:47 2004 From: bstreef at mac.com (Bas Streef) Date: Fri Feb 13 06:34:59 2004 Subject: [V4RB] Styled text and utf8 Message-ID: <0286E9EA-5E21-11D8-98C9-000393695B8C@mac.com> Hi all, I can store styled text in a VarBinaryField and I can store utf8 encoded text in a TextField which reads back in the RB editfield just fine. So I can have styled text or diacritical characters without problem, but I cannot have styled diacritical characters. If I try that, the style is not applied to the original characters, but is shifted some characters to the left, or the styled text disappears completely, or even stranger effects appear. Does somebody know what's wrong or how to remedy this? Thanks From maxprog at mac.com Fri Feb 13 14:00:46 2004 From: maxprog at mac.com (Stan Busk) Date: Fri Feb 13 07:00:55 2004 Subject: [V4RB] Styled text and utf8 In-Reply-To: <0286E9EA-5E21-11D8-98C9-000393695B8C@mac.com> References: <0286E9EA-5E21-11D8-98C9-000393695B8C@mac.com> Message-ID: Hi, This is because you can't apply a style to UTF-8 text using RB functions. Encode/Decode your text to systemdefault first. ~/Stan > Hi all, > > I can store styled text in a VarBinaryField and I can store utf8 > encoded text > in a TextField which reads back in the RB editfield just fine. So I > can have > styled text or diacritical characters without problem, but I cannot > have > styled diacritical characters. If I try that, the style is not applied > to the original characters, but is shifted some characters to the > left, or the styled text disappears completely, or even stranger > effects > appear. > Does somebody know what's wrong or how to remedy this? > > Thanks > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From jda at his.com Fri Feb 13 08:20:59 2004 From: jda at his.com (jda) Date: Fri Feb 13 07:21:09 2004 Subject: [V4RB] Styled text and utf8 In-Reply-To: References: <0286E9EA-5E21-11D8-98C9-000393695B8C@mac.com> Message-ID: >Hi, > >This is because you can't apply a style to UTF-8 text using RB >functions. Encode/Decode your text to systemdefault first. > >~/Stan > Actually, you can, but it's a PITA. You can walk through the styled text runs of the TextStyleData and adjust + or - for any non-ASCII characters you run into. But this requires getting down and dirty with the way RB stores styled text data, and I don't recommend it unless you really need it (like I do). Better to do what Stan suggests if that's sufficient for your needs. Jon From gregkowalski at earthlink.net Fri Feb 13 10:23:54 2004 From: gregkowalski at earthlink.net (Greg Kowalski) Date: Fri Feb 13 09:22:03 2004 Subject: no_case question Message-ID: Hello, I want to make a search using the "=" operator and also have it case insensitive. Using "no_case" doesn't seem to work. Is there a way? Also, is "no_case" only for the "LIKE" operator? Thank you Greg From sunshine at public.kherson.ua Fri Feb 13 17:26:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 13 09:26:52 2004 Subject: no_case question In-Reply-To: Message-ID: on 2/13/04 5:23 PM, Greg Kowalski at gregkowalski@earthlink.net wrote: > Hello, > > I want to make a search using the "=" operator and also have it case > insensitive. Using "no_case" doesn't seem to work. Is there a way? > > Also, is "no_case" only for the "LIKE" operator? Hi Greg, This is in FAQs. You need to use BaseObject 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 nwoe at privat.utfors.se Fri Feb 13 16:26:56 2004 From: nwoe at privat.utfors.se (=?US-ASCII?Q?niklas_wormann?=) Date: Fri Feb 13 09:27:05 2004 Subject: SV: no_case question In-Reply-To: Message-ID: > -----Ursprungligt meddelande----- > Fran: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net]For Greg Kowalski > Skickat: den 13 februari 2004 16:24 > Till: valentina@lists.macserve.net > Amne: no_case question > > > Hello, > > I want to make a search using the "=" operator and also have it case > insensitive. Using "no_case" doesn't seem to work. Is there a way? > > Also, is "no_case" only for the "LIKE" operator? > > Thank you > > Greg > > > Hi! as far as i understand "no_case" is for "like" you need to create a method field that converts the field content to upper case and then make your search word upper case as well, then you can search using "=" hth niklas woermann From gregkowalski at earthlink.net Fri Feb 13 10:41:03 2004 From: gregkowalski at earthlink.net (Greg Kowalski) Date: Fri Feb 13 09:39:12 2004 Subject: Disregard no_case question Message-ID: Please disregard. problem solved. G. ----- Original message: --Hello, --I want to make a search using the "=" operator and also have it case --insensitive. Using "no_case" doesn't seem to work. Is there a way? --Also, is "no_case" only for the "LIKE" operator? --Thank you --Greg From gregkowalski at earthlink.net Fri Feb 13 10:50:01 2004 From: gregkowalski at earthlink.net (Greg Kowalski) Date: Fri Feb 13 09:48:09 2004 Subject: no_case response Message-ID: I solved the problem using: WHERE str_fld LIKE '\ANew York\Z' no_case This gives me search identical to using the "=" operator only it is case insenstive. is this correct? Greg ----- Message: 12 Date: Fri, 13 Feb 2004 17:26:38 +0200 From: Ruslan Zasukhin Subject: Re: no_case question To: Message-ID: Content-Type: text/plain; charset="US-ASCII" on 2/13/04 5:23 PM, Greg Kowalski at gregkowalski@earthlink.net wrote: > Hello, > > I want to make a search using the "=" operator and also have it case > insensitive. Using "no_case" doesn't seem to work. Is there a way? > > Also, is "no_case" only for the "LIKE" operator? Hi Greg, This is in FAQs. You need to use BaseObject method From sunshine at public.kherson.ua Fri Feb 13 17:53:12 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 13 09:53:20 2004 Subject: no_case response In-Reply-To: Message-ID: on 2/13/04 5:50 PM, Greg Kowalski at gregkowalski@earthlink.net wrote: > I solved the problem using: > > WHERE str_fld LIKE '\ANew York\Z' no_case > > This gives me search identical to using the "=" operator only it is case > insenstive. > > is this correct? 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 erichg at mcmm.com Fri Feb 13 17:18:04 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Fri Feb 13 10:18:34 2004 Subject: Project shipped Message-ID: Hi, I just wanted to inform all that my V4MD project has finally shipped. It allows a single user database as well as a networked VServer DB, runs on PC and Mac and worked reliably during all final tests. There have been some problems related to the way I use the Xtras during the installation process (I need to switch between V4MD and V4MD_Client a couple of times) on older Mac systems (OS 8 and 9) but that is surely not standard usage. I was able to cope with that by restricting some installation options for these systems. Thanks for your help during development, especially to Ruslan. Best regards, -- Erich Geiersberger Media Connect Multimedia Gratzmuellerstr. 1 86150 Augsburg, Germany Tel: +49 821/ 34752 - 0 fax: +49 821/ 34752 - 49 eMail erichg@mcmm.com http://www.mcmm.com From sunshine at public.kherson.ua Fri Feb 13 18:47:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 13 10:48:02 2004 Subject: Project shipped In-Reply-To: Message-ID: on 2/13/04 6:18 PM, Erich Geiersberger at erichg@mcmm.com wrote: > Hi, > > I just wanted to inform all that my V4MD project has finally shipped. > It allows a single user database as well as a networked VServer DB, > runs on PC and Mac and worked reliably during all final tests. > > There have been some problems related to the way I use the Xtras > during the installation process (I need to switch between V4MD and > V4MD_Client a couple of times) on older Mac systems (OS 8 and 9) but > that is surely not standard usage. > > I was able to cope with that by restricting some installation options > for these systems. > > Thanks for your help during development, especially to Ruslan. Congratulations, Erich! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ernestogiannotta at tiscalinet.it Fri Feb 13 18:51:48 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Fri Feb 13 11:54:50 2004 Subject: [V4RB] Styled text and utf8 In-Reply-To: <0286E9EA-5E21-11D8-98C9-000393695B8C@mac.com> Message-ID: on 13-02-2004 13:34, Bas Streef at bstreef@mac.com wrote: > Hi all, > > I can store styled text in a VarBinaryField and I can store utf8 > encoded text > in a TextField which reads back in the RB editfield just fine. So I can > have > styled text or diacritical characters without problem, but I cannot have > styled diacritical characters. If I try that, the style is not applied > to the original characters, but is shifted some characters to the > left, or the styled text disappears completely, or even stranger effects > appear. > Does somebody know what's wrong or how to remedy this? > Hi, you can wait for next version of RB (5.5) that will sport a new StyledText class or you can copy the editfield's contents to the clipboard get the Unicode style data in there (can't remember now the exact Mac data signature for those) and store them in the DB then when retrieving data from the DB create a new clipboard class store the text in the TEXT data and the style in the Style data the paste it in the Editfield... tricky but works... I have some classes for that Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From softil at onlinehome.de Fri Feb 13 19:56:43 2004 From: softil at onlinehome.de (SoftIl) Date: Fri Feb 13 12:57:48 2004 Subject: [VNET] 2 question about fields Message-ID: <000001c3f263$42542240$fe78a8c0@IPSBASIS> Hi, my first question: Is it possible to rename an existing field in an baseobject and in case of true, how can I do that? second question: How can I read (and change) the properties of an existing field from an baseobject? I haven't found an methode like VField _field = myBaseObject.GetField(myFildName) I have only found methodes to create and delete fields. Thanks for your help, Carsten From sunshine at public.kherson.ua Fri Feb 13 21:06:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 13 13:06:22 2004 Subject: [VNET] 2 question about fields In-Reply-To: <000001c3f263$42542240$fe78a8c0@IPSBASIS> Message-ID: on 2/13/04 8:56 PM, SoftIl at softil@onlinehome.de wrote: Hi Carsten, > Hi, > my first question: > Is it possible to rename an existing field in an baseobject and in case of > true, how can I do that? In theory, class Field must have property Name. Just assign it new value. > second question: > How can I read (and change) the properties of an existing field from an > baseobject? > I haven't found an methode like > VField _field = myBaseObject.GetField(myFildName) > > I have only found methodes to create and delete fields. Hmm, but does exists methods to set e.g. Flags of Fields? Must be GetField(). Please check 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 cm_sheffield at yahoo.com Fri Feb 13 12:36:01 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Fri Feb 13 14:36:07 2004 Subject: VXCMD_Client_Classic_MC Message-ID: <20040213203601.97496.qmail@web20405.mail.yahoo.com> How can I make the Classic version of the VXCMD client work with Revolution? I've got the CODE resource from the normal VXCMD (non-client) version in my stack resource, but that's not working. Is there a CODE resource that corresponds to the client version? When I try to launch my build application it just with no error or anything. Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From sunshine at public.kherson.ua Fri Feb 13 22:48:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 13 14:48:53 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: <20040213203601.97496.qmail@web20405.mail.yahoo.com> Message-ID: on 2/13/04 10:36 PM, Chris Sheffield at cm_sheffield@yahoo.com wrote: > How can I make the Classic version of the VXCMD client > work with Revolution? I've got the CODE resource from > the normal VXCMD (non-client) version in my stack > resource, but that's not working. Is there a CODE > resource that corresponds to the client version? When > I try to launch my build application it just with no > error or anything. Hi Chris, Frankly saying I have not tests Classic version yet. Other versions Carbon, Macho works for you? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Fri Feb 13 13:13:32 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Fri Feb 13 15:13:40 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: Message-ID: <20040213211332.45908.qmail@web20418.mail.yahoo.com> I haven't tried Carbon, but Macho works perfectly. Can I use the Carbon version with OS 9? Is there a difference between that and the Classic version? If so, what changes need to be made? Thanks again --- Ruslan Zasukhin wrote: > on 2/13/04 10:36 PM, Chris Sheffield at > cm_sheffield@yahoo.com wrote: > > > How can I make the Classic version of the VXCMD > client > > work with Revolution? I've got the CODE resource > from > > the normal VXCMD (non-client) version in my stack > > resource, but that's not working. Is there a CODE > > resource that corresponds to the client version? > When > > I try to launch my build application it just with > no > > error or anything. > > Hi Chris, > > Frankly saying I have not tests Classic version yet. > > Other versions Carbon, Macho works for you? > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From sunshine at public.kherson.ua Fri Feb 13 23:23:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 13 15:23:56 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: <20040213211332.45908.qmail@web20418.mail.yahoo.com> Message-ID: on 2/13/04 11:13 PM, Chris Sheffield at cm_sheffield@yahoo.com wrote: > I haven't tried Carbon, but Macho works perfectly. > Can I use the Carbon version with OS 9? Yes > Is there a difference between that and the Classic version? If so, what > changes need to be made? >From your side any changes. Just use other VXCMD carbon. Classic version theoretically should work on OS 8.5 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From softil at onlinehome.de Fri Feb 13 22:33:26 2004 From: softil at onlinehome.de (SoftIl) Date: Fri Feb 13 15:34:37 2004 Subject: [VNET] 2 question about fields References: Message-ID: <000001c3f279$2b11d760$fe78a8c0@IPSBASIS> Hi Ruslan, > In theory, class Field must have property Name. > Just assign it new value. No, it doesn't has such property, but in the field class there is an methode "SetName()". I think with this I can rename the field. But how can I get an access to an existing field? > Hmm, but does exists methods to set e.g. Flags of Fields? > > Must be GetField(). > Please check again. There isn't such methode, or I can't find it. Only methods CreateField() and DeleteField(). Best regards Carsten ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Friday, February 13, 2004 8:06 PM Subject: Re: [VNET] 2 question about fields > on 2/13/04 8:56 PM, SoftIl at softil@onlinehome.de wrote: > > Hi Carsten, > > > Hi, > > my first question: > > Is it possible to rename an existing field in an baseobject and in case of > > true, how can I do that? > > In theory, class Field must have property Name. > Just assign it new value. > > > > second question: > > How can I read (and change) the properties of an existing field from an > > baseobject? > > > I haven't found an methode like > > VField _field = myBaseObject.GetField(myFildName) > > > > I have only found methodes to create and delete fields. > > Hmm, but does exists methods to set e.g. Flags of Fields? > > Must be GetField(). > Please check 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 > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri Feb 13 23:44:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 13 15:45:07 2004 Subject: [VNET] 2 question about fields In-Reply-To: <000001c3f279$2b11d760$fe78a8c0@IPSBASIS> Message-ID: on 2/13/04 11:33 PM, SoftIl at softil@onlinehome.de wrote: > Hi Ruslan, >> In theory, class Field must have property Name. >> Just assign it new value. > No, it doesn't has such property, but in the field class there is an methode > "SetName()". > I think with this I can rename the field. > But how can I get an access to an existing field? > >> Hmm, but does exists methods to set e.g. Flags of Fields? >> >> Must be GetField(). >> Please check again. > There isn't such methode, or I can't find it. > Only methods CreateField() and DeleteField(). Yes you are right. Only in Cursor there is GetField() method. I must update tomorrow VNET then. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gagraham at comcast.net Fri Feb 13 14:46:00 2004 From: gagraham at comcast.net (George A. Graham Jr.) Date: Fri Feb 13 15:46:09 2004 Subject: [VNET] 2 question about fields In-Reply-To: <000001c3f279$2b11d760$fe78a8c0@IPSBASIS> Message-ID: SoftI1, I thought I would put my two cents in. If the VNET version is anything like th V4RB version you use the GetField method of a BasObject. Then you would set the Name property of the VField object returned by GetField to whatever you wanted. dim fld as VField, bo as VBaseObject ... fld = bo.GetField("oldname") fld.Name = "newname" This should work. Regards, George -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]On Behalf Of SoftIl Sent: Friday, February 13, 2004 2:33 PM To: Valentina Developers Subject: Re: [VNET] 2 question about fields Hi Ruslan, > In theory, class Field must have property Name. > Just assign it new value. No, it doesn't has such property, but in the field class there is an methode "SetName()". I think with this I can rename the field. But how can I get an access to an existing field? > Hmm, but does exists methods to set e.g. Flags of Fields? > > Must be GetField(). > Please check again. There isn't such methode, or I can't find it. Only methods CreateField() and DeleteField(). Best regards Carsten ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Friday, February 13, 2004 8:06 PM Subject: Re: [VNET] 2 question about fields > on 2/13/04 8:56 PM, SoftIl at softil@onlinehome.de wrote: > > Hi Carsten, > > > Hi, > > my first question: > > Is it possible to rename an existing field in an baseobject and in case of > > true, how can I do that? > > In theory, class Field must have property Name. > Just assign it new value. > > > > second question: > > How can I read (and change) the properties of an existing field from an > > baseobject? > > > I haven't found an methode like > > VField _field = myBaseObject.GetField(myFildName) > > > > I have only found methodes to create and delete fields. > > Hmm, but does exists methods to set e.g. Flags of Fields? > > Must be GetField(). > Please check 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 > ------------------------------------------------------------- > > _______________________________________________ > 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 cm_sheffield at yahoo.com Fri Feb 13 13:54:01 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Fri Feb 13 15:54:06 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: Message-ID: <20040213215401.12870.qmail@web20405.mail.yahoo.com> The Carbon version doesn't work either. My app launches, but doesn't seem to connect to the database at all, whether it's standalone or network. At least the Classic version lets me connect to a stand alone database. Is there a CODE resource available for the Classic client version like there is for the regular Clasic version? Thanks for you help, --- Ruslan Zasukhin wrote: > on 2/13/04 11:13 PM, Chris Sheffield at > cm_sheffield@yahoo.com wrote: > > > I haven't tried Carbon, but Macho works perfectly. > > Can I use the Carbon version with OS 9? > > Yes > > > Is there a difference between that and the Classic > version? If so, what > > changes need to be made? > > >From your side any changes. > Just use other VXCMD carbon. > > Classic version theoretically should work on OS 8.5 > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From sunshine at public.kherson.ua Fri Feb 13 23:57:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 13 15:57:36 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: <20040213215401.12870.qmail@web20405.mail.yahoo.com> Message-ID: on 2/13/04 11:54 PM, Chris Sheffield at cm_sheffield@yahoo.com wrote: > The Carbon version doesn't work either. My app > launches, but doesn't seem to connect to the database > at all, whether it's standalone or network. At least > the Classic version lets me connect to a stand alone > database. Is there a CODE resource available for the > Classic client version like there is for the regular > Clasic version? I must check all this. At least I think I must build both CODE and VXCMD for clients, And put them both into archive. May be tomorrow I will find time 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 cm_sheffield at yahoo.com Fri Feb 13 14:31:42 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Fri Feb 13 16:31:54 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: Message-ID: <20040213223142.27730.qmail@web20420.mail.yahoo.com> The sooner the better. If it's done by early next week (Monday or Tuesday) that would be great. Thanks again. --- Ruslan Zasukhin wrote: > on 2/13/04 11:54 PM, Chris Sheffield at > cm_sheffield@yahoo.com wrote: > > > The Carbon version doesn't work either. My app > > launches, but doesn't seem to connect to the > database > > at all, whether it's standalone or network. At > least > > the Classic version lets me connect to a stand > alone > > database. Is there a CODE resource available for > the > > Classic client version like there is for the > regular > > Clasic version? > > I must check all this. > > At least I think I must build both CODE and VXCMD > for clients, > And put them both into archive. > > May be tomorrow I will find time 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 > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From softil at onlinehome.de Sat Feb 14 09:14:04 2004 From: softil at onlinehome.de (SoftIl) Date: Sat Feb 14 02:14:29 2004 Subject: [VNET] 2 question about fields References: Message-ID: <000501c3f2d2$8ef34f30$fe78a8c0@IPSBASIS> Hi George, > fld = bo.GetField("oldname") > fld.Name = "newname" > > This should work. That's right, but in the current VNET version there is no baseobject methode "GetField()". Thanks for your answer, Carsten ----- Original Message ----- From: "George A. Graham Jr." To: "Valentina Developers" Sent: Friday, February 13, 2004 10:46 PM Subject: RE: [VNET] 2 question about fields > SoftI1, > > I thought I would put my two cents in. If the VNET version is anything like > th V4RB version you use the GetField method of a BasObject. Then you would > set the Name property of the VField object returned by GetField to whatever > you wanted. > > dim fld as VField, bo as VBaseObject > ... > fld = bo.GetField("oldname") > fld.Name = "newname" > > This should work. > > Regards, > George > > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net]On Behalf Of SoftIl > Sent: Friday, February 13, 2004 2:33 PM > To: Valentina Developers > Subject: Re: [VNET] 2 question about fields > > > Hi Ruslan, > > In theory, class Field must have property Name. > > Just assign it new value. > No, it doesn't has such property, but in the field class there is an methode > "SetName()". > I think with this I can rename the field. > But how can I get an access to an existing field? > > > Hmm, but does exists methods to set e.g. Flags of Fields? > > > > Must be GetField(). > > Please check again. > There isn't such methode, or I can't find it. > Only methods CreateField() and DeleteField(). > > Best regards > Carsten > > ----- Original Message ----- > From: "Ruslan Zasukhin" > To: > Sent: Friday, February 13, 2004 8:06 PM > Subject: Re: [VNET] 2 question about fields > > > > on 2/13/04 8:56 PM, SoftIl at softil@onlinehome.de wrote: > > > > Hi Carsten, > > > > > Hi, > > > my first question: > > > Is it possible to rename an existing field in an baseobject and in case > of > > > true, how can I do that? > > > > In theory, class Field must have property Name. > > Just assign it new value. > > > > > > > second question: > > > How can I read (and change) the properties of an existing field from an > > > baseobject? > > > > > I haven't found an methode like > > > VField _field = myBaseObject.GetField(myFildName) > > > > > > I have only found methodes to create and delete fields. > > > > Hmm, but does exists methods to set e.g. Flags of Fields? > > > > Must be GetField(). > > Please check 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 > > ------------------------------------------------------------- > > > > _______________________________________________ > > Valentina mailing list > > Valentina@lists.macserve.net > > http://lists.macserve.net/mailman/listinfo/valentina > > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From softil at onlinehome.de Sat Feb 14 09:59:15 2004 From: softil at onlinehome.de (SoftIl) Date: Sat Feb 14 02:59:36 2004 Subject: [VNET] a next question about fields References: <000001c3f263$42542240$fe78a8c0@IPSBASIS> Message-ID: <000301c3f2d8$dc8f6a70$fe78a8c0@IPSBASIS> Hi, Is it possible to change the fieldtype of an existing field and in case of true, how can I do that? I found the field methode "GetType()", but not a methode "SetType()". I think it is possible, because in Valentina Studio I can do that easy. Thanks for your help, Carsten From bstreef at mac.com Sat Feb 14 11:26:52 2004 From: bstreef at mac.com (Bas Streef) Date: Sat Feb 14 04:27:00 2004 Subject: [V4RB] Styled text and utf8 Message-ID: <4E636E3A-5ED8-11D8-8B96-000393695B8C@mac.com> OK, thanks for your answers. I wait for StyledText to work in RB 5.5 Bas Streef From sunshine at public.kherson.ua Sat Feb 14 13:33:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 14 05:33:45 2004 Subject: [VNET] a next question about fields In-Reply-To: <000301c3f2d8$dc8f6a70$fe78a8c0@IPSBASIS> Message-ID: on 2/14/04 10:59 AM, SoftIl at softil@onlinehome.de wrote: > Hi, > Is it possible to change the fieldtype of an existing field and in case of > true, how can I do that? > I found the field methode "GetType()", but not a methode "SetType()". > I think it is possible, because in Valentina Studio I can do that easy. Ok, such method must be in the BaseObject class. ChangeType -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Sat Feb 14 13:53:49 2004 From: softil at onlinehome.de (SoftIl) Date: Sat Feb 14 06:54:47 2004 Subject: [VNET] questions about fields References: Message-ID: <000201c3f2f9$b8a5adb0$fe78a8c0@IPSBASIS> Hi Ruslan, >Ok, such method must be in the BaseObject class. > ChangeType Means your answer, you will add this methode to the BaseObject class? Because I can't find such methode in my VNET version from december 2003. If I understand you right, that you will add two new BaseObject methodes: a) ChangeType() - for change the fieldtype of an existing field; b) GetField() - for get return an handle of an existing field; Please can you inform me, if your are ready with the new VNET update? Best regards, Carsten From sunshine at public.kherson.ua Sat Feb 14 16:49:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 14 08:49:32 2004 Subject: [VNET] questions about fields In-Reply-To: <000201c3f2f9$b8a5adb0$fe78a8c0@IPSBASIS> Message-ID: on 2/14/04 2:53 PM, SoftIl at softil@onlinehome.de wrote: > Hi Ruslan, >> Ok, such method must be in the BaseObject class. >> ChangeType > Means your answer, you will add this methode to the BaseObject class? Yes, Carsten. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 14 17:01:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 14 09:01:34 2004 Subject: [VNET] questions about fields In-Reply-To: <000201c3f2f9$b8a5adb0$fe78a8c0@IPSBASIS> Message-ID: on 2/14/04 2:53 PM, SoftIl at softil@onlinehome.de wrote: > Hi Ruslan, >> Ok, such method must be in the BaseObject class. >> ChangeType > Means your answer, you will add this methode to the BaseObject class? > Because I can't find such methode in my VNET version from december 2003. > > If I understand you right, that you will add two new BaseObject methodes: > a) ChangeType() - for change the fieldtype of an existing field; > b) GetField() - for get return an handle of an existing field; > > Please can you inform me, if your are ready with the new VNET update? You can download new build from RELEASE page marked as 1.10 Date must be 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 softil at onlinehome.de Sat Feb 14 18:08:48 2004 From: softil at onlinehome.de (SoftIl) Date: Sat Feb 14 11:09:19 2004 Subject: [VNET] questions about fields References: Message-ID: <000301c3f31d$464935b0$fe78a8c0@IPSBASIS> Hi Ruslan, thanks for your very fast work. :-) There is only one little mistake with the GetField() methode. I can't check the result handle, is it valid or not. I get always true if I do the following: VNET.VField myField = myBaseObject.GetField(myFieldName); //myField isn't exist in Baseobject if (myField == null) do something //this code will never called. else do other things; Please can you correct this? Or can I check the field state on other way? Best regards, Carsten ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Saturday, February 14, 2004 4:01 PM Subject: Re: [VNET] questions about fields > on 2/14/04 2:53 PM, SoftIl at softil@onlinehome.de wrote: > > > Hi Ruslan, > >> Ok, such method must be in the BaseObject class. > >> ChangeType > > Means your answer, you will add this methode to the BaseObject class? > > Because I can't find such methode in my VNET version from december 2003. > > > > If I understand you right, that you will add two new BaseObject methodes: > > a) ChangeType() - for change the fieldtype of an existing field; > > b) GetField() - for get return an handle of an existing field; > > > > Please can you inform me, if your are ready with the new VNET update? > > You can download new build from RELEASE page marked as 1.10 > Date must be 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 > From sunshine at public.kherson.ua Sat Feb 14 19:16:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 14 11:16:33 2004 Subject: [VNET] questions about fields In-Reply-To: <000301c3f31d$464935b0$fe78a8c0@IPSBASIS> Message-ID: on 2/14/04 7:08 PM, SoftIl at softil@onlinehome.de wrote: Hi Carsten, > Hi Ruslan, > thanks for your very fast work. :-) > There is only one little mistake with the GetField() methode. > I can't check the result handle, is it valid or not. > I get always true if I do the following: > VNET.VField myField = myBaseObject.GetField(myFieldName); //myField isn't > exist in Baseobject > if (myField == null) > do something //this code will never called. > else > do other things; > > Please can you correct this? > Or can I check the field state on other way? Aha, I see mistake. Will fix it 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 Sat Feb 14 19:24:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 14 11:25:00 2004 Subject: [VNET] questions about fields In-Reply-To: Message-ID: on 2/14/04 7:16 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > on 2/14/04 7:08 PM, SoftIl at softil@onlinehome.de wrote: > > Hi Carsten, > >> Hi Ruslan, >> thanks for your very fast work. :-) >> There is only one little mistake with the GetField() methode. >> I can't check the result handle, is it valid or not. >> I get always true if I do the following: >> VNET.VField myField = myBaseObject.GetField(myFieldName); //myField isn't >> exist in Baseobject >> if (myField == null) >> do something //this code will never called. >> else >> do other things; >> >> Please can you correct this? >> Or can I check the field state on other way? > > Aha, I see mistake. > > Will fix it now. You can download new build -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From softil at onlinehome.de Sun Feb 15 01:33:42 2004 From: softil at onlinehome.de (SoftIl) Date: Sat Feb 14 18:34:35 2004 Subject: [VNET] questions about fields References: Message-ID: <000001c3f35b$7c549f80$fe78a8c0@IPSBASIS> Good Morning Ruslan, > You can download new build Thanks a lot. Now it works great. Best regards, Carsten ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Saturday, February 14, 2004 6:24 PM Subject: Re: [VNET] questions about fields > on 2/14/04 7:16 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > > > on 2/14/04 7:08 PM, SoftIl at softil@onlinehome.de wrote: > > > > Hi Carsten, > > > >> Hi Ruslan, > >> thanks for your very fast work. :-) > >> There is only one little mistake with the GetField() methode. > >> I can't check the result handle, is it valid or not. > >> I get always true if I do the following: > >> VNET.VField myField = myBaseObject.GetField(myFieldName); //myField isn't > >> exist in Baseobject > >> if (myField == null) > >> do something //this code will never called. > >> else > >> do other things; > >> > >> Please can you correct this? > >> Or can I check the field state on other way? > > > > Aha, I see mistake. > > > > Will fix it now. > > You can download new build > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From andrew at learningware.com Sun Feb 15 13:59:12 2004 From: andrew at learningware.com (Andrew Sinning) Date: Sun Feb 15 13:56:16 2004 Subject: .blb file not shrinking after deleting ALL entries In-Reply-To: <8828FA21BDC2D44DA010E4498439D0EC7738D4@ophelia.uniqueworld.net> Message-ID: I asked about this last week, but didn't have time to follow up. I add 100 entries to a table. The table has a single BLOB field. My .blb file grows to 3.5Mb. Now, I execute 2 queries: DELETE FROM testTable COMPACT (I also tried "COMPACT DATABASE" at Ruslan's suggestion) The size of the .blb file is STILL 3.5Mb. If I test the number of records in testTable, I get 0. What is going on? Thanks! From sunshine at public.kherson.ua Sun Feb 15 22:00:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 15 14:00:41 2004 Subject: .blb file not shrinking after deleting ALL entries In-Reply-To: Message-ID: on 2/15/04 9:59 PM, Andrew Sinning at andrew@learningware.com wrote: > I asked about this last week, but didn't have time to follow up. > > I add 100 entries to a table. The table has a single BLOB field. My > .blb file grows to 3.5Mb. > > Now, I execute 2 queries: > > DELETE FROM testTable > COMPACT (I also tried "COMPACT DATABASE" at Ruslan's suggestion) > > > The size of the .blb file is STILL 3.5Mb. > > If I test the number of records in testTable, I get 0. Strange. COMPACT should move it down. You can use XML dump then to get smaller db. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andrew at learningware.com Sun Feb 15 15:02:19 2004 From: andrew at learningware.com (Andrew Sinning) Date: Sun Feb 15 14:59:25 2004 Subject: .blb file not shrinking after deleting ALL entries In-Reply-To: Message-ID: Ruslan, Hi. Didn't expect an answer on a Sunday. Thanks! I have added to my BLOB creation a COMPRESSED property: vList BLOB NOT NULL COMPRESSED with quite unbelievable results. The read/write speeds are still 5 times faster than using the vList xtra method of saving to a file (10 times faster without comression), only now instead of being 2X the size of the vList files, the Valentina .blb containing 100 records is 1/7th the size of 100 vList files! I have two questions about compression: 1) What kind of compression is used? Is each individual blob field compressed, or is there some kind of compression going on over the entire table (by comparing entries?) Here is my concern: will the amount of time required to read/write an individual record grow if I have 10000 records, 100000 records, 1000000 records? 2) The docs state: Valentina allows you compress a BLOB field. You can make a BLOB field compressed as easy as set its flag 'Compressed' to TRUE. . On default Valentina uses ZIP compression. . You can set up level of compression in range 0..9. 0 - fastest compression. 9 - best compression. BUT, I don't see anywhere HOW to change the level of comression. Thanks. -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]On Behalf Of Ruslan Zasukhin Sent: Sunday, February 15, 2004 2:00 PM To: valentina@lists.macserve.net Subject: Re: .blb file not shrinking after deleting ALL entries on 2/15/04 9:59 PM, Andrew Sinning at andrew@learningware.com wrote: > I asked about this last week, but didn't have time to follow up. > > I add 100 entries to a table. The table has a single BLOB field. My > .blb file grows to 3.5Mb. > > Now, I execute 2 queries: > > DELETE FROM testTable > COMPACT (I also tried "COMPACT DATABASE" at Ruslan's suggestion) > > > The size of the .blb file is STILL 3.5Mb. > > If I test the number of records in testTable, I get 0. Strange. COMPACT should move it down. You can use XML dump then to get smaller db. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Sun Feb 15 23:18:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 15 15:18:49 2004 Subject: .blb file not shrinking after deleting ALL entries In-Reply-To: Message-ID: on 2/15/04 11:02 PM, Andrew Sinning at andrew@learningware.com wrote: Hi Andrew, > Hi. Didn't expect an answer on a Sunday. Thanks! > > I have added to my BLOB creation a COMPRESSED property: > > vList BLOB NOT NULL COMPRESSED > > with quite unbelievable results. The read/write speeds are still 5 > times faster than using the vList xtra method of saving to a file (10 > times faster without comression), only now instead of being 2X the size > of the vList files, the Valentina .blb containing 100 records is 1/7th > the size of 100 vList files! > > I have two questions about compression: > > 1) What kind of compression is used? ZIP > Is each individual blob field > compressed, or is there some kind of compression going on over the > entire table (by comparing entries?) Each BLOB field. Even More correctly. Each separate BLOB value. > Here is my concern: will the > amount of time required to read/write an individual record grow if I > have 10000 records, 100000 records, 1000000 records? NO. > 2) The docs state: Valentina allows you compress a BLOB field. You can > make a BLOB field compressed as easy as set its flag 'Compressed' to > TRUE. > . On default Valentina uses ZIP compression. yes > . You can set up level of compression in range 0..9. > 0 - fastest compression. > 9 - best compression. > BUT, I don't see anywhere HOW to change the level of comression. V4MD ? It seems no way. I need check why in V4MD this is not opened. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Mon Feb 16 11:01:54 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Feb 16 04:03:59 2004 Subject: .blb file not shrinking after deleting ALL entries In-Reply-To: References: Message-ID: > >> . You can set up level of compression in range 0..9. >> 0 - fastest compression. >> 9 - best compression. >> BUT, I don't see anywhere HOW to change the level of comression. > >V4MD ? > >It seems no way. > >I need check why in V4MD this is not opened. > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] I think it is also not available in vxcmd (unless I can't see it in docs). Robert From rjb at rz.uni-potsdam.de Mon Feb 16 11:03:49 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Feb 16 04:19:56 2004 Subject: .blb file not shrinking after deleting ALL entries In-Reply-To: References: Message-ID: >on 2/15/04 9:59 PM, Andrew Sinning at andrew@learningware.com wrote: > >> I asked about this last week, but didn't have time to follow up. >> >> I add 100 entries to a table. The table has a single BLOB field. My >> .blb file grows to 3.5Mb. >> >> Now, I execute 2 queries: >> >> DELETE FROM testTable >> COMPACT (I also tried "COMPACT DATABASE" at Ruslan's suggestion) >> >> >> The size of the .blb file is STILL 3.5Mb. >> >> If I test the number of records in testTable, I get 0. > >Strange. > >COMPACT should move it down. > >You can use XML dump then to get smaller db. > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] Does COMPACT actually rewrite the physical file or compacts only internal files? If the latter, then disk space allocation might not change even if the file is empty. Robert From andrew at learningware.com Mon Feb 16 06:22:17 2004 From: andrew at learningware.com (Andrew Sinning) Date: Mon Feb 16 06:19:16 2004 Subject: Val 2.0? In-Reply-To: Message-ID: Have you produced a feature list for 2.0 yet? What's your production timeline? Thanks. From sunshine at public.kherson.ua Mon Feb 16 17:47:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 16 09:55:09 2004 Subject: .blb file not shrinking after deleting ALL entries In-Reply-To: Message-ID: on 2/16/04 12:03 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: >> COMPACT should move it down. >> >> You can use XML dump then to get smaller db. >> >> -- >> Best regards, >> Ruslan Zasukhin [ I feel the need...the need for speed ] > > Does COMPACT actually rewrite the physical file or compacts only > internal files? If the latter, then disk space allocation might not > change even if the file is empty. No Robert. It will go down. Database file -- this is virtual file system with segments 32KB Assume a BLOB file have eat 2 segment 64 KB. But it have more than half deleted BLOB blocks. COMPACT must remove INSIDE of logical BLOB file empty spaces, So its size must become less of 32KB And this means that ONE segment of file system will become free. Valentina then take LAST PHYSICAL segment of file system and MOVE to free one. Size of db file truncated on size of one segment., Just COMPACT was implemented NOT for all cases I think. Too many cases. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 16 18:10:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 16 10:11:59 2004 Subject: Val 2.0? In-Reply-To: Message-ID: on 2/16/04 2:22 PM, Andrew Sinning at andrew@learningware.com wrote: > Have you produced a feature list for 2.0 yet? What's your production > timeline? Hi Andrew, We work now on V4RB and V4MD porting to 2.0 API. Also we must resolve for such plugin products problem of Mixing of LOCAL and Client SDKS. V4MD almost done by functions. V4RB yet require RB DB API support, and I think about adding into V4RB new classes as BitSet, ArraySet, may be usage of interfaces, must be exceptions. V4RB many work yet in the plugin itself. Having these 2 products we will get one more direction of testing of new kernel. All old examples must work. ------------- New features in 2.0? :-) I will try from head make some list: * we have re-write engine TOTALLY FROM ZERO. This process is going already 1.5 years actually. we have use all known to me modern C++ techniques and conceptions. * [NEW] Cache. Works in 200-500 times faster of Valentina 1.x cache. Especially if big size. * [NEW] Internal File system. works in 200-300 times faster of Valentina 1.x for BIG files. * [NEW] SQL parser built with industry strength parser generator ANTLR. * [NEW] SQL92 grammar + Valentina extensions to standard. huge part of SQL. Grammar is > 1000 lines -- ALTER TABLE much improved. -- CONSTRAINTS on fields and Tables. PRIMARY KEY, FOREIGN KEY, CHECK, DEFAULT, . -- UNION, INTERSECT, EXCEPT -- standard syntax of SQL functions CASE, TRIM, ... -- ... * [NEW] improved and added new functions, COOL: functions to work on related table * [NEW] Unicode support, based on IBM ICU library. Valentina engine works on UTF16 now. * [NEW] RAM based Database (!!!) and RAM based Table inside of Disk Based database. * [NEW] Non indexed search on fields. * [NEW] Binary link. New secret feature of Valentina. not implemented yet. * [NEW] XML dump/load now can work on single Table. it can load data in Table/Database that already have data. * [NEW] Valentina now will have own plugin system. we have made it and test it, but not yet put parts of Valentina on it. Probably not in 2.0 * [NEW] Indexes must be faster in few times on the search of single key. also there is hope to get faster sorting. I am not sure if I will be in time with one more interesting algorithm of work on indexes. In worse case will be added into 2.x * [NEW] will be introduced new .tmp disk file for TMP files. this add more safety, and much faster db open after crash. * [NEW] Now we have here huge set of tests directly in our C++ sources. Size of tests probably 50% of all our sources. This give us way do good testing of engine on each platform and on each compiler we support. Tests are part of engine itself. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andrew at learningware.com Mon Feb 16 10:17:15 2004 From: andrew at learningware.com (Andrew Sinning) Date: Mon Feb 16 10:14:23 2004 Subject: .blb file not shrinking after deleting ALL entries In-Reply-To: Message-ID: What is the proper setting for the BLOB segment size if I expect the entry to be at lease 10Kb, but of no maximum size? The docs state: . If you want to store 100KB BLOBs, then the segment size is not required to be 100 K. It can be 10KB, 30 KB, or even 200KB. So, it doesn't matter? From yeomans at desuetude.com Mon Feb 16 11:35:34 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Feb 16 10:35:42 2004 Subject: .blb file not shrinking after deleting ALL entries In-Reply-To: References: Message-ID: <24D08CC8-609E-11D8-AEC1-003065BB0634@desuetude.com> On Feb 16, 2004, at 11:17 AM, Andrew Sinning wrote: > What is the proper setting for the BLOB segment size if I expect the > entry to be at lease 10Kb, but of no maximum size? > > The docs state: > > . If you want to store 100KB BLOBs, then the segment size is not > required to be 100 K. It > can be 10KB, 30 KB, or even 200KB. > > So, it doesn't matter? It matters. As I understand it, BLOBs are stored as linked lists. So if you store a 100kB BLOB using a segment size of 10kB, Valentina will write approximately 10 segments to disk. which may or may not be stored contiguously. Thus a small segment size probably has some impact on performance. On the other hand, a large segment size can waste a lot of space. But so far, Valentina has proved to be so fast that I haven't felt the need to worry about this sort of optimization. Charles Yeomans From andrew at learningware.com Mon Feb 16 10:55:53 2004 From: andrew at learningware.com (Andrew Sinning) Date: Mon Feb 16 10:52:52 2004 Subject: V4MD: SetMedia() not working as expected In-Reply-To: Message-ID: Recent posts from me have been raving about the size and speed efficiencies of BLOB data, but it now appears that I have been duped by my own programming error. I was trying to save the contents of a vList member to a BLOB. It turns out that I don't understand the basic concept of reading and writing data from a member to a BLOB. NOTE: For testing purposes, I am now working with castMembers other than vList members, such as bitmaps and text members. I'm getting the same result. Please help me understand if I am using the correct methods for reading and writing. Here is how I WRITE the data to the db: -- get the record sql = "SELECT * FROM questionVList WHERE qId = "&qId theCursor = new(xtra "VCursor", GetRef(dbConn), sql, kClient, kReadWrite, kForwardOnly) -- update/add the record if GetRecordCount(theCursor) = 0 then -- new question -- note that when creating a new record, I don't try to add the BLOB data, yet AddRecord(theCursor,[#qId:qId]) end if -- put the BLOB data into field "vList" -- vListMem is a member. I have tried various member types: #vList, #bitmap, #text SetMedia (theCursor, "vList", vListMem) SetBlank(theCursor) This actually SEEMs to be working. The database grows in size incrementally each time I execute. Here is how I READ the data from the db: This is where the problem seems to be. sql = "SELECT * FROM questionVList WHERE qId = "&qId theCursor = new(xtra "VCursor", GetRef(dbConn), sql, kClient, kReadOnly, kForwardOnly) if GetRecordCount(theCursor) = 0 then -- question not found SetBlank(theCursor) theCursor = void return 0 end if -- vListMem is a member put BLOB_GetDataSize(theCursor, "vList") GetMedia(theCursor, "vList", vListMem) SetBlank(theCursor) theCursor = void When I execute BLOB_GetDataSize(theCursor, "vList"), the result is ALWAYS "0", but there has to be something there, why else would the database be getting bigger? The result of GetMedia(theCursor, "vList", vListMem) causes NO CHANGE in the member vListMem Thanks. From andrew at learningware.com Mon Feb 16 11:40:09 2004 From: andrew at learningware.com (Andrew Sinning) Date: Mon Feb 16 11:37:08 2004 Subject: SOLVED: V4MD: SetMedia() not working as expected In-Reply-To: Message-ID: The problem was that I wasn't following SetMedia (theCursor, "vList", vListMem) with UpdateRecord(theCursor) This is probably the root cause of the issue ".blb file not shrinking after deleting ALL entries" which I reported earlier. It seems that if a SetMedia is not followed by an UpdateRecord, the database grows in size, but the added data is not associated with any record, so deleting the records doesn't free up the data! From jda at his.com Mon Feb 16 13:16:42 2004 From: jda at his.com (jda) Date: Mon Feb 16 12:16:50 2004 Subject: Val 2.0? In-Reply-To: References: Message-ID: >on 2/16/04 2:22 PM, Andrew Sinning at andrew@learningware.com wrote: > >> Have you produced a feature list for 2.0 yet? What's your production >> timeline? > >Hi Andrew, > >We work now on V4RB and V4MD porting to 2.0 API. >Also we must resolve for such plugin products problem of >Mixing of LOCAL and Client SDKS. > Hi Ruslan, The most important part of the question (to me, at least) was about the timeline. :-> When can we expect alphas/betas so we can get our own code up to speed (so to speak): March, April, May...? Jon From sunshine at public.kherson.ua Mon Feb 16 21:14:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 16 13:17:47 2004 Subject: Val 2.0? In-Reply-To: Message-ID: on 2/16/04 8:16 PM, jda at jda@his.com wrote: >> on 2/16/04 2:22 PM, Andrew Sinning at andrew@learningware.com wrote: >> >>> Have you produced a feature list for 2.0 yet? What's your production >>> timeline? >> >> Hi Andrew, >> >> We work now on V4RB and V4MD porting to 2.0 API. >> Also we must resolve for such plugin products problem of >> Mixing of LOCAL and Client SDKS. >> > > Hi Ruslan, > > The most important part of the question (to me, at least) was about > the timeline. :-> > > When can we expect alphas/betas so we can get our own code up to > speed (so to speak): March, April, May...? Hi Jon, Again, I work on V4RB sources RIGHT NOW. I think I need few days yet to get it compile and link and make first tests from REALbasic. Then I will need resolve issue with ICU packaging on OS X. And we can make first alpha. On the other hand now works ONLY single table queries. Do you need such alpha? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From aaronbratcher at abdatatools.com Mon Feb 16 14:37:14 2004 From: aaronbratcher at abdatatools.com (Aaron Bratcher) Date: Mon Feb 16 13:37:24 2004 Subject: V4RB and sql question Message-ID: <85ABC88E-60B7-11D8-9DA7-000A959E9B12@abdatatools.com> Why is my insert command failing? It give me an error code of 1? Here's all the code: dim err as Integer dim vdb as vDatabase Dim dlg as SaveAsDialog dim outItem as FolderItem dim sql as string dlg=New SaveAsDialog dlg.promptText="starSecurity.rdb" dlg.Title="Create database file" outItem=dlg.ShowModal() If outItem = Nil then return End if Err = ValentinaInit( 5 * 1024 *1024, "", "") if Err <> 0 then MsgBox "Valentina engine error: " + Str(Err) quit end if vdb = new VDataBase if not vdb.Create(outItem,1,32) then MsgBox "error creating file" return end sql = "create table people (personid varchar, personname varchar, address varchar, city varchar, state varchar, zip varchar)" err = vdb.sqlExecute(sql) if err <> 0 then msgBox sql+chr(13)+str(err) end sql = "insert into people (personid,personname,address,city,state,zip) values('1','Robert Redford','','','','')" // also tried this sql // sql = "insert into people (personid,personname) values('1','Robert Redford')" err = vdb.sqlExecute(sql) if err <> 0 then msgBox sql+chr(13)+str(err) end -- Aaron Bratcher ab DataTools http://www.abDataTools.com From jda at his.com Mon Feb 16 15:44:06 2004 From: jda at his.com (jda) Date: Mon Feb 16 14:44:12 2004 Subject: Val 2.0? In-Reply-To: References: Message-ID: > > >> >> >> Hi Ruslan, >> >> The most important part of the question (to me, at least) was about >> the timeline. :-> >> >> When can we expect alphas/betas so we can get our own code up to >> speed (so to speak): March, April, May...? > >Hi Jon, > >Again, I work on V4RB sources RIGHT NOW. >I think I need few days yet to get it compile and link and make first tests >from REALbasic. > >Then I will need resolve issue with ICU packaging on OS X. > >And we can make first alpha. > >On the other hand now works ONLY single table queries. >Do you need such alpha? > Yes, I only use single table queries, so that would be perfect (at least for me!). Jon From sunshine at public.kherson.ua Mon Feb 16 22:48:13 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 16 14:57:00 2004 Subject: Val 2.0? In-Reply-To: Message-ID: on 2/16/04 10:44 PM, jda at jda@his.com wrote: >> On the other hand now works ONLY single table queries. >> Do you need such alpha? >> > > Yes, I only use single table queries, so that would be perfect (at > least for me!). Okay. Then there is sense. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 16 22:50:52 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 16 14:58:15 2004 Subject: V4RB and sql question In-Reply-To: <85ABC88E-60B7-11D8-9DA7-000A959E9B12@abdatatools.com> Message-ID: on 2/16/04 9:37 PM, Aaron Bratcher at aaronbratcher@abdatatools.com wrote: Hi Aaron, > Why is my insert command failing? It give me an error code of 1? Strange error code. This is not Valentina and not MacOS. Try open this database in viSQL or in Valentina Studio And do this INSERT there. What they will say? > Here's all the code: > > dim err as Integer > dim vdb as vDatabase > Dim dlg as SaveAsDialog > dim outItem as FolderItem > dim sql as string > > dlg=New SaveAsDialog > dlg.promptText="starSecurity.rdb" > dlg.Title="Create database file" > outItem=dlg.ShowModal() > If outItem = Nil then > return > End if > > Err = ValentinaInit( 5 * 1024 *1024, "", "") > if Err <> 0 then > MsgBox "Valentina engine error: " + Str(Err) > quit > end if > > > vdb = new VDataBase > > if not vdb.Create(outItem,1,32) then > MsgBox "error creating file" > return > end > > sql = "create table people (personid varchar, personname varchar, > address varchar, city varchar, state varchar, zip varchar)" > err = vdb.sqlExecute(sql) > if err <> 0 then > msgBox sql+chr(13)+str(err) > end > > sql = "insert into people > (personid,personname,address,city,state,zip) values('1','Robert > Redford','','','','')" > // also tried this sql > // sql = "insert into people (personid,personname) values('1','Robert > Redford')" > err = vdb.sqlExecute(sql) > if err <> 0 then > msgBox sql+chr(13)+str(err) > end -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 16 22:51:29 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 16 14:59:11 2004 Subject: V4RB and sql question In-Reply-To: <85ABC88E-60B7-11D8-9DA7-000A959E9B12@abdatatools.com> Message-ID: on 2/16/04 9:37 PM, Aaron Bratcher at aaronbratcher@abdatatools.com wrote: > sql = "create table people (personid varchar, personname varchar, > address varchar, city varchar, state varchar, zip varchar)" Aaron, Actually must be VarChar(504) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From aaronbratcher at abdatatools.com Mon Feb 16 16:35:28 2004 From: aaronbratcher at abdatatools.com (Aaron Bratcher) Date: Mon Feb 16 15:35:34 2004 Subject: V4RB and sql question In-Reply-To: References: Message-ID: <09FD9FA2-60C8-11D8-9DA7-000A959E9B12@abdatatools.com> Nevermind. Sorry. Was thinking the sqlExecute method returned error code when infact it means # rows affected. -- Aaron Bratcher ab DataTools http://www.abDataTools.com From cm_sheffield at yahoo.com Tue Feb 17 07:22:28 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Feb 17 09:22:31 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: Message-ID: <20040217152228.62741.qmail@web20420.mail.yahoo.com> Hi Ruslan, I'm sorry to be a pest, but I really need this to be working right away. I e-mailed you several months ago about this very problem when trying to test under Mac OS 9, and I thought it would have been dealt with by now. We have to send our product out for some beta testing. Being in the educational market, many of our Mac users are still running OS 9 because they simply can't afford to upgrade. I need to have the Classic client working. If you could please look into this as soon as possible, I would appreciate it very much. Thanks again, Chris Sheffield Read Naturally --- Ruslan Zasukhin wrote: > on 2/13/04 11:54 PM, Chris Sheffield at > cm_sheffield@yahoo.com wrote: > > > The Carbon version doesn't work either. My app > > launches, but doesn't seem to connect to the > database > > at all, whether it's standalone or network. At > least > > the Classic version lets me connect to a stand > alone > > database. Is there a CODE resource available for > the > > Classic client version like there is for the > regular > > Clasic version? > > I must check all this. > > At least I think I must build both CODE and VXCMD > for clients, > And put them both into archive. > > May be tomorrow I will find time 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 > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From sunshine at public.kherson.ua Tue Feb 17 17:30:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 17 09:30:28 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: <20040217152228.62741.qmail@web20420.mail.yahoo.com> Message-ID: on 2/17/04 5:22 PM, Chris Sheffield at cm_sheffield@yahoo.com wrote: > Hi Ruslan, > > I'm sorry to be a pest, but I really need this to be > working right away. I e-mailed you several months ago > about this very problem when trying to test under Mac > OS 9, and I thought it would have been dealt with by > now. We have to send our product out for some beta > testing. Being in the educational market, many of our > Mac users are still running OS 9 because they simply > can't afford to upgrade. I need to have the Classic > client working. > > If you could please look into this as soon as > possible, I would appreciate it very much. Ok, Wait 1-2 hours. I will make Carbon builds -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 17 17:35:57 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue Feb 17 10:50:35 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: References: Message-ID: >on 2/17/04 5:22 PM, Chris Sheffield at cm_sheffield@yahoo.com wrote: > >> Hi Ruslan, >> >> I'm sorry to be a pest, but I really need this to be >> working right away. I e-mailed you several months ago >> about this very problem when trying to test under Mac >> OS 9, and I thought it would have been dealt with by >> now. We have to send our product out for some beta >> testing. Being in the educational market, many of our >> Mac users are still running OS 9 because they simply >> can't afford to upgrade. I need to have the Classic >> client working. >> >> If you could please look into this as soon as >> possible, I would appreciate it very much. > >Ok, > >Wait 1-2 hours. I will make Carbon builds > You are not alone, Chris. Even Steve Jobs in his presentation at last MacWorld admitted that only 40% of Mac users are using OSX (I think he actually said already not only). Robert From sunshine at public.kherson.ua Tue Feb 17 19:26:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 17 11:26:10 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: <20040217152228.62741.qmail@web20420.mail.yahoo.com> Message-ID: on 2/17/04 5:22 PM, Chris Sheffield at cm_sheffield@yahoo.com wrote: > Hi Ruslan, > > I'm sorry to be a pest, but I really need this to be > working right away. I e-mailed you several months ago > about this very problem when trying to test under Mac > OS 9, and I thought it would have been dealt with by > now. We have to send our product out for some beta > testing. Being in the educational market, many of our > Mac users are still running OS 9 because they simply > can't afford to upgrade. I need to have the Classic > client working. > > If you could please look into this as soon as > possible, I would appreciate it very much. Hi Chris, I have upload VXCMDC_Carbon_MC_beta.sit.bin Now it contains stack with CODE resource built specially Again client VXCMD dll I think that was problem, because inside of CODE resource present Name of dll. Let me know result. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Feb 17 19:29:13 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 17 11:29:18 2004 Subject: Server license In-Reply-To: <20040217171947.A01B43B685@kondor.ukrcom.kherson.ua> Message-ID: on 2/17/04 7:16 PM, Martin Wright at martin@kinetix.co.uk wrote: > Hi > > I think we'll go for that. > On installing the Vserver I also want to install the 'client installer > package'. In here I could save the servers IP address using Multiuser Xtra: > > myLocalAddress = gMultiuserInstance.getNetAddressCookie(0,1) > > When the client installs from this package, it would know the IP address of > Vserver automatically and record it locally. > Do you see any problems with this setup? > Is there any other way for a client to discover the Vserver IP address? Martin, I have CC this on Valentina list. Please discuss this there. Just few days ago similar question was discussed. As I remember, answer was NO, User must self specify IP of host. BUT, it seems you bring new idea with Multiuser Xtra. So may be other V4MD developers will give comments on this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From forgete at cafederic.com Tue Feb 17 12:52:44 2004 From: forgete at cafederic.com (Eric Forget) Date: Tue Feb 17 11:54:00 2004 Subject: Server license In-Reply-To: Message-ID: Hi, How about using Rendezvous, as an option, to discover the server. The only thing in the setup that we will need is to specify a "name" specific to the developer/product combo. I've tried last summer, the Rendezvous kit from Apple for Windows. It worked flawlessly on the first try. So, cross platform does not seems to be an issue. Eric ___________________________________________________________________ Eric Forget Cafederic ForgetE@cafederic.com Fingerprint <86D5 38F5 E1FD 5D9C 71C3 BAA3 797E 70A4 6210 C684> From sunshine at public.kherson.ua Tue Feb 17 20:00:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 17 12:00:23 2004 Subject: Server license In-Reply-To: Message-ID: on 2/17/04 7:52 PM, Eric Forget at forgete@cafederic.com wrote: Hi Eric, > How about using Rendezvous, as an option, to discover the server. The only > thing in the setup that we will need is to specify a "name" specific to the > developer/product combo. > I've tried last summer, the Rendezvous kit from Apple for Windows. It worked > flawlessly on the first try. So, cross platform does not seems to be an > issue. So it is not for OS X only? Great! I am not against of course. Just we will need time to discover it. And this will be built into Vserver + Vclient only? V4Md, V4RB developers must do nothing? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Tue Feb 17 19:09:07 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Tue Feb 17 12:09:22 2004 Subject: Server license In-Reply-To: References: <20040217171947.A01B43B685@kondor.ukrcom.kherson.ua> Message-ID: <6.0.1.1.2.20040217190455.01c05428@pop.gmx.de> At 18:29 17.02.2004, you wrote: > > On installing the Vserver I also want to install the 'client installer > > package'. In here I could save the servers IP address using Multiuser Xtra: > > > > myLocalAddress = gMultiuserInstance.getNetAddressCookie(0,1) >As I remember, answer was NO, >User must self specify IP of host. > >BUT, it seems you bring new idea with Multiuser Xtra. >So may be other V4MD developers will give comments on this. Hi, generally speaking, it is a good idea to use the MultiUser Xtra to get the user's IP, because I doubt that most users actually know there IP or how to look it up, especially if they're connected to a DHCP server or using a dial-up connection, which gives them a different IP each time they connect. Unfortunately, there's no internal way to get the IP address in Director, but using the MU-Xtra is safe and a good way to go. 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 forgete at cafederic.com Tue Feb 17 13:09:15 2004 From: forgete at cafederic.com (Eric Forget) Date: Tue Feb 17 12:10:09 2004 Subject: Server license In-Reply-To: Message-ID: > So it is not for OS X only? Great! > > I am not against of course. > Just we will need time to discover it. When I tried it last summer, I've been able learn it and use on both Mac OS X and Windows, in less than 2 hours. You will pass the major part of your time, specifying the new API for both the client and the server. > And this will be built into Vserver + Vclient only? > V4Md, V4RB developers must do nothing? To add flexibility, let both Vserver and Vclient have multiple names: e.g. 1 name per database. So, it add flexibility for deployment. The user can start with 1 server on one machine for say 10 databases. Once, the traffic increase, the user may transfer the most popular database on another machine without touching any client. However, I believe the database may not have relations with the others, may it? Eric ___________________________________________________________________ Eric Forget Cafederic ForgetE@cafederic.com Fingerprint <86D5 38F5 E1FD 5D9C 71C3 BAA3 797E 70A4 6210 C684> From sunshine at public.kherson.ua Tue Feb 17 20:12:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 17 12:12:53 2004 Subject: Server license In-Reply-To: <6.0.1.1.2.20040217190455.01c05428@pop.gmx.de> Message-ID: on 2/17/04 8:09 PM, Martin Kloss at martin.kloss@gmx.de wrote: >>> On installing the Vserver I also want to install the 'client installer >>> package'. In here I could save the servers IP address using Multiuser Xtra: >>> >>> myLocalAddress = gMultiuserInstance.getNetAddressCookie(0,1) > >> As I remember, answer was NO, >> User must self specify IP of host. >> >> BUT, it seems you bring new idea with Multiuser Xtra. >> So may be other V4MD developers will give comments on this. > > Hi, > > generally speaking, it is a good idea to use the MultiUser Xtra > to get the user's IP, because I doubt that most users actually > know there IP or how to look it up, especially if they're connected > to a DHCP server or using a dial-up connection, which gives > them a different IP each time they connect. > > Unfortunately, there's no internal way to get the IP address > in Director, but using the MU-Xtra is safe and a good way to go. > > 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 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Feb 17 20:16:52 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 17 12:16:57 2004 Subject: Server license In-Reply-To: Message-ID: on 2/17/04 8:09 PM, Eric Forget at forgete@cafederic.com wrote: >> So it is not for OS X only? Great! >> >> I am not against of course. >> Just we will need time to discover it. > > When I tried it last summer, I've been able learn it and use on both Mac OS > X and Windows, in less than 2 hours. You will pass the major part of your > time, specifying the new API for both the client and the server. >> And this will be built into Vserver + Vclient only? >> V4Md, V4RB developers must do nothing? > > To add flexibility, let both Vserver and Vclient have multiple names: e.g. 1 > name per database. So, it add flexibility for deployment. The user can start > with 1 server on one machine for say 10 databases. Once, the traffic > increase, the user may transfer the most popular database on another machine > without touching any client. However, I believe the database may not have > relations with the others, may it? Right now no, but we plan for 2.x feature attached tables. Although this is virtual linking. DBs itself will not be linked. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Tue Feb 17 19:20:28 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 17 12:20:35 2004 Subject: dropRecord error In-Reply-To: Message-ID: Ruslan, Is the bug fixed and uploaded? Best regards, Florian From sunshine at public.kherson.ua Tue Feb 17 20:22:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 17 12:22:20 2004 Subject: dropRecord error In-Reply-To: Message-ID: on 2/17/04 8:20 PM, Florian Bogeschdorfer at fb@memedia.de wrote: > Ruslan, > > Is the bug fixed and uploaded? It is fixed but not uploaded. I need yet build it Urgent? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Tue Feb 17 19:23:34 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Feb 17 12:23:40 2004 Subject: AW: dropRecord error In-Reply-To: Message-ID: > > I need yet build it > Urgent? > Tomorrow by afternoon would be fine? Thank you, Florian From sunshine at public.kherson.ua Tue Feb 17 20:27:16 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 17 12:27:24 2004 Subject: AW: dropRecord error In-Reply-To: Message-ID: on 2/17/04 8:23 PM, Florian Bogeschdorfer at fb@memedia.de wrote: >> I need yet build it >> Urgent? >> > > Tomorrow by afternoon would be fine? Ok Today later -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Tue Feb 17 18:25:40 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Tue Feb 17 12:28:18 2004 Subject: Server license In-Reply-To: <6.0.1.1.2.20040217190455.01c05428@pop.gmx.de> Message-ID: <20040217182813.5E5B4B1811@edison.macserve.net> In the documentation, it mentions that clients can connect using the computer name as well. This is less likely to change and can be retrieved using buddyAPI. I've tried this using my local server name "kinetix-sbs.kinetix.office" but it doesn't work. I presume the computer name is what appears in the "My Computer" properties. Any ideas? Martin -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Martin Kloss Sent: 17 February 2004 18:09 To: Valentina Developers Subject: Re: Server license At 18:29 17.02.2004, you wrote: > > On installing the Vserver I also want to install the 'client > > installer package'. In here I could save the servers IP address using Multiuser Xtra: > > > > myLocalAddress = gMultiuserInstance.getNetAddressCookie(0,1) >As I remember, answer was NO, >User must self specify IP of host. > >BUT, it seems you bring new idea with Multiuser Xtra. >So may be other V4MD developers will give comments on this. Hi, generally speaking, it is a good idea to use the MultiUser Xtra to get the user's IP, because I doubt that most users actually know there IP or how to look it up, especially if they're connected to a DHCP server or using a dial-up connection, which gives them a different IP each time they connect. Unfortunately, there's no internal way to get the IP address in Director, but using the MU-Xtra is safe and a good way to go. 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 From cm_sheffield at yahoo.com Tue Feb 17 11:10:56 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Feb 17 13:11:02 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: Message-ID: <20040217191056.87530.qmail@web20413.mail.yahoo.com> Thanks for getting that done so quickly. Unfortunately, it's still not working, but I've never been able to get the Carbon version to work with Revolution at all. I've always used the Classic version. Is there something I need to do differently? The Classic non-client version works perfectly. I've copied the CODE resource into my stack and the VXCMD_Client_Carbon_MC file is located in the same folder as my app. Have I not done it correctly? Also, is it possible to put both the client and non-client CODE resources into my stack at the same time so that I can easily switch between the two without having to recopy them and rebuild my app? Thanks again, Chris --- Ruslan Zasukhin wrote: > on 2/17/04 5:22 PM, Chris Sheffield at > cm_sheffield@yahoo.com wrote: > > > Hi Ruslan, > > > > I'm sorry to be a pest, but I really need this to > be > > working right away. I e-mailed you several months > ago > > about this very problem when trying to test under > Mac > > OS 9, and I thought it would have been dealt with > by > > now. We have to send our product out for some > beta > > testing. Being in the educational market, many of > our > > Mac users are still running OS 9 because they > simply > > can't afford to upgrade. I need to have the > Classic > > client working. > > > > If you could please look into this as soon as > > possible, I would appreciate it very much. > > Hi Chris, > > I have upload VXCMDC_Carbon_MC_beta.sit.bin > > Now it contains stack with CODE resource built > specially > Again client VXCMD dll > > I think that was problem, because inside of CODE > resource present > Name of dll. > > Let me know result. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From sunshine at public.kherson.ua Tue Feb 17 22:53:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 17 14:54:07 2004 Subject: Server license In-Reply-To: <20040217182813.5E5B4B1811@edison.macserve.net> Message-ID: on 2/17/04 8:25 PM, Martin Wright at martin@kinetix.co.uk wrote: Hi Martin, > In the documentation, it mentions that clients can connect using the > computer name as well. > This is less likely to change and can be retrieved using buddyAPI. > > I've tried this using my local server name "kinetix-sbs.kinetix.office" but > it doesn't work. > I presume the computer name is what appears in the "My Computer" properties. > > Any ideas? I have not catch. You ask about V4MD client ? You can specify host as IP DNS name "www.mycompany.com" -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Feb 17 22:58:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 17 14:58:08 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: <20040217191056.87530.qmail@web20413.mail.yahoo.com> Message-ID: on 2/17/04 9:10 PM, Chris Sheffield at cm_sheffield@yahoo.com wrote: > Thanks for getting that done so quickly. > Unfortunately, it's still not working, but I've never > been able to get the Carbon version to work with > Revolution at all. So Carbon not works.. > I've always used the Classic > version. Is there something I need to do differently? > The Classic non-client version works perfectly. I've > copied the CODE resource into my stack and the > VXCMD_Client_Carbon_MC file is located in the same > folder as my app. Have I not done it correctly? I can try build now Classic CODE for you. Will do this now. > Also, is it possible to put both the client and > non-client CODE resources into my stack at the same > time so that I can easily switch between the two > without having to recopy them and rebuild my app? I don't know. In 2.0 products I think we will have next design for all plugin products VDK.DLL PLUGIN (VXCMD, V4RB, V4MD) + + + VDK_Client.dll So we will have SINGLE plugin for both LOCAL and CLIENT. And we will be able 1) use only LOCAL version if put just VDK.dll 2) use only CLIENT 3) use both in the same time. Payment for this, as you see -- adding to plugins DLLs. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Feb 17 23:09:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 17 15:09:23 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: <20040217191056.87530.qmail@web20413.mail.yahoo.com> Message-ID: on 2/17/04 9:10 PM, Chris Sheffield at cm_sheffield@yahoo.com wrote: > Thanks for getting that done so quickly. > Unfortunately, it's still not working, but I've never > been able to get the Carbon version to work with > Revolution at all. I've always used the Classic > version. Is there something I need to do differently? > The Classic non-client version works perfectly. I've > copied the CODE resource into my stack and the > VXCMD_Client_Carbon_MC file is located in the same > folder as my app. Have I not done it correctly? Hi Chris, I have upload both VXCMD_Client Carbon and Classic. Both now have stack. It have CODE with 1200 and 1202 id 1200 -> Classic 1202 -> Carbon Please check, may be Revolution want for Carbon some other id? > Also, is it possible to put both the client and > non-client CODE resources into my stack at the same > time so that I can easily switch between the two > without having to recopy them and rebuild my app? You know may be yes, possible, It seems MetCard/Rev expect Ids of CODE resources in some circle. So you can have 2 CARBON resources with e.g 1202 and 1205 ids. Read their 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 rjb at rz.uni-potsdam.de Tue Feb 17 23:51:20 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue Feb 17 16:56:35 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: References: Message-ID: >Hi Chris, > >I have upload both VXCMD_Client Carbon and Classic. > >Both now have stack. >It have CODE with 1200 and 1202 id > > 1200 -> Classic > 1202 -> Carbon > >Please check, may be Revolution want for Carbon some other id? Ruslan, here is a relevant Tidbit from Rev/MC docs which might explain why your Carbon resource does not work: Externals must be in Mach-O bundle format on Mac OS X. Updated projects are included in the Mac OS X package. Rather than load from the resource fork of a stack, externals must be kept in separate files and are loaded using the stacks "externals" property as they are on Win32 and UNIX platforms. > >> Also, is it possible to put both the client and >> non-client CODE resources into my stack at the same >> time so that I can easily switch between the two >> without having to recopy them and rebuild my app? > >You know may be yes, possible, > >It seems MetCard/Rev expect Ids of CODE resources in some circle. > >So you can have 2 CARBON resources with e.g 1202 and 1205 ids. >Read their docs. No, it is not possible (I mean possible it is but it won't work). A given version of MC/Rev accepts only one type of resource. You can have different versions of the same type (with different ids). Since we call them by name from scripts, they must also have different names ('valentina' and 'valentina_server' for example). Robert Brenstein From kray at sonsothunder.com Tue Feb 17 17:02:29 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue Feb 17 17:04:13 2004 Subject: Breaking out of RecordLock... Message-ID: <005f01c3f5aa$211f7120$6601a8c0@LightningFlash> Ruslan, Is there any way once you get a 363 error (Record Lock) to be able to manually unlock the cursor? For example, we're running our system on a small network of about 5 people and occasionally they get a record lock error. They all get out of that area of the system and one goes back in to check, and the record is still locked. It would be great to be able to execute something that said "release the lock" since we *know* no one else is using it. Obviously we need to find the code that's causing the lock in the first place, but until we find it, the only way they can get out of that situation is to have everyone on the system quit and reconnect. Do locks timeout? If so, what is the timeout? And can it be changed? Thanks for your responses, Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue Feb 17 17:06:01 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue Feb 17 17:07:33 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: Message-ID: <006001c3f5aa$a09f0f50$6601a8c0@LightningFlash> > No, it is not possible (I mean possible it is but it won't work). A > given version of MC/Rev accepts only one type of resource. You can > have different versions of the same type (with different ids). Since > we call them by name from scripts, they must also have different > names ('valentina' and 'valentina_server' for example). Exactly. This is why I have two separate MetaCard stacks that act as by database connectors - one for Valentina standalone and one for Valentina Client. They both have exactly the same code, but I can't put them in the same stack as the Valentina external is called the same way as "Valentina". So I have one that connects to the standalone VXCMD and the other connects to the client VXCMD. It would be great to have the two called by different names so it could be merged into a single accessor stack... Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From sunshine at public.kherson.ua Wed Feb 18 01:29:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 17 17:30:02 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: Message-ID: on 2/18/04 12:51 AM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: >>> Also, is it possible to put both the client and >>> non-client CODE resources into my stack at the same >>> time so that I can easily switch between the two >>> without having to recopy them and rebuild my app? >> >> You know may be yes, possible, >> >> It seems MetCard/Rev expect Ids of CODE resources in some circle. >> >> So you can have 2 CARBON resources with e.g 1202 and 1205 ids. >> Read their docs. > > No, it is not possible (I mean possible it is but it won't work). A > given version of MC/Rev accepts only one type of resource. You can > have different versions of the same type (with different ids). Since > we call them by name from scripts, they must also have different > names ('valentina' and 'valentina_server' for example). Ah, yes. We call CODE by name. So only way again -- use 2 DLLs linked to single plugin -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 18 01:32:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 17 17:32:57 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: <006001c3f5aa$a09f0f50$6601a8c0@LightningFlash> Message-ID: on 2/18/04 1:06 AM, Ken Ray at kray@sonsothunder.com wrote: > >> No, it is not possible (I mean possible it is but it won't work). A >> given version of MC/Rev accepts only one type of resource. You can >> have different versions of the same type (with different ids). Since >> we call them by name from scripts, they must also have different >> names ('valentina' and 'valentina_server' for example). > > Exactly. This is why I have two separate MetaCard stacks that act as by > database connectors - one for Valentina standalone and one for Valentina > Client. They both have exactly the same code, but I can't put them in > the same stack as the Valentina external is called the same way as > "Valentina". So I have one that connects to the standalone VXCMD and the > other connects to the client VXCMD. > > It would be great to have the two called by different names so it could > be merged into a single accessor stack... Ken, I have describe other way. We will have SINGLE CODE. With the same name Valentina And difference will come only in how we create database object on start db1 = Valentina( "New_Database") << create LOCAL db object from VDL.dll db2 = Valentina( "New_Database", host, ... ) << create REMOTE db from VDK_CLIENT.dll And having db1 and db2 we get all rest working the same. Objects self will know which DLL to use to create other objects Tables, fields, cursors, ... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 18 01:36:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 17 17:36:17 2004 Subject: Breaking out of RecordLock... In-Reply-To: <005f01c3f5aa$211f7120$6601a8c0@LightningFlash> Message-ID: on 2/18/04 1:02 AM, Ken Ray at kray@sonsothunder.com wrote: > Ruslan, > > Is there any way once you get a 363 error (Record Lock) to be able to > manually unlock the cursor? For example, we're running our system on a > small network of about 5 people and occasionally they get a record lock > error. They all get out of that area of the system and one goes back in > to check, and the record is still locked. It would be great to be able > to execute something that said "release the lock" since we *know* no one > else is using it. > > Obviously we need to find the code that's causing the lock in the first > place, but until we find it, the only way they can get out of that > situation is to have everyone on the system quit and reconnect. > > Do locks timeout? If so, what is the timeout? And can it be changed? Hi Ken, No locks not timeout. Very strange. This must not happens never! No crashes. You have normal work. All by logic. All users have disconnect, but db still have locks? Cannot be. May be somebody have not yet disconnected? Or some cursor was not deleted? ------- I wonder if remote restart of server will resolve that situation? But again, I do not like idea force release all locks. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 18 01:50:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 17 17:50:23 2004 Subject: Breaking out of RecordLock... In-Reply-To: Message-ID: on 2/18/04 1:36 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> Ruslan, >> >> Is there any way once you get a 363 error (Record Lock) to be able to >> manually unlock the cursor? How? Cursor will not be created if it cannot lock required records. >> For example, we're running our system on a >> small network of about 5 people and occasionally they get a record lock >> error. How often? On some special table or different? >> They all get out of that area of the system and one goes back in >> to check, and the record is still locked. It would be great to be able >> to execute something that said "release the lock" since we *know* no one >> else is using it. I can think only about NOT DELETED cursor. >> Obviously we need to find the code that's causing the lock in the first >> place, but until we find it, the only way they can get out of that >> situation is to have everyone on the system quit and reconnect. >> >> Do locks timeout? If so, what is the timeout? And can it be changed? > > Hi Ken, > > No locks not timeout. > > Very strange. This must not happens never! > > No crashes. > You have normal work. > > All by logic. > All users have disconnect, but db still have locks? > Cannot be. > > May be somebody have not yet disconnected? > Or some cursor was not deleted? > > ------- > I wonder if remote restart of server will resolve that situation? > > > But again, I do not like idea force release all locks. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 18 01:17:24 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue Feb 17 18:36:10 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: <006001c3f5aa$a09f0f50$6601a8c0@LightningFlash> References: <006001c3f5aa$a09f0f50$6601a8c0@LightningFlash> Message-ID: > > No, it is not possible (I mean possible it is but it won't work). A >> given version of MC/Rev accepts only one type of resource. You can >> have different versions of the same type (with different ids). Since >> we call them by name from scripts, they must also have different >> names ('valentina' and 'valentina_server' for example). > >Exactly. This is why I have two separate MetaCard stacks that act as by >database connectors - one for Valentina standalone and one for Valentina >Client. They both have exactly the same code, but I can't put them in >the same stack as the Valentina external is called the same way as >"Valentina". So I have one that connects to the standalone VXCMD and the >other connects to the client VXCMD. > >It would be great to have the two called by different names so it could >be merged into a single accessor stack... > >Ken Ray >Sons of Thunder Software >Email: kray@sonsothunder.com >Web Site: http://www.sonsothunder.com/ Ken, as far as I know, the names of resources are not wired to anything (except how they are called from Transcript), so you can rename them yourself. The only thing to figure out is how to call the right one at the right time. Of top of my head, this can be done by either duplicating the handlers for each mode or using a passthru function that knows whether you are in server or local mode and calls one or the other name. Robert From kray at sonsothunder.com Tue Feb 17 20:47:08 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue Feb 17 20:49:29 2004 Subject: Breaking out of RecordLock... In-Reply-To: Message-ID: <008801c3f5c9$8380e500$6601a8c0@LightningFlash> > >> Is there any way once you get a 363 error (Record Lock) to > be able to > >> manually unlock the cursor? > > How? Cursor will not be created if it cannot lock required records. I understand that, you get the 363 error if an attempt is made to get a cursor on record(s) that are in use. > >> For example, we're running our system on a > >> small network of about 5 people and occasionally they get a record > >> lock error. > > How often? > On some special table or different? I wish I knew. The issue is obviously that there is some cursor that hasn't been deleted properly, but we've been really careful to make sure that this doesn't happen, so I'd be very surprised if this were the case. Additionally, we have code that if a locked cursor is encountered, it makes 5 attempts (one every 1/2 second) to try and reestablish the cursor. Only after 5 unsuccessful attempts does it bring up our "Record is locked" dialog box. The problem is that we're having a hard time replicating it and once a cursor is not deleted properly, it remains open until the person who opened the cursor disconnects from Valentina. And since we don't know who that is, we just ask everyone to exit our program (which disconnects from Valentina) and relaunch it. > > All users have disconnect, but db still have locks? > > Cannot be. No, actually, all users have left the area that has something locked in our program (they haven't disconnected). For example, we have several areas in our program (Addresses, Projects, Calendar, etc.). If someone is trying to access a Project record, say, and they get the Record lock, we ask everyone to exit the Projects module and go somewhere where no Project access occurs (like the Addresses module). However, even if no one is in the Project module, the record remains locked (attempts by one of us as Admin to get at that record gets a record lock error). So we were hoping that in circumstances like that, we would be able to forcibly close an open cursor because we *know* that no one is using it (although Valentina's keeping it open because it hasn't been properly removed). As an example of how we're writing things, in general we use SQLSelectRecords() to get data to display in our interface (for single-record views), and SQLSelect() for updating/adding/deleting records, or for progressive disclosure in list views. This brings up a question: If I execute a SQLSelect() to get a cursor, then a Cursor_SetField() to set the contents of a field, then a Cursor_UpdateRecord() to update the database, but then forget to do a Cursor_Remove(), the field in the table has still been updated, right? I mean *if* there was a way to forcibly remove a locked cursor, and I forced this cursor to be removed, the data I'd posted to the table would still be there, right? Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue Feb 17 20:49:55 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue Feb 17 20:51:52 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: Message-ID: <008b01c3f5c9$e87a32e0$6601a8c0@LightningFlash> > Ken, as far as I know, the names of resources are not wired to > anything (except how they are called from Transcript), so you can > rename them yourself. The only thing to figure out is how to call the > right one at the right time. Of top of my head, this can be done by > either duplicating the handlers for each mode or using a passthru > function that knows whether you are in server or local mode and calls > one or the other name. Actually, I think the problem is attaching the externals properly. If I attach two externals (one VXCMD and one VXCMD Client) to a Rev stack, they will both have the same "Valentina" entrypoint, won't they? How will Rev know to use the VXCMD Client when I make the call to Valentina("New Database", host, ...) instead of the standalone VXCMD? Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From sunshine at public.kherson.ua Wed Feb 18 09:49:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 01:49:45 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: <008b01c3f5c9$e87a32e0$6601a8c0@LightningFlash> Message-ID: on 2/18/04 4:49 AM, Ken Ray at kray@sonsothunder.com wrote: >> Ken, as far as I know, the names of resources are not wired to >> anything (except how they are called from Transcript), so you can >> rename them yourself. The only thing to figure out is how to call the >> right one at the right time. Of top of my head, this can be done by >> either duplicating the handlers for each mode or using a passthru >> function that knows whether you are in server or local mode and calls >> one or the other name. > > Actually, I think the problem is attaching the externals properly. If I > attach two externals (one VXCMD and one VXCMD Client) to a Rev stack, > they will both have the same "Valentina" entrypoint, won't they? How > will Rev know to use the VXCMD Client when I make the call to > Valentina("New Database", host, ...) instead of the standalone VXCMD? Ken, IF you look by resedit into CODE resource, you will see there name of linked VXCMD. So client CODE (which I have add yesterday) points VXCMD_Client And LOCAL CODE points VXCMD If you put both CODE into stak and rename one of them, It seems may work. But this is only for Carbon and Classic then, because MACHO do not use CODE resource. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 18 10:01:29 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 02:01:46 2004 Subject: Breaking out of RecordLock... In-Reply-To: <008801c3f5c9$8380e500$6601a8c0@LightningFlash> Message-ID: on 2/18/04 4:47 AM, Ken Ray at kray@sonsothunder.com wrote: Hi Ken, > As an example of how we're writing things, in general we use > SQLSelectRecords() to get data to display in our interface (for > single-record views), and SQLSelect() for updating/adding/deleting > records, or for progressive disclosure in list views. > > This brings up a question: > > If I execute a SQLSelect() to get a cursor, With ReadWrite flag, yes > then a Cursor_SetField() to set the contents of a field, > then a Cursor_UpdateRecord() to update the database, but then forget to do a > Cursor_Remove(), the field in the table has still been updated, right? Yes, especially after flush() > I mean *if* there was a way to forcibly remove a locked cursor, and I forced > this cursor to be removed, the data I'd posted to the table would still be > there, right? Yes. I think for Vserver itself we can add next feature: administrator's command "Disconnect All" On this command server must disconnect all, And therefore force destroying of each cursor. For user this will looks as disconnect on server failure or network failure or timeout I think we cannot preserve connections and destroy just cursors. This is not correct. ANOTHER FEATURE which can help diagnose problem: ask each opened database how many cursors it have now. we can extend DatabaseInfo class. Igor, please consider this 2 features, and if you think you can do this, please do this 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 rjb at rz.uni-potsdam.de Wed Feb 18 09:22:12 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Feb 18 02:34:56 2004 Subject: Breaking out of RecordLock... In-Reply-To: <008801c3f5c9$8380e500$6601a8c0@LightningFlash> References: <008801c3f5c9$8380e500$6601a8c0@LightningFlash> Message-ID: > >> > All users have disconnect, but db still have locks? > > > Cannot be. > > >If I execute a SQLSelect() to get a cursor, then a Cursor_SetField() to >set the contents of a field, then a Cursor_UpdateRecord() to update the >database, but then forget to do a Cursor_Remove(), the field in the >table has still been updated, right? I mean *if* there was a way to >forcibly remove a locked cursor, and I forced this cursor to be removed, >the data I'd posted to the table would still be there, right? > >Ken Ray >Sons of Thunder Software >Email: kray@sonsothunder.com >Web Site: http://www.sonsothunder.com/ The way I understand what you describe will indeed leave a cursor open until the program owning that cursor quits. But this should happen only in a local mode. In server mode, the server should close cursors when client disconnects AFAIK. I believe that this is what Ruslan means "cannot be". If this does happen, Ruslan has to go bug hunting. The way I deal with that is that as a rule, I create and remove cursors within the same handler. It makes it easier to see whether all calls are there and I can use a scavenger script (which lists all Valentina calls per handler in each object) and quickly inspect if anything is amiss. Further, use SQLSelectRecords if you are only retrieving data. Robert From sunshine at public.kherson.ua Wed Feb 18 10:50:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 02:57:49 2004 Subject: Breaking out of RecordLock... In-Reply-To: Message-ID: on 2/18/04 10:22 AM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: >> If I execute a SQLSelect() to get a cursor, then a Cursor_SetField() to >> set the contents of a field, then a Cursor_UpdateRecord() to update the >> database, but then forget to do a Cursor_Remove(), the field in the >> table has still been updated, right? I mean *if* there was a way to >> forcibly remove a locked cursor, and I forced this cursor to be removed, >> the data I'd posted to the table would still be there, right? >> >> Ken Ray >> Sons of Thunder Software >> Email: kray@sonsothunder.com >> Web Site: http://www.sonsothunder.com/ > > The way I understand what you describe will indeed leave a cursor > open until the program owning that cursor quits. But this should > happen only in a local mode. In server mode, the server should close > cursors when client disconnects AFAIK. I believe that this is what > Ruslan means "cannot be". If this does happen, Ruslan has to go bug > hunting. Disconnect of course kill cursors of client. But Ken say users not disconnect but just move to other tables. > The way I deal with that is that as a rule, I create and remove > cursors within the same handler. It makes it easier to see whether > all calls are there and I can use a scavenger script (which lists all > Valentina calls per handler in each object) and quickly inspect if > anything is amiss. Further, use SQLSelectRecords if you are only > retrieving data. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Wed Feb 18 12:04:57 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Feb 18 04:05:20 2004 Subject: Breaking out of RecordLock... References: Message-ID: <002801c3f606$b762ad80$781026c3@giv> > I think for Vserver itself we can add next feature: > > administrator's command "Disconnect All" > > On this command server must disconnect all, > And therefore force destroying of each cursor. > For user this will looks as > disconnect on server failure > or network failure > or timeout In fact we already have in V4MD method of VServer Xtra: CancelConnection object me, integer connectionID -- Cancels an existing connection by its ID. So you can try it right now. Although we do not have "Disconnect All" command, but it can be added, of cource. > ANOTHER FEATURE which can help diagnose problem: > ask each opened database how many cursors it have now. > we can extend DatabaseInfo class. OK. > Igor, please consider this 2 features, and if you think you can do this, > please do this today OK. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv_ua@inbox.ru web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From rjb at rz.uni-potsdam.de Wed Feb 18 11:38:19 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Feb 18 04:55:00 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: <008b01c3f5c9$e87a32e0$6601a8c0@LightningFlash> References: <008b01c3f5c9$e87a32e0$6601a8c0@LightningFlash> Message-ID: > > Ken, as far as I know, the names of resources are not wired to >> anything (except how they are called from Transcript), so you can >> rename them yourself. The only thing to figure out is how to call the >> right one at the right time. Of top of my head, this can be done by >> either duplicating the handlers for each mode or using a passthru >> function that knows whether you are in server or local mode and calls >> one or the other name. > >Actually, I think the problem is attaching the externals properly. If I >attach two externals (one VXCMD and one VXCMD Client) to a Rev stack, >they will both have the same "Valentina" entrypoint, won't they? How >will Rev know to use the VXCMD Client when I make the call to >Valentina("New Database", host, ...) instead of the standalone VXCMD? > >Ken Ray >Sons of Thunder Software >Email: kray@sonsothunder.com >Web Site: http://www.sonsothunder.com/ > Ken, the entry points into externals are normalized per API. The resource name is just an external binder. Try it out. Rename Valentina to Valentina2. Any call to valentina will fail. But if you change your transcripts to use valentina2, they should work fine again. Or so they should :) The only thing to worry about is that each external finds the correct library since the externals are really just a passthru code to call the shared library. But Ruslan says that each external knows its shared library and they are distict, so there should not be a problem at that level. Ruslan, having to use a different valentina call for local and server activities may actually be a good approach for coding. get valentina ("SqlSelect",dbName,query) get valentina_server ("SqlSelect",dbName,query) This way it is easy to keep track which code works locally and which works remotely, particularly for programs that support both modes in parallel. While most Valentina functions are the same, they are not exactly the same and server has more of them. It is also easy to switch from local to remote and vice versa. Robert Brenstein From rjb at rz.uni-potsdam.de Wed Feb 18 11:43:32 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Feb 18 04:55:06 2004 Subject: Breaking out of RecordLock... In-Reply-To: References: Message-ID: > > >> The way I understand what you describe will indeed leave a cursor >> open until the program owning that cursor quits. But this should >> happen only in a local mode. In server mode, the server should close >> cursors when client disconnects AFAIK. I believe that this is what >> Ruslan means "cannot be". If this does happen, Ruslan has to go bug >> hunting. > >Disconnect of course kill cursors of client. > >But Ken say users not disconnect but just move to other tables. > Yes, I remembered wrong. Moving to another area of course does not require any action of server. He just needs to clean up his code. However, the options for emergency killing on the server can be handy at times. Robert From rjb at rz.uni-potsdam.de Wed Feb 18 14:04:55 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Feb 18 07:14:46 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: <008b01c3f5c9$e87a32e0$6601a8c0@LightningFlash> References: <008b01c3f5c9$e87a32e0$6601a8c0@LightningFlash> Message-ID: > > Ken, as far as I know, the names of resources are not wired to >> anything (except how they are called from Transcript), so you can >> rename them yourself. The only thing to figure out is how to call the >> right one at the right time. Of top of my head, this can be done by >> either duplicating the handlers for each mode or using a passthru >> function that knows whether you are in server or local mode and calls >> one or the other name. > >Actually, I think the problem is attaching the externals properly. If I >attach two externals (one VXCMD and one VXCMD Client) to a Rev stack, >they will both have the same "Valentina" entrypoint, won't they? How >will Rev know to use the VXCMD Client when I make the call to >Valentina("New Database", host, ...) instead of the standalone VXCMD? > >Ken Ray >Sons of Thunder Software >Email: kray@sonsothunder.com >Web Site: http://www.sonsothunder.com/ On the way to work this morning, I thought about yet another approach -- using two substacks with parallel scripts but each calling a different Valentina resource. This improves efficiency by eliminating context-check for each call. Another yet option is to trying using the option to pass function name as argument. I seem to recall such an option from reading MC docs a while ago. Robert From aaronbratcher at abdatatools.com Wed Feb 18 08:50:43 2004 From: aaronbratcher at abdatatools.com (Aaron Bratcher) Date: Wed Feb 18 07:51:14 2004 Subject: [ANN] db Reports 3.3. From database to paper Message-ID: <723CFC90-6219-11D8-A1D5-000A959E9B12@abdatatools.com> db Reports is an easy-to-use report writer that works with a variety of databases. Using the wizard, you get a columnar report that fits most situations in just minutes. Reports can be enhanced with complex expressions (including IF functions), data grouping, and report variables. db Reports works on Mac OS X, Windows, and Mac Classic. What's new in version 3.3: - Expressions in group headers and the body can now span multiple pages - Added export dialog to select different export options - When a label or expression is selected, you can immediately type it's contents without selecting the property window first - Ability to define more than 1 page per record - Runtime classes work in REALbasic projects that use the pgSQL4RB connectivity classes - New examples for using the REALbasic runtime classes - Fixed several bugs -- Aaron Bratcher ab DataTools http://www.abDataTools.com From sunshine at public.kherson.ua Wed Feb 18 17:07:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 09:08:00 2004 Subject: AW: dropRecord error In-Reply-To: Message-ID: on 2/17/04 8:23 PM, Florian Bogeschdorfer at fb@memedia.de wrote: > > >> >> I need yet build it >> Urgent? >> > > Tomorrow by afternoon would be fine? Florian, Forget to mention. New build already on site. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 18 17:11:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 09:12:07 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: Message-ID: on 2/18/04 12:38 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: > Ruslan, having to use a different valentina call for local and server > activities may actually be a good approach for coding. > > get valentina ("SqlSelect",dbName,query) > get valentina_server ("SqlSelect",dbName,query) Robert, I have told already. We need differ ONLY and ONLY database object creation. db_local = Valentina( "New_Database") << create LOCAL db object from VDL.dll db_remote = Valentina( "New_Database", host, ... ) << create REMOTE db from VDK_CLIENT.dll As result we get 2 dbRef. Now database objects SELF know which code LOCAL or REMOTE to use. And all rest coding will be the same. At least it must works in this way. > This way it is easy to keep track which code works locally and which > works remotely, particularly for programs that support both modes in > parallel. While most Valentina functions are the same, they are not > exactly the same and server has more of them. It is also easy to > switch from local to remote and vice versa. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Wed Feb 18 07:33:24 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Wed Feb 18 09:33:28 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: Message-ID: <20040218153324.84477.qmail@web20412.mail.yahoo.com> I'm still not getting this to work right. Even with the newly uploaded Classic version. As I've said, the standalone version still works perfectly. I can connect to my local database. But once I try to switch everything to the client version, it just won't work. At least now my stack will open; I'm just getting error messages from Revolution that the Valentina functions can't be found. It seems as though the CODE resource is not connecting correctly to the shared library. I've tried changing the ID of the resource to everything from 1200 to 1205, with differing results. Sometimes the stack opens and I get the above mentioned error, and other times opening my stack crashes Rev. I know I have kind of beat this to death, but if there are any Rev/MC users out there who might be willing to give this a try on Mac OS 9, I would be forever grateful. Maybe I'm just not doing something right? I really need to try and get this working this week in order to send our product out for some beta testing. Thanks everyone, Chris Sheffield Read Naturally --- Ruslan Zasukhin wrote: > on 2/17/04 9:10 PM, Chris Sheffield at > cm_sheffield@yahoo.com wrote: > > > Thanks for getting that done so quickly. > > Unfortunately, it's still not working, but I've > never > > been able to get the Carbon version to work with > > Revolution at all. I've always used the Classic > > version. Is there something I need to do > differently? > > The Classic non-client version works perfectly. > I've > > copied the CODE resource into my stack and the > > VXCMD_Client_Carbon_MC file is located in the same > > folder as my app. Have I not done it correctly? > > Hi Chris, > > I have upload both VXCMD_Client Carbon and Classic. > > Both now have stack. > It have CODE with 1200 and 1202 id > > 1200 -> Classic > 1202 -> Carbon > > Please check, may be Revolution want for Carbon some > other id? > > > > Also, is it possible to put both the client and > > non-client CODE resources into my stack at the > same > > time so that I can easily switch between the two > > without having to recopy them and rebuild my app? > > You know may be yes, possible, > > It seems MetCard/Rev expect Ids of CODE resources in > some circle. > > So you can have 2 CARBON resources with e.g 1202 and > 1205 ids. > Read their 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 > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools From rjb at rz.uni-potsdam.de Wed Feb 18 16:59:24 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Feb 18 10:04:37 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: References: Message-ID: >on 2/18/04 12:38 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: > >> Ruslan, having to use a different valentina call for local and server >> activities may actually be a good approach for coding. >> >> get valentina ("SqlSelect",dbName,query) >> get valentina_server ("SqlSelect",dbName,query) > >Robert, > >I have told already. >We need differ ONLY and ONLY database object creation. > > > db_local = Valentina( "New_Database") > << create LOCAL db object from VDL.dll > > db_remote = Valentina( "New_Database", host, ... ) > << create REMOTE db from VDK_CLIENT.dll > > >As result we get 2 dbRef. > >Now database objects SELF know which code LOCAL or REMOTE to use. > >And all rest coding will be the same. >At least it must works in this way. 1) this will work ONLY if there is a single shared library (kernel) for local and server (client). I gather it makes no difference whether we use dbRef or dbName. 2) Is making local and remote usage transparent truly benficial? May be people who actually have products working in both modes in parallel can say what they think. I can see pros and cons. Robert From kray at sonsothunder.com Wed Feb 18 10:06:56 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed Feb 18 10:08:17 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: Message-ID: <011a01c3f639$3f8c8b90$6601a8c0@LightningFlash> > IF you look by resedit into CODE resource, you will see there > name of linked VXCMD. > > So client CODE (which I have add yesterday) points > VXCMD_Client And LOCAL CODE points VXCMD > > If you put both CODE into stak and rename one of them, > It seems may work. > > > But this is only for Carbon and Classic then, because MACHO > do not use CODE resource. Right, and the problem I was describing is a Mach-O problem. Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From sunshine at public.kherson.ua Wed Feb 18 18:10:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 10:11:02 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: Message-ID: on 2/18/04 5:59 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: >> Robert, >> >> I have told already. >> We need differ ONLY and ONLY database object creation. >> >> >> db_local = Valentina( "New_Database") >> << create LOCAL db object from VDL.dll >> >> db_remote = Valentina( "New_Database", host, ... ) >> << create REMOTE db from VDK_CLIENT.dll >> >> >> As result we get 2 dbRef. >> >> Now database objects SELF know which code LOCAL or REMOTE to use. >> >> And all rest coding will be the same. >> At least it must works in this way. > > > 1) this will work ONLY if there is a single shared library (kernel) > for local and server (client). I gather it makes no difference > whether we use dbRef or dbName. Not correct! You think about dbRef, but on C++ side this is C++ object which have much more internal info > 2) Is making local and remote usage transparent truly benficial? YES OF COURSE!!! Developer can have LOCAL project and he can switch to client/server Changing just 2-3 lines of code. This is HUGE BENEFIT. > May be people who actually have products working in both modes in parallel can > say what they think. I can see pros and cons. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Wed Feb 18 10:10:13 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed Feb 18 10:12:16 2004 Subject: Breaking out of RecordLock... In-Reply-To: Message-ID: <011b01c3f639$b5233ca0$6601a8c0@LightningFlash> > The way I understand what you describe will indeed leave a cursor > open until the program owning that cursor quits. But this should > happen only in a local mode. In server mode, the server should close > cursors when client disconnects AFAIK. I believe that this is what > Ruslan means "cannot be". If this does happen, Ruslan has to go bug > hunting. No, Ruslan's right... it *does* close when the client disconnects, but since we don't know which client left the cursor open, everyone on the network needs to exit our program and disconnect from the server. This is something I was hoping to avoid if possible, because it is a terrible inconvenience to our customers. > The way I deal with that is that as a rule, I create and remove > cursors within the same handler. It makes it easier to see whether > all calls are there and I can use a scavenger script (which lists all > Valentina calls per handler in each object) and quickly inspect if > anything is amiss. Further, use SQLSelectRecords if you are only > retrieving data. That's exactly what we've been doing, which is why we find it odd that a cursor might be left "open"... we've been very careful to create and remove cursors in the same handler. Our program is quite large, though, with dozens (if not hundreds) of SQL calls, so tracking this down will be hard. Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Wed Feb 18 10:11:17 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed Feb 18 10:12:38 2004 Subject: Breaking out of RecordLock... In-Reply-To: Message-ID: <011c01c3f639$db3f3fb0$6601a8c0@LightningFlash> > ANOTHER FEATURE which can help diagnose problem: > ask each opened database how many cursors it have now. > we can extend DatabaseInfo class. Actually, if we could know what the query was that left the cursor open, we could do a search through our code for that query. This would helps us isolate where the problem is a lot more quickly. Any chance of adding *that* as a feature? Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Wed Feb 18 10:18:57 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed Feb 18 10:20:15 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: Message-ID: <011d01c3f63a$edb08310$6601a8c0@LightningFlash> > Ken, the entry points into externals are normalized per API. The > resource name is just an external binder. Try it out. Rename > Valentina to Valentina2. Any call to valentina will fail. But if you > change your transcripts to use valentina2, they should work fine > again. Or so they should :) Well, perhaps that works with Classic or Carbon, but it doesn't work with Mach-O. The reason is that the binding happens not as resources inside the resource fork of our app, but as DLLs that get linked to with the "externals" property. So the "local" Valentina external is called "VXCMD_Macho_MC" and the "server" external is called "VXCMD_Client_Macho_MC". Both of them get calls through the function name "Valentina". So if I link both externals to the same MC stack, when I call on Valentina(...), which external gets used? In my experience, MC will pick one over the other (I think it goes by alphabetical order), but regardless, I can't link both externals into the same stack. So in my app right now, I have two separate stacks, each one linked to its own external, and then a login dialog in our product determines whether the user wants to access a local DB or a server-based DB. And *then* I connect to the proper stack and are able to use the right external. But it's a bit of a pain... > Ruslan, having to use a different valentina call for local and server > activities may actually be a good approach for coding. > > get valentina ("SqlSelect",dbName,query) > get valentina_server ("SqlSelect",dbName,query) > > This way it is easy to keep track which code works locally and which > works remotely, particularly for programs that support both modes in > parallel. While most Valentina functions are the same, they are not > exactly the same and server has more of them. It is also easy to > switch from local to remote and vice versa. I totally agree. :-) Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From sunshine at public.kherson.ua Wed Feb 18 18:27:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 10:29:29 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: <20040218153324.84477.qmail@web20412.mail.yahoo.com> Message-ID: on 2/18/04 5:33 PM, Chris Sheffield at cm_sheffield@yahoo.com wrote: > I'm still not getting this to work right. Even with > the newly uploaded Classic version. As I've said, the > standalone version still works perfectly. I can > connect to my local database. But once I try to > switch everything to the client version, it just won't > work. At least now my stack will open; I'm just > getting error messages from Revolution that the > Valentina functions can't be found. It seems as > though the CODE resource is not connecting correctly > to the shared library. I've tried changing the ID of > the resource to everything from 1200 to 1205, with > differing results. Sometimes the stack opens and I > get the above mentioned error, and other times opening > my stack crashes Rev. > > I know I have kind of beat this to death, but if there > are any Rev/MC users out there who might be willing to > give this a try on Mac OS 9, I would be forever > grateful. Maybe I'm just not doing something right? > I really need to try and get this working this week in > order to send our product out for some beta testing. Chris, May be we can test this in metacard at first, To exclude that problem with Rev itself? Can you send me small project for MetaCard or in worse case for Rev. Which just create db object and CONNECT to server. Then disconnect. Nothing more. This is that minimal what we must to make work. Okay? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 18 18:28:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 10:29:46 2004 Subject: Breaking out of RecordLock... In-Reply-To: <011b01c3f639$b5233ca0$6601a8c0@LightningFlash> Message-ID: on 2/18/04 6:10 PM, Ken Ray at kray@sonsothunder.com wrote: >> The way I understand what you describe will indeed leave a cursor >> open until the program owning that cursor quits. But this should >> happen only in a local mode. In server mode, the server should close >> cursors when client disconnects AFAIK. I believe that this is what >> Ruslan means "cannot be". If this does happen, Ruslan has to go bug >> hunting. > > No, Ruslan's right... it *does* close when the client disconnects, but > since we don't know which client left the cursor open, everyone on the > network needs to exit our program and disconnect from the server. This > is something I was hoping to avoid if possible, because it is a terrible > inconvenience to our customers. Ken, Does cursors select many records? As you know RULE is cursor should make selection as small as possible. May be you need make cursors that just browse table as NoLock? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 18 18:29:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 10:30:03 2004 Subject: Breaking out of RecordLock... In-Reply-To: <011c01c3f639$db3f3fb0$6601a8c0@LightningFlash> Message-ID: on 2/18/04 6:11 PM, Ken Ray at kray@sonsothunder.com wrote: >> ANOTHER FEATURE which can help diagnose problem: >> ask each opened database how many cursors it have now. >> we can extend DatabaseInfo class. > > Actually, if we could know what the query was that left the cursor open, > we could do a search through our code for that query. This would helps > us isolate where the problem is a lot more quickly. Any chance of adding > *that* as a feature? Yes, Ken I think Igor will implement this today. We have all internal data for this 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 cm_sheffield at yahoo.com Wed Feb 18 08:30:25 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Wed Feb 18 10:30:31 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: <011d01c3f63a$edb08310$6601a8c0@LightningFlash> Message-ID: <20040218163025.10768.qmail@web20422.mail.yahoo.com> Ken, What I've done is use the startup handler to check a couple different things to determine whether to use standalone or network. It sets the externals of my main stack accordingly. Granted this doesn't work in the IDE, but it works great for the built app. It does require the use of some kind of preferences or configuration file obviously. But that way I don't have to have two separate accessor stacks. Chris Sheffield Read Naturally --- Ken Ray wrote: > > Ken, the entry points into externals are > normalized per API. The > > resource name is just an external binder. Try it > out. Rename > > Valentina to Valentina2. Any call to valentina > will fail. But if you > > change your transcripts to use valentina2, they > should work fine > > again. Or so they should :) > > Well, perhaps that works with Classic or Carbon, but > it doesn't work > with Mach-O. The reason is that the binding happens > not as resources > inside the resource fork of our app, but as DLLs > that get linked to with > the "externals" property. > > So the "local" Valentina external is called > "VXCMD_Macho_MC" and the > "server" external is called "VXCMD_Client_Macho_MC". > Both of them get > calls through the function name "Valentina". So if I > link both externals > to the same MC stack, when I call on Valentina(...), > which external gets > used? In my experience, MC will pick one over the > other (I think it goes > by alphabetical order), but regardless, I can't link > both externals into > the same stack. > > So in my app right now, I have two separate stacks, > each one linked to > its own external, and then a login dialog in our > product determines > whether the user wants to access a local DB or a > server-based DB. And > *then* I connect to the proper stack and are able to > use the right > external. But it's a bit of a pain... > > > Ruslan, having to use a different valentina call > for local and server > > activities may actually be a good approach for > coding. > > > > get valentina ("SqlSelect",dbName,query) > > get valentina_server ("SqlSelect",dbName,query) > > > > This way it is easy to keep track which code works > locally and which > > works remotely, particularly for programs that > support both modes in > > parallel. While most Valentina functions are the > same, they are not > > exactly the same and server has more of them. It > is also easy to > > switch from local to remote and vice versa. > > I totally agree. :-) > > Ken Ray > Sons of Thunder Software > Email: kray@sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools From sunshine at public.kherson.ua Wed Feb 18 18:34:06 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 10:34:14 2004 Subject: VXCMD local and remote together In-Reply-To: <011d01c3f63a$edb08310$6601a8c0@LightningFlash> Message-ID: on 2/18/04 6:18 PM, Ken Ray at kray@sonsothunder.com wrote: >> Ruslan, having to use a different valentina call for local and server >> activities may actually be a good approach for coding. >> >> get valentina ("SqlSelect",dbName,query) >> get valentina_server ("SqlSelect",dbName,query) >> >> This way it is easy to keep track which code works locally and which >> works remotely, particularly for programs that support both modes in >> parallel. While most Valentina functions are the same, they are not >> exactly the same and server has more of them. It is also easy to >> switch from local to remote and vice versa. > > I totally agree. :-) Hmm, I am not agree. And where you see easy of switch IF all your code will be explicitly writeen LOCAL it or REMOTE it. No guys, this is not correct. Algorithm must work with abstraction. For example, if you write algorithm that in loop print records of cursor print_records( I_Cursor inCursor ) { for loop } This SIGNLE function must work with ANY I_Cursor. It must not care if this is remote or LOCAL cursor. This was target of all programming industry all years. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 18 17:33:59 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Feb 18 10:42:39 2004 Subject: Breaking out of RecordLock... In-Reply-To: <011b01c3f639$b5233ca0$6601a8c0@LightningFlash> References: <011b01c3f639$b5233ca0$6601a8c0@LightningFlash> Message-ID: >That's exactly what we've been doing, which is why we find it odd that a >cursor might be left "open"... we've been very careful to create and >remove cursors in the same handler. Our program is quite large, though, >with dozens (if not hundreds) of SQL calls, so tracking this down will >be hard. Have you tried writing a scavenger script? A handler that goes through all objects of a selected stack, fetches their script, and finds all valentina calls, reporting them in a sequence (or reporting only selected ones)? I used this approach not that long ago in my database server to find out all handlers with missing database flush. I found more instances than I anticipated :) The report included full object references, so it was easy to go and fix them. Even for a large stack, this is faster than inspecting all scripts manually. Another thing to check is whether you do error checking after each valentina call. May be you do have a close request but it has a typo or something. If the error is not detected, the cursor is left open. Similar scavenger script can report these as well (particularly easy if a central error handler is used). Robert From rjb at rz.uni-potsdam.de Wed Feb 18 17:52:01 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Feb 18 11:02:37 2004 Subject: VXCMD local and remote together In-Reply-To: References: Message-ID: >on 2/18/04 6:18 PM, Ken Ray at kray@sonsothunder.com wrote: > >>> Ruslan, having to use a different valentina call for local and server >>> activities may actually be a good approach for coding. >>> >>> get valentina ("SqlSelect",dbName,query) >>> get valentina_server ("SqlSelect",dbName,query) >>> >>> This way it is easy to keep track which code works locally and which >>> works remotely, particularly for programs that support both modes in >>> parallel. While most Valentina functions are the same, they are not >>> exactly the same and server has more of them. It is also easy to >>> switch from local to remote and vice versa. >> >> I totally agree. :-) > >Hmm, I am not agree. > >And where you see easy of switch IF all your code will be explicitly writeen >LOCAL it or REMOTE it. > >No guys, this is not correct. > >Algorithm must work with abstraction. >For example, if you write algorithm that in loop print records of cursor > > print_records( I_Cursor inCursor ) > { > for loop > } > >This SIGNLE function must work with ANY I_Cursor. >It must not care if this is remote or LOCAL cursor. > >This was target of all programming industry all years. > It seems that we look not at SWITCHING from local to client mode but supporting BOTH modes in parallel. For switching, yes, you are right. But the best that Valentina offers here is working with both modes in the same program. In each mode, there are different errors to handle (it is a waste of time to check for connection errors in local mode, for example) and possibly different handling of requests (what was that discussion about client versus server side cursors?). Besides, even when switching, at least in MC/Rev making a global rename of function call is not a big deal. And having functions that explicitely remind us whether they work locally or remotely makes more self-documenting code. Robert From rjb at rz.uni-potsdam.de Wed Feb 18 17:43:21 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Feb 18 11:02:47 2004 Subject: VXCMD_Client_Classic_MC In-Reply-To: <011d01c3f63a$edb08310$6601a8c0@LightningFlash> References: <011d01c3f63a$edb08310$6601a8c0@LightningFlash> Message-ID: > > Ken, the entry points into externals are normalized per API. The >> resource name is just an external binder. Try it out. Rename >> Valentina to Valentina2. Any call to valentina will fail. But if you >> change your transcripts to use valentina2, they should work fine >> again. Or so they should :) > >Well, perhaps that works with Classic or Carbon, but it doesn't work >with Mach-O. The reason is that the binding happens not as resources >inside the resource fork of our app, but as DLLs that get linked to with >the "externals" property. Yes, that is surely true for Classic. >So the "local" Valentina external is called "VXCMD_Macho_MC" and the >"server" external is called "VXCMD_Client_Macho_MC". Both of them get >calls through the function name "Valentina". So if I link both externals >to the same MC stack, when I call on Valentina(...), which external gets >used? In my experience, MC will pick one over the other (I think it goes >by alphabetical order), but regardless, I can't link both externals into >the same stack. I claim ignorance here as I haven't worked with Macho yet. I presumed that the external property binds only the file. No clue how "valentina" name as function comes into play here. >So in my app right now, I have two separate stacks, each one linked to >its own external, and then a login dialog in our product determines >whether the user wants to access a local DB or a server-based DB. And >*then* I connect to the proper stack and are able to use the right >external. But it's a bit of a pain... > >> Ruslan, having to use a different valentina call for local and server >> activities may actually be a good approach for coding. >> >> get valentina ("SqlSelect",dbName,query) >> get valentina_server ("SqlSelect",dbName,query) >> >> This way it is easy to keep track which code works locally and which >> works remotely, particularly for programs that support both modes in >> parallel. While most Valentina functions are the same, they are not >> exactly the same and server has more of them. It is also easy to >> switch from local to remote and vice versa. > >I totally agree. :-) > >Ken Ray Looks like Ruslan sees it other way :) Robert From sunshine at public.kherson.ua Wed Feb 18 19:28:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 11:29:01 2004 Subject: error 362 In-Reply-To: <009c01c3f59a$e6c27c20$4c00a8c0@vbp.visualbook.com> Message-ID: on 2/17/04 11:13 PM, Rob Wingate at rwingate@visual-book.com wrote: > Ruslan, > >> You self have produce this XML file? > > ODBC_Valentina produced this XML file, when I clicked the "Save Schema" > button. I did this today, after upgrading to 1.10. > >> I think will be good if you send > > I have just finished preparing all the files necessary for you to test. It's > a tiny replica of my project. It contains Lingo base and derived classes, > and a minimal database. I have removed everything except the code & data > needed to see the problem. Hi Rob, Okay I see where from this error come GetRecordAsProplist() returns it if query returns empty result. More logical to return EMPTY list, yes? Okay we will redo this in 2.0 For now just catch that error, and be aware that this is No records found on your query. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From softil at onlinehome.de Wed Feb 18 18:37:26 2004 From: softil at onlinehome.de (SoftIl) Date: Wed Feb 18 11:38:01 2004 Subject: [VNET] big problem with BaseObject.SetName() methode Message-ID: <000801c3f645$f58646a0$fe78a8c0@IPSBASIS> Hi Ruslan, there is an big problem with the baseobject methode "SetName()". If I change the name all data in the baseobject are deleted. I've got an empty table after change the name. I think (and hope) that wouldn't be correctly?? Best regards, Carsten From sunshine at public.kherson.ua Wed Feb 18 19:43:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 11:43:25 2004 Subject: [VNET] big problem with BaseObject.SetName() methode In-Reply-To: <000801c3f645$f58646a0$fe78a8c0@IPSBASIS> Message-ID: on 2/18/04 7:37 PM, SoftIl at softil@onlinehome.de wrote: > Hi Ruslan, > there is an big problem with the baseobject methode "SetName()". > If I change the name all data in the baseobject are deleted. I've got an > empty table after change the name. > I think (and hope) that wouldn't be correctly?? Of course, Carsten. I will check that 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 sunshine at public.kherson.ua Wed Feb 18 19:48:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 11:51:28 2004 Subject: VXCMD local and remote together In-Reply-To: Message-ID: on 2/18/04 6:52 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: >>>> Ruslan, having to use a different valentina call for local and server >>>> activities may actually be a good approach for coding. >>>> >>>> get valentina ("SqlSelect",dbName,query) >>>> get valentina_server ("SqlSelect",dbName,query) >>>> >>>> This way it is easy to keep track which code works locally and which >>>> works remotely, particularly for programs that support both modes in >>>> parallel. While most Valentina functions are the same, they are not >>>> exactly the same and server has more of them. It is also easy to >>>> switch from local to remote and vice versa. >>> >>> I totally agree. :-) >> >> Hmm, I am not agree. >> >> And where you see easy of switch IF all your code will be explicitly writeen >> LOCAL it or REMOTE it. >> >> No guys, this is not correct. >> >> Algorithm must work with abstraction. >> For example, if you write algorithm that in loop print records of cursor >> >> print_records( I_Cursor inCursor ) >> { >> for loop >> } >> >> This SIGNLE function must work with ANY I_Cursor. >> It must not care if this is remote or LOCAL cursor. >> >> This was target of all programming industry all years. >> > > It seems that we look not at SWITCHING from local to client mode but > supporting BOTH modes in parallel. For switching, yes, you are right. > But the best that Valentina offers here is working with both modes in > the same program. Yes, this will be big plus. It seems any other db do not offer such feature. > In each mode, there are different errors to handle (it is a waste of > time to check for connection errors in local mode, for example) and > possibly different handling of requests (what was that discussion > about client versus server side cursors?). Agree on errors. Client-side and server side cursors can still be used in LOCAL mode, just they will be the same. > Besides, even when switching, at least in MC/Rev making a global > rename of function call is not a big deal. And having functions that > explicitely remind us whether they work locally or remotely makes > more self-documenting code. Okay. Function Cursor_GetRecordCount() Why you must differ it for LOCAL and REMOTE??? Its logic is the same for all modes. And name must be the same. And this is true for 99% of method IMHO. Only BIG difference -- Database object creation. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From softil at onlinehome.de Wed Feb 18 19:23:47 2004 From: softil at onlinehome.de (SoftIl) Date: Wed Feb 18 12:24:15 2004 Subject: [VNET] big problem with BaseObject.SetName() methode Message-ID: <000701c3f64c$6bd2cb70$fe78a8c0@IPSBASIS> Hi Ruslan, I'm so sorry, it was a wrong alarm. The mistake lay with myself. The baseobject methode "SetName()" works very fine. Best regards, Carsten From sunshine at public.kherson.ua Wed Feb 18 20:59:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 12:59:40 2004 Subject: Revolution Carbon, Classic versions ? In-Reply-To: Message-ID: on 2/18/04 8:17 PM, Chris Sheffield at csheffield@readnaturally.com wrote: Hi Chris, and all. Another question. I remember that MetaCard there have Classic, Carbon and Macho versions of IDE. Then they have drop CARBON. So what about Revolution? We must use different IDEs for each target. Carbon IDE will no work with VXCMD Classic. Yes Chris? You use different IDEs ? Chris do you use Rev 2.1 ? I read now Rev site -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Wed Feb 18 11:10:44 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Wed Feb 18 13:10:57 2004 Subject: Revolution Carbon, Classic versions ? In-Reply-To: Message-ID: <20040218191044.43593.qmail@web20412.mail.yahoo.com> There is one IDE for Revolution which supports Mac OS versions from 8.5 to 9.2 (I think). There is another that supports OS X. There is not a Classic, Carbon, and Mach-O version that I am aware of. And from what I understand, the regular Mac OS version of Rev supports the HyperCard XCMDs, which I'm pretty sure is why the Carbon version does not work with it. You can read more about this in the Rev docs. Someone correct me if I'm wrong in any of this. --- Ruslan Zasukhin wrote: > on 2/18/04 8:17 PM, Chris Sheffield at > csheffield@readnaturally.com wrote: > > Hi Chris, and all. > > Another question. > > I remember that MetaCard there have > Classic, Carbon and Macho versions of IDE. > > Then they have drop CARBON. > > So what about Revolution? > We must use different IDEs for each target. > > Carbon IDE will no work with VXCMD Classic. > Yes Chris? > > You use different IDEs ? > > Chris do you use Rev 2.1 ? > > I read now Rev site > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools From sunshine at public.kherson.ua Wed Feb 18 21:10:13 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 13:14:16 2004 Subject: Revolution Carbon, Classic versions ? In-Reply-To: Message-ID: on 2/18/04 8:59 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Hi Chris, and all. > > Another question. > > I remember that MetaCard there have > Classic, Carbon and Macho versions of IDE. > > Then they have drop CARBON. > > So what about Revolution? > We must use different IDEs for each target. > > Carbon IDE will no work with VXCMD Classic. > Yes Chris? > > You use different IDEs ? > > Chris do you use Rev 2.1 ? > > I read now Rev site So as I see, Revolution have MacOS - PPC i.e. Classic MacOS X -- I assume Macho. So I think Rev, also have drop CARBON support. And we must use ONLY and ONLY Classic. Tuviah, is this true? --- Tuviah, Then I do not understand... I have Rev 2.1 archive which run on OS X. So I assume this is macho. Then why this archive contains Valentina_Classic ??? Not clear. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 18 21:20:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 18 13:20:56 2004 Subject: Revolution Carbon, Classic versions ? In-Reply-To: <20040218191044.43593.qmail@web20412.mail.yahoo.com> Message-ID: on 2/18/04 9:10 PM, Chris Sheffield at cm_sheffield@yahoo.com wrote: > There is one IDE for Revolution which supports Mac OS > versions from 8.5 to 9.2 (I think). There is another > that supports OS X. > There is not a Classic, Carbon, > and Mach-O version that I am aware of. Classic -- this is is 8.5 to 9.2 OS X -- this is Macho. > And from what > I understand, the regular Mac OS version of Rev > supports the HyperCard XCMDs, which I'm pretty sure is > why the Carbon version does not work with it. You can > read more about this in the Rev docs. RESUME: Rev 2.1 have drop CARBON. Deal is that in Rev 1.1 there was Classic and Carbon. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From diskot123 at juno.com Wed Feb 18 15:38:00 2004 From: diskot123 at juno.com (Tuviah M Snyder) Date: Wed Feb 18 14:38:48 2004 Subject: Revolution Carbon, Classic versions ? Message-ID: <20040218.153800.176.0.diskot123@juno.com> Rev supports Macho (OSX) and Classic (8.5,9). Carbon was dropped, and for OSX it is a good thing, as it means we can support the OSX feature set more fully. Tuviah From rjb at rz.uni-potsdam.de Wed Feb 18 21:54:33 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Feb 18 15:02:13 2004 Subject: VXCMD local and remote together In-Reply-To: References: Message-ID: > > It seems that we look not at SWITCHING from local to client mode but >> supporting BOTH modes in parallel. For switching, yes, you are right. >> But the best that Valentina offers here is working with both modes in >> the same program. > >Yes, this will be big plus. >It seems any other db do not offer such feature. > > >> In each mode, there are different errors to handle (it is a waste of >> time to check for connection errors in local mode, for example) and >> possibly different handling of requests (what was that discussion >> about client versus server side cursors?). > >Agree on errors. > >Client-side and server side cursors can still be used in LOCAL mode, just >they will be the same. > >> Besides, even when switching, at least in MC/Rev making a global >> rename of function call is not a big deal. And having functions that >> explicitely remind us whether they work locally or remotely makes >> more self-documenting code. > >Okay. > >Function > > Cursor_GetRecordCount() > >Why you must differ it for LOCAL and REMOTE??? > >Its logic is the same for all modes. >And name must be the same. > >And this is true for 99% of method IMHO. > >Only BIG difference -- Database object creation. > But, but, but... Ruslan... you talk at a different level now. Kernel functionality is one thing, calling it from Transcript is another. Nobody said there should be a difference with syntax of kernel functions. What we talk about is the transcript-level coding. Using your example above: in local mode get Valentina("Cursor_GetRecordCount",cursorRef) in client-server mode get Valentina_Server("Cursor_GetRecordCount",cursorRef) The part in parenthesis is the SAME (as it was in my original example). The difference is only in using a different external. Whether these externals use the same or different libraries is totally irrelevant to us (as long as it works :) This si why I said that when I have a program that calls "Valentina" and I want to SWITCH it to using only server, I just make a global change of "Valentina" to "Valentina_Server" and add all the server-related stuff. If I support both modes, I can immediately see which parts of my code deal with local database and which with remote. Robert From kray at sonsothunder.com Wed Feb 18 15:59:46 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed Feb 18 16:00:28 2004 Subject: Breaking out of RecordLock... In-Reply-To: Message-ID: <017301c3f66a$8a267bd0$6601a8c0@LightningFlash> > >That's exactly what we've been doing, which is why we find > it odd that > >a cursor might be left "open"... we've been very careful to > create and > >remove cursors in the same handler. Our program is quite > large, though, > >with dozens (if not hundreds) of SQL calls, so tracking this > down will > >be hard. > > Have you tried writing a scavenger script? A handler that goes > through all objects of a selected stack, fetches their script, and > finds all valentina calls, reporting them in a sequence (or reporting > only selected ones)? Sounds like a good plan. > Another thing to check is whether you do error checking after each > valentina call. May be you do have a close request but it has a typo > or something. If the error is not detected, the cursor is left open. > Similar scavenger script can report these as well (particularly easy > if a central error handler is used). I already channel all Valentina calls through a central "wrapper" handler that checks for errors before processing, so at least I can rest easy on *that* account. :-) Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Wed Feb 18 16:01:20 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed Feb 18 16:02:39 2004 Subject: VXCMD local and remote together In-Reply-To: Message-ID: <017401c3f66a$c1904650$6601a8c0@LightningFlash> > It seems that we look not at SWITCHING from local to client mode but > supporting BOTH modes in parallel. For switching, yes, you are right. > But the best that Valentina offers here is working with both modes in > the same program. Agreed. In fact there are times when I'd like to use a local database as a "cache" of records retrieved from the server, or to work on synchronizing data between a local and a server database. In this instance it would be great to be able to access both local and server in parallel. Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Wed Feb 18 16:02:32 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed Feb 18 16:03:27 2004 Subject: VXCMD local and remote together In-Reply-To: Message-ID: <017501c3f66a$ecb643c0$6601a8c0@LightningFlash> > Okay. > > Function > > Cursor_GetRecordCount() > > Why you must differ it for LOCAL and REMOTE??? > > Its logic is the same for all modes. > And name must be the same. > > And this is true for 99% of method IMHO. > > Only BIG difference -- Database object creation. Database object creation AND getting both Mach-O DLLs to coexist simultaneously, IMHO. Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From rjb at rz.uni-potsdam.de Wed Feb 18 23:58:05 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Feb 18 17:01:59 2004 Subject: Breaking out of RecordLock... In-Reply-To: <017301c3f66a$8a267bd0$6601a8c0@LightningFlash> References: <017301c3f66a$8a267bd0$6601a8c0@LightningFlash> Message-ID: > >I already channel all Valentina calls through a central "wrapper" >handler that checks for errors before processing, so at least I can rest >easy on *that* account. > >:-) > >Ken Ray >Sons of Thunder Software >Email: kray@sonsothunder.com >Web Site: http://www.sonsothunder.com/ Just to push this to the limit: and your central handler knows that, unlike most other calls, UpdateRecord and AddRecord return false when they fail (not necessarily a numeric error)? Robert From kray at sonsothunder.com Wed Feb 18 17:09:57 2004 From: kray at sonsothunder.com (Ken Ray) Date: Wed Feb 18 17:11:31 2004 Subject: Breaking out of RecordLock... In-Reply-To: Message-ID: <019a01c3f674$55f5b0b0$6601a8c0@LightningFlash> Actually, I was just testing to see if the first word of the result was "ERROR" and the second word was a number... What causes UpdateRecord and AddRecord return "false"? 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 > Robert Brenstein > Sent: Wednesday, February 18, 2004 4:58 PM > To: Valentina Developers > Subject: RE: Breaking out of RecordLock... > > > > > >I already channel all Valentina calls through a central "wrapper" > >handler that checks for errors before processing, so at least I can > >rest easy on *that* account. > > > >:-) > > > >Ken Ray > >Sons of Thunder Software > >Email: kray@sonsothunder.com > >Web Site: http://www.sonsothunder.com/ > > Just to push this to the limit: and your central handler knows that, > unlike most other calls, UpdateRecord and AddRecord return false when > they fail (not necessarily a numeric error)? > > Robert > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/val> entina > From rjb at rz.uni-potsdam.de Thu Feb 19 01:30:15 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Feb 18 18:41:25 2004 Subject: Breaking out of RecordLock... In-Reply-To: <019a01c3f674$55f5b0b0$6601a8c0@LightningFlash> References: <019a01c3f674$55f5b0b0$6601a8c0@LightningFlash> Message-ID: A carryover from other languages as far as I know (I mean this is what kernel returns in other languages and kernel is common for all products). Just like nextRecord (and related). You can search list archives way back on discussions on this issue. But this is properly documented in vxcmd doc. No clue when it exactly returns false and when a numerical error. I just test for both for those functions. It is a bit of nuisance to maintain 3 different central error handlers, but I just got used to it. I guess it is a price for multi-environment support. >Actually, I was just testing to see if the first word of the result was >"ERROR" and the second word was a number... What causes UpdateRecord and >AddRecord return "false"? > >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 >> Robert Brenstein >> Sent: Wednesday, February 18, 2004 4:58 PM >> To: Valentina Developers >> Subject: RE: Breaking out of RecordLock... >> >> >> > >> >I already channel all Valentina calls through a central "wrapper" >> >handler that checks for errors before processing, so at least I can >> >rest easy on *that* account. >> > >> >:-) >> > >> >Ken Ray >> >Sons of Thunder Software >> >Email: kray@sonsothunder.com >> >Web Site: http://www.sonsothunder.com/ >> >> Just to push this to the limit: and your central handler knows that, >> unlike most other calls, UpdateRecord and AddRecord return false when >> they fail (not necessarily a numeric error)? >> >> Robert >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/val> entina >> > > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina From marcus at synchromedia.co.uk Thu Feb 19 02:34:23 2004 From: marcus at synchromedia.co.uk (Marcus Bointon) Date: Wed Feb 18 20:34:30 2004 Subject: [V4MD, V.NET] Pictures again Message-ID: Not quite the same old question! I need to store pairs of images, one JPEG, one PNG in a Valentina DB. The database is being created using the Valentina .NET component, but read using V4MD. Because image data is written into blobs in the .NET app, it's just raw data. The thing that's concerning me is that it's vital that the PNGs are stored bit-perfect. JPEG seems to be less of a problem, other than lack of a picture type in v.net, which is what's forcing us to use blobs. It's more of a Director question really - am I safe setting member.image to a blob I've read from the DB and trust that Director will be able to handle the JPEG or PNG data correctly? If not, how should I go about it? Or should I reimport all images inside Director (which I'm trying to avoid)? And is there any difference in the actual JPEG image data stored in a picture field vs a blob field (aside from the additional stuff that the picture field type adds)? Martin? 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 Feb 19 10:00:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 02:00:51 2004 Subject: Valentina Databases on PC In-Reply-To: <3719331A-628C-11D8-99BB-003065F97100@yahoo.com> Message-ID: on 2/19/04 5:32 AM, Rodney Tamblyn at rodney_tamblyn@yahoo.com wrote: Hi Rodney, > In the documentation is says that PC Valentina databases have to have > the .vdb extension. I want to use Valentina databases as the default > file format for storing certain classes of information in my > application and would like to use some other extension (".ocb"). I > have tested this and as the documentation says, it will not work. To make it work you need at first inform Valentina about YOUR extensions. You need to do this using function ValentinaExtentions() > I guess my only alternative is to associate the .vdb extension with > my application in the registry. no > I want to avoid situation where use > has other Valentina database products on their computer that are > unrelated to my product. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From nwoe at privat.utfors.se Thu Feb 19 09:25:34 2004 From: nwoe at privat.utfors.se (=?US-ASCII?Q?niklas_wormann?=) Date: Thu Feb 19 02:25:41 2004 Subject: SV: [V4MD, V.NET] Pictures again In-Reply-To: Message-ID: > -----Ursprungligt meddelande----- > Fran: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net]For Marcus Bointon > Skickat: den 19 februari 2004 03:34 > Till: Valentina@lists.macserve.net (Subscribers of Valentina) > Amne: [V4MD, V.NET] Pictures again > > > Not quite the same old question! > > I need to store pairs of images, one JPEG, one PNG in a Valentina DB. > The database is being created using the Valentina .NET component, but read > using V4MD. Because image data is written into blobs in the .NET app, it's > just raw data. The thing that's concerning me is that it's vital that the > PNGs are stored bit-perfect. JPEG seems to be less of a problem, > other than > lack of a picture type in v.net, which is what's forcing us to use blobs. > > It's more of a Director question really - am I safe setting > member.image to > a blob I've read from the DB and trust that Director will be able > to handle > the JPEG or PNG data correctly? If not, how should I go about it? > > Or should I reimport all images inside Director (which I'm trying > to avoid)? Hi! you are probably aware of this, but you actually dont have to import the pictures into director, what i usually do is to keep them external, as separate files, and retrive them by setting the filename of member, by having one, or a couple depending on the need, castmember linked to a dummy member. the obvious drawback is that the files will be immediately "visible" in the OS. niklas woerman From sunshine at public.kherson.ua Thu Feb 19 10:28:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 02:28:44 2004 Subject: VXCMD local and remote together In-Reply-To: Message-ID: on 2/18/04 10:54 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: >>> Besides, even when switching, at least in MC/Rev making a global >>> rename of function call is not a big deal. And having functions that >>> explicitely remind us whether they work locally or remotely makes >>> more self-documenting code. >> >> Okay. >> >> Function >> >> Cursor_GetRecordCount() >> >> Why you must differ it for LOCAL and REMOTE??? >> >> Its logic is the same for all modes. >> And name must be the same. >> >> And this is true for 99% of method IMHO. >> >> Only BIG difference -- Database object creation. >> > > But, but, but... Ruslan... you talk at a different level now. Kernel > functionality is one thing, calling it from Transcript is another. No I have talk about VXCMD! > Nobody said there should be a difference with syntax of kernel > functions. What we talk about is the transcript-level coding. Using > your example above: > > in local mode > > get Valentina("Cursor_GetRecordCount",cursorRef) > > in client-server mode > > get Valentina_Server("Cursor_GetRecordCount",cursorRef) Robert, and this is wrong. Doing it in THIS way, you already cannot write SINGLE algorithm In VXCMD which will work with ANY cursor LOCAL or REMOTE. on print_records() get Valentina("Cursor_GetRecordCount",cursorRef) .... end If follow to your idea you will MUST to have second algorithm on print_records() get Valentina_Server("Cursor_GetRecordCount",cursorRef) .... end Robert, this is totally wrong !!!! Valentina 2.0 must allow write SINGLE algorithm. And I can do this. And this is target of all program languages! DO NOT MAKE CODE DOUBLE. Robert, believe me, this is wrong idea. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 19 10:33:12 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 02:33:19 2004 Subject: Breaking out of RecordLock... In-Reply-To: Message-ID: on 2/19/04 2:30 AM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: > A carryover from other languages as far as I know (I mean this is > what kernel returns in other languages and kernel is common for all > products). Just like nextRecord (and related). You can search list > archives way back on discussions on this issue. But this is properly > documented in vxcmd doc. > > No clue when it exactly returns false and when a numerical error. I > just test for both for those functions. It is a bit of nuisance to > maintain 3 different central error handlers, but I just got used to > it. I guess it is a price for multi-environment support. And note, in 2.0 this will be polished. Design mistake was in the kernel on historical reasons. Features was added after api was established. Or true/false and no errors. Or just errors. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 19 09:37:43 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Thu Feb 19 02:37:56 2004 Subject: [V4MD, V.NET] Pictures again In-Reply-To: References: Message-ID: <6.0.1.1.2.20040219093057.01c12050@pop.gmx.de> At 03:34 19.02.2004, you wrote: >It's more of a Director question really - am I safe setting member.image to >a blob I've read from the DB and trust that Director will be able to handle >the JPEG or PNG data correctly? If not, how should I go about it? Hi Marcus, currently, you can't set the "image" property using whatever comes from a Picture or BLOB field, because Valentina won't return the data as "image" date in the way Director needs it. I have been asking for a SetImage() / GetImage() function for years now, but Ruslans said it's not that easy to implement. It would certainly be the most important new feature for me... But you can create a new bitmap member and set the "media" property and see what happens. I haven't tried that combination yet, but it might actually work. Other than that you're probably stuck with external images, I would not recommend importing them into a cast, except you have very few images. But even then there might be memory issues, depending on how large the images are. Cheers, 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 Thu Feb 19 10:40:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 02:40:35 2004 Subject: [V4MD, V.NET] Pictures again In-Reply-To: Message-ID: on 2/19/04 4:34 AM, Marcus Bointon at marcus@synchromedia.co.uk wrote: > Not quite the same old question! > > I need to store pairs of images, one JPEG, one PNG in a Valentina DB. > The database is being created using the Valentina .NET component, but read > using V4MD. Because image data is written into blobs in the .NET app, it's > just raw data. The thing that's concerning me is that it's vital that the > PNGs are stored bit-perfect. JPEG seems to be less of a problem, other than > lack of a picture type in v.net, which is what's forcing us to use blobs. > > It's more of a Director question really - am I safe setting member.image to > a blob I've read from the DB and trust that Director will be able to handle > the JPEG or PNG data correctly? If not, how should I go about it? > > Or should I reimport all images inside Director (which I'm trying to avoid)? > > And is there any difference in the actual JPEG image data stored in a > picture field vs a blob field (aside from the additional stuff that the > picture field type adds)? Hi Marcus, I think you have problems. 1) VNET do not have pictures? Not remember. then you can try VCOM instead. it works with DIB and Valentina's Picture field. 2) Director will NOT understand JPG and PNG from BLOB. Director expect from Xtra uncompressed picture in the BITMAP format. 3) Picture field really differ from BLOB. Picture field have 8 byte header. It seems described in C++ or RB docs. 4) Marcus, PNG in any case will not works. may be you can only extract a picture from Valentina db to tmp disk file and open it in Director. But problem is that V4MD do not have power to work with BLOB fields. 5) I think only correct way for you -- insert pictures using Director itself. Director will open JPG or PNG, convert them on open to BITMAP, Give BITMAP to Valentina, Valentina compress them to JPG in the picture field. I think this is the only way if you want images in db. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Thu Feb 19 11:03:07 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Feb 19 04:20:01 2004 Subject: VXCMD local and remote together In-Reply-To: References: Message-ID: > >> Okay. >>> >>> Function >>> >>> Cursor_GetRecordCount() >>> >>> Why you must differ it for LOCAL and REMOTE??? >>> >>> Its logic is the same for all modes. >>> And name must be the same. >>> >>> And this is true for 99% of method IMHO. >>> >>> Only BIG difference -- Database object creation. >>> >> >> But, but, but... Ruslan... you talk at a different level now. Kernel >> functionality is one thing, calling it from Transcript is another. > >No I have talk about VXCMD! But your example is for a kernel function not vxcmd call. > > Nobody said there should be a difference with syntax of kernel >> functions. What we talk about is the transcript-level coding. Using >> your example above: >> >> in local mode >> > > get Valentina("Cursor_GetRecordCount",cursorRef) >> >> in client-server mode >> >> get Valentina_Server("Cursor_GetRecordCount",cursorRef) > >Robert, and this is wrong. > >Doing it in THIS way, you already cannot write SINGLE algorithm >In VXCMD which will work with ANY cursor LOCAL or REMOTE. Of course I can. I don't see why having two function names stops me from using the same algorithm. May be you mean using exactly same, single code (not algorithm). Then yes. But even that is possible in transcript do "get" && valentina & "(" & quote & "Cursor_GetRecordCount" & quote & comma & cursorRef & ")" 'valentina' here is a global variable containing one or the other name. Of course, it is a silly way to code in real applications but possible it is :) >on print_records() > > get Valentina("Cursor_GetRecordCount",cursorRef) > > .... >end > > >If follow to your idea you will MUST to have second algorithm > >on print_records() > > get Valentina_Server("Cursor_GetRecordCount",cursorRef) > > .... >end Bad example, Ruslan. With vxcmd, if I want to print all records, I would use SqlSelectRecords, which is a single call in each case, so a simple if-else will do. > >Robert, this is totally wrong !!!! > >Valentina 2.0 must allow write SINGLE algorithm. >And I can do this. > >And this is target of all program languages! > > DO NOT MAKE CODE DOUBLE. > >Robert, believe me, this is wrong idea. > > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] Hmm, I do not believe in such absolute dogmas when it comes to coding. And I have never heard that doubling code is totally wrong. On the contrary. There are instances when doubling the code is beneficial. For example, if I have an if-else condition in a loop that runs thousands times, it is usually better to have two loops with if-else around them. Also, loop unrolling is still a common technique for numerically-intensive applications. In both cases, the execution time is drastically reduced. And when I think about any applications of mine that could use Vserver, I do not see exactly same functionality for local and remote handling, so your argument of having the same algorithm might not apply at all. For me self-documenting coding is a high-priority rule. But may be I am an odd-ball :) But don't take this discussion as a request to force you to make two vxcmd libraries. If a single one can easily achieve supporting both local and client-server modes, it is fine. But if that proves to be problematic, I think that having two different calls would work just fine. At least for vxcmd. Robert From sunshine at public.kherson.ua Thu Feb 19 12:29:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 04:30:23 2004 Subject: Revolution test stack In-Reply-To: Message-ID: on 2/18/04 8:17 PM, Chris Sheffield at csheffield@readnaturally.com wrote: Hi Chris, > I don't have access to a MetaCard IDE, so I had to do this in > Revolution. The engines are the same now, though, so I would think the > results would be the same no matter which IDE was being used. Unless > there is some weird thing with Revolution, which I suppose is possible. I have download 2.1.2 Rev for MacOS. Now I see that it NOT start on OS X as did 2.1. This Rev archive includes Valentina_Classic module of 1.8.9b4 version. BTW, I DO NOT understand... I assume VXCMD developers remove this module, and drop VXCMD_Classic_MC.dll Of 1.10 version, yes guys? Okay. > Here are my results. I took the CODE resource from the MC stack you > uploaded with the classic version and pasted it into this stack exactly > as it is. So it has resources for both the regular and client > versions. Wait. You say not correct phrase. VXCMD_Classic_Client contains stack with 2 CODE. Correct. But this is both CLIENT CODE resources. 1200 - Classic 1202 - Carbon. As we have found, Revolution do not support Carbon now, So 1202 CODE must be trashed. You CANNOT have LOCAL and CLIENT CODE in the same stack. Because they both have name Valentina and they both use id 1200. We have just discuss this on Valentina list. > When I leave it like this, it seems to connect to the > server, at least I get a valid connection ID from the Database_New() > function. Hmm, Chris. To see IF you really connect to Vserver you need run Valentina server in the terminal window. Please read docs. Then you Valentina Server SELF will tell you new connection established. So you will see this very clear. Again, read docs of Vserver on how to do this. Aha, and you need say Verbose level in vserver to 2 > But when I make a call to Database_Open it fails with ERROR > 61, which is not documented anywhere that I have found, so I don't know > what it means. Chris, BTW, you run client on MaCOS 9 And VServer on OS X? Error -61 -- this is standard MacOS error -61 wrPermErr Write permissions error; Not a publisher > Now, when I remove the resource for the regular VXCMD version, my stack > cannot find the Valentina functions. I get errors saying the handler > cannot be found. I've tried changing the ID of the resource to no > avail. So as long as I leave both resources in there, it seems to > connect. I just can't open a database. I've tried opening both > master.vdb and my own database. > > You'll need to go into the code and change the port number to whatever > you need to. Other than that, hopefully you can figure something out > that I'm missing. Chris, This is list of my questions to you 1) client on OS 9? 2) Vserver on OS X? Or windows? 3) Rev 2.1 or 2.1.2 ? use 2.1.2 4) Rev 2.1.2 contains Valentina_Classic of 1.8.9b4 version. you need trash this module and drop instead VXCM_Classic_MC this is LOCAL VXCMD. Also you need drop into Rev folder VXCMD_Classic_Client_MC So Rev folder will contains 2 Valentina XCMD module. 5) in your stack you can have ONLY INE LOCAL CODE Valentina 1200 or CLIENT CODE Valentina 1200 One comes from example stack of VXCMD local archive Second from example stack of VXCMD_Client archive. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 19 12:36:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 04:36:24 2004 Subject: VXCMD local and remote together In-Reply-To: Message-ID: on 2/19/04 12:03 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: > Hmm, I do not believe in such absolute dogmas when it comes to > coding. And I have never heard that doubling code is totally wrong. It is Robert. Have you hear about "Refactoring" -- new modern ideas general for any programming language. A lots of useful things. I can give you ref on book. Now I say to our developers: Cut the hand which produce doubling code!!! > On the contrary. There are instances when doubling the code is > beneficial. For example, if I have an if-else condition in a loop > that runs thousands times, it is usually better to have two loops > with if-else around them. You talk here about A) seed optimization based on LOOP INVARIANT. B) Refactoring teach: a) yes, move out from loop. but you point here only first step. as you ay you will get doubling code b) refactoring require now second step: EXTRACT METHOD STEP: move that doubling code into separate function. So you will have just SINGLE code. > Also, loop unrolling is still a common > technique for numerically-intensive applications. In both cases, the > execution time is drastically reduced. And when I think about any > applications of mine that could use Vserver, I do not see exactly > same functionality for local and remote handling, so your argument of > having the same algorithm might not apply at all. For me > self-documenting coding is a high-priority rule. But may be I am an > odd-ball :) > > But don't take this discussion as a request to force you to make two > vxcmd libraries. If a single one can easily achieve supporting both > local and client-server modes, it is fine. But if that proves to be > problematic, I think that having two different calls would work just > fine. At least for vxcmd. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 19 12:45:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 04:45:42 2004 Subject: Revolution test stack In-Reply-To: Message-ID: on 2/18/04 8:17 PM, Chris Sheffield at csheffield@readnaturally.com wrote: > Ruslan, > > I don't have access to a MetaCard IDE, so I had to do this in > Revolution. The engines are the same now, though, so I would think the > results would be the same no matter which IDE was being used. Unless > there is some weird thing with Revolution, which I suppose is possible. > > Here are my results. I took the CODE resource from the MC stack you > uploaded with the classic version and pasted it into this stack exactly > as it is. So it has resources for both the regular and client > versions. When I leave it like this, it seems to connect to the > server, at least I get a valid connection ID from the Database_New() > function. But when I make a call to Database_Open it fails with ERROR > 61, which is not documented anywhere that I have found, so I don't know > what it means. > > Now, when I remove the resource for the regular VXCMD version, my stack > cannot find the Valentina functions. I get errors saying the handler > cannot be found. I've tried changing the ID of the resource to no > avail. So as long as I leave both resources in there, it seems to > connect. I just can't open a database. I've tried opening both > master.vdb and my own database. > > You'll need to go into the code and change the port number to whatever > you need to. Other than that, hopefully you can figure something out > that I'm missing. Chris, Quick note I do not see in your test stack call of ValentinaInit() !!! Where it is? If it is absent, please add it. This is important. And Valentina Shutdown also -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 19 13:18:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 05:18:30 2004 Subject: Revolution test stack In-Reply-To: Message-ID: Hi Tuviah, We already have discuss this. Revolution still include OLD 1.9.8 VXCMD which have OLD names in shared libs. Valentina_Classic in particular. I have try to trash this shared lib, But then Rev even do not start. This is logical -- absent required library. As you know you link REV against Valentina_Classic For REB DB API. And problem is that IF developer need VXCMD 1.10 He cannot kill old VXCMd, this is not big problem, He drop new VXCMD, use it. But I think REB DB will not work with new VXCMD because it have other name. Tuviah, I think we really will change VXCMD to "Valentina for Revolution" And drop Hypercard and Supercard support. This means will be good okay change names of shared libs for Valentina for Revolution 2.0. Then you will need link Rev against this new libs, okay? > Chris, > > This is list of my questions to you > > 1) client on OS 9? > > 2) Vserver on OS X? Or windows? > > 3) Rev 2.1 or 2.1.2 ? > use 2.1.2 > > > 4) Rev 2.1.2 contains Valentina_Classic of 1.8.9b4 version. > you need trash this module and drop instead VXCM_Classic_MC > this is LOCAL VXCMD. Aha, Chris, DO NOT trash this module. Rev need it to start. > Also you need drop into Rev folder VXCMD_Classic_Client_MC > So Rev folder will contains 2 Valentina XCMD module. > > 5) in your stack you can have ONLY INE > LOCAL CODE Valentina 1200 > or CLIENT CODE Valentina 1200 > > One comes from example stack of VXCMD local archive > Second from example stack of VXCMD_Client archive. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From diskot123 at juno.com Thu Feb 19 06:29:05 2004 From: diskot123 at juno.com (Tuviah M Snyder) Date: Thu Feb 19 05:29:28 2004 Subject: Revolution test stack Message-ID: <20040219.062905.2448.1.diskot123@juno.com> >Then you will need link Rev against this new libs, okay? Fine.although I would much prefer it to be called dbvalentina...so it follows the naming convention of every other rev database driver. Tuviah From sunshine at public.kherson.ua Thu Feb 19 13:35:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 05:35:56 2004 Subject: Revolution test stack In-Reply-To: <20040219.062905.2448.1.diskot123@juno.com> Message-ID: on 2/19/04 1:29 PM, Tuviah M Snyder at diskot123@juno.com wrote: >> Then you will need link Rev against this new libs, okay? > Fine.although I would much prefer it to be called dbvalentina...so it > follows the naming convention of every other rev database driver. May be. But how you differ platforms? dbvalentina_clasic dbvalentina_macho ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From diskot123 at juno.com Thu Feb 19 06:50:05 2004 From: diskot123 at juno.com (Tuviah M Snyder) Date: Thu Feb 19 05:50:29 2004 Subject: Revolution test stack Message-ID: <20040219.065005.2448.2.diskot123@juno.com> > dbvalentina_clasic > dbvalentina_macho We have a folder for each platform and use revdb_setdriverpath to point to that folder. In addition you can using the naming system to produce two versions, a bare bones valentina client (dbvclient) and an embedded version (dbvalentina). Rev users can then just use revdb_connect("vclient",xxx to connect to the client version and Rev will look for the file dbvclient. Tuviah From marcus at synchromedia.co.uk Thu Feb 19 12:48:24 2004 From: marcus at synchromedia.co.uk (Marcus Bointon) Date: Thu Feb 19 06:48:29 2004 Subject: SV: [V4MD, V.NET] Pictures again In-Reply-To: Message-ID: on 19/2/04 8:25, niklas wormann at nwoe@privat.utfors.se wrote: > you are probably aware of this, but you actually dont have to import the > pictures into director, what > i usually do is to keep them external, as separate files, and retrive them > by setting the filename > of member, by having one, or a couple depending on the need, castmember > linked to a dummy member. > > the obvious drawback is that the files will be immediately "visible" in the > OS. That's the existing solution - I need them in the DB for content protection, as well as a tidier set of files. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk From marcus at synchromedia.co.uk Thu Feb 19 12:53:20 2004 From: marcus at synchromedia.co.uk (Marcus Bointon) Date: Thu Feb 19 06:53:23 2004 Subject: [V4MD, V.NET] Pictures again In-Reply-To: Message-ID: on 19/2/04 8:40, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > 5) I think only correct way for you -- insert pictures using Director > itself. Director will open JPG or PNG, convert them on open to BITMAP, > Give BITMAP to Valentina, Valentina compress them to JPG in the picture > field. > > I think this is the only way if you want images in db. OK, I may have to take that approach. Did I hear someone say that if you set quality to 100 then the picture field is lossless? The colours in the PNGs are being used for selections by colour index that gets looked up in the DB, so they have to be completely lossless - any JPEG compression artefacts will make it go completely nuts. 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 Feb 19 15:21:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 07:21:25 2004 Subject: [V4MD, V.NET] Pictures again In-Reply-To: Message-ID: on 2/19/04 2:53 PM, Marcus Bointon at marcus@synchromedia.co.uk wrote: >> 5) I think only correct way for you -- insert pictures using Director >> itself. Director will open JPG or PNG, convert them on open to BITMAP, >> Give BITMAP to Valentina, Valentina compress them to JPG in the picture >> field. >> >> I think this is the only way if you want images in db. > > OK, I may have to take that approach. Did I hear someone say that if you set > quality to 100 then the picture field is lossless? More correctly say, it is of better quality JPG by its nature compress with quality loose > The colours in the PNGs > are being used for selections by colour index that gets looked up in the DB, > so they have to be completely lossless - any JPEG compression artefacts will > make it go completely nuts. Then you need store your PNG into SetMedia() -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Feb 19 14:14:30 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Feb 19 07:29:18 2004 Subject: VXCMD local and remote together In-Reply-To: References: Message-ID: >on 2/19/04 12:03 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: > >> Hmm, I do not believe in such absolute dogmas when it comes to >> coding. And I have never heard that doubling code is totally wrong. > >It is Robert. > >Have you hear about "Refactoring" -- new modern ideas > general for any programming language. > >A lots of useful things. >I can give you ref on book. Are you talking about Martin Fowler? Refactoring is important, as far as I understand it, for enterprise-level software. That is important to you. > > On the contrary. There are instances when doubling the code is >> beneficial. For example, if I have an if-else condition in a loop >> that runs thousands times, it is usually better to have two loops >> with if-else around them. > >You talk here about > >A) seed optimization based on LOOP INVARIANT. > >B) Refactoring teach: > > a) yes, move out from loop. > but you point here only first step. > as you ay you will get doubling code > > b) refactoring require now second step: > EXTRACT METHOD STEP: move that doubling code into separate > function. So you will have just SINGLE code. But having to call a separate function in such a loop incurs an overhead in most environments which kills the effect of remove if from the loop. Function inlining, which does the opposite, is recommended in many instances. The thing is, Ruslan, that what applies to your development and coding, may not be true for what we do :) My background is with numerical analysis, programs that require weeks of cpu time for a single run. And my primary use of Valentina is for web-served databases, where again every bit of performance counts. So I rather inline than extract and double the code if I gain speed. There are also stylistic differences arising from programming environments and some of the logic that is natural in C++ feels awkward in them (cf. our earlier discussions on creating and opening databases with encryption). Robert From martin.kloss at gmx.de Thu Feb 19 14:39:00 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Thu Feb 19 07:39:12 2004 Subject: [V4MD, V.NET] Pictures again In-Reply-To: References: Message-ID: <6.0.1.1.2.20040219143541.01c0ef00@pop.gmx.de> At 13:53 19.02.2004, you wrote: > > I think this is the only way if you want images in db. > >OK, I may have to take that approach. Did I hear someone say that if you set >quality to 100 then the picture field is lossless? The colours in the PNGs >are being used for selections by colour index that gets looked up in the DB, >so they have to be completely lossless - any JPEG compression artefacts will >make it go completely nuts. No, even setting the quality to 100% will result in a loss in quality, each time the JPEG's is saved. And if you're planning on using 32-bit images, prepare for a nightmare, because the Jpeg-Lib of the Xtra messes them up (see my posts about correcting the pixel bug in the list archives). So, generally speaking, storing pictures from Director in a Valentina db means working around a lot of shortcomings :-( 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 Thu Feb 19 15:51:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 07:51:18 2004 Subject: VXCMD local and remote together In-Reply-To: Message-ID: on 2/19/04 3:14 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: >>> Hmm, I do not believe in such absolute dogmas when it comes to >>> coding. And I have never heard that doubling code is totally wrong. >> >> It is Robert. >> >> Have you hear about "Refactoring" -- new modern ideas >> general for any programming language. >> >> A lots of useful things. >> I can give you ref on book. > > Are you talking about Martin Fowler? yes > Refactoring is important, as far as I understand it, for enterprise-level > software. That is important to you. Right. For any big project. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 19 16:04:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 08:04:45 2004 Subject: VXCMD local and remote together In-Reply-To: Message-ID: on 2/19/04 3:14 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: >>> On the contrary. There are instances when doubling the code is >>> beneficial. For example, if I have an if-else condition in a loop >>> that runs thousands times, it is usually better to have two loops >>> with if-else around them. >> >> You talk here about >> >> A) seed optimization based on LOOP INVARIANT. >> >> B) Refactoring teach: >> >> a) yes, move out from loop. >> but you point here only first step. >> as you ay you will get doubling code >> >> b) refactoring require now second step: >> EXTRACT METHOD STEP: move that doubling code into separate >> function. So you will have just SINGLE code. > > But having to call a separate function in such a loop incurs an > overhead in most environments which kills the effect of remove if > from the loop. Function inlining, which does the opposite, is > recommended in many instances. Right. And in C++ we can do such kind of refactoring with small or ZERO overhead, Because C++ do have inlines. > The thing is, Ruslan, that what applies to your development and > coding, may not be true for what we do :) Probably yes > My background is with numerical analysis, programs that require weeks of cpu > time for a single run. And my primary use of Valentina is for web-served > databases, where again every bit of performance counts. So I rather inline > than extract and double the code if I gain speed. Hmm, let me ask. And you do this numerical analyze in xCards? I think C++ is the only right choice Robert for such tasks. And again, in C++ we can extract method and mark it as inline. Then compiler will return it back. But I have in project SINGLE piece of code then. > There are also stylistic differences arising from programming > environments and some of the logic that is natural in C++ feels > awkward in them (cf. our earlier discussions on creating and opening > databases with encryption). Your idea will work great in C++ SDK also. There is HIGH level API and internal API. Just your idea is better. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 19 16:05:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 08:05:47 2004 Subject: VXCMD local and remote together In-Reply-To: Message-ID: on 2/19/04 3:14 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: Robert, I have to think here. If you want write Valentina_Server Then you can simply rename CODE resource ! 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 Thu Feb 19 15:22:41 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Feb 19 08:22:45 2004 Subject: dropRecord Bug Message-ID: Ruslan, The bug was in client xtra, right? But the last upload is from Feb., 11. ? Where can I find the update? Best regards, Florian From rjb at rz.uni-potsdam.de Thu Feb 19 15:44:51 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Feb 19 08:48:49 2004 Subject: VXCMD local and remote together In-Reply-To: References: Message-ID: >on 2/19/04 3:14 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: > >Robert, > >I have to think here. > >If you want write Valentina_Server >Then you can simply rename CODE resource ! > >Works? Are you talking a single mode or dual mode? Yes, renaming CODE resource will work but someone said that the same does not work on OSX with Macho files. As I said earlier. In single mode, local or client-server, there is no issue. Only dual mode needs consideration. But I don't understand yet well enough how you plan to support it exactly. Robert From rjb at rz.uni-potsdam.de Thu Feb 19 15:32:54 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Feb 19 08:48:58 2004 Subject: VXCMD local and remote together In-Reply-To: References: Message-ID: > >And you do this numerical analyze in xCards? No, although I do have a project sitting on the shelf that does less intensive stuff which is perfect for MC for other reasons. >I think C++ is the only right choice Robert for such tasks. Sorry. Fortran is still winner for such tasks, particularly for parallelization, although C++ is making strides. More complex projects often mix languages, taking advantage of the best each offers. >And again, in C++ we can extract method and mark it as inline. >Then compiler will return it back. But I have in project SINGLE piece of >code then. Okay, so C++ has built-in tools for those things. That's nifty. However, in the example we discussed, the reason for having the if-else with two loops is that the loops are not the same, so things are not as simple are having exact duplication. Of course, further discussion would depend whether 2 lines of 50 or 15 lines of 20 are different. But let's stop at this. Robert From K.Klamp at t-online.de Thu Feb 19 16:30:04 2004 From: K.Klamp at t-online.de (Kurt Klamp) Date: Thu Feb 19 09:32:12 2004 Subject: [VAPP/AS] RecordLock... again Message-ID: <1Atq7W-1CZ0EL0@fwd03.sul.t-online.com> Hi Ruslan, coming back to the last discussions with this issue. After some testing of this feature, i'm disappointed. Either i didn't understand to use it or it doesn't work with VAPP/AS. if i build a 'readonly' cursor there is no chance to build another one (readonly too) including the same records of a bo. Error-> 'Can't set recordlock' if if use the 'knolock' in the first cursor --> same result as above Best, Kurt From sunshine at public.kherson.ua Thu Feb 19 19:12:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 11:13:05 2004 Subject: dropRecord Bug In-Reply-To: Message-ID: on 2/19/04 4:22 PM, Florian Bogeschdorfer at fb@memedia.de wrote: > Ruslan, > > The bug was in client xtra, right? But the last upload is from Feb., 11. ? > > Where can I find the update? Try again, Florian. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 19 19:24:29 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 11:27:32 2004 Subject: [VAPP/AS] RecordLock... again In-Reply-To: <1Atq7W-1CZ0EL0@fwd03.sul.t-online.com> Message-ID: on 2/19/04 5:30 PM, Kurt Klamp at K.Klamp@t-online.de wrote: > Hi Ruslan, > > coming back to the last discussions with this issue. > After some testing of this feature, i'm disappointed. Either i didn't > understand to use it or it doesn't work with VAPP/AS. > > if i build a 'readonly' cursor there is no chance to build another one > (readonly too) including the same records of a bo. Error-> 'Can't set > recordlock' > > if if use the 'knolock' in the first cursor --> same result as above Hi Kurt, I have open this 3 params to AS ? Not remember Can you show HOW you create cursor and HOW you specify locks? And the best way, as you know -- send me small db and small scripts that show your 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 maxprog at mac.com Thu Feb 19 20:52:54 2004 From: maxprog at mac.com (Stan Busk) Date: Thu Feb 19 13:53:16 2004 Subject: [V4RB] VText and Unique property Message-ID: <356819D2-6315-11D8-845F-000A95C377AA@mac.com> Hi, One of my tables has following field: myID = new VText("myID", 128, "ASCII", kV_Unique) but I can create as many duplicate I wish. Can the 'Unique' property be applied to VText? or do I need to use myID = new VText("myID", 128, "ASCII", kV_Indexed + kV_Unique)? I just don't remember the latter... :) ~/Stan From sunshine at public.kherson.ua Thu Feb 19 22:20:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 14:21:06 2004 Subject: [V4RB] VText and Unique property In-Reply-To: <356819D2-6315-11D8-845F-000A95C377AA@mac.com> Message-ID: on 2/19/04 9:52 PM, Stan Busk at maxprog@mac.com wrote: > Hi, > > One of my tables has following field: > myID = new VText("myID", 128, "ASCII", kV_Unique) > but I can create as many duplicate I wish. Can the 'Unique' property be > applied to VText? Yes, no sense. TEXT is intended for BIG chunks of text. Why to force DBMS check that ? And no easy way, to do this I need use the whole TEXT string in the index. Bad idea. > or do I need to use myID = new VText("myID", 128, "ASCII", kV_Indexed + > kV_Unique)? > I just don't remember the latter... :) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Feb 19 21:36:10 2004 From: bartjan at mac.com (bartjan@mac.com) Date: Thu Feb 19 14:36:20 2004 Subject: Starting VServer investigation Message-ID: <40810560-631B-11D8-966D-0003933E3D2C@mac.com> Hi all, Am I right in supposing that I can connect to a VServer DB through the VJDBC driver? Any help appreciated Bart Pietercil --- Mac OSX. I've upped my standards. Up yours. From K.Klamp at t-online.de Thu Feb 19 21:44:34 2004 From: K.Klamp at t-online.de (Kurt Klamp) Date: Thu Feb 19 14:44:48 2004 Subject: [VAPP/AS] RecordLock... again In-Reply-To: Message-ID: <1g9f4qx.1jvma9718okip2M%k.klamp@t-online.de> Ruslan Zasukhin wrote: > on 2/19/04 5:30 PM, Kurt Klamp at K.Klamp@t-online.de wrote: > > > Hi Ruslan, > > > > coming back to the last discussions with this issue. > > After some testing of this feature, i'm disappointed. Either i didn't > > understand to use it or it doesn't work with VAPP/AS. > > > > if i build a 'readonly' cursor there is no chance to build another one > > (readonly too) including the same records of a bo. Error-> 'Can't set > > recordlock' > > > > if if use the 'knolock' in the first cursor --> same result as above > > Hi Kurt, > > I have open this 3 params to AS ? > Not remember Yes its in the AS dictionary since 1.10 Seems you even work while you sleep :-) > > Can you show HOW you create cursor and HOW you specify locks? Just simple. Take the example database 'DataBase4' which is shipped with VAPP. set db to database "database4" set sqlstr to "select * from task where left(name,7)='task 5' order by status desc" set crs1 to SQL db Select sqlstr LockType kReadOnly Direction kRandom --count records in crs1 --> must be 444 set thevalue to get (field 4 of record 1 of crs1) set sqlstr to "select * from task where status=" & thevalue & " order by status desc" set crs2 to SQL db Select sqlstr LockType kReadOnly Direction kRandom ^^^^ here i get the error 'Cannot set record lock Best, Kurt From dave at Parizek.com Thu Feb 19 13:59:51 2004 From: dave at Parizek.com (Dave Parizek) Date: Thu Feb 19 14:59:57 2004 Subject: [V4RB] sql question In-Reply-To: References: <0286E9EA-5E21-11D8-98C9-000393695B8C@mac.com> Message-ID: > I have a single table query where I wish to set the contents of 1 field in the table = the corresponding contents in another field. Below, Sku and Location are fields in table Item. update Item set Sku = Location When I do this all the values in the Sku field become the literal string "Location" instead of the values from Item.Location. Do I have the syntax wrong? --Dave -- _______________________________________________ Dave Parizek Bookseller Dave@Parizek.com From sunshine at public.kherson.ua Thu Feb 19 23:20:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 15:20:52 2004 Subject: Starting VServer investigation In-Reply-To: <40810560-631B-11D8-966D-0003933E3D2C@mac.com> Message-ID: on 2/19/04 10:36 PM, bartjan@mac.com at bartjan@mac.com wrote: > Hi all, > > Am I right in supposing that I can connect to a VServer DB through the > VJDBC driver? Hi Bart, No. Right now we have clients for C++, V4RB, V4MD, VPHP, VXCMD JDBC driver type 4 for Vserver under development. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 19 23:21:16 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 15:21:21 2004 Subject: [V4RB] sql question In-Reply-To: Message-ID: on 2/19/04 10:59 PM, Dave Parizek at dave@Parizek.com wrote: >> > > I have a single table query where I wish to set the contents of 1 > field in the table = the corresponding contents in another field. > Below, Sku and Location are fields in table Item. > > update Item set Sku = Location Not works in 1.x > When I do this all the values in the Sku field become the literal > string "Location" instead of the values from Item.Location. > > Do I have the syntax wrong? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bartjan at mac.com Thu Feb 19 22:24:05 2004 From: bartjan at mac.com (bartjan@mac.com) Date: Thu Feb 19 15:24:14 2004 Subject: Starting VServer investigation In-Reply-To: References: Message-ID: On 19 Feb 2004, at 22:20, Ruslan Zasukhin wrote: > on 2/19/04 10:36 PM, bartjan@mac.com at bartjan@mac.com wrote: > >> Hi all, >> >> Am I right in supposing that I can connect to a VServer DB through the >> VJDBC driver? > > Hi Bart, > > No. > > Right now we have clients for > > C++, V4RB, V4MD, VPHP, VXCMD > > JDBC driver type 4 for Vserver under development. Any idea on when this would be available. My killer app is depending on it.... Bart -- There are 10 types of people in the world. Those who understand binary and those who don't. From sunshine at public.kherson.ua Thu Feb 19 23:58:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 19 15:58:19 2004 Subject: Starting VServer investigation In-Reply-To: Message-ID: on 2/19/04 11:24 PM, bartjan@mac.com at bartjan@mac.com wrote: >>> Hi all, >>> >>> Am I right in supposing that I can connect to a VServer DB through the >>> VJDBC driver? >> >> Hi Bart, >> >> No. >> >> Right now we have clients for >> >> C++, V4RB, V4MD, VPHP, VXCMD >> >> JDBC driver type 4 for Vserver under development. > > Any idea on when this would be available. My killer app is depending on > it.... I hope with 2.0 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 sunshine at public.kherson.ua Fri Feb 20 10:11:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 20 02:12:10 2004 Subject: Starting VServer investigation In-Reply-To: Message-ID: on 2/19/04 11:20 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > on 2/19/04 10:36 PM, bartjan@mac.com at bartjan@mac.com wrote: > >> Hi all, >> >> Am I right in supposing that I can connect to a VServer DB through the >> VJDBC driver? > > Hi Bart, > > No. > > Right now we have clients for > > C++, V4RB, V4MD, VPHP, VXCMD and VCOM > JDBC driver type 4 for Vserver under development. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From nwoe at privat.utfors.se Fri Feb 20 10:57:42 2004 From: nwoe at privat.utfors.se (=?us-ascii?Q?niklas_wormann?=) Date: Fri Feb 20 03:57:50 2004 Subject: licensing etc In-Reply-To: Message-ID: Hi! a couple of licensin questions i have a V4MD x platform license now i would like to purchase a V4RB license for windows only,(weird ?) cant find that option (V4RB windows only), is it possible? what about upgrade pricing strategy for v2, will you have a "grace period" where you can upgrade to v2 for a reduced cost provided you have bought a license within a certain time? tia niklas woermann From sunshine at public.kherson.ua Fri Feb 20 12:08:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 20 04:08:15 2004 Subject: licensing etc In-Reply-To: Message-ID: on 2/20/04 11:57 AM, niklas wormann at nwoe@privat.utfors.se wrote: Hi Niklas, > Hi! > a couple of licensin questions > > i have a V4MD x platform license > now i would like to purchase a V4RB license for windows only,(weird ?) > > cant find that option (V4RB windows only), is it possible? Well, just up to now nobody yet buy only WIN for V4RB. Okay, purchase V4RB MAC and add comment that this is V4RB WIN ONLY > what about upgrade pricing strategy for v2, will you have a "grace period" > where you can upgrade to v2 for a reduced cost provided you have bought a > license within a certain time? If you buy Valentina 1.x now you will get corresponded Valentina 2.0 upgrade for free. You already fit in the shadow period. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From maxprog at mac.com Fri Feb 20 14:24:39 2004 From: maxprog at mac.com (Stan Busk) Date: Fri Feb 20 07:24:50 2004 Subject: [V4RB] Performances variations Message-ID: <22DECDF5-63A8-11D8-A3F9-000A95C377AA@mac.com> Hi, I have a strange problem. My application loads from the internet dozens of thousands of messages I store to a Valentina Database. Browsing thru records is fast. I quit the application and launch it back and it remains fast but as soon as I shut down the computer and start it back browsing is much much slower, including to show single records I get thru SQL queries. I am really puzzled. I have repeated the test several times and it always behave the same way, as soon as your restart the computer browsing is much slower, the application becomes sluggish... only workaround is deleting all the database files and downloading all the thousands records again, it becomes fast as hell...including quitting and starting the application back... I have tried with several RB versions (oficial and last beta), on a G5 Dual, a G4 and an iBook. Is there something I should consider? By the way if for example I have 20,000 records and it is sluggish because I just restarted and I download 10,000 more records it becomes fast!... including on first 20,000 records!...It seems nonsense... I use a cache of 50*1024*1024 (changing it seems useless) and a segment size of 32*1024 (that I believe it is the default) and last V4RB 1.10. Question is what can I do to maintain always the same speed? The table has the following structure: mFrom = new VText ("Article_From", 128, "ASCII", -1) mDateSent = new VDateTime ("Article_DateSent", kV_Indexed) mDateReceived = new VDateTime ("Article_DateReceived") mSubject = new VText ("Article_Subject", 128, "ASCII", -1) mLines = new VLong ("Article_Lines") mNumber = new VLong ("Article_Num" ) mStatus = new VvarChar ("Article_Status", 32, "ASCII", kV_Indexed) mReferences = new VText ("Article_References", 128, "ASCII", kV_IndexByWords) mMessageID = new VvarChar ("Article_MessageID", 128, "ASCII", kV_Indexed + kV_Unique) mNewsgroups = new VText ("Article_Newsgroups", 128, "ASCII", kV_IndexByWords) mBody = new VText ("Article_Body", 128, "ASCII", -1) mHeader = new VText ("Article_Header", 128, "ASCII", -1) The reason why I use VText is because mFrom,mSubject,mReferences,mNewsgroups fields can be from 1 char up to 998 and mBody and mHeader has no limit. TIA, ~/Stan From sunshine at public.kherson.ua Fri Feb 20 15:55:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 20 07:55:15 2004 Subject: [V4RB] Performances variations In-Reply-To: <22DECDF5-63A8-11D8-A3F9-000A95C377AA@mac.com> Message-ID: on 2/20/04 3:24 PM, Stan Busk at maxprog@mac.com wrote: > mBody = new VText ("Article_Body", 128, "ASCII", -1) > mHeader = new VText ("Article_Header", 128, "ASCII", -1) -1 What is 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 maxprog at mac.com Fri Feb 20 16:15:57 2004 From: maxprog at mac.com (Stan Busk) Date: Fri Feb 20 09:16:07 2004 Subject: [V4RB] Performances variations In-Reply-To: References: Message-ID: Hi, I wrote the code 4 years ago :) I am currently rewriting almost everything and I am finishing with the database structure itself. I think those fields have been of several different types before being VText so I don't remember the reason for this -1. I guess I can write ("Article_Body", 128, "ASCII"). Do you think this can have something to do with performances? Thanks, ~/Stan > on 2/20/04 3:24 PM, Stan Busk at maxprog@mac.com wrote: > >> mBody = new VText ("Article_Body", 128, "ASCII", -1) >> mHeader = new VText ("Article_Header", 128, "ASCII", -1) > > -1 > > What is 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 cm_sheffield at yahoo.com Fri Feb 20 07:24:26 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Fri Feb 20 09:24:32 2004 Subject: Revolution test stack In-Reply-To: Message-ID: <20040220152426.90011.qmail@web20419.mail.yahoo.com> This is the bug I reported way back in October last year. I discovered that the Rev IDE would crash if I removed that old version of the Valentina library. This is a serious bug, if you ask me, and I'm very suprised it hasn't been dealt with. For anyone who's interested it's #777 in the Rev bug database. Fortunately, I discovered it can be worked around by just leaving the old library and putting the new one in the Rev folder. Chris --- Ruslan Zasukhin wrote: > Hi Tuviah, > > We already have discuss this. > > Revolution still include OLD 1.9.8 VXCMD > which have OLD names in shared libs. > > Valentina_Classic in particular. > > I have try to trash this shared lib, > But then Rev even do not start. > This is logical -- absent required library. > > As you know you link REV against Valentina_Classic > For REB DB API. > > And problem is that IF developer need VXCMD 1.10 > He cannot kill old VXCMd, this is not big problem, > He drop new VXCMD, use it. But I think REB DB will > not work with new VXCMD > because it have other name. > > Tuviah, I think we really will change VXCMD to > "Valentina for Revolution" > And drop Hypercard and Supercard support. > This means will be good okay change names of shared > libs for > Valentina for Revolution 2.0. > Then you will need link Rev against this new libs, > okay? > > > > Chris, > > > > This is list of my questions to you > > > > 1) client on OS 9? > > > > 2) Vserver on OS X? Or windows? > > > > 3) Rev 2.1 or 2.1.2 ? > > use 2.1.2 > > > > > > 4) Rev 2.1.2 contains Valentina_Classic of 1.8.9b4 > version. > > you need trash this module and drop instead > VXCM_Classic_MC > > this is LOCAL VXCMD. > > Aha, Chris, DO NOT trash this module. > Rev need it to start. > > > > Also you need drop into Rev folder > VXCMD_Classic_Client_MC > > So Rev folder will contains 2 Valentina XCMD > module. > > > > 5) in your stack you can have ONLY INE > > LOCAL CODE Valentina 1200 > > or CLIENT CODE Valentina 1200 > > > > One comes from example stack of VXCMD local > archive > > Second from example stack of VXCMD_Client archive. > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: 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! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools From fb at memedia.de Fri Feb 20 16:30:46 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Feb 20 09:30:51 2004 Subject: dropRecord in V4MDclient Message-ID: Works fine now, thank you. FGlorian From sunshine at public.kherson.ua Fri Feb 20 17:47:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 20 09:48:10 2004 Subject: [V4RB] Performances variations In-Reply-To: <22DECDF5-63A8-11D8-A3F9-000A95C377AA@mac.com> Message-ID: on 2/20/04 3:24 PM, Stan Busk at maxprog@mac.com wrote: > Hi, > > I have a strange problem. My application loads from the internet dozens > of thousands of messages I store to a Valentina Database. Browsing thru > records is fast. I quit the application and launch it back and it > remains fast but as soon as I shut down the computer and start it back > browsing is much much slower, including to show single records I get > thru SQL queries. I am really puzzled. I have repeated the test several > times and it always behave the same way, as soon as your restart the > computer browsing is much slower, the application becomes sluggish... > only workaround is deleting all the database files and downloading all > the thousands records again, it becomes fast as hell...including > quitting and starting the application back... I have tried with several > RB versions (oficial and last beta), on a G5 Dual, a G4 and an iBook. > Is there something I should consider? By the way if for example I have > 20,000 records and it is sluggish because I just restarted and I > download 10,000 more records it becomes fast!... including on first > 20,000 records!...It seems nonsense... I use a cache of 50*1024*1024 > (changing it seems useless) and a segment size of 32*1024 (that I > believe it is the default) and last V4RB 1.10. Question is what can I > do to maintain always the same speed? Really strange. OS X have own virtual system that do ala-caching, After restart you have no data. But after browsing of table first time speed must become faster. Check this. > The table has the following > structure: > > mFrom = new VText ("Article_From", 128, "ASCII", -1) > mDateSent = new VDateTime ("Article_DateSent", kV_Indexed) > mDateReceived = new VDateTime ("Article_DateReceived") > mSubject = new VText ("Article_Subject", 128, "ASCII", -1) > mLines = new VLong ("Article_Lines") > mNumber = new VLong ("Article_Num" ) > mStatus = new VvarChar ("Article_Status", 32, "ASCII", > kV_Indexed) > mReferences = new VText ("Article_References", 128, "ASCII", > kV_IndexByWords) > mMessageID = new VvarChar ("Article_MessageID", 128, "ASCII", > kV_Indexed + kV_Unique) > mNewsgroups = new VText ("Article_Newsgroups", 128, "ASCII", > kV_IndexByWords) > mBody = new VText ("Article_Body", 128, "ASCII", -1) > mHeader = new VText ("Article_Header", 128, "ASCII", -1) > > The reason why I use VText is because > mFrom,mSubject,mReferences,mNewsgroups fields can be from 1 char up to > 998 Possible to use VarChar for this 2 > and mBody and mHeader has no limit. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Fri Feb 20 17:59:41 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Fri Feb 20 10:59:53 2004 Subject: [V4MD] RegEx Octal Char Message-ID: <6.0.1.1.2.20040220175640.01c8fec0@pop.gmx.de> Hi, I'm searching for a special character (lower quote) via regex in Director. The query looks someting like: WHERE name LIKE '(\x84|\s)foo' I'm using the octal character code to search for the character (\x84) and it works great on PC. But when using the same query on the Mac side, the records are not found?! So I'm wondering what the equivalent octal code on the Mac side might be, or how I can translate / map octal chars from Win to Mac?! Why is it different anyway? 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 martin.kloss at gmx.de Fri Feb 20 18:07:02 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Fri Feb 20 11:07:09 2004 Subject: [V4MD] RegEx Hex Char Message-ID: <6.0.1.1.2.20040220180633.01c35040@pop.gmx.de> sorry, I meant HEX char, not octal :-} 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 martin.kloss at gmx.de Fri Feb 20 18:18:57 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Fri Feb 20 11:19:06 2004 Subject: [V4MD] RegEx Hex Char Message-ID: <6.0.1.1.2.20040220181610.01c47310@pop.gmx.de> Ok, I just solved it. Hex 84 on Win is 132 in ASCII. So I checked the Director fontmap.txt about the remapping on Mac for this character and it said 227, which is E3 in hex. So I'm searching for \xE3 on Mac and \x84 on PC now, which works as expected :-) 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 valentina at panamind.com Fri Feb 20 12:43:17 2004 From: valentina at panamind.com (Gary Edge) Date: Fri Feb 20 11:40:19 2004 Subject: Year() function in select statement Message-ID: <44322602-63CC-11D8-8242-000A95A9A898@panamind.com> I'm trying to select and group by the year of a date field in a sql statement. I try: "select year(date_released), count(*) from atable group by year(date_released)" and I get a nil cursor. Even without the grouping I get a nil cursor. When using just "select date_released ..." it works. Anyone advice on the correct way to use the year() function in a select statement? -- Best Regards, Gary -- From sunshine at public.kherson.ua Fri Feb 20 20:12:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 20 12:12:47 2004 Subject: Year() function in select statement In-Reply-To: <44322602-63CC-11D8-8242-000A95A9A898@panamind.com> Message-ID: on 2/20/04 7:43 PM, Gary Edge at valentina@panamind.com wrote: > I'm trying to select and group by the year of a date field in a sql > statement. > > I try: "select year(date_released), count(*) from atable group by > year(date_released)" > > and I get a nil cursor. > > Even without the grouping I get a nil cursor. When using just "select > date_released ..." it works. Anyone advice on the correct way to use > the year() function in a select statement? Hi Gary, This is FAQ. You need create BaseObject method field, And use it 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 marcus at synchromedia.co.uk Fri Feb 20 18:35:19 2004 From: marcus at synchromedia.co.uk (Marcus Bointon) Date: Fri Feb 20 12:35:21 2004 Subject: [V4MD] GetPicture Message-ID: GetPicture returns me an object of type "picture". This seems to be a bit of an odd creature in lingo-land, and I can't seem to get an image object out of it except by writing it to a cast member and reading the image back, which seems to rather defeat the whole point. Have I missed something? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk From martin.kloss at gmx.de Fri Feb 20 19:42:18 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Fri Feb 20 12:42:28 2004 Subject: [V4MD] GetPicture In-Reply-To: References: Message-ID: <6.0.1.1.2.20040220193721.033a6918@pop.gmx.de> At 19:35 20.02.2004, you wrote: >GetPicture returns me an object of type "picture". This seems to be a bit of >an odd creature in lingo-land, and I can't seem to get an image object out >of it except by writing it to a cast member and reading the image back, >which seems to rather defeat the whole point. No, you are absolutely correct, it can only return the outdated "picture" property, so it's basically useless. And there are a couple of bugs associated with getting the picture property. So avoid it altogehter. You always have to create a bitmap castmember, get the data from the db using GetPicture() and a member reference and then get the image from the new member and delete the member. That's the way I do it, because in most cases I just need and image object for further manipulation. It's bad for performance and seems very awkward, but it's the only way to work with it :-( 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 marcus at synchromedia.co.uk Fri Feb 20 18:54:51 2004 From: marcus at synchromedia.co.uk (Marcus Bointon) Date: Fri Feb 20 12:54:52 2004 Subject: [V4MD] GetPicture In-Reply-To: <6.0.1.1.2.20040220193721.033a6918@pop.gmx.de> Message-ID: on 20/2/04 18:42, Martin Kloss at martin.kloss@gmx.de wrote: > No, you are absolutely correct, it can only return the outdated "picture" > property, so it's basically useless. And there are a couple of bugs > associated with getting the picture property. So avoid it altogehter. > You always have to create a bitmap castmember, get the data > from the db using GetPicture() and a member reference and then > get the image from the new member and delete the member. > > That's the way I do it, because in most cases I just need and > image object for further manipulation. It's bad for performance > and seems very awkward, but it's the only way to work with it :-( Thanks, good to know I'm not going mad! Time for a docs update Ruslan! 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 Fri Feb 20 21:06:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 20 13:06:35 2004 Subject: [V4MD] GetPicture In-Reply-To: Message-ID: on 2/20/04 8:54 PM, Marcus Bointon at marcus@synchromedia.co.uk wrote: > on 20/2/04 18:42, Martin Kloss at martin.kloss@gmx.de wrote: > >> No, you are absolutely correct, it can only return the outdated "picture" >> property, so it's basically useless. And there are a couple of bugs >> associated with getting the picture property. So avoid it altogehter. >> You always have to create a bitmap castmember, get the data >> from the db using GetPicture() and a member reference and then >> get the image from the new member and delete the member. >> >> That's the way I do it, because in most cases I just need and >> image object for further manipulation. It's bad for performance >> and seems very awkward, but it's the only way to work with it :-( > > Thanks, good to know I'm not going mad! Time for a docs update Ruslan! Big TODO issue, Marcus. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Fri Feb 20 14:41:20 2004 From: valentina at panamind.com (Gary Edge) Date: Fri Feb 20 13:38:22 2004 Subject: Year() function in select statement In-Reply-To: References: Message-ID: Ahhhh (slap to the forehead), works fine now. Thanks -- Best Regards, Gary -- On Feb 20, 2004, at 1:12 PM, Ruslan Zasukhin wrote: >> > > Hi Gary, > > This is FAQ. > > You need create BaseObject method field, > And use it in SELECT > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] From sunshine at public.kherson.ua Sat Feb 21 16:14:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 21 08:14:22 2004 Subject: FIXED: [VAPP/AS] RecordLock... again In-Reply-To: <1g9f4qx.1jvma9718okip2M%k.klamp@t-online.de> Message-ID: >> Hi Kurt, >> >> I have open this 3 params to AS ? >> Not remember > > Yes its in the AS dictionary since 1.10 > > Seems you even work while you sleep :-) Right, And this cause a mistake. BUG is fixed. You can download new builds of VAPP Classic and Caron. >From release page -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 21 16:18:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 21 08:20:02 2004 Subject: FIXED: [VXCMD client] Revolution test stack In-Reply-To: Message-ID: on 2/20/04 10:23 PM, Ben Weisner at ben@readnaturally.com wrote: Hi guys, VXCMD_Clients uploaded. all: Classic, Macho and Windows. BUG was in code of VXCMD, on Database_New() I have introduce this bug when did add support of form Database_New( SrvRef ) As result, I have broke, that if IP comes as "192.168.2.3" I.e. Numbers, it was recognized as srvRef. Chris, Please note, dbRef = Database_New( host, sa, sa ) << we create object dbRef = Database_Open( path, dbRef ) ^^^^ ^^^^^^ DbRef is the same object. In your test code you write connRef = Database_New( host, sa, sa ) << we create object dbRef = Database_Open( path, connRef ) This is not very correct. Connection as separate object now it is possible to create using Vserver_New() -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Sat Feb 21 15:16:32 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Feb 21 14:16:38 2004 Subject: VServer + web question Message-ID: I may want to use some databases hosted by VServer to supply data via the web. I wonder if it would be possible to have a version of VPHP that is a client of VServer. Then all I'd have to do is learn PHP. Charles Yeomans From sunshine at public.kherson.ua Sat Feb 21 22:23:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 21 14:23:50 2004 Subject: VServer + web question In-Reply-To: Message-ID: on 2/21/04 10:16 PM, Charles Yeomans at yeomans@desuetude.com wrote: > I may want to use some databases hosted by VServer to supply data via > the web. I wonder if it would be possible to have a version of VPHP > that is a client of VServer. Then all I'd have to do is learn PHP. Yes Charles, VPHP already work with Server. On MacOS and 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 yeomans at desuetude.com Sat Feb 21 15:43:37 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Feb 21 14:43:43 2004 Subject: VServer + web question In-Reply-To: References: Message-ID: <9FB2D1B0-64AE-11D8-A1B0-003065BB0634@desuetude.com> On Feb 21, 2004, at 3:23 PM, Ruslan Zasukhin wrote: > on 2/21/04 10:16 PM, Charles Yeomans at yeomans@desuetude.com wrote: > >> I may want to use some databases hosted by VServer to supply data via >> the web. I wonder if it would be possible to have a version of VPHP >> that is a client of VServer. Then all I'd have to do is learn PHP. > > Yes Charles, > > VPHP already work with Server. > On MacOS and Windows. > Yes, as it plainly states on your website. Now I am really looking forward to my new XServe. Charles Yeomans From leemiller at madisongrp.com Sun Feb 22 10:17:53 2004 From: leemiller at madisongrp.com (Lee Miller) Date: Sun Feb 22 09:19:11 2004 Subject: COM Database VB6 question Message-ID: <5.2.0.9.0.20040222100800.00af5860@mail.madisongrp.com> I have 2 databases with the same exact structure. One has no records in any of the tables. The second database is in a different directory. All the table names are the same and all the field names within each table are exactly the same. I know how to move data from a non-Valentina database to a Valentina database using the ODBC tool. I would like to know the most efficient way to copy all the data from the first database to the second empty database through code. I'm looking for something simple like: Flush Database1.table1 To Database2.Table1 Flush Database1.table2 To Database2.Table2 Thanks Lee Miller From leemiller at madisongrp.com Sun Feb 22 10:20:07 2004 From: leemiller at madisongrp.com (Lee Miller) Date: Sun Feb 22 09:21:22 2004 Subject: COM Database VB6 question Message-ID: <5.2.0.9.0.20040222101805.00af59a8@mail.madisongrp.com> If I provide a Tools Menu command "Rebuild All Indexes" for a user, what is the most efficient way to code this? Thanks Lee Miller From leemiller at madisongrp.com Sun Feb 22 10:28:41 2004 From: leemiller at madisongrp.com (Lee Miller) Date: Sun Feb 22 09:29:52 2004 Subject: COM Database VB6 question Message-ID: <5.2.0.9.0.20040222102011.0319bd38@mail.madisongrp.com> I have a form that accesses one table. That table has 20 fields and 1,000,000 records. Five fields are indexed. There are navigational buttons at the bottom of the form to move First, Previous, Next, and Last. I would like to provide the user with a combo box that contains the name of the 5 indexes. The one showing when the combo box is closed is the current index. When the user selects a different index from the combo box, the current record shouldn't change (if it must, I will recover it with code). When the user clicks on one of the navigational buttons, the new index [?new recordset] is reflected. I can handle the combo box. The fields on the form reflect the newly selected index path/ Do I need to set the old recordset to nothing and create a new recordset on the selected index [SQL SELECT] every time they do this or is there a more efficient way to "quickly' accomplish this? Thanks Lee Miller From yeomans at desuetude.com Sun Feb 22 11:00:15 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Sun Feb 22 10:00:22 2004 Subject: COM Database VB6 question In-Reply-To: <5.2.0.9.0.20040222101805.00af59a8@mail.madisongrp.com> References: <5.2.0.9.0.20040222101805.00af59a8@mail.madisongrp.com> Message-ID: <34373696-6550-11D8-A3BC-003065BB0634@desuetude.com> On Feb 22, 2004, at 10:20 AM, Lee Miller wrote: > If I provide a Tools Menu command "Rebuild All Indexes" for a user, > what is the most efficient way to code this? > Valentina provides an SQL command to do this -- SQLExecute("REINDEX DATABASE"). Charles Yeomans From sunshine at public.kherson.ua Sun Feb 22 18:43:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 22 10:44:00 2004 Subject: COM Database VB6 question In-Reply-To: <5.2.0.9.0.20040222100800.00af5860@mail.madisongrp.com> Message-ID: on 2/22/04 5:17 PM, Lee Miller at leemiller@madisongrp.com wrote: > I have 2 databases with the same exact structure. > One has no records in any of the tables. The second database is in a > different directory. > All the table names are the same and all the field names within each table > are exactly the same. > I know how to move data from a non-Valentina database to a Valentina > database using the ODBC tool. > I would like to know the most efficient way to copy all the data from the > first database to the second empty database through code. > > I'm looking for something simple like: > > Flush Database1.table1 To Database2.Table1 > Flush Database1.table2 To Database2.Table2 Hi Lee, There is no such easy way. A Little more complex. You need make loop on each table And in each table do loop on each record in this loop copy field to field -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 22 18:44:16 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 22 10:44:25 2004 Subject: COM Database VB6 question In-Reply-To: <5.2.0.9.0.20040222100800.00af5860@mail.madisongrp.com> Message-ID: on 2/22/04 5:17 PM, Lee Miller at leemiller@madisongrp.com wrote: > I have 2 databases with the same exact structure. > One has no records in any of the tables. The second database is in a > different directory. > All the table names are the same and all the field names within each table > are exactly the same. > I know how to move data from a non-Valentina database to a Valentina > database using the ODBC tool. > I would like to know the most efficient way to copy all the data from the > first database to the second empty database through code. > > I'm looking for something simple like: > > Flush Database1.table1 To Database2.Table1 > Flush Database1.table2 To Database2.Table2 May be XML dump -> Load will be good for you. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 22 18:49:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 22 10:49:10 2004 Subject: COM Database VB6 question In-Reply-To: <5.2.0.9.0.20040222102011.0319bd38@mail.madisongrp.com> Message-ID: on 2/22/04 5:28 PM, Lee Miller at leemiller@madisongrp.com wrote: > I have a form that accesses one table. > That table has 20 fields and 1,000,000 records. Five fields are indexed. > There are navigational buttons at the bottom of the form to move First, > Previous, Next, and Last. > > I would like to provide the user with a combo box that contains the name of > the 5 indexes. The one showing when the combo box is closed is the current > index. When the user selects a different index from the combo box, the > current record shouldn't change (if it must, I will recover it with code). > When the user clicks on one of the navigational buttons, the new index > [?new recordset] is reflected. I can handle the combo box. The fields on > the form reflect the newly selected index path/ > > Do I need to set the old recordset to nothing and create a new recordset on > the selected index [SQL SELECT] every time they do this or is there a more > efficient way to "quickly' accomplish this? You need re-create recordsset. This is standard practice. For example, image that you get recordset from remote 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 Sun Feb 22 20:13:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 22 12:13:12 2004 Subject: [Wonder] Data Control, Table name property Message-ID: Hi All, I have play a little with RB Data Control And I have few Questions. why in Property window for Data Control we see "Table Name" property. As Far as I see, choice of a Table in this menu affects ONLY and ONLY at design time menu of controls as EditField, where now I will see fields of that Table. 3 Times Hmm... As for me, this is not very correct way, BECAUSE: * Let we have tables Doctors and Patients. * Okay, I select in 3 EditFields -- the fields of this table f1, f2, f3 * so far so good. BUT * now I must enter SQL query into Data Control. and ops, developer can enter here select * from Patients // wrong table, ops or select f4, f5 from Doctors // ops, wrong fields. or select f1, f6 from Doctors, Patients WHERE doctors.id = patients.doctor_id // ops, JOIN. 1) So am I right, that in RB 5.2 and in RB 5.5 We have only HOPE and BELIEVE in the DEVELOPER ? 2) so am I right that DataControl tool, at least now is oriented ONLY and ONLY on single table query, and cannot handle JOIN ? I think that: In IDEAL, this DataControl must allow us joins, And it must NOT depend on Table menu, And we must see only SELECTed fields of query for EditFields, But not just all names of a Table. What you think, REAL? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 22 22:35:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 22 14:36:04 2004 Subject: [FEATURE] RBDB API: length of VarChar fields ? Message-ID: Hi guys, it looks that REALbasic totally ignore length of string and VarChar fields. Why ??? As I see in own SQL REALbasic ignore this. And in GUI that create fields, there is ONLY (???) field name and field type fields. In the Options we can see NotNULL and Primary. Hmm. 1) first of all this is not correct by SQL standard. ::= CHARACTER [ ] | CHAR [ ] | CHARACTER VARYING | CHAR VARYING | VARCHAR String types can have ( LENGTH ). 2) IF REALDB ignore this parameter, NO PROBLEMS. But why REALbasic do not allow specify this parameter for OTHER DBs In the GUI when we create tables? I think this is wrong and should be fixed. [FEATURE REQUEST? :-] 3) I wonder how people work with 4D, mySQL, Postgre using RB's GUI if they cannot specify length of string fields? ---------------------- 4) also I think that REALbasic is VERY not flexible in its Dialogs that create fields for tables. REAL, other dbs can have A LOTS of properties for fields. For example, Valentina have for string Length, Locale, Case-Insensetive, .. BLOB segment size, compression ObjectPtr Target, OnDeletion For example, Valentina have much more Options/Flags Than your dialog is able to show Not Null Primary Key --------------- and Unique Indexed ... I know that e.g. MySLQ also is reach on different parameters. So why on earth REALbasic just ignore all this. *************************************************************** * IN IDEAL, in DREAM, * * IF you allow specify additional db engines, * Then you must allow to DB plugins describe and register * * a) additional field properties * b) additional field flags. * And your Create Field dialog must change on the fly its controls. For example, if I have specify that Valentina or mySQL support property [Length] for String/VarChar fields Then when I choose this type in menu, REALbasic should show Edit field 'Length' where developer can enter length. When I open Option Dialog for Valentina's field, I want to see here more check boxes: Not Unique Primary Key Index Unique If and when you will add all this, then yes, I will say WOW, REALbasic is cool! :-) Right now I see a lots of limits for Valentina to fit onto REAL DB API and controls. I try now to see full picture. And for now I am still not glad from what I see in RB DB API. :-( ************* Norman, Aaron, and other Valentina developers that have ask for RB DB API support. Can you explain me how I can deal for example with Length parameter for strings? May be I have miss something? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Mon Feb 23 10:01:18 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Sun Feb 22 14:59:05 2004 Subject: Windows V4RB varChar -351 error Message-ID: Hi Ruslan, With the latest version of V4RB I am getting a lot of -351 varchar errors just in windows. The same program is working with absolutely no problems but the windows version keeps bringing up the -351 errors. For example, I can open a list window with a list of all the records in a particular table which includes two or three varchar fields, then click on New, which brings up a new window and allows me to type in a new record. Put in some information, not necessarily even in the varchar fields. Save the record. Go back to the list window (both windows stay open). The new record appears in the window. Double-click on the new record to bring up the details and I get a -351 error. If I quit the program and then double-click on the new record, it's fine. There is nothing wrong with the SQL query (Select ** From Units). The process, using the same database files, works with no problems on Mac. This is only one example of where windows is bringing up these errors. It wasn't doing it last year when I was using version 9 (I think) (RealBasic 4.5). I had no errors like this appearing at all so it's a bit disconcerting when it starts happening unexpectedly. Just out of interest, the -351 error is not correct as the database is still fine. But it stops the program from working correctly until I restart. Looking forward to some ideas of what to do here. Cindy Brown From sunshine at public.kherson.ua Sun Feb 22 23:10:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 22 15:10:12 2004 Subject: [FEATURE] RBDB API: length of VarChar fields ? In-Reply-To: Message-ID: on 2/22/04 10:48 PM, Joseph J. Strout at joe@realsoftware.com wrote: > At 10:35 PM +0200 2/22/04, Ruslan Zasukhin wrote: > >> 2) IF REALDB ignore this parameter, NO PROBLEMS. >> But why REALbasic do not allow specify this parameter for OTHER DBs >> In the GUI when we create tables? > > The answer to almost any such "why?" question is: "Because that's the > way the code was written eons ago, and there hasn't been any pressing > need to change it." Well, this explain it. :-) But taking into account that during last 1-2 years REAL It seems pay big attention to improve database area, I expected to see something more impressive. You know that I already 4 years delay support of RB DB API in Valentina. Main reason -- MANY LIMITS in it. And 2004 year. Still not here :-( If you need ideas, I can give you a lots! :-) >> I think this is wrong and should be fixed. [FEATURE REQUEST? :-] > > Yes, when you think that, the correct thing to do is to file a feature > request. I new you will say this. :-) And in the best case another 6-8 months to wait. Also, I much more prefer if an REAL employer will watch for lists for such NEW FEATURE in the letters, and SELF ENTER them into database. Or for example, if you will have own REAL's email where you will in one click forward interesting ideas for future consideration. Please understand, I am not lazy. Just 1) I NEVER remember URL for REAL bug db. Is it on home page? 2) it is much easier for me, to describe this in letter, then in small WEB interface... ------- BTW, another idea. May be REALbasic can in fact just drop this GUI tools to create Tables, Fields, ... ? What sense? 1) Other DBS usually have own tools. 2) if I deploy EXE app made with RB, I will want create new fresh db on HDD of client. It is not very good idea, force developers distribute empty db in archive of apps. Application must be able self, programmatically create new db when this is needed. 3) Aha, sense there is for REALbasic database itself...okay. They you really should improve your dialogs for Tables creation. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 22 23:30:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 22 15:30:39 2004 Subject: [FEATURE] RBDB API: length of VarChar fields ? In-Reply-To: Message-ID: on 2/22/04 11:06 PM, Geoff Perlman at geoff@realsoftware.com wrote: > I agree. The IDE database interface needs to be more customizable so > that features specific to backend databases can be made available. This > won't change for v5.5 but we will try to change it for v6. This will be great, Geoff! Also DataControl is not very correct I think. I already have describe why. --------------- I believe in Visual BASIC 6, was NOT BAD implementation of Idea of DataSource interface ^^^^^^^^^^^^^^^^^^^^ I underline. VB have DataSource as INTERFACE class. I.e. They specify API, And I can in Visual BASIC, just create subclass of DataSource interface, Which will know about Valentina Cursor and implement its API. That is all (!!!) All controls as checkboxes, editFields, will be able to work with Valentina cursor as data source. I can do that eve NOT in plugin, but in VB code. And that will work even on JOIN tables. Compare now to REALbasic way. More complex, and less features. DataSource is something very special -- this is DataControl (???) But it should be JUST an interface class. > On Feb 22, 2004, at 2:35 PM, Ruslan Zasukhin wrote: > >> 2) IF REALDB ignore this parameter, NO PROBLEMS. >> But why REALbasic do not allow specify this parameter for OTHER DBs >> In the GUI when we create tables? >> >> I think this is wrong and should be fixed. [FEATURE REQUEST? :-] -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 22 23:38:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 22 15:38:14 2004 Subject: Windows V4RB varChar -351 error In-Reply-To: Message-ID: on 2/22/04 11:01 PM, Cindy Brown at cindy@kowhaiprogramming.com wrote: Hi Cindy, > With the latest version of V4RB I am getting a lot of -351 varchar errors > just in windows. The same program is working with absolutely no problems but > the windows version keeps bringing up the -351 errors. For example, I can > open a list window with a list of all the records in a particular table > which includes two or three varchar fields, then click on New, which brings > up a new window and allows me to type in a new record. Put in some > information, not necessarily even in the varchar fields. Save the record. Go > back to the list window (both windows stay open). The new record appears in > the window. Double-click on the new record to bring up the details and I get > a -351 error. If I quit the program and then double-click on the new record, > it's fine. There is nothing wrong with the SQL query (Select ** From Units). > The process, using the same database files, works with no problems on Mac. > > This is only one example of where windows is bringing up these errors. It > wasn't doing it last year when I was using version 9 (I think) (RealBasic > 4.5). I had no errors like this appearing at all so it's a bit disconcerting > when it starts happening unexpectedly. > > Just out of interest, the -351 error is not correct as the database is still > fine. But it stops the program from working correctly until I restart. This is the point! Somebody 2-3 weeks ago also have point this. It looks like Valentina do false 351 error on windows IF do some magic steps regarding record locks. I think you can find this letter of list. It looks to be wrong steps in general. So there is way to NOT do that steps. I am not able reproduce this problem here. If you can send me something, I will be many thanks. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Mon Feb 23 12:23:28 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Sun Feb 22 17:21:13 2004 Subject: Windows V4RB varChar -351 error In-Reply-To: Message-ID: Hi Ruslan, > Somebody 2-3 weeks ago also have point this. > > It looks like Valentina do false 351 error on windows > IF do some magic steps regarding record locks. > > I think you can find this letter of list. > It looks to be wrong steps in general. > So there is way to NOT do that steps. > > I am not able reproduce this problem here. > If you can send me something, I will be many thanks. I read this letter too and that's why I knew it wasn't just me. But in this case there are virtually no steps. In my list window I do: S = Select * FROM Units vCursor = app.mdatabase.sqlselect(s,2,1,2) All the unit records appear as they should. I click on a new button and it opens a details window: I do the same thing: S = Select * FROM Units newCursor = app.mdatabase.sqlselect(s,2,1,2) I can add the unit with no problems and save it with no problems. Click on my list button to go back to my list screen and my select is updated so I can see the new unit listed with the rest. Double-click on the new unit so I can see the new units details and it brings up a -351 varchar error. There is no error as the database is fine. It only occurs on Windows not on Macintosh. Quit, double-click on the new unit and it opens with no problems. It happens every time I do this but is difficult to send you in a small database. There must be an error in the way V4RB handles varchars in windows. I presume it has something to do with the 2,1,2 bit. Hope that helps. Cindy From sunshine at public.kherson.ua Mon Feb 23 10:08:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 23 02:08:31 2004 Subject: Windows V4RB varChar -351 error In-Reply-To: Message-ID: on 2/23/04 1:23 AM, Cindy Brown at cindy@kowhaiprogramming.com wrote: > I read this letter too and that's why I knew it wasn't just me. But in this > case there are virtually no steps. In my list window I do: > > S = Select * FROM Units > vCursor = app.mdatabase.sqlselect(s,2,1,2) I wonder, why people avoid using of constants. Cindy, it is my believe that 2, 1, 2 Is not easy for reading. For example, I never remember this numbers :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 23 10:50:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 23 02:50:57 2004 Subject: Windows V4RB varChar -351 error In-Reply-To: Message-ID: on 2/23/04 1:23 AM, Cindy Brown at cindy@kowhaiprogramming.com wrote: Hi Cindy, > I read this letter too and that's why I knew it wasn't just me. But in this > case there are virtually no steps. In my list window I do: > > S = Select * FROM Units > vCursor = app.mdatabase.sqlselect(s,2,1,2) > > All the unit records appear as they should. > > I click on a new button and it opens a details window: > > I do the same thing: > > S = Select * FROM Units > newCursor = app.mdatabase.sqlselect(s,2,1,2) > > I can add the unit with no problems and save it with no problems. wait, so 2 1 2 this is: kServer, kNoLocks, kRandom. So you open second window to enter new record, yes? Then better create cursor as S = select * from Units WHERE RecID = 0 This will be little faster, and eat less RAM. > Click on my list button to go back to my list screen and my select is > updated so I can see the new unit listed with the rest. You mean you rebuild the first cursor, yes? S = Select * FROM Units vCursor = app.mdatabase.sqlselect(s,2,1,2) > Double-click on the new unit so I can see the new units details and it > brings up a -351 varchar error. There is no error as the database is fine. > It only occurs on Windows not on Macintosh. 100% reproducible? Then I still want to see this project. May be under debugger I will see problem and on Mac OS. > Quit, double-click on the new unit and it opens with no problems. > > It happens every time I do this but is difficult to send you in a small > database. There must be an error in the way V4RB handles varchars in > windows. I presume it has something to do with the 2,1,2 bit. Problem, that VarChar is NOT related to locks. So I really do not see how this error come. Cindy, what is big? Project or db ? I think this error will happens on db with few records 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 nfriesen at dyton.com Mon Feb 23 10:16:49 2004 From: nfriesen at dyton.com (Nathan Friesen) Date: Mon Feb 23 10:16:53 2004 Subject: [V4MD] Classic and OS X projectors Message-ID: I'm having some problems with the Valentina Xtra when I try to make a Classic projector in Director. When I make an OS X projector I can imbed the V4MD_carbon Xtra in the projector and everything seems to work fine. When I try to make a Classic version of the projector most Xtras find their classic version in the "Classic MacOS" folder, but for Valentina I get an error message that V4MD_carbon can't be found (or something along those lines) Is this because the name of the Xtra for Classic is V4MD_classic? I've heard that the way to work around this is to not imbed the Xtras in the projector, and instead put them in an Xtras folder in the same directory as the projector. I tried this, putting both the V4MD_classic and the V4MD_carbon Xtras in an Xtras folder, and this seemed to work for the classic application. Unfortunately, this causes the carbon application to crash right away. So I'm a bit stuck. Is there a way to make both a classic and a carbon version of the projector using the Valentina Xtra, and have both versions in the same folder so they can share assets? Thanks Nathan Nathan Friesen Dyton, Inc. 2302 West 1st Street Cedar Falls, IA 50613 P: 319.277.8418 F: 319.277.8417 www.dyton.com ------ You become successful the moment you start moving toward a worthwhile goal. ------ From sunshine at public.kherson.ua Mon Feb 23 18:28:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 23 10:28:31 2004 Subject: [V4MD] Classic and OS X projectors In-Reply-To: Message-ID: on 2/23/04 6:16 PM, Nathan Friesen at nfriesen@dyton.com wrote: Hi Nathan, > I'm having some problems with the Valentina Xtra when I try to make a > Classic projector in Director. When I make an OS X projector I can > imbed the V4MD_carbon Xtra in the projector and everything seems to > work fine. When I try to make a Classic version of the projector most > Xtras find their classic version in the "Classic MacOS" folder, but for > Valentina I get an error message that V4MD_carbon can't be found (or > something along those lines) Is this because the name of the Xtra for > Classic is V4MD_classic? V4MD for Classic has name V4MD.Xtra Aha, so Director MS have special folder "Classic MacOS" Which also have Xtra subfolder. IT is shame on me, but I have never see it. Now it is clear how Director MX should choose between Xtras. Natahan, let's clarify. So you have download both V4MD and V4MD_Carbon archives, yes? Put Xtras into corresponded folders: V4MD Classic into Director MX/Classic MacOS/Xtras/V4MD.Xtra V4MD Carbon into Director MX/Xtras/V4MD_Carbon.Xtra Yes? > I've heard that the way to work around this is to not imbed the Xtras > in the projector, and instead put them in an Xtras folder in the same > directory as the projector. I tried this, putting both the V4MD_classic > and the V4MD_carbon Xtras in an Xtras folder, and this seemed to work > for the classic application. Unfortunately, this causes the carbon > application to crash right away. I think that in projector you must repeat folder hierarchy. Projector Xtras/V4MD_Carbon.Xtra Classic MacOS/Xtras/V4MD.Xtra Check this. > So I'm a bit stuck. Is there a way to make both a classic and a carbon > version of the projector using the Valentina Xtra, and have both > versions in the same folder so they can share assets? Thanks -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Mon Feb 23 17:47:45 2004 From: james.milne at mac.com (James Milne) Date: Mon Feb 23 11:46:45 2004 Subject: Reading RecID after Add() Message-ID: <62D688F5-6628-11D8-82C6-000393DB941A@mac.com> Hi Guys, I'm wanting to insert a record into a table after having used an empty cursor to insert it, like so: Dim statement as String Dim resultSet as VCursor Dim recordId as Integer ' Create statement to get empty resultset statement = "select RecID, * from timeline where RecID = 0" ' Execute statement to get empty resultset resultSet = me.db.SqlSelect( statement, kV_Client, kV_ReadWrite ) if (resultSet = nil) then return nil end if ' Clear this cursor resultSet.SetBlank() ' Set the fields of the cursor ready to create a record resultSet.VarcharField("name") = inName ' Create this recored if not resultSet.Add() then return nil end if if not resultSet.Update() then return nil end if After the Add, I want to read the RecID generated back out. Will this work correctly? ' Read the record ID recordId = resultSet.ULongField("RecID") -- James Milne From sunshine at public.kherson.ua Mon Feb 23 19:51:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 23 11:51:50 2004 Subject: Reading RecID after Add() In-Reply-To: <62D688F5-6628-11D8-82C6-000393DB941A@mac.com> Message-ID: on 2/23/04 7:47 PM, James Milne at james.milne@mac.com wrote: > Hi Guys, > > I'm wanting to insert a record into a table after having used an empty > cursor to insert it, like so: > > Dim statement as String > Dim resultSet as VCursor > Dim recordId as Integer > > ' Create statement to get empty resultset > statement = "select RecID, * from timeline where RecID = 0" > > ' Execute statement to get empty resultset > resultSet = me.db.SqlSelect( statement, kV_Client, kV_ReadWrite ) > if (resultSet = nil) then > return nil > end if > > ' Clear this cursor > resultSet.SetBlank() > > ' Set the fields of the cursor ready to create a record > resultSet.VarcharField("name") = inName > > ' Create this recored > if not resultSet.Add() then > return nil > end if > > if not resultSet.Update() then > return nil > end if > > After the Add, I want to read the RecID generated back out. Will this > work > correctly? > > ' Read the record ID > recordId = resultSet.ULongField("RecID") 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 martin.kloss at gmx.de Mon Feb 23 19:47:33 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Mon Feb 23 12:47:51 2004 Subject: Valentina DB Character Replace Message-ID: <6.0.1.1.2.20040223194307.01bf0720@pop.gmx.de> Hi, I have a somewhat unusual question: I need to replace a single character in a big database with 12 tables, which lots of string and text fields in every table. So I'm facing a lot of work, writing a utility to open every single record and going through every single field and every character in the text of that field to replace the character and then update the record. Can anyone think of a better solution, I'm thinking of some kind of a low-level solution to hex-edit the database file or whatever other means come to mind. I really just need to replace ASCII Code 208 with ASCII Code 187, for example. Any ideas? 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 yeomans at desuetude.com Mon Feb 23 13:49:24 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Feb 23 12:49:30 2004 Subject: Reading RecID after Add() In-Reply-To: <62D688F5-6628-11D8-82C6-000393DB941A@mac.com> References: <62D688F5-6628-11D8-82C6-000393DB941A@mac.com> Message-ID: On Feb 23, 2004, at 12:47 PM, James Milne wrote: > Hi Guys, > > I'm wanting to insert a record into a table after having used an empty > cursor to insert it, like so: > > Dim statement as String > Dim resultSet as VCursor > Dim recordId as Integer > > ' Create statement to get empty resultset > statement = "select RecID, * from timeline where RecID = 0" > > ' Execute statement to get empty resultset > resultSet = me.db.SqlSelect( statement, kV_Client, kV_ReadWrite ) > if (resultSet = nil) then > return nil > end if > > ' Clear this cursor > resultSet.SetBlank() > > ' Set the fields of the cursor ready to create a record > resultSet.VarcharField("name") = inName > > ' Create this recored > if not resultSet.Add() then > return nil > end if > > if not resultSet.Update() then > return nil > end if > > After the Add, I want to read the RecID generated back out. Will this > work > correctly? > > ' Read the record ID > recordId = resultSet.ULongField("RecID") > Yep. Charles Yeomans From nfriesen at dyton.com Mon Feb 23 12:50:16 2004 From: nfriesen at dyton.com (Nathan Friesen) Date: Mon Feb 23 12:50:21 2004 Subject: [V4MD] Classic and OS X projectors In-Reply-To: References: Message-ID: <1EDB417A-6631-11D8-8EFF-00039381C640@dyton.com> On Feb 23, 2004, at 10:28 AM, Ruslan Zasukhin wrote: > on 2/23/04 6:16 PM, Nathan Friesen at nfriesen@dyton.com wrote: > > Hi Nathan, > >> I'm having some problems with the Valentina Xtra when I try to make a >> Classic projector in Director. When I make an OS X projector I can >> imbed the V4MD_carbon Xtra in the projector and everything seems to >> work fine. When I try to make a Classic version of the projector most >> Xtras find their classic version in the "Classic MacOS" folder, but >> for >> Valentina I get an error message that V4MD_carbon can't be found (or >> something along those lines) Is this because the name of the Xtra for >> Classic is V4MD_classic? > > V4MD for Classic has name V4MD.Xtra > > Aha, so Director MS have special folder "Classic MacOS" > Which also have Xtra subfolder. > > IT is shame on me, but I have never see it. > Now it is clear how Director MX should choose between Xtras. > > Natahan, let's clarify. > > So you have download both V4MD and V4MD_Carbon archives, yes? Yes. > Put Xtras into corresponded folders: > > V4MD Classic into Director MX/Classic MacOS/Xtras/V4MD.Xtra > V4MD Carbon into Director MX/Xtras/V4MD_Carbon.Xtra > > Yes? Yes. >> I've heard that the way to work around this is to not imbed the Xtras >> in the projector, and instead put them in an Xtras folder in the same >> directory as the projector. I tried this, putting both the >> V4MD_classic >> and the V4MD_carbon Xtras in an Xtras folder, and this seemed to work >> for the classic application. Unfortunately, this causes the carbon >> application to crash right away. > > I think that in projector you must repeat folder hierarchy. > > Projector > Xtras/V4MD_Carbon.Xtra > Classic MacOS/Xtras/V4MD.Xtra > > Check this. I tried this and the carbon projector was able to find its Xtra, but the classic projector gave me a script error when it tried to use the Xtra. Here's a link to what to do with the BuddyAPI Xtra (which also doesn't compile the classic version into the projector): http://bne001w.webcentral.com.au/read?377822,325 Using this format, I set up my hierarchy like this: Classic Projector Carbon Projector Xtras classic V4MD.Xtr os_x V4MD_Carbon.Xtr other assets I've been able to get it to work by structuring the CD this way: other assets Classic Classic Projector Xtras V4MD.Xtr Carbon Carbon Projector Xtras V4MD_Carbon.Xtr But this buries the projector within a folder, and then the projector needs to look up a level to work with the shared assets. Is there something I'm not doing right? Thanks Nathan Nathan Friesen Dyton, Inc. 2302 West 1st Street Cedar Falls, IA 50613 P: 319.277.8418 F: 319.277.8417 www.dyton.com ------ Where there is no vision, the people perish. ??????- Proverbs ------ From yeomans at desuetude.com Mon Feb 23 13:57:29 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Feb 23 12:57:34 2004 Subject: Design question Message-ID: <21010E40-6632-11D8-BBB0-003065BB0634@desuetude.com> I'm in the middle of writing some accounting software, and I have the following problem. I have several types of transactions, each of which I are represented by a class inheriting from an abstract class Transaction. Mapping this scheme to a database is straightforward; I have a table boTransactions, and a table for each subclass that includes a ObjectPtr to boTransactions. The question I have is this: given a boTransactions record, how can it know its base type? Am I going to be forced to add a field to boTransactions? Since Valentina is planned with object-relational support in mind, perhaps there is a better way. Charles Yeomans From sunshine at public.kherson.ua Mon Feb 23 20:59:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 23 13:00:02 2004 Subject: [V4MD] Classic and OS X projectors In-Reply-To: <1EDB417A-6631-11D8-8EFF-00039381C640@dyton.com> Message-ID: on 2/23/04 8:50 PM, Nathan Friesen at nfriesen@dyton.com wrote: >> I think that in projector you must repeat folder hierarchy. >> >> Projector >> Xtras/V4MD_Carbon.Xtra >> Classic MacOS/Xtras/V4MD.Xtra >> >> Check this. > > I tried this and the carbon projector was able to find its Xtra, but > the classic projector gave me a script error when it tried to use the > Xtra. > > Here's a link to what to do with the BuddyAPI Xtra (which also doesn't > compile the classic version into the projector): > http://bne001w.webcentral.com.au/read?377822,325 Using this format, I > set up my hierarchy like this: > > Classic Projector > Carbon Projector > Xtras > classic > V4MD.Xtr > os_x > V4MD_Carbon.Xtr > other assets > > I've been able to get it to work by structuring the CD this way: > > other assets > Classic > Classic Projector > Xtras > V4MD.Xtr > Carbon > Carbon Projector > Xtras > V4MD_Carbon.Xtr > > But this buries the projector within a folder, and then the projector > needs to look up a level to work with the shared assets. > > Is there something I'm not doing right? Thanks Aha, right. You MUST to have 2 Projectors. One for classic, another for Carbon. Director not produce portable byte code, right? For Windows we have separate .exe file. The same for Classic and Carbon. Projectors are different! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 23 21:01:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 23 13:01:11 2004 Subject: Valentina DB Character Replace In-Reply-To: <6.0.1.1.2.20040223194307.01bf0720@pop.gmx.de> Message-ID: on 2/23/04 8:47 PM, Martin Kloss at martin.kloss@gmx.de wrote: > Hi, > > I have a somewhat unusual question: > > I need to replace a single character in a big database > with 12 tables, which lots of string and text fields in every > table. So I'm facing a lot of work, writing a utility to > open every single record and going through every single > field and every character in the text of that field to replace > the character and then update the record. > > Can anyone think of a better solution, I'm thinking of > some kind of a low-level solution to hex-edit the database > file or whatever other means come to mind. > > I really just need to replace ASCII Code 208 with ASCII Code > 187, for example. Any ideas? XML dump And replace in text editor -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Feb 23 21:08:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 23 13:08:52 2004 Subject: Design question In-Reply-To: <21010E40-6632-11D8-BBB0-003065BB0634@desuetude.com> Message-ID: on 2/23/04 8:57 PM, Charles Yeomans at yeomans@desuetude.com wrote: > I'm in the middle of writing some accounting software, and I have the > following problem. I have several types of transactions, each of which > I are represented by a class inheriting from an abstract class > Transaction. Mapping this scheme to a database is straightforward; I > have a table boTransactions, and a table for each subclass that > includes a ObjectPtr to boTransactions. The question I have is this: > given a boTransactions record, how can it know its base type? Am I > going to be forced to add a field to boTransactions? > > Since Valentina is planned with object-relational support in mind, > perhaps there is a better way. You need field, Charles. Small secret. In Valentina 2.0 we will introduce new 1) OID field. Each table will have this VIRTUAL field, like RecID it will have 8 byte size. and eat ZERO !!! bytes on disk. OID value will be unique in database scope 2) and we introduce its pair "ObjectsPtr" ^^^^^^^^^^^ Note "s" in the name. This already 8 byte pointer. Differ from 4 bytes "ObjectPtr" Having this you could have in your boTRansaction table ObjectsPtr pointer, which will points to ONE of SEVERAL tables. If you look deeply, ObjectsPtr is combination of ObjectPtr + ObjectID I.e. Its in background add one more field. You see? --------- Another way for this task -- inheritance of tables. I have start write it, but not sure I will be in time for 2.0 May be in 2.1 - 2.5 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Mon Feb 23 20:10:51 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Mon Feb 23 13:11:03 2004 Subject: Valentina DB Character Replace In-Reply-To: References: <6.0.1.1.2.20040223194307.01bf0720@pop.gmx.de> Message-ID: <6.0.1.1.2.20040223200317.01c9fda0@pop.gmx.de> At 20:01 23.02.2004, you wrote: > > I really just need to replace ASCII Code 208 with ASCII Code > > 187, for example. Any ideas? > >XML dump >And replace in text editor No, not an option. The XML dump was tested once, but it takes hours on a dual CPU to dump and days to load that dump. I don't have the time to do that. Also, the db contains lots of pictures and re-importing all the pictures would also take days, not possible at the current state. Anything else I could do? 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 Fred.Stephenson at communication-unltd.com Mon Feb 23 20:17:02 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Mon Feb 23 13:13:25 2004 Subject: Reading RecID after Add() In-Reply-To: <62D688F5-6628-11D8-82C6-000393DB941A@mac.com> References: <62D688F5-6628-11D8-82C6-000393DB941A@mac.com> Message-ID: > if not resultSet.Update() then > return nil > end if > >After the Add, I want to read the RecID generated back out. Will this work >correctly? > > ' Read the record ID > recordId = resultSet.ULongField("RecID") > Yes ... but why the resultset.update?? Fred From nfriesen at dyton.com Mon Feb 23 13:19:43 2004 From: nfriesen at dyton.com (Nathan Friesen) Date: Mon Feb 23 13:19:49 2004 Subject: [V4MD] Classic and OS X projectors In-Reply-To: References: Message-ID: <3BDEBACC-6635-11D8-8EFF-00039381C640@dyton.com> On Feb 23, 2004, at 12:59 PM, Ruslan Zasukhin wrote: > on 2/23/04 8:50 PM, Nathan Friesen at nfriesen@dyton.com wrote: > >>> I think that in projector you must repeat folder hierarchy. >>> >>> Projector >>> Xtras/V4MD_Carbon.Xtra >>> Classic MacOS/Xtras/V4MD.Xtra >>> >>> Check this. >> >> I tried this and the carbon projector was able to find its Xtra, but >> the classic projector gave me a script error when it tried to use the >> Xtra. >> >> Here's a link to what to do with the BuddyAPI Xtra (which also doesn't >> compile the classic version into the projector): >> http://bne001w.webcentral.com.au/read?377822,325 Using this format, I >> set up my hierarchy like this: >> >> Classic Projector >> Carbon Projector >> Xtras >> classic >> V4MD.Xtr >> os_x >> V4MD_Carbon.Xtr >> other assets >> >> I've been able to get it to work by structuring the CD this way: >> >> other assets >> Classic >> Classic Projector >> Xtras >> V4MD.Xtr >> Carbon >> Carbon Projector >> Xtras >> V4MD_Carbon.Xtr >> >> But this buries the projector within a folder, and then the projector >> needs to look up a level to work with the shared assets. >> >> Is there something I'm not doing right? Thanks > > Aha, right. > > You MUST to have 2 Projectors. > One for classic, another for Carbon. > > Director not produce portable byte code, right? > For Windows we have separate .exe file. > The same for Classic and Carbon. > > Projectors are different! That's correct, there is a projector for Mac Classic, a different projector for Mac Carbon, and a third projector for Windows. In most cases, if you select "Include In Projector" when you add an Xtra to the Xtra list Director will use the appropriate Xtra when it compiles the application (Classic or Carbon). For Valentina, though, it doesn't seem to be able to find the classic Xtra for some reason so I'm including the Xtra in an external Xtras folder. Having both the classic and carbon versions of the Valentina Xtra in the same Xtras folder, though, causes a problem opening the carbon projector. Nathan Nathan Friesen Dyton, Inc. 2302 West 1st Street Cedar Falls, IA 50613 P: 319.277.8418 F: 319.277.8417 www.dyton.com ------ Whatever is worth doing at all, is worth doing well. --Phillip Stanhope ------ From sunshine at public.kherson.ua Mon Feb 23 21:25:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 23 13:25:05 2004 Subject: Valentina DB Character Replace In-Reply-To: <6.0.1.1.2.20040223200317.01c9fda0@pop.gmx.de> Message-ID: on 2/23/04 9:10 PM, Martin Kloss at martin.kloss@gmx.de wrote: > At 20:01 23.02.2004, you wrote: >>> I really just need to replace ASCII Code 208 with ASCII Code >>> 187, for example. Any ideas? >> >> XML dump >> And replace in text editor > > No, not an option. The XML dump was tested once, > but it takes hours on a dual CPU to dump and days > to load that dump. I don't have the time to do that. > > Also, the db contains lots of pictures and re-importing > all the pictures would also take days, not possible > at the current state. > > Anything else I could do? In C++ you'd could do fast replace. I did dream about using of REGEX feature store groups And later replace them with \1, But still did not get time do that. It looks only loop. But not in all records, Only on records that have that char. And make cursor with single column, Then iteration of column will be faster. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin.kloss at gmx.de Mon Feb 23 20:45:34 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Mon Feb 23 13:45:45 2004 Subject: Valentina DB Character Replace In-Reply-To: References: <6.0.1.1.2.20040223200317.01c9fda0@pop.gmx.de> Message-ID: <6.0.1.1.2.20040223204434.01be8bf8@pop.gmx.de> At 20:25 23.02.2004, you wrote: >I did dream about using of REGEX feature store groups >And later replace them with \1, >But still did not get time do that. Hmm, that'd be nice... >It looks only loop. >But not in all records, >Only on records that have that char. Yeah, I will do some tests and see how fast it is...sigh... 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 Claudius at sailer-online.de Mon Feb 23 21:23:56 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Feb 23 14:24:10 2004 Subject: Question to Methods Message-ID: <345F9C7A-663E-11D8-99BA-00039365848C@sailer-online.de> Hi, I didn't used Methods until now, but now I have an idea and need some help wether I can realize that or not. this are the table-fields LastPrice=new VLong("LastPrice",kV_Nullable) QuotationUnit=new VULong("QuotationUnit") QuotationMode=new VBoolean("QuotationMode") and I have the rule: When QuotationMode = true then Result = Lastprice/QuotationUnit else Result = 1/(LastPrice/QuotationUnit) is this possible to rebuild with a method? Thanks for help 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 Feb 23 22:26:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Feb 23 14:26:38 2004 Subject: Question to Methods In-Reply-To: <345F9C7A-663E-11D8-99BA-00039365848C@sailer-online.de> Message-ID: on 2/23/04 10:23 PM, Claudius Sailer at Claudius@sailer-online.de wrote: Hi Claudius, > I didn't used Methods until now, but now I have an idea and need some > help wether I can realize that or not. > > this are the table-fields > > LastPrice=new VLong("LastPrice",kV_Nullable) > QuotationUnit=new VULong("QuotationUnit") > QuotationMode=new VBoolean("QuotationMode") > > and I have the rule: > > When QuotationMode = true > then Result = Lastprice/QuotationUnit > else Result = 1/(LastPrice/QuotationUnit) > > is this possible to rebuild with a method? Formula should be something as if(QuotationMode=1, Lastprice/QuotationUnit, 1/(LastPrice/QuotationUnit) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Mon Feb 23 21:55:00 2004 From: james.milne at mac.com (James Milne) Date: Mon Feb 23 15:54:02 2004 Subject: Reading RecID after Add() In-Reply-To: References: <62D688F5-6628-11D8-82C6-000393DB941A@mac.com> Message-ID: On 23 Feb 2004, at 19:17, Fred.Stephenson wrote: > >> if not resultSet.Update() then >> return nil >> end if >> >> After the Add, I want to read the RecID generated back out. Will this >> work >> correctly? >> >> ' Read the record ID >> recordId = resultSet.ULongField("RecID") >> > > Yes ... but why the resultset.update?? Belt & braces :-) I guess it's redundant then? I didn't realise the RecID would be automatically populated when you called Add(). The documentation is a bit sketchy in that regard. -- James Milne From Claudius at sailer-online.de Tue Feb 24 06:42:57 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Feb 23 23:43:15 2004 Subject: Question to Methods In-Reply-To: References: Message-ID: <4CE2482F-668C-11D8-99BA-00039365848C@sailer-online.de> Hi, Am 23. Feb 2004 um 21:26 Uhr schrieb Ruslan Zasukhin: >> is this possible to rebuild with a method? > > Formula should be something as > > if(QuotationMode=1, Lastprice/QuotationUnit, > 1/(LastPrice/QuotationUnit) I can't find in docu an example for Class definition, so I tried this NValue=new VFloat("NValue",kV_IsMethod("if(QuotationMode=1, LastValue/QuotationUnit, 1/(LastValue/QuotationUnit)")) but got an error (Syntax Error) where can I find an example or whats the right coding? Thanks for help 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 Tue Feb 24 10:27:12 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 24 02:27:20 2004 Subject: Question to Methods In-Reply-To: <4CE2482F-668C-11D8-99BA-00039365848C@sailer-online.de> Message-ID: on 2/24/04 7:42 AM, Claudius Sailer at Claudius@sailer-online.de wrote: > Hi, > > Am 23. Feb 2004 um 21:26 Uhr schrieb Ruslan Zasukhin: > >>> is this possible to rebuild with a method? >> >> Formula should be something as >> >> if(QuotationMode=1, Lastprice/QuotationUnit, >> 1/(LastPrice/QuotationUnit) > > I can't find in docu an example for Class definition, so I tried this > > NValue=new VFloat("NValue",kV_IsMethod("if(QuotationMode=1, > LastValue/QuotationUnit, 1/(LastValue/QuotationUnit)")) > > but got an error (Syntax Error) where can I find an example or whats > the right coding? In the V4RB Examples folder present example "Methods". Constructor of Vfloat have last parameter AS STRING. So syntax must be NValue=new VFloat("NValue", "if(QuotationMode=1,LastValue/QuotationUnit,1/(LastValue/QuotationUnit)")) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From erichg at mcmm.com Tue Feb 24 14:02:28 2004 From: erichg at mcmm.com (Erich Geiersberger) Date: Tue Feb 24 07:20:26 2004 Subject: [V4MD] Classic and OS X projectors In-Reply-To: <3BDEBACC-6635-11D8-8EFF-00039381C640@dyton.com> References: <3BDEBACC-6635-11D8-8EFF-00039381C640@dyton.com> Message-ID: >That's correct, there is a projector for Mac Classic, a different >projector for Mac Carbon, and a third projector for Windows. In most >cases, if you select "Include In Projector" when you add an Xtra to >the Xtra list Director will use the appropriate Xtra when it >compiles the application (Classic or Carbon). For Valentina, though, >it doesn't seem to be able to find the classic Xtra for some reason >so I'm including the Xtra in an external Xtras folder. Having both >the classic and carbon versions of the Valentina Xtra in the same >Xtras folder, though, causes a problem opening the carbon projector. > >Nathan Hi Nathan, while DMX has those two folders with Carbon Xtras and Classic Xtras, I have never sucessfully made a Classic projector on OSX just by just having the Classic and carbon versions in those folders. It seems that only the standard Xtras get replaced automatically. What helps is to manually replace the Xtras for the Classic version with the non-carbon versions. You need to - have the xtras available (I just replace the Xtras in Directors Xtras folder temporary whith the third party versions of the Xtras in the Classic folder, since there is no option to choose a folder in the dialog) - restart director - modify -> movie -> Xtras and replace all third party version with the non carbon versions - make the classic projector - move the old Xtras back to where they were stored before - restart director HTH, Erich From macmec at mac.com Tue Feb 24 09:36:35 2004 From: macmec at mac.com (macmec) Date: Tue Feb 24 10:37:17 2004 Subject: [V4MD] Classic and OS X projectors In-Reply-To: <20040223215419.790C1B85F3@edison.macserve.net> References: <20040223215419.790C1B85F3@edison.macserve.net> Message-ID: <9C98C630-66E7-11D8-83CA-000393C9FBF2@mac.com> Have you thought about doing it with an application bundle, the current method for building a Classic/OS X app? There's a tutorial on Macromedia's site (http://www.macromedia.com/support/director/ts/documents/ bundle_proj.htm) explaining how to do this, and it makes one application icon at the top level, with nothing else visible (unless you want to make something else visible there, like a Read Me or something. The only catch is this method is only supported back to OS 8.6. If you need earlier than that in your Classic support, you'll have to go a different route. But it works really slick. On 23 Feb 2004, at 14:54, valentina-request@lists.macserve.net wrote: >> I've been able to get it to work by structuring the CD this way: >> >> other assets >> Classic >> Classic Projector >> Xtras >> V4MD.Xtr >> Carbon >> Carbon Projector >> Xtras >> V4MD_Carbon.Xtr >> >> But this buries the projector within a folder, and then the projector >> needs to look up a level to work with the shared assets. >> >> Is there something I'm not doing right? Thanks macmec ~ macmec@mac.com This message was sent from a Macintosh computer. Epitome of creativity. From sunshine at public.kherson.ua Tue Feb 24 20:00:21 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 24 12:00:36 2004 Subject: V4RB Count Aggregate SQL problem In-Reply-To: <1013019128malbert@asia.apple.com> Message-ID: on 2/24/04 3:26 PM, Mike Albert at malbert@asia.apple.com wrote: Hi Mike, > I am having trouble getting the value of the aggregate count function from a > cursor in RB. > > The piece of code I am using is as follows : > > theSQLSearch = "SELECT count(partno) FROM OrderTable where (countrycode='AUS') > and snlengthmethod = 11 and serialno <> 'OEMRAM12345' and excluded = 0 and not > (warrantytype = 'SVC DOA' or warrantytype = 'OOW') and ww = 21 and year = > 2004" > theTempCursor = vOrdersDataBase.SQLSelect( theSQLSearch, vDataBaseMode, > kV_ReadOnly, kV_Random ) > vWWCountedParts = theTempCursor.ShortField(1).Value > > I have tried ShortField, LongField, FloatField etc. to get the value returned > in the cursor and it always crashes the RB IDE on the last line above...the > cursor selected is fine. TIP 1: Count() -- return only positive integer numbers. Right? So it must be not Long but Ulong. TIP2: Even if you cannot guess field type, you always can do code fld = c.Field(1) print fld.Type To see field type > When I take the same select statement in ViSQL it works fine and returns the > corect record count. > > I must be missing something really obvious. What should be the field type > returned for a count. The "partno" field is of type String(12). I am using > V4RB 1.10 and RB 4.5.3 on Mac OS X 10.3 > > Hoping you can provide some quick guidance. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 24 18:09:53 2004 From: james.milne at mac.com (James Milne) Date: Tue Feb 24 12:08:51 2004 Subject: Relation links Message-ID: Hi all, I'm trying to figure out how to build relation links between tables using SQL. Here is the code I'm using to be a part of my schema: ' Create timeline table statement = "create table timeline (" statement = statement + "name varchar(64) indexed " statement = statement + ")" recCnt = db.SqlExecute( statement ) ' Create timeline track table statement = "create table timelineTrack (" statement = statement + "fkTimeline ulong references timeline on delete cascade, " // foreign key to timeline statement = statement + "key varchar(32) " statement = statement + ")" recCnt = db.SqlExecute( statement ) ' Create timeline clip table statement = "create table timelineClip (" statement = statement + "fkTrack ulong references timelineTrack on delete cascade, " // foreign key to track statement = statement + "position double, " statement = statement + "inPoint double, " statement = statement + "outPoint double, " statement = statement + "path text(64) " statement = statement + ")" recCnt = db.SqlExecute( statement ) ' Create timelineKeyframe table statement = "create table timelineKeyframe (" statement = statement + "fkTrack ulong references timelineTrack on delete cascade, " // foreign key to track statement = statement + "position double, " statement = statement + "value double " statement = statement + ")" recCnt = db.SqlExecute( statement ) This code doesn't seem to be working. Any ideas what is wrong with it? -- JAmes Milne From Claudius at sailer-online.de Tue Feb 24 19:33:26 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Feb 24 12:33:38 2004 Subject: Question to Methods In-Reply-To: References: Message-ID: Hi Ruslan, Am 24. Feb 2004 um 09:27 Uhr schrieb Ruslan Zasukhin: > In the V4RB Examples folder present example "Methods". Sorry this can't help StringUprFld = new VString( "stringUpr_fld", 30 ) StringUprFld.SetMethod( "Upper(string_fld)" ) but I am using Classes for every Table Sub DBCurrencies(inDatabase as Datenbank) name="Currencies" CUR=new VVarChar("CUR",504,ValLang,kV_Unique +kV_Indexed) CURName=new VVarChar("CURName",504, ValLang,kV_Unique +kV_Indexed) Ric=new VVarChar("Ric",504,ValLang,kV_Indexed+kV_Nullable) Online=new VObjectPtr("Online",inDataBase.TOnline,kV_Nullable + kV_Restrict) LastValue=new VLong("LastValue",kV_Nullable) QuotationUnit=new VULong("QuotationUnit") QuotationMode=new VBoolean("QuotationMode") NValue=new VFloat("NValue","if(QuotationMode=1, LastValue/QuotationUnit, 1/(LastValue/QuotationUnit)")) Sortierung=new VULong("Sortierung") end sub > Constructor of Vfloat have last parameter AS STRING. > So syntax must be > > NValue=new VFloat("NValue", > > "if(QuotationMode=1,LastValue/QuotationUnit,1/(LastValue/ > QuotationUnit)")) This brings SyntaxError. I tested several things with brackets, but I got always Syntax Error. bye 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 Tue Feb 24 20:36:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 24 12:38:06 2004 Subject: Relation links In-Reply-To: Message-ID: on 2/24/04 8:09 PM, James Milne at james.milne@mac.com wrote: Hi James, > I'm trying to figure out how to build relation links between tables > using SQL. > > Here is the code I'm using to be a part of my schema: > > ' Create timeline table > statement = "create table timeline (" > statement = statement + "name varchar(64) indexed " > statement = statement + ")" > > recCnt = db.SqlExecute( statement ) > > ' Create timeline track table > statement = "create table timelineTrack (" > statement = statement + "fkTimeline ulong references timeline on > delete cascade, " // foreign key to timeline REFERENCES works for ObjectPtr field only now. In 2.0 it works for all field types, as required for RBDB FOREIGN KEY. If you have no problems with ObjetcPtr then use them. > statement = statement + "key varchar(32) " > statement = statement + ")" > > recCnt = db.SqlExecute( statement ) > > ' Create timeline clip table > statement = "create table timelineClip (" > statement = statement + "fkTrack ulong references timelineTrack on > delete cascade, " // foreign key to track > statement = statement + "position double, " > statement = statement + "inPoint double, " > statement = statement + "outPoint double, " > statement = statement + "path text(64) " > statement = statement + ")" > > recCnt = db.SqlExecute( statement ) > > ' Create timelineKeyframe table > statement = "create table timelineKeyframe (" > statement = statement + "fkTrack ulong references timelineTrack on > delete cascade, " // foreign key to track > statement = statement + "position double, " > statement = statement + "value double " > statement = statement + ")" > > recCnt = db.SqlExecute( statement ) > > This code doesn't seem to be working. Any ideas what is wrong with 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 Claudius at sailer-online.de Tue Feb 24 19:41:44 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Feb 24 12:41:58 2004 Subject: Question to Methods In-Reply-To: References: Message-ID: <17FBD1B2-66F9-11D8-99BA-00039365848C@sailer-online.de> Am 24. Feb 2004 um 19:33 Uhr schrieb Claudius Sailer: > Hi Ruslan, > > > Am 24. Feb 2004 um 09:27 Uhr schrieb Ruslan Zasukhin: > >> In the V4RB Examples folder present example "Methods". > > Sorry this can't help > > StringUprFld = new VString( "stringUpr_fld", 30 ) > StringUprFld.SetMethod( "Upper(string_fld)" ) > > but I am using > > Classes for every Table > > Sub DBCurrencies(inDatabase as Datenbank) > name="Currencies" > CUR=new VVarChar("CUR",504,ValLang,kV_Unique +kV_Indexed) > CURName=new VVarChar("CURName",504, ValLang,kV_Unique +kV_Indexed) > Ric=new VVarChar("Ric",504,ValLang,kV_Indexed+kV_Nullable) > Online=new VObjectPtr("Online",inDataBase.TOnline,kV_Nullable + > kV_Restrict) > LastValue=new VLong("LastValue",kV_Nullable) > QuotationUnit=new VULong("QuotationUnit") > QuotationMode=new VBoolean("QuotationMode") > NValue=new VFloat("NValue","if(QuotationMode=1, > LastValue/QuotationUnit, 1/(LastValue/QuotationUnit)")) > Sortierung=new VULong("Sortierung") > end sub > >> Constructor of Vfloat have last parameter AS STRING. >> So syntax must be >> >> NValue=new VFloat("NValue", >> >> "if(QuotationMode=1,LastValue/QuotationUnit,1/(LastValue/ >> QuotationUnit)")) > > This brings SyntaxError. I tested several things with brackets, but I > got always Syntax Error. Okay, now I have it. I defined the NValue=new VFloat("NValue") inside of the table-class and in the database Class I defined after the tabledefinition TCurrencies=new DBCurrencies(self) TCurrencies.NValue.SetMethod("if(QuotationMode=1,LastValue/ QuotationUnit,1/(LastValue/QuotationUnit))") Now I don't get an error message again. Thanks for help Claudius From sunshine at public.kherson.ua Tue Feb 24 20:58:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 24 12:58:28 2004 Subject: Question to Methods In-Reply-To: <17FBD1B2-66F9-11D8-99BA-00039365848C@sailer-online.de> Message-ID: on 2/24/04 8:41 PM, Claudius Sailer at Claudius@sailer-online.de wrote: >>> Constructor of Vfloat have last parameter AS STRING. >>> So syntax must be >>> >>> NValue=new VFloat("NValue", >>> >>> "if(QuotationMode=1,LastValue/QuotationUnit,1/(LastValue/ >>> QuotationUnit)")) >> >> This brings SyntaxError. I tested several things with brackets, but I >> got always Syntax Error. > > Okay, now I have it. > > I defined the NValue=new VFloat("NValue") inside of the table-class and > in the database Class I defined after the tabledefinition > > TCurrencies=new DBCurrencies(self) > > TCurrencies.NValue.SetMethod("if(QuotationMode=1,LastValue/ > QuotationUnit,1/(LastValue/QuotationUnit))") > > Now I don't get an error message again. Aha, ys. V4RB 1.x do not have method in contractors. In V4RB 2.0 we have improve this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Tue Feb 24 20:29:41 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Feb 24 13:29:55 2004 Subject: Question to Methods In-Reply-To: References: Message-ID: Am 24. Feb 2004 um 19:58 Uhr schrieb Ruslan Zasukhin: > Aha, ys. > > V4RB 1.x do not have method in contractors. > In V4RB 2.0 we have improve this. Thats good. But now it seems that I am too stupid. I took following Code from ValentinaSQL CREATE TABLE tbl1 ( fldBoolean boolean, fldULong ulong NOT NULL UNIQUE, fldString string(50,'English') NOT NULL, fldText text(512, 'German') fldObjectPtr REFERENCES tbl1 ON DELETE CASCADE, fldStringUpr string(50,'English') NOT NULL METHOD('upper(fldString)') ) I transformed method-Row to my SQL-String cmd="CREATE TABLE Currencies (" cmd=cmd+"CUR VarChar(504 ,'"+ValLang+"') NOT NULL UNIQUE INDEXED, " cmd=cmd+"CURName VarChar(504 ,'"+ValLang+"') NOT NULL UNIQUE INDEXED, " cmd=cmd+"Ric VarChar(504 ,'"+ValLang+"') NOT NULL UNIQUE INDEXED, " cmd=cmd+"Online ObjectPtr REFERENCES Online ON DELETE RESTRICT, " cmd=cmd+"LastValue Long, " cmd=cmd+"QuotationUnit ULong NOT NULL, " cmd=cmd+"QuotationMode Boolean, " cmd=cmd+"NValue Float METHOD('if(QuotationMode=1, LastValue/QuotationUnit, 1/(LastValue/QuotationUnit)'), " cmd=cmd+"Sortierung ULONG NOT NULL" cmd=cmd+")" count=tmpDB.SQlExecute(cmd) But now Table is build. The Problem have to be in the METHOD-Line. Could you give me a hint were I am running out of correctness? IS it possible that after METHOD there is a blank necessary or after the Mothod-brackets? Thanks for help 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 Tue Feb 24 21:46:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 24 13:46:55 2004 Subject: Question to Methods In-Reply-To: Message-ID: on 2/24/04 9:29 PM, Claudius Sailer at Claudius@sailer-online.de wrote: > > Am 24. Feb 2004 um 19:58 Uhr schrieb Ruslan Zasukhin: > >> Aha, ys. >> >> V4RB 1.x do not have method in contractors. >> In V4RB 2.0 we have improve this. > > Thats good. > > But now it seems that I am too stupid. I took following Code from > ValentinaSQL > > CREATE TABLE tbl1 > ( > fldBoolean boolean, > fldULong ulong NOT NULL UNIQUE, > fldString string(50,'English') NOT NULL, > fldText text(512, 'German') fldObjectPtr REFERENCES tbl1 ON DELETE > CASCADE, > fldStringUpr string(50,'English') NOT NULL METHOD('upper(fldString)') > ) > > > I transformed method-Row to my SQL-String > > cmd="CREATE TABLE Currencies (" > cmd=cmd+"CUR VarChar(504 ,'"+ValLang+"') NOT NULL UNIQUE INDEXED, " > cmd=cmd+"CURName VarChar(504 ,'"+ValLang+"') NOT NULL UNIQUE INDEXED, > " > cmd=cmd+"Ric VarChar(504 ,'"+ValLang+"') NOT NULL UNIQUE INDEXED, " > cmd=cmd+"Online ObjectPtr REFERENCES Online ON DELETE RESTRICT, " > cmd=cmd+"LastValue Long, " > cmd=cmd+"QuotationUnit ULong NOT NULL, " > cmd=cmd+"QuotationMode Boolean, " > cmd=cmd+"NValue Float METHOD('if(QuotationMode=1, > LastValue/QuotationUnit, 1/(LastValue/QuotationUnit)'), " > cmd=cmd+"Sortierung ULONG NOT NULL" > cmd=cmd+")" > count=tmpDB.SQlExecute(cmd) > > But now Table is build. The Problem have to be in the METHOD-Line. > Could you give me a hint were I am running out of correctness? IS it > possible that after METHOD there is a blank necessary or after the > Mothod-brackets? No, spaces are not important. Strange it seems all right. You get some error code? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Tue Feb 24 20:47:52 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Feb 24 13:48:03 2004 Subject: Question to Methods In-Reply-To: References: Message-ID: <54F74266-6702-11D8-99BA-00039365848C@sailer-online.de> Sometimes Coding drives me crazy Am 24. Feb 2004 um 20:29 Uhr schrieb Claudius Sailer: > cmd=cmd+"NValue Float METHOD('if(QuotationMode=1, > LastValue/QuotationUnit, 1/(LastValue/QuotationUnit)'), " NValue Float METHOD('if(QuotationMode=1, LastValue/QuotationUnit, 1/(LastValue/QuotationUnit))'), I forgot one bracket. Shit happens. Sorry for that Claudius From sunshine at public.kherson.ua Tue Feb 24 22:14:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 24 14:14:43 2004 Subject: DB SDK getSupportedTypes Message-ID: Hi, This function can return only filed types listed in this enum ? What if database have MUCH MORE field types? REALbasic DB API do not give way to use that type ??? ------------- For example by your logic dbTypeChar = fixed string dbTypeText = VarChar But what I should use for TEXT field (BLOB) ??? = TEXT field I see that dbLongText on some reason is deprecated. Why? -------------- Or for you have Binary type. Good. But Valentina have 3 different binary types!!! FIXED bianry VAR binary BLOB And how this can be fit into RB DB API ? Any ideas? enum dbFieldType { dbTypeNull = 0, // 0 dbTypeByte, // 1 dbTypeShort, // 2 dbTypeLong, // 3 dbTypeChar, // 4 dbTypeText, // 5 dbTypeFloat, // 6 dbTypeDouble, // 7 dbTypeDate, // 8 dbTypeTime, // 9 dbTypeTimeStamp, // 10 dbTypeCurrency, // 11 dbTypeBoolean, // 12 dbTypeDecimal, // 13 dbTypeBinary, // 14 dbTypeLongText, // 15 // deprecated; use dbTypeText dbTypeLongBinary, // 16 // deprecated; use dbTypeBinary dbTypeMacPICT, // 17 dbTypeREALstring, // 18 dbTypeUnknown = 255 }; -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andrew at learningware.com Tue Feb 24 15:38:23 2004 From: andrew at learningware.com (Andrew Sinning) Date: Tue Feb 24 15:35:13 2004 Subject: SQL "OR" In-Reply-To: Message-ID: I'm having a tough time understanding why my "OR" doesn't workin the following query: SELECT qId FROM questions, answers WHERE stemText LIKE 'what' no_case -- yeilds 16 results. This is a expected -- now, if I add an OR to the WHERE clause, I should expect at least 16 results, correct? SELECT qId FROM questions, answers WHERE stemText LIKE 'what' no_case OR answers.text LIKE 'what' no_case -- yeilds 0 results From sunshine at public.kherson.ua Wed Feb 25 00:04:16 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 24 16:04:24 2004 Subject: SQL "OR" In-Reply-To: Message-ID: on 2/24/04 11:38 PM, Andrew Sinning at andrew@learningware.com wrote: > I'm having a tough time understanding why my "OR" doesn't workin the > following query: > > SELECT qId FROM questions, answers WHERE stemText LIKE 'what' no_case > > -- yeilds 16 results. This is a expected > > -- now, if I add an OR to the WHERE clause, I should expect at least 16 > results, correct? > > > SELECT qId FROM questions, answers WHERE stemText LIKE 'what' no_case > OR answers.text LIKE 'what' no_case > > -- yeilds 0 results Hi Andrew, Standard problem. Not works in 1.x You can get the same result using select from questions WHERE stemText LIKE 'what' no_case and id in (SELECT ptr Answers WHERE text LIKE 'what' no_case) You need correct id and ptr according to your links -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From andrew at learningware.com Tue Feb 24 16:12:41 2004 From: andrew at learningware.com (Andrew Sinning) Date: Tue Feb 24 16:09:28 2004 Subject: SQL "OR" In-Reply-To: Message-ID: Thanks. So is "OR" completely broken in 1.x, or just in the context of a LIKE comparison? However could something and basic as "OR" not work? From sunshine at public.kherson.ua Wed Feb 25 00:15:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Feb 24 16:15:53 2004 Subject: SQL "OR" In-Reply-To: Message-ID: on 2/25/04 12:12 AM, Andrew Sinning at andrew@learningware.com wrote: > Thanks. > > So is "OR" completely broken in 1.x, or just in the context of a LIKE > comparison? However could something and basic as "OR" not work? Not works OR for fields that are from different ables. You can use OR if fields are from the same table -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Tue Feb 24 23:03:30 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Tue Feb 24 16:17:06 2004 Subject: SQL "OR" In-Reply-To: References: Message-ID: >I'm having a tough time understanding why my "OR" doesn't workin the >following query: > >SELECT qId FROM questions, answers WHERE stemText LIKE 'what' no_case > >-- yeilds 16 results. This is a expected > >-- now, if I add an OR to the WHERE clause, I should expect at least 16 >results, correct? > > >SELECT qId FROM questions, answers WHERE stemText LIKE 'what' no_case >OR answers.text LIKE 'what' no_case > >-- yeilds 0 results My guess is that stemText and text are in different tables. If so, this is a known problem: Valentina 1.x can't handle this properly -- it treats your "OR" as an "AND". I think you can use a join to remedy this but you may need to do some processing in your code. Robert From fvanlerberghe at freegates.be Tue Feb 24 23:21:26 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Tue Feb 24 16:20:38 2004 Subject: SQL "OR" In-Reply-To: Message-ID: le 24/02/04 22:38, Andrew Sinning a ?crit?: > I'm having a tough time understanding why my "OR" doesn't workin the > following query: > > SELECT qId FROM questions, answers WHERE stemText LIKE 'what' no_case > > -- yeilds 16 results. This is a expected > > -- now, if I add an OR to the WHERE clause, I should expect at least 16 > results, correct? > > > SELECT qId FROM questions, answers WHERE stemText LIKE 'what' no_case > OR answers.text LIKE 'what' no_case > > -- yeilds 0 results I think you must enclose condition by table into parenthesis Try : SELECT qId FROM questions, answers WHERE (stemText LIKE 'what' no_case) OR (answers.text LIKE 'what' no_case) Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From fvanlerberghe at freegates.be Tue Feb 24 23:24:08 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Tue Feb 24 16:23:17 2004 Subject: SQL "OR" In-Reply-To: Message-ID: le 24/02/04 23:15, Ruslan Zasukhin a ?crit?: > Not works OR for fields that are from different ables. > > You can use OR if fields are from the same table Ok. Forget my suggestion. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From c.kelly at qfsaustralia.com.au Wed Feb 25 10:12:41 2004 From: c.kelly at qfsaustralia.com.au (Chris Kelly) Date: Tue Feb 24 18:13:00 2004 Subject: Issue with Valentina and RB 5.5fc2 In-Reply-To: References: Message-ID: <53D1C30C-6727-11D8-835B-000A9568D7D8@qfsaustralia.com.au> Hi Ruslan , I sent the message below to the Beta's list at REAL, it was suggested I send it here. I have just tried to create some valentina classes following the Valentina Tutorial as the example MyDatabase <- subclass of VDatabase BoPerson <- subclass of VBaseObject MyDatabase has a property mPerson of type BoPerson . In the constructor of MyDatabase is only one line. mPerson = new BoPerson Try to compile and I get this * Parameters are not compatible with this function in MyDatabase.Constructor, line 1: mPerson = new boPerson() I then add an *empty* constructor to boPerson Problem goes away and in fact compiles. Thanks Chris Kelly IT Manager TVH Australasia ph 61 7 3277 0877 fax 61 7 3277 0026 From sunshine at public.kherson.ua Wed Feb 25 10:50:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 25 02:50:31 2004 Subject: Issue with Valentina and RB 5.5fc2 In-Reply-To: <53D1C30C-6727-11D8-835B-000A9568D7D8@qfsaustralia.com.au> Message-ID: on 2/25/04 2:12 AM, Chris Kelly at c.kelly@qfsaustralia.com.au wrote: Hi Chris, It sounds like REALbasic 5.5 is more strict in language, And require explicit definition of empty constructor. Somebody from REAL can confirm this? I think this is strange, because e.g. In C++ we can do not define default constructor for a class, and compiler will generate it self. > Hi Ruslan , > > I sent the message below to the Beta's list at REAL, it was suggested I > send it here. > > I have just tried to create some valentina classes following the > Valentina Tutorial as the example > > MyDatabase <- subclass of VDatabase > BoPerson <- subclass of VBaseObject > > MyDatabase has a property mPerson of type BoPerson . > > In the constructor of MyDatabase is only one line. > > mPerson = new BoPerson > > Try to compile and I get this > > > * Parameters are not compatible with this function in > MyDatabase.Constructor, line 1: > mPerson = new boPerson() > > > I then add an *empty* constructor to boPerson > > Problem goes away and in fact compiles. > > Thanks > Chris Kelly > IT Manager > TVH Australasia > ph 61 7 3277 0877 > fax 61 7 3277 0026 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Feb 25 14:23:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 25 06:24:13 2004 Subject: Valentina + Director in a local Browser In-Reply-To: Message-ID: on 2/25/04 2:12 PM, bibiko@eva.mpg.de at bibiko@eva.mpg.de wrote: > Name: Hans-Joerg Bibiko > > Question regarding: v4md Hi Hans, > Dear all, > > I'm just testing your remarkable database engine. All works fine, but I have > no idea how can I develop a dcr using Valentina Hans, what you mean with dcr ? > and is displayed in a local browser. > I read about 'dswmedia' folder, but I was not able to manage it. Again, I not understand what you mean with 'dswmedia' folder ? Please explain your task in more details. I have CC your question to Valentina list. May be somebody from Valentina developers know what you ask about and give help... > Thank you in advance > > Hans-Joerg -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 25 13:31:28 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Feb 25 06:31:33 2004 Subject: AW: Valentina + Director in a local Browser In-Reply-To: Message-ID: A .dcr is a shockwave movie, which is frankly said Director's online format.You can download the player engine as a browser plug-in. Because of security reasons, an xtra that shall work with shockwave movies must be certified by macromedia as "shockwave-safe". For all xtras writing and reading from hard disk, this is not quite easy I think. I don't know if there are other DB Xtras that are shockwave safe and work with a local database. Best regards, Florian > > I have CC your question to Valentina list. > May be somebody from Valentina developers know what you ask > about and give help... > From sunshine at public.kherson.ua Wed Feb 25 14:47:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 25 06:47:30 2004 Subject: AW: Valentina + Director in a local Browser In-Reply-To: Message-ID: on 2/25/04 2:31 PM, Florian Bogeschdorfer at fb@memedia.de wrote: > A .dcr is a shockwave movie, which is frankly said Director's online > format. You can download the player engine as a browser plug-in. > Because of security reasons, an xtra that shall work with shockwave movies > must be certified by macromedia as "shockwave-safe". > For all xtras writing and reading from hard disk, this is not quite easy I > think. I don't know if there are other DB Xtras that are shockwave safe and > work with a local database. I see. 1) very soon we will make V4MD_Client SW safe. this will be quite legal, because V4MD_client do not touch DISK of client computer. It just talk to Valentina Server. 2) V4MD LOCAL, yes, touch disk, so I do not see any sense make it as SW safe. Even if to do this, such V4MD LOCAL Xtra will be able work only with TMP folder and with TMP databases as I understand. > Best regards, Florian > >> >> I have CC your question to Valentina list. >> May be somebody from Valentina developers know what you ask >> about and give 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 r.hildebrandt at sbt.fr Wed Feb 25 13:52:29 2004 From: r.hildebrandt at sbt.fr (Roland Hildebrandt) Date: Wed Feb 25 06:52:39 2004 Subject: Valentina + Director in a local Browser References: Message-ID: <004f01c3fb9e$3a5e02b0$3a01a8c0@sbt> Hi all, > > > Name: Hans-Joerg Bibiko > > > > Question regarding: v4md > > Hi Hans, > > > Dear all, > > > > I'm just testing your remarkable database engine. All works fine, but I have > > no idea how can I develop a dcr using Valentina > I think there is a confusion between dcr/director and valentina. You can develop a director movie with director and then compile it in a dcr file. A director movie can use the V4MD XTRA for director which will enable the access to valentina databases. > Hans, what you mean with dcr ? > A dcr is a shockwave compiled version of a director movie to be used in a web browser. > > > and is displayed in a local browser. > > > I read about 'dswmedia' folder, but I was not able to manage it. > > Again, I not understand what you mean with 'dswmedia' folder ? > The dswmedia folder ( mymovie\dswmedia) on the client machine is the only in which the dcr is authorised to read or write files. This is made to avoid security problems. I don't know if it is possible to use V4MD on a client webbrowser via a dcr. One way may be to download the XTRA one each client. Using download XTRA when needed in fact the default shockwave player do not contains the V4MD XTRA. Once this done the client dcr may access to a database on a server ? Best reagrds SBT / HAPPYneuron Roland HILDEBRANDT r.hildebrandt@sbt.fr www.happyneuron.com > Please explain your task in more details. > > > I have CC your question to Valentina list. > May be somebody from Valentina developers know what you ask about and give > help... > > > Thank you in advance > > > > Hans-Joerg > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Wed Feb 25 15:23:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 25 07:23:47 2004 Subject: Valentina + Director in a local Browser In-Reply-To: <403C9B45.30102@eva.mpg.de> Message-ID: on 2/25/04 2:55 PM, Hans-Joerg Bibiko at bibiko@eva.mpg.de wrote: Hi Hans, > Now my task in more details: > > I have to develop a program which must handle a lot of data. Answer -- Valentina :-) > So I looked for some database engines which run with Macromedia Director 9.0. > I found Valentina. I download it and wrote some test functions. All works fine > and fast. Nothing for Director runs faster of Valentina. > Our ongoing project has to run on different OS like > Microsoft Windows, MAC OSX, MAC OS9, maybe on UNIX derivates. Unix we do not support YET. But I think this is deal of few months. > I created a projector of our Director test program, included V4MD and > everything worked. > Unfortunetly our Director project needs some features which are > not supported by any Director version for MAC OS9, only for MAC OSX, but > there are a lot of people using the 'old' MAC version. > So I tried to create a HTML version of our test program. It compiled a DCR > file. > > This file can be displayed with the help of a Shockwave Player in any > web-browser. I see now. > If I try that, my Shockwave Player in every web-browser I > used terminates the program immediately. If I remove all program lines > which are dealing with Valentina, the program runs in a web-browser in a > normal way. Right. This is because V4MD LOCAL which you test is NOT And probably will never be as SW safe Xtra. No sense. Only V4MD_client will be marked as SW safe. And it will require Valentina Server. > Well, I believe the point is my DCR Shockwave program runs in safe mode. > I have no access to local stored data (my Valentina database) except if > I store all my data in a folder named 'DSWMEDIA'. This is the only > folder which Shockwave Player allows accessing local stored data. Right. The only folder. > Now my questions: > Do you know this problem? Do you know the folder named 'DSWMEDIA' and if > yes where I should create it? Roland have answer this: The dswmedia folder ( mymovie\dswmedia) on the client machine is the only in which the dcr is authorised to read or write files. > Do you tested Valentina in a such environment? I have not test it in this way. BTW, FYI, V4MD_LOCAL xtra is MARKED as SW safe. This is not very correct, as I have told, But probably can help at least load it into Browser. > Thanks in advance for your cooperation. > Looking forward to hearing from you. So let me clarify. You still think about SINGLE USER access to db files, yes? You self will put DB FILES to EACH client computer, yes? Clients will not try to reach some Server based db files, yes? Well, then only problem ro resolve for you: a) make browser load V4MD LOCAL Xtra. I think it should b) put db files into that ( mymovie\dswmedia) folder Anybody have try do this 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 sunshine at public.kherson.ua Wed Feb 25 20:12:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 25 12:12:13 2004 Subject: V4RB 2.0 linked first time! Message-ID: Hi All, Just only I was able compile and LINK V4RB 2.0 Based on new 2.0 engine and on INU unicode library On MacOS Carbon. WOW! :-)) Now thins will become more interesting! BTW, Igor have compile and link and RUN V4MD WIN 2.0 Already 2 weeks ago. But today I have got success on MacOS! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From nfriesen at dyton.com Wed Feb 25 12:33:02 2004 From: nfriesen at dyton.com (Nathan Friesen) Date: Wed Feb 25 12:33:07 2004 Subject: [V4MD] Classic and OS X projectors In-Reply-To: References: <3BDEBACC-6635-11D8-8EFF-00039381C640@dyton.com> Message-ID: <0B1D77C2-67C1-11D8-806D-00039381C640@dyton.com> On Feb 24, 2004, at 7:02 AM, Erich Geiersberger wrote: >> That's correct, there is a projector for Mac Classic, a different >> projector for Mac Carbon, and a third projector for Windows. In most >> cases, if you select "Include In Projector" when you add an Xtra to >> the Xtra list Director will use the appropriate Xtra when it compiles >> the application (Classic or Carbon). For Valentina, though, it >> doesn't seem to be able to find the classic Xtra for some reason so >> I'm including the Xtra in an external Xtras folder. Having both the >> classic and carbon versions of the Valentina Xtra in the same Xtras >> folder, though, causes a problem opening the carbon projector. >> >> Nathan > > > Hi Nathan, > > while DMX has those two folders with Carbon Xtras and Classic Xtras, I > have never sucessfully made a Classic projector on OSX just by just > having the Classic and carbon versions in those folders. > It seems that only the standard Xtras get replaced automatically. > What helps is to manually replace the Xtras for the Classic version > with the non-carbon versions. > > You need to > - have the xtras available (I just replace the Xtras in Directors > Xtras folder temporary whith the third party versions of the Xtras in > the Classic folder, since there is no option to choose a folder in the > dialog) > > - restart director > > - modify -> movie -> Xtras and replace all third party version with > the non carbon versions > > - make the classic projector > > - move the old Xtras back to where they were stored before > > - restart director > > HTH, > Erich Eric, Thanks for the advice. That seems like a cumbersome way to get it to work, but I guess I should just be happy that it will work at all. Maybe with a new version of Director it will work better, but I won't hold my breath. Nathan Nathan Friesen Dyton, Inc. 2302 West 1st Street Cedar Falls, IA 50613 P: 319.277.8418 F: 319.277.8417 www.dyton.com ------ When one door closes another door opens; but we so often look so long and so regretfully upon the closed door, that we do not see the ones which open for us. -?Helen Keller ------ From nfriesen at dyton.com Wed Feb 25 12:37:15 2004 From: nfriesen at dyton.com (Nathan Friesen) Date: Wed Feb 25 12:37:18 2004 Subject: [V4MD] Classic and OS X projectors In-Reply-To: <9C98C630-66E7-11D8-83CA-000393C9FBF2@mac.com> References: <20040223215419.790C1B85F3@edison.macserve.net> <9C98C630-66E7-11D8-83CA-000393C9FBF2@mac.com> Message-ID: I did think about making a bundle, but that still wouldn't have solved my problem of accessing the common assets. And, like you said, pre-OS 8.6 wouldn't support the bundle, so it would need a separate application, or alias. Thanks for the suggestion, though. If we weren't supporting pre-8.6 then it would have at least cleaned things up on the CD. Nathan On Feb 24, 2004, at 10:36 AM, macmec wrote: > Have you thought about doing it with an application bundle, the > current method for building a Classic/OS X app? There's a tutorial on > Macromedia's site > (http://www.macromedia.com/support/director/ts/documents/ > bundle_proj.htm) explaining how to do this, and it makes one > application icon at the top level, with nothing else visible (unless > you want to make something else visible there, like a Read Me or > something. > > The only catch is this method is only supported back to OS 8.6. If > you need earlier than that in your Classic support, you'll have to go > a different route. But it works really slick. > > On 23 Feb 2004, at 14:54, valentina-request@lists.macserve.net wrote: > >>> I've been able to get it to work by structuring the CD this way: >>> >>> other assets >>> Classic >>> Classic Projector >>> Xtras >>> V4MD.Xtr >>> Carbon >>> Carbon Projector >>> Xtras >>> V4MD_Carbon.Xtr >>> >>> But this buries the projector within a folder, and then the projector >>> needs to look up a level to work with the shared assets. >>> >>> Is there something I'm not doing right? Thanks > > macmec ~ macmec@mac.com > This message was sent from a Macintosh computer. Epitome of > creativity. > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > Nathan Friesen Dyton, Inc. 2302 West 1st Street Cedar Falls, IA 50613 P: 319.277.8418 F: 319.277.8417 www.dyton.com ------ Where there is no vision, the people perish. ??????- Proverbs ------ From macmec at mac.com Wed Feb 25 12:08:19 2004 From: macmec at mac.com (macmec) Date: Wed Feb 25 13:09:04 2004 Subject: Valentina Digest, Vol 14, Issue 50 In-Reply-To: <20040225183726.0A57FBB91E@edison.macserve.net> References: <20040225183726.0A57FBB91E@edison.macserve.net> Message-ID: Right, pre-OS 8.6 is an issue. As for the shared assets, I've successfully linked shared assets in the root of the bundle, so all projectors could use them. In fact, if I remember right, I even had a Win folder in the bundle, to accomplish cross-platform burning using shared assets throughout, keeping the whole thing very clean. I could be wrong on that, but it seems like I played with that and got it working at one point. On 25 Feb 2004, at 11:37, valentina-request@lists.macserve.net wrote: > I did think about making a bundle, but that still wouldn't have solved > my problem of accessing the common assets. And, like you said, pre-OS > 8.6 wouldn't support the bundle, so it would need a separate > application, or alias. Thanks for the suggestion, though. If we weren't > supporting pre-8.6 then it would have at least cleaned things up on the > CD. macmec ~ macmec@mac.com This message was sent from a Macintosh computer. Epitome of creativity. From andrew at learningware.com Wed Feb 25 14:44:20 2004 From: andrew at learningware.com (Andrew Sinning) Date: Wed Feb 25 14:41:05 2004 Subject: does V4MD back itself up? In-Reply-To: Message-ID: I'm can't believe that this is happening, but I have to make sure before I go digging around for an explanation: Does V4MD have some kind of built-in procedure so that if the Director Projector that is connected to a db crashes (or does a force-quit) without explicitly disconnecting from the db, then the db reverts to the state it was in when opened? I finding the strangest thing: If I force quit out of my Projector without doing dbConn.CloseDatabase() ValentinaShutDown() then the next time I open the db it is back where it was the last time I opened it. Am I out of my mind, or is this a feature? From sunshine at public.kherson.ua Wed Feb 25 23:00:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 25 15:00:57 2004 Subject: does V4MD back itself up? In-Reply-To: Message-ID: on 2/25/04 10:44 PM, Andrew Sinning at andrew@learningware.com wrote: > I'm can't believe that this is happening, but I have to make sure before > I go digging around for an explanation: > > Does V4MD have some kind of built-in procedure so that if the Director > Projector that is connected to a db crashes (or does a force-quit) > without explicitly disconnecting from the db, then the db reverts to the > state it was in when opened? NO. You get the latest state after flush() > I finding the strangest thing: If I force quit out of my Projector > without doing > > > dbConn.CloseDatabase() > ValentinaShutDown() > > > then the next time I open the db it is back where it was the last time I > opened it. > > Am I out of my mind, or is this a feature? I assume you have made very small changes, so they fit into Valentina cache. And you have not made Flush() Add flush to you 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 nwoe at privat.utfors.se Wed Feb 25 22:26:58 2004 From: nwoe at privat.utfors.se (=?us-ascii?Q?niklas_wormann?=) Date: Wed Feb 25 15:27:06 2004 Subject: SV: V4RB 2.0 linked first time! In-Reply-To: Message-ID: congratulations Ruslan, I am really happy that valentina is moving forward niklas woermann From andrew at learningware.com Wed Feb 25 16:07:00 2004 From: andrew at learningware.com (Andrew Sinning) Date: Wed Feb 25 16:03:47 2004 Subject: does V4MD back itself up? In-Reply-To: Message-ID: ah, thanks. In the docs it states for the description of CloseDatabase( gMyDataBase ): "Closes the database. Before Close() do Flush() if it needs." Where you say "do Flush() if it needs", do you mean "does" Flush if needed, or do you mean that the programmer should "do Flush() if needed"? How often should one flush()? Is there a way to check the amount of memory being used up to know if it's time to flush()? Will V4MD periodically flush itself? -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]On Behalf Of Ruslan Zasukhin Sent: Wednesday, February 25, 2004 3:01 PM To: valentina@lists.macserve.net Subject: Re: does V4MD back itself up? on 2/25/04 10:44 PM, Andrew Sinning at andrew@learningware.com wrote: > I'm can't believe that this is happening, but I have to make sure before > I go digging around for an explanation: > > Does V4MD have some kind of built-in procedure so that if the Director > Projector that is connected to a db crashes (or does a force-quit) > without explicitly disconnecting from the db, then the db reverts to the > state it was in when opened? NO. You get the latest state after flush() > I finding the strangest thing: If I force quit out of my Projector > without doing > > > dbConn.CloseDatabase() > ValentinaShutDown() > > > then the next time I open the db it is back where it was the last time I > opened it. > > Am I out of my mind, or is this a feature? I assume you have made very small changes, so they fit into Valentina cache. And you have not made Flush() Add flush to you code -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Feb 26 00:07:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Feb 25 16:07:58 2004 Subject: does V4MD back itself up? In-Reply-To: Message-ID: on 2/26/04 12:07 AM, Andrew Sinning at andrew@learningware.com wrote: > ah, thanks. > > In the docs it states for the description of CloseDatabase( > gMyDataBase ): > > "Closes the database. Before Close() do Flush() if it needs." > > > Where you say "do Flush() if it needs", do you mean "does" Flush if > needed, or do you mean that the programmer should "do Flush() if > needed"? BOTH :-) CloseDatabase() will do Flush() self But you can do as programmer call Flush() as often as you need. > How often should one flush()? After each modification of records > Is there a way to check the amount of > memory being used up to know if it's time to flush()? No need for this. Flush() is required ONLY to FIX your changes to disk > Will V4MD periodically flush itself? Not completely. Long story. You should self take care on this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 26 09:34:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 01:34:47 2004 Subject: VNET In-Reply-To: <01C3FC3D.96741360.f.kneubuehl@bluewin.ch> Message-ID: on 2/26/04 8:53 AM, F. Kneub?hl at f.kneubuehl@bluewin.ch wrote: Hi Fabian, > Good morning Ruslan > > Sorry but I found a typo in the .net class VField. I think the property > f.Langauge should be renamed to f.Language... Really. Must be corrected. Although in 2.0 this property probably will be renamed to encoding. Valentina 2.0 use IBM ICU library to support 170 encodings in the world and unicode > Wish: > A property Field.SetIndexNoCase(True/False). :-) We already have this on TODO for 2.0 Yes this will be more simple > As you stated in your manual a > case insensitive SELECT is possible if one creates a method field. > But I > think it would be much simpler to set a property instead of creating 2 db > columns YES, you are right! > one for the display and one for searching. Or an other possibility: > if SELECT ID, String FROM T1 WHERE upper(String)="TEST" would work, the > mentioned property is obsolete. This also will work in 2.0 But I not agree that this is the same. In the last case Valentina will not have special CASE-INSENSETIVE index! So it will do NOT INDEXED search, you see? Also BaseObject methods have own advantage. Virtually they give you way to have even 2 indexes on the same field. And in WHERE you will be able choose ANY of these indexes manually. No need to hope on SQL optimizer. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vaccari at dst.units.it Thu Feb 26 10:58:43 2004 From: vaccari at dst.units.it (Franco Vaccari) Date: Thu Feb 26 03:58:51 2004 Subject: V4RB 2.0 linked first time! In-Reply-To: References: Message-ID: <5C31ADE4-6842-11D8-A499-000A95BA108C@dst.units.it> What great news! I can't see the moment to start beta testing! Congratulations! Franco On 25 Feb 2004, at 19:12, Ruslan Zasukhin wrote: > Hi All, > > Just only I was able compile and LINK V4RB 2.0 > Based on new 2.0 engine and on INU unicode library > On MacOS Carbon. > > WOW! :-)) > > Now thins will become more interesting! > > > BTW, Igor have compile and link and RUN V4MD WIN 2.0 > Already 2 weeks ago. > > But today I have got success on MacOS! From sunshine at public.kherson.ua Thu Feb 26 14:26:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 06:26:54 2004 Subject: [ANN] Vserver a60 and clients a60 for MAC Message-ID: Hi All, We have build and upload a60 version of Vserver MAC Clients C++ V4RB VXCMD V4MD All for MacOS. For Windows little later today. ------- [BUG] GetString() for Text field did not work [NEW] DatabaseInfo now have command GetCursorCount() [NEW] ClientInfo now have command GetCursorCount() Important: protocol was changed. so you need both Server and client of a60 version. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 26 14:45:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 06:45:27 2004 Subject: [ANN] Vserver a60 and VCOM, V4MD, C++ Clients for Windows Message-ID: Hi All, List products uploaded. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Feb 26 15:04:12 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Feb 26 08:11:58 2004 Subject: [vxcmd] field maintenance Message-ID: Ruslan, I am slowly getting handle on the malfunctioning SQL calls in my program recently moved from vxcmd 1.8.10 to 1.9.6 (classic) -- I mean I am rewriting them so they work as expected. But now, I have discovered a strange set of problems. get Valentina("BaseObject_ChangeFieldType",boRef,fldName,fldType,fldLength) When I change field type to String or VarChar, no matter what fldLength I specify, I get 20. Fld type is set correctly. Fortunately, BaseObject_ChangeFieldLength works, so I get what I want eventually. get Valentina("BaseObject_MakeNewField",boRef,fldName,fldType,fldSize, fldLanguage) When I create a new field, the size is set correctly, but language is always ascii. get Valentina("BaseObject_ChangeFieldLanguage",boRef,fldName,fldLanguage) I can't seem to be able to change language setting. It is always set to ascii. At least, that is what get Valentina("Field_GetLanguage",fldRef) returns. They also show as ascii in Vapp regardless what I set in my program. If I set language in Vapp, it still shows as ascii in my program, although going back to Vapp shows the language set there. The syntax for these calls hasn't changed as far as I can see. Any ideas? Robert From sunshine at public.kherson.ua Thu Feb 26 16:34:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 08:35:12 2004 Subject: [vxcmd] field maintenance In-Reply-To: Message-ID: on 2/26/04 4:04 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: > Ruslan, I am slowly getting handle on the malfunctioning SQL calls in > my program recently moved from vxcmd 1.8.10 to 1.9.6 (classic) -- I > mean I am rewriting them so they work as expected. But now, I have > discovered a strange set of problems. > > get Valentina("BaseObject_ChangeFieldType",boRef,fldName,fldType,fldLength) > > When I change field type to String or VarChar, no matter what > fldLength I specify, I get 20. Fld type is set correctly. > Fortunately, BaseObject_ChangeFieldLength works, so I get what I want > eventually. Sounds like a bug -- last parameter is ignored... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 26 16:38:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 08:38:41 2004 Subject: [vxcmd] field maintenance In-Reply-To: Message-ID: on 2/26/04 4:04 PM, Robert Brenstein at rjb@rz.uni-potsdam.de wrote: Hi Robert, > get > Valentina("BaseObject_MakeNewField",boRef,fldName,fldType,fldSize, > fldLanguage) > > When I create a new field, the size is set correctly, but language is > always ascii. > > get Valentina("BaseObject_ChangeFieldLanguage",boRef,fldName,fldLanguage) > > I can't seem to be able to change language setting. It is always set > to ascii. At least, that is what > > get Valentina("Field_GetLanguage",fldRef) > > returns. They also show as ascii in Vapp regardless what I set in my > program. If I set language in Vapp, it still shows as ascii in my > program, although going back to Vapp shows the language set there. > > The syntax for these calls hasn't changed as far as I can see. Any ideas? This is 3d report about ASCII language problem. The first 2 was on MacOS 10.3, It seems you work on MacOS 9. All I can say: I cannot debug 1.9.6 So please switch to 1.10 release. ----- Also, am I right. 1.8.10 -- have use for language NUMBERS, yes? Newer versions use strings language names "German" You have switch code from number to 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 jkleins at shentel.net Thu Feb 26 10:39:15 2004 From: jkleins at shentel.net (James Kleinschmidt) Date: Thu Feb 26 09:39:24 2004 Subject: Strategy for Valentina Deployment Message-ID: I am just beginning a project that will not be finished for 6 months or so and I use REALBasic 5.5. The project must work with the REAL API and Valentina. I would like it to have a single user version that uses Valentina on the local drive and also work with a server version of Valentina if desired. Having just started working with Valentina I have a few questions. 1) It seems there are 2 plugins (V4RB and V4RB-Client) - will the compiled version need to be single user or server user or can I compile with the "Client" version and use a local file for the single user version. I wasn't able to do that during testing so I thought I might ask if it is possible. 2) Because I am using other databases as well I basically get a vCursor and then put it in a listbox or array or fill the properties of a class with it. Do I need to build all those vBaseObject classes or is there a simpler method for building the tables, and if so is there an optimal way of using them to speed things up like using the vBaseobject methods to get a single record by recID. It seems like I remember reading that this should be replaced with the vCursor methods to allow locking of records to be effective. 3) If I do this work in 1.10 will I need to change it a lot to go to version 2.0. I know I could wait until 2.0 is out and use the REAL API but it seems like it is taking a while so if it wasn't going to be real hard I thought I would work on it in 1.10. Will the same code work for 2.0? I am sure I will have others as I go along but I would appreciate any help from people who are trying something similiar. Thanks, Jim From sunshine at public.kherson.ua Thu Feb 26 17:49:12 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 09:49:23 2004 Subject: Strategy for Valentina Deployment In-Reply-To: Message-ID: on 2/26/04 5:39 PM, James Kleinschmidt at jkleins@shentel.net wrote: Hi James, > I am just beginning a project that will not be finished for 6 months or > so and I use REALBasic 5.5. > The project must work with the REAL API and Valentina. You mean REAL DB ? Why you want to have it in project ?????????????? :-) I can understand Valentina and mySQL and Oracle. But what sense for RBDB if you will have Valentina? > I would like it to have a single user version that uses > Valentina on the local drive and also work with a server version of > Valentina if desired. James, please note. As I see you have purchase V4RB LOCAL only. If you plan to use Vserver you need VDN also. In fact VDN Platform includes V4RB LOCAL. So if you think you need VDN please contact me off list. > Having just started working with Valentina I have a few questions. I will answer your questions in few letters. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Feb 26 11:22:31 2004 From: kristafer at comcast.net (Kristafer Vale) Date: Thu Feb 26 10:22:46 2004 Subject: Equivilant "Memo" field for Valentina? Message-ID: <000001c3fc84$bcb866b0$0800a8c0@winter> Hey All, Great list! I have a question regarding using Valentina and Access via the ODBC_Valentina application. I have a database that consist of 1 auto numeric field (counter [10]), 30+ text (varchar [255]) fields, and 1 MEMO (longchar [10737417823]) I can get the application to import and map everything just fine, except the memo field which is just being ignored. I assume it's because I've specified the wrong field type in the .vdb so could anyone tell me what the correct field type in .vdb is for a memo field? Thanks in advance. Kristafer S. Vale VK-iNTERACTiVE 6011 Medici CT #301 Sarasota, FL 34243 407-924-3025 From sunshine at public.kherson.ua Thu Feb 26 18:30:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 10:30:42 2004 Subject: Equivilant "Memo" field for Valentina? In-Reply-To: <000001c3fc84$bcb866b0$0800a8c0@winter> Message-ID: on 2/26/04 6:22 PM, Kristafer Vale at kristafer@comcast.net wrote: Hi Kristafer, > Hey All, > > Great list! > > I have a question regarding using Valentina and Access via the > ODBC_Valentina application. > I have a database that consist of > 1 auto numeric field (counter [10]), > 30+ text (varchar [255]) fields, > and > 1 MEMO (longchar [10737417823]) > > I can get the application to import and map everything just fine, except > the memo field which is just being ignored. I assume it's because I've > specified the wrong field type in the .vdb so could anyone tell me what > the correct field type in .vdb is for a memo field? Analog of Memo is TEXT field. BTW, you can now also play with Valentina Studio to do ODBC import. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 26 18:32:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 10:33:12 2004 Subject: Strategy for Valentina Deployment In-Reply-To: Message-ID: on 2/26/04 5:39 PM, James Kleinschmidt at jkleins@shentel.net wrote: > I am just beginning a project that will not be finished for 6 months or > so and I use REALBasic 5.5. The project must work with the REAL API and > Valentina. I would like it to have a single user version that uses > Valentina on the local drive and also work with a server version of > Valentina if desired. Having just started working with Valentina I have > a few questions. > > 1) It seems there are 2 plugins (V4RB and V4RB-Client) - will the > compiled version need to be single user or server user or can I compile > with the "Client" version and use a local file for the single user > version. I wasn't able to do that during testing so I thought I might > ask if it is possible. This will work in V4RB 2.0. In V4RB 2.0 we will have actually just ONE V4RB plugin Linked to 2 DLLs V4RB + Valentina_Local.dll + Valentina_Client.dll -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Feb 26 11:37:46 2004 From: kristafer at comcast.net (Kristafer Vale) Date: Thu Feb 26 10:37:56 2004 Subject: Equivilant "Memo" field for Valentina? In-Reply-To: Message-ID: <000501c3fc86$ddb63930$0800a8c0@winter> Thanks I'll give that a shot. 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: Thursday, February 26, 2004 11:31 AM To: valentina@lists.macserve.net Subject: Re: Equivilant "Memo" field for Valentina? on 2/26/04 6:22 PM, Kristafer Vale at kristafer@comcast.net wrote: Hi Kristafer, > Hey All, > > Great list! > > I have a question regarding using Valentina and Access via the > ODBC_Valentina application. > I have a database that consist of > 1 auto numeric field (counter [10]), > 30+ text (varchar [255]) fields, > and > 1 MEMO (longchar [10737417823]) > > I can get the application to import and map everything just fine, except > the memo field which is just being ignored. I assume it's because I've > specified the wrong field type in the .vdb so could anyone tell me what > the correct field type in .vdb is for a memo field? Analog of Memo is TEXT field. BTW, you can now also play with Valentina Studio to do ODBC import. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Feb 26 18:38:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 10:39:09 2004 Subject: Strategy for Valentina Deployment In-Reply-To: Message-ID: on 2/26/04 5:39 PM, James Kleinschmidt at jkleins@shentel.net wrote: Hi James, > 2) Because I am using other databases as well I basically get a vCursor > and then put it in a listbox or array or fill the properties of a class > with it. Do I need to build all those vBaseObject classes or is there a > simpler method for building the tables, You can DO NOT build BaseObject classes. And work just with Vdatabase -> Vcursor -> Vfield Conception. > and if so is there an optimal way of using them to speed things up like using > the vBaseobject methods to get a single record by recID. It seems like I > remember reading that this should be replaced with the vCursor methods to > allow locking of records to be effective. Do not touch BaseObject's RECORD API for now. If we will lucky in V4RB 2.0 I will add some more functionality to BaseObject API. In dream, BaseObject API must allow us work with tables, Records and fields WITHOUT SQL !!! Using Navigational model I will not explain now what is this... > 3) If I do this work in 1.10 will I need to change it a lot to go to > version 2.0. Practically NO. > I know I could wait until 2.0 is out and use the REAL API but it seems like it > is taking a while so if it wasn't going to be real hard I thought I would work > on it in 1.10. Will the same code work for 2.0? Valentina's API yes of course. James, problem with REAL DB API as far as I see, 1) it is VERY LIMITED by field types for example. 2) it do NOT allow add more types. So in REAL DB API you cannot use for example such cool feature of Valentina as ObjectPtr and other new features that we will get in 2.0. As for me, REA DB API is for VERY small projects, Or for really "paranoid people" that want to have in project a lots of supported DB sources. > I am sure I will have others as I go along but I would appreciate any > help from people who are trying something similiar. > Thanks, > > Jim -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kirk at lensart.com Thu Feb 26 17:48:22 2004 From: kirk at lensart.com (Kirk Clendinning) Date: Thu Feb 26 10:46:57 2004 Subject: Today's Server Release In-Reply-To: References: Message-ID: <96A3B66A-687B-11D8-976E-003065B2133A@lensart.com> There appears to be something wrong with the OSX VServer release. It's too small and upon opening, gives a corruption error. kirk From sunshine at public.kherson.ua Thu Feb 26 18:51:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 10:51:21 2004 Subject: Today's Server Release In-Reply-To: <96A3B66A-687B-11D8-976E-003065B2133A@lensart.com> Message-ID: on 2/26/04 6:48 PM, Kirk Clendinning at kirk@lensart.com wrote: > There appears to be something wrong with the OSX VServer release. It's > too small and upon opening, gives a corruption error. Let me 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 Thu Feb 26 19:10:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 11:10:50 2004 Subject: Today's Server Release In-Reply-To: <96A3B66A-687B-11D8-976E-003065B2133A@lensart.com> Message-ID: on 2/26/04 6:48 PM, Kirk Clendinning at kirk@lensart.com wrote: > There appears to be something wrong with the OSX VServer release. It's > too small and upon opening, gives a corruption error. > > kirk FIXED. Thank you, Kirk. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kirk at lensart.com Thu Feb 26 18:48:18 2004 From: kirk at lensart.com (Kirk Clendinning) Date: Thu Feb 26 11:46:58 2004 Subject: Today's Server Release In-Reply-To: References: Message-ID: Great. I'll be downloading it shortly. :-) kirk On Feb 26, 2004, at 18:10, Ruslan Zasukhin wrote: > on 2/26/04 6:48 PM, Kirk Clendinning at kirk@lensart.com wrote: > >> There appears to be something wrong with the OSX VServer release. >> It's >> too small and upon opening, gives a corruption error. >> >> kirk > > FIXED. > > Thank you, Kirk. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 > > Kirk Clendinning Lens Art Impressionistic Pictorialism J?rlandav?gen 2, SE-444 65 J?rlanda, Sweden Tel: mobile +46 (0)70 - 836 2245, home +46 (0)303 - 55 203 From sunshine at public.kherson.ua Thu Feb 26 21:06:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 13:06:19 2004 Subject: Error: There is no class with this name In-Reply-To: <9C71FCDC-688C-11D8-BC96-000A9566BB4A@earthlink.net> Message-ID: on 2/26/04 8:50 PM, Michael de Haan at mdeh@earthlink.net wrote: > Ruslan, > > Under RB 5.5 I am getting an error where I did not get one before. > > I have a property > > "Cur as Vcursor" > > which now generates an error (Error: There is no class with this name) at > runtime. Any ideas what may have changed and how to fix this? Hi Michael, I hear about such problem first time. CC this to Valentina list. Anybody have success to compile app in RB 5.5 And run it? Michael, have you try do this with V4RB examples? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Feb 26 22:24:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 14:24:57 2004 Subject: Error: There is no class with this name In-Reply-To: Message-ID: on 2/26/04 10:17 PM, Michael de Haan at mdeh@qwest.net wrote: > Ruslan, > My error...forgot to place the VRB plugin in the plugins folder...now > works ok > thanks ok > On Feb 26, 2004, at 11:06 AM, Ruslan Zasukhin wrote: > >> on 2/26/04 8:50 PM, Michael de Haan at mdeh@earthlink.net wrote: >> >>> Ruslan, >>> >>> Under RB 5.5 I am getting an error where I did not get one before. >>> >>> I have a property >>> >>> "Cur as Vcursor" >>> >>> which now generates an error (Error: There is no class with this >>> name) at >>> runtime. Any ideas what may have changed and how to fix this? >> >> Hi Michael, >> >> I hear about such problem first time. >> CC this to Valentina list. >> >> Anybody have success to compile app in RB 5.5 >> And run it? >> >> Michael, have you try do this with V4RB 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 Thu Feb 26 16:16:58 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Feb 26 15:17:04 2004 Subject: Error: There is no class with this name In-Reply-To: References: Message-ID: <1C9EF0AC-68A1-11D8-8298-003065BB0634@desuetude.com> On Feb 26, 2004, at 2:06 PM, Ruslan Zasukhin wrote: > on 2/26/04 8:50 PM, Michael de Haan at mdeh@earthlink.net wrote: > >> Ruslan, >> >> Under RB 5.5 I am getting an error where I did not get one before. >> >> I have a property >> >> "Cur as Vcursor" >> >> which now generates an error (Error: There is no class with this >> name) at >> runtime. Any ideas what may have changed and how to fix this? > > Hi Michael, > > I hear about such problem first time. > CC this to Valentina list. > > Anybody have success to compile app in RB 5.5 > And run it? > Yep; I've been developing with 5.5 + V4Rb throughout the entire Rb alpha-beta cycle. Charles Yeomans From jda at his.com Thu Feb 26 16:29:14 2004 From: jda at his.com (jda) Date: Thu Feb 26 15:29:31 2004 Subject: Error: There is no class with this name In-Reply-To: <1C9EF0AC-68A1-11D8-8298-003065BB0634@desuetude.com> References: <1C9EF0AC-68A1-11D8-8298-003065BB0634@desuetude.com> Message-ID: >On Feb 26, 2004, at 2:06 PM, Ruslan Zasukhin wrote: > >>on 2/26/04 8:50 PM, Michael de Haan at mdeh@earthlink.net wrote: >> >>>Ruslan, >>> >>>Under RB 5.5 I am getting an error where I did not get one before. >>> >>>I have a property >>> >>>"Cur as Vcursor" >>> >>>which now generates an error (Error: There is no class with this name) at >>>runtime. Any ideas what may have changed and how to fix this? >> >>Hi Michael, >> >>I hear about such problem first time. >>CC this to Valentina list. >> >>Anybody have success to compile app in RB 5.5 >>And run it? >> > > My Valentina app runs great in RB 5.5. Jon From jkleins at shentel.net Thu Feb 26 17:25:11 2004 From: jkleins at shentel.net (James Kleinschmidt) Date: Thu Feb 26 16:25:19 2004 Subject: Strategy for Valentina Deployment In-Reply-To: References: Message-ID: On Feb 26, 2004, at 10:49 AM, Ruslan Zasukhin wrote: > You mean REAL DB ? > > Why you want to have it in project ?????????????? :-) > I can understand Valentina and mySQL and Oracle. > > But what sense for RBDB if you will have Valentina? > No actually I mean the API that REAL provides for database access. I actually would like to allow access to mySQL and postgreSQL through that interface. > If you plan to use Vserver you need VDN also. > In fact VDN Platform includes V4RB LOCAL. > > So if you think you need VDN please contact me off list. What is VDN? I have been using the server version with my serial number without any problems. At the time I bought it I was told the two were included in the price. I haven't tested it on anything big and not since august or so. Maybe that was just for the beta versions? > > Do not touch BaseObject's RECORD API for now. > > If we will lucky in V4RB 2.0 I will add some more functionality to > BaseObject API. In dream, BaseObject API must allow us work with > tables, > Records and fields WITHOUT SQL !!! Using Navigational model > > I will not explain now what is this... Thanks for the help. Version 2.0 seems like what I need. ;-) Jim From sunshine at public.kherson.ua Fri Feb 27 00:33:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 16:33:11 2004 Subject: Strategy for Valentina Deployment In-Reply-To: Message-ID: on 2/27/04 12:25 AM, James Kleinschmidt at jkleins@shentel.net wrote: >> You mean REAL DB ? >> >> Why you want to have it in project ?????????????? :-) >> I can understand Valentina and mySQL and Oracle. >> >> But what sense for RBDB if you will have Valentina? >> > > No actually I mean the API that REAL provides for database access. I > actually would like to allow access to mySQL and postgreSQL through > that interface. Okay I see. Just be warned. REAL API is limited IMHO. I think some features of EACH DBMS will be disabled. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 27 00:43:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 16:43:12 2004 Subject: Strategy for Valentina Deployment In-Reply-To: Message-ID: on 2/27/04 12:25 AM, James Kleinschmidt at jkleins@shentel.net wrote: >> If you plan to use Vserver you need VDN also. >> In fact VDN Platform includes V4RB LOCAL. >> >> So if you think you need VDN please contact me off list. > > What is VDN? VDN -- is Valentina Developer Network. Subscribed to VDN get license of Valentina Embedded Server. IMPORTANT IS: having such license you can deploy even million of copies of Valentina Server (with 5 connections) with your Application. > I have been using the server version with my serial number > without any problems. No, this is not right. You have V4RB LOCAL. Serials are only for V4RB LOCAL. To work with Vserver you use V4RB_Client, yes? In fact all clients are FREE. So V4RB Client just ignore your serials. And Vserver demo work during one month, then you need get new demo license form our site. > At the time I bought it I was told the two were included in the price. Hmm, two what? I see only these my word sin prev letter to you: James, this is our target to be able work with both local and remote db. As far as I know any other db cannot do this. But this is talk about TECHNICAL problem to use both LOCAL and REMOTE plugins in the same app. > I haven't tested it on anything big and not since august or so. Maybe that was > just for the beta versions? James, I think you have understand something wrong. In any case. IF you going develop app with embedded Valentina Server, You will need VDN subscription. And VDN price, yes, includes both: Embedded Vserve + V4RB LOCAL Contact me off list if you want discuss this > Thanks for the help. Version 2.0 seems like what I need. ;-) In fact I say that you can ignore BaseObjects in 1.x And just use Database -> Cursor -> 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 Fri Feb 27 00:49:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Feb 26 16:50:02 2004 Subject: VServer In-Reply-To: Message-ID: on 2/27/04 12:33 AM, Kirk Clendinning at kirk@lensart.com wrote: >>> Oh, it would be nice to have a getUserList function as well. >> >> We have it. >> >> Not directly. But you can ask each DatabaseInfo >> For its clientcount and then get clientInfo for each. > > How do I get Server Users? I saw ChangeUserPassword, AddUser and > RemoveUser, but no way to list Server Users. As well, if the AddUser > corresponds to a particular database, that doesn't appear in the > function arguments... so I assumed those calls are only for the server. Class Vserver has property DatabaseCount No by loop you can get for each databse its info using DatabaseInfo(index as integer) As VDatabaseInfo loop { dbInfo = vsrv.DatabaseInfo( i ) } And for each DbInfo you can get in the same way "ClientInfo(index as integer) As VClientInfo" ClientInfo contains info about each client of a database -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From maxprog at mac.com Fri Feb 27 02:10:56 2004 From: maxprog at mac.com (Stan Busk) Date: Thu Feb 26 19:11:09 2004 Subject: [V4RB] Is current Valentina version ready for RB 5.5 Message-ID: Seems it is not compatible at all. I can't create records nor do SQL queries. Very simple queries return nil even there is or not records. Creating records seems to work randomly. Anyone else? I use Valentina 1.10 and have tried both with RB on Mac OS X (compiling for Win) and on the Windows IDE. TIA ~/Stan From jda at his.com Thu Feb 26 20:22:48 2004 From: jda at his.com (jda) Date: Thu Feb 26 19:22:57 2004 Subject: [V4RB] Is current Valentina version ready for RB 5.5 In-Reply-To: References: Message-ID: >Seems it is not compatible at all. I can't create records nor do SQL >queries. Very simple queries return nil even there is or not >records. Creating records seems to work randomly. Anyone else? I use >Valentina 1.10 and have tried both with RB on Mac OS X (compiling >for Win) and on the Windows IDE. TIA > >~/Stan > Sorry, don't do Windows. but on Mac OS X compiling for Mac OS X it works just fine. Have you tried that? Jon From maxprog at mac.com Fri Feb 27 02:33:43 2004 From: maxprog at mac.com (Stan Busk) Date: Thu Feb 26 19:33:54 2004 Subject: [V4RB] Is current Valentina version ready for RB 5.5 In-Reply-To: References: Message-ID: Hi, Yes compiling for Mac OS X and Mac OS 9.x just works fine as usual. I have two applications I also sell for Windows. None of them work because Valentina is not storing records nor returning query results. Those same applications work fine on X and 9. I have pinpointed the issue as possible and I am 100% sure it is a Valentina issue, related to the windows compiles with RB5.5. I am sure Ruslan will have a look at this soon because it is likely some stupid compatibility issue. ~/Stan >> Seems it is not compatible at all. I can't create records nor do SQL >> queries. Very simple queries return nil even there is or not records. >> Creating records seems to work randomly. Anyone else? I use Valentina >> 1.10 and have tried both with RB on Mac OS X (compiling for Win) and >> on the Windows IDE. TIA >> >> ~/Stan >> > > Sorry, don't do Windows. but on Mac OS X compiling for Mac OS X it > works just fine. Have you tried that? > > Jon > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From delong at redcort.com Thu Feb 26 17:36:41 2004 From: delong at redcort.com (Keith DeLong) Date: Thu Feb 26 19:38:06 2004 Subject: [V4RB] Is current Valentina version ready for RB 5.5 In-Reply-To: Message-ID: > Seems it is not compatible at all. I can't create records nor do SQL > queries. Very simple queries return nil even there is or not records. > Creating records seems to work randomly. Anyone else? I use Valentina > 1.10 and have tried both with RB on Mac OS X (compiling for Win) and on > the Windows IDE. TIA I'm happily using RB 5.5/V4RB 1.10 on OS X and compiling and testing for Classic, OS X and Win32. I've been using 1.10 extensively with the 5.5 alphas and betas over the last few months without any V4RB issues at all. I switched over to the RB 5.5 release today and haven't seen any new problems either. I'd suggest downloading Frank Schima's fabulous viSQL project file and compiling/querying from there. That should quickly isolate a program verses project problem. You can get it at http://homepage.mac.com/macsforever2000/visql.html HTH, Keith DeLong From maxprog at mac.com Fri Feb 27 02:46:54 2004 From: maxprog at mac.com (Stan Busk) Date: Thu Feb 26 19:47:04 2004 Subject: [V4RB] Is current Valentina version ready for RB 5.5 In-Reply-To: References: Message-ID: Hi, viSQL is great and I have used it several times but I don't think it has been compiled with RB5.5 My application is working as usual on Mac OS X and Classic but not at all on Windows XP. Very simple queries fully working on Mac OS X and Classic simply return NIL. I have tried with 5 different databases and 2 fresh made ones. Including the database creation that includes the creation of some records fail. If I compile the application with RB5.2.4 it works fine. It is just failing with RB5.5 on windows. Needless to say the code is unchanged. There is something wrong with Valentina with RB Windows for sure. ~/Stan >> Seems it is not compatible at all. I can't create records nor do SQL >> queries. Very simple queries return nil even there is or not records. >> Creating records seems to work randomly. Anyone else? I use Valentina >> 1.10 and have tried both with RB on Mac OS X (compiling for Win) and >> on >> the Windows IDE. TIA > > I'm happily using RB 5.5/V4RB 1.10 on OS X and compiling and testing > for > Classic, OS X and Win32. > > I've been using 1.10 extensively with the 5.5 alphas and betas over > the last > few months without any V4RB issues at all. I switched over to the RB > 5.5 > release today and haven't seen any new problems either. > > I'd suggest downloading Frank Schima's fabulous viSQL project file and > compiling/querying from there. That should quickly isolate a program > verses > project problem. > > You can get it at http://homepage.mac.com/macsforever2000/visql.html > > HTH, > > Keith DeLong > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From maxprog at mac.com Fri Feb 27 02:54:17 2004 From: maxprog at mac.com (Stan Busk) Date: Thu Feb 26 19:54:25 2004 Subject: [V4RB] Is current Valentina version ready for RB 5.5 In-Reply-To: References: Message-ID: Hi, To give more details, following query works on Mac OS X and Mac OS 9, but not on Windows XP (it returns NIL): aCursor = inDatabase.SQLselect("Select * from Preferences where PrefEntry_Name='"+inKey+"'", kV_Server, kV_NoLocks, kV_Random) This same query works fine on Windows XP if I compile the same app with RB5.2.4. Why this query returns NIL only on Windows XP when the app is compiled with RB5.5? After 2 hours and with many different databases it never returns anything else than NIL. Go back to RB5.2.4 and it works... It is clear there is a problem here. Stan > Hi, > > viSQL is great and I have used it several times but I don't think it > has been compiled with RB5.5 > My application is working as usual on Mac OS X and Classic but not at > all on Windows XP. Very simple queries fully working on Mac OS X and > Classic simply return NIL. I have tried with 5 different databases and > 2 fresh made ones. Including the database creation that includes the > creation of some records fail. If I compile the application with > RB5.2.4 it works fine. It is just failing with RB5.5 on windows. > Needless to say the code is unchanged. > > There is something wrong with Valentina with RB Windows for sure. > > ~/Stan > >>> Seems it is not compatible at all. I can't create records nor do SQL >>> queries. Very simple queries return nil even there is or not records. >>> Creating records seems to work randomly. Anyone else? I use Valentina >>> 1.10 and have tried both with RB on Mac OS X (compiling for Win) and >>> on >>> the Windows IDE. TIA >> >> I'm happily using RB 5.5/V4RB 1.10 on OS X and compiling and testing >> for >> Classic, OS X and Win32. >> >> I've been using 1.10 extensively with the 5.5 alphas and betas over >> the last >> few months without any V4RB issues at all. I switched over to the RB >> 5.5 >> release today and haven't seen any new problems either. >> >> I'd suggest downloading Frank Schima's fabulous viSQL project file and >> compiling/querying from there. That should quickly isolate a program >> verses >> project problem. >> >> You can get it at http://homepage.mac.com/macsforever2000/visql.html >> >> HTH, >> >> Keith DeLong From delong at redcort.com Thu Feb 26 18:29:49 2004 From: delong at redcort.com (Keith DeLong) Date: Thu Feb 26 20:29:57 2004 Subject: [V4RB] Is current Valentina version ready for RB 5.5 In-Reply-To: Message-ID: Stan, > viSQL is great and I have used it several times but I don't think it > has been compiled with RB5.5 I know these things can be maddening so I took few moments to test it for you on my side... I just downloaded the viSQL source, compiled it for Win32 on a Mac OS X.3.2. I moved it over and launched in on my Windows XP Pro PC with no problems. I certainly didn't test it exhaustively, but I did run a dozen or so simple queries on an existing 4MB database without any noticeable problems. Perhaps you could try the same thing and see what you get querying your data files. Best, Keith DeLong > My application is working as usual on Mac OS X and Classic but not at > all on Windows XP. Very simple queries fully working on Mac OS X and > Classic simply return NIL. I have tried with 5 different databases and > 2 fresh made ones. Including the database creation that includes the > creation of some records fail. If I compile the application with > RB5.2.4 it works fine. It is just failing with RB5.5 on windows. > Needless to say the code is unchanged. > > There is something wrong with Valentina with RB Windows for sure. From rodney at oceanbrowser.com Fri Feb 27 17:29:51 2004 From: rodney at oceanbrowser.com (Rodney Tamblyn) Date: Thu Feb 26 22:28:58 2004 Subject: [VXCMD] ValentinaExtentions? Message-ID: <9576140C-68DD-11D8-BD32-003065F97100@oceanbrowser.com> Hi Ruslan, I can find no mention of ValentinaExtensions in the VXCMD documentation. Can you point me to where this is discussed, or provide an example? Thanks ~ Rodney On 19/02/2004, at 9:00 PM, Ruslan Zasukhin wrote: > on 2/19/04 5:32 AM, Rodney Tamblyn at rodney_tamblyn@yahoo.com wrote: > > Hi Rodney, > >> In the documentation is says that PC Valentina databases have to have >> the .vdb extension. I want to use Valentina databases as the default >> file format for storing certain classes of information in my >> application and would like to use some other extension (".ocb"). I >> have tested this and as the documentation says, it will not work. > > To make it work you need at first inform Valentina about > YOUR extensions. > > You need to do this using function > > ValentinaExtentions() > >> I guess my only alternative is to associate the .vdb extension with >> my application in the registry. > > no > >> I want to avoid situation where use >> has other Valentina database products on their computer that are >> unrelated to my product. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From rwc1717 at shaw.ca Thu Feb 26 22:14:06 2004 From: rwc1717 at shaw.ca (Chuck) Date: Fri Feb 27 00:16:49 2004 Subject: Vapp 1.10 and new databases and RB5.4.2 Message-ID: <0HTQ00C7EBXWGY@l-daemon> Hi Ruslan: If I create the objectptr object in VAPP, I can set the target to the table. This worked fine when I upgraded my older database. In my new program, when the database is created the target value of the objectptrs does not seem to getting passed. When I open VAPP the table are highlighted in red instead of blue and I cannot browse without first correcting this in the 'Define Fields'. I asked for and got reports telling me the databases are fine using your utilities and they do seem fine as I use them. The older databases were upgraded using VAPP and I am able to use them inside both my app and yours...any ideas...below is the coding. MyDb as VDatabase Sub MyDB() mA = new boAct(self) Properties - mA as boAct boAct as VBaseObject Sub boAct(InDatabase as MyDb) name = "active" idfld = new Vstring("id",25,"Ascii","Kv_Indexed) mAptr = new VObjectPtr("activeptr",Indatabase.MyDb,kV_SetNull) Properties - idfld as Vstring maptr as VObjectptr From maxprog at mac.com Fri Feb 27 08:44:08 2004 From: maxprog at mac.com (Stan Busk) Date: Fri Feb 27 01:44:18 2004 Subject: [V4RB] Is current Valentina version ready for RB 5.5 In-Reply-To: References: Message-ID: Hi, I have been all night pinpointing better the problem and SORRY, I found out Valentina is not the culprit. The problem comes from encoding and decoding string from/to UTF-8 and system default. The code snippets below were working fine for me so far (up to RB5.2.4) but have suddenly stopped on the Windows platform with RB5.5. I am not sure what's happening but it is like there is no encodings available so returned string is always empty. Dim conv As TextConverter conv = GetTextConverter(Encodings.UTF8, Encodings.SystemDefault) return conv.Convert(inText) The reverse code doesn't work either: Dim conv As TextConverter conv = GetTextConverter(Encodings.SystemDefault, Encodings.UTF8) return conv.Convert(inText) Is there something I have to change in order to get those functions work again on Windows? I don't want to store UTF-8 directly to the database until it is fully supported. TIA, ~/Stan > Stan, >> viSQL is great and I have used it several times but I don't think it >> has been compiled with RB5.5 > > I know these things can be maddening so I took few moments to test it > for > you on my side... > > I just downloaded the viSQL source, compiled it for Win32 on a Mac OS > X.3.2. > I moved it over and launched in on my Windows XP Pro PC with no > problems. I > certainly didn't test it exhaustively, but I did run a dozen or so > simple > queries on an existing 4MB database without any noticeable problems. > > Perhaps you could try the same thing and see what you get querying > your data > files. > > Best, > Keith DeLong > > > >> My application is working as usual on Mac OS X and Classic but not at >> all on Windows XP. Very simple queries fully working on Mac OS X and >> Classic simply return NIL. I have tried with 5 different databases and >> 2 fresh made ones. Including the database creation that includes the >> creation of some records fail. If I compile the application with >> RB5.2.4 it works fine. It is just failing with RB5.5 on windows. >> Needless to say the code is unchanged. >> >> There is something wrong with Valentina with RB Windows for sure. > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From sunshine at public.kherson.ua Fri Feb 27 10:03:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 27 02:03:36 2004 Subject: Vapp 1.10 and new databases and RB5.4.2 In-Reply-To: <0HTQ00C7EBXWGY@l-daemon> Message-ID: on 2/27/04 5:14 AM, Chuck at rwc1717@shaw.ca wrote: > Hi Ruslan: > If I create the objectptr object in VAPP, I can set the target to the table. > This > worked fine when I upgraded my older database. > In my new program, when the database is created the target value of the > objectptrs does not seem to getting passed. When I open VAPP the table are > highlighted in red instead of blue and I cannot browse without first > correcting this in > the 'Define Fields'. > I asked for and got reports telling me the databases are fine using your > utilities and they do seem fine as I use them. > > The older databases were upgraded using VAPP and I am able to use them > inside both my app and yours...any ideas...below is the coding. > > MyDb as VDatabase > > Sub MyDB() > mA = new boAct(self) > > Properties - mA as boAct > > boAct as VBaseObject > > Sub boAct(InDatabase as MyDb) > > name = "active" > idfld = new Vstring("id",25,"Ascii","Kv_Indexed) > mAptr = new VObjectPtr("activeptr",Indatabase.MyDb,kV_SetNull) > > Properties - idfld as Vstring > maptr as VObjectptr As I understand problem not in RB code, yes? So you have old db files (what means old? What version?) You open db files in VAPP 1.10 And you get empty target for ObjectPtr? IF to make XML dump of converted db, what you see in field TARGET? And you say that converted db, with RED BaseObjects, Works in your RB app? strange -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 27 10:11:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 27 02:11:33 2004 Subject: [VXCMD] ValentinaExtentions? In-Reply-To: <9576140C-68DD-11D8-BD32-003065F97100@oceanbrowser.com> Message-ID: on 2/27/04 6:29 AM, Rodney Tamblyn at rodney@oceanbrowser.com wrote: Hi Rodney, > I can find no mention of ValentinaExtensions in the VXCMD > documentation. Can you point me to where this is discussed, or provide > an example? Ops, VXCMD do not have such call. You need it urgent or can wait for 2.0 version? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Feb 27 10:21:51 2004 From: marcus at synchromedia.co.uk (Marcus Bointon) Date: Fri Feb 27 04:22:01 2004 Subject: HTML in XML dumps Message-ID: I have a database that contains HTML formatting in a text field. I've noticed that this data is disappearing when I export to XML and rebuild the DB from the dump. Does Valentina not cope with this combination? Do I/valentina need to do XML entity replacement on my HTML content? 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 Fri Feb 27 12:28:32 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 27 04:38:15 2004 Subject: HTML in XML dumps In-Reply-To: Message-ID: on 2/27/04 12:21 PM, Marcus Bointon at marcus@synchromedia.co.uk wrote: > I have a database that contains HTML formatting in a text field. I've > noticed that this data is disappearing when I export to XML and rebuild the > DB from the dump. Does Valentina not cope with this combination? Do > I/valentina need to do XML entity replacement on my HTML content? Frankly saying we never have consider such task. And I wonder why and how it remove your formatting -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Fri Feb 27 14:45:50 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri Feb 27 07:49:16 2004 Subject: HTML in XML dumps In-Reply-To: References: Message-ID: >on 2/27/04 12:21 PM, Marcus Bointon at marcus@synchromedia.co.uk wrote: > >> I have a database that contains HTML formatting in a text field. I've >> noticed that this data is disappearing when I export to XML and rebuild the >> DB from the dump. Does Valentina not cope with this combination? Do >> I/valentina need to do XML entity replacement on my HTML content? > >Frankly saying we never have consider such task. > >And I wonder why and how it remove your formatting > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] I think the solution is not to remove the formatting but to encode the field so the HTML formatting does not confuse XML. The encoding can be done at the export/dump time or Marcus can store his fields already encoded. I use the latter approach in my projects since it allows me to encode selectively only specific characters (I use a unix-like backslash encoding) thus keeping the text fully readable. But I also keep most of my html code in external template files which are emrged with content upon demand. This allows me to modify templates independently from page content. Robert From sunshine at public.kherson.ua Fri Feb 27 15:49:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 27 07:49:28 2004 Subject: Strategy for Valentina Deployment In-Reply-To: <6C8CD198-6922-11D8-9559-000393DB7EBA@shentel.net> Message-ID: on 2/27/04 2:42 PM, James Kleinschmidt at jkleins@shentel.net wrote: Hi James, > Excellent, Thanks for the info. Let me clarify a couple things. > V4RB 2.0 will be the combined local/client plugin and that is included > in my purchase. Not exactly. V4RB 2.0 will contains 2 parts V4RB.plugin + ValentinaLocal.dll This will have price 300 for mac + win. This is for what you have pay also in V4RB 1.x * ALL Valentina clients itself will be FREE. * Technically V4RB.plugin will be able to work also with second dll ValentinaRemote.dll So to get V4RB_Client it will be enough just drop additional DLL. > I currently have a license for windows and mac so this > will be for both platforms, I suppose? Yes, you can deploy to both platforms your SINGLE USER apps. > Any program built with the V4RB plugin could be used to make a local database > and connect to a server or even both at the same time? YOUR Current license allow you LOCAL db access. YOU CAN write now develop and client app also. All this right now using 1.x But only 2.0 will be able technically work with both LOCAL and REMOTE. ----------------------- James, please do not mix TECHNICAL features with LICENSE. When I say V4RB 2.0 will be able work with both LOCAL and remote, This DO NOT means that if you buy V4RB 2.0 LOCAL then you get LICENSE to use it with Valentina Server. No. To get License deploy Valentina Server developer should purchase Valentina Developer Network subscription. WHEN and only WHEN you will get both licenses: LOCAL V4RB and Vserver, You will be able TECHNICALLY develop app that use both LOCAL and REMOTE dbs. I have CC this to Valentina list to get it clear for other developers... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Fri Feb 27 07:06:39 2004 From: rwc1717 at shaw.ca (Chuck) Date: Fri Feb 27 09:07:36 2004 Subject: Vapp 1.10 and new databases and RB5.4.2 Message-ID: <0HTR0072I0LRK5@l-daemon> Hi Ruslan: The old version was 1.97 and had to manually add the pointer using VAppto this old database. Works fine. Xml dump of this older file shows active which is the first table listed and warnings which reads warnings which is the last table listed. ...when viewed in VAPP it shows all the pointers and browsing works. Xml dump of newly created database file shows References: Message-ID: <50B47AA9-693A-11D8-885F-003065BB0634@desuetude.com> On Feb 27, 2004, at 3:11 AM, Ruslan Zasukhin wrote: > on 2/27/04 6:29 AM, Rodney Tamblyn at rodney@oceanbrowser.com wrote: > > Hi Rodney, > >> I can find no mention of ValentinaExtensions in the VXCMD >> documentation. Can you point me to where this is discussed, or >> provide >> an example? > > Ops, VXCMD do not have such call. > > You need it urgent or can wait for 2.0 version? > I need 2.0 urgently :) Charles Yeomans From sunshine at public.kherson.ua Fri Feb 27 17:40:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 27 09:40:53 2004 Subject: Vapp 1.10 and new databases and RB5.4.2 In-Reply-To: <0HTR0072I0LRK5@l-daemon> Message-ID: on 2/27/04 2:06 PM, Chuck at rwc1717@shaw.ca wrote: Hi Chuck, Is this old db in 4 disk files? If yes then you can send me .vdb file. I will try open it in VAPP 1.10 > Hi Ruslan: > The old version was 1.97 and had to manually add the pointer > using VAppto this old database. Works fine. > Xml dump of this older file shows tables except for the active table which reads active > which is the first table listed and warnings which reads > warnings which is the last table listed. > ...when viewed in VAPP it shows all the pointers and browsing works. > Xml dump of newly created database file shows for all 4 tables........when viewed in VAPP it shows no pointers and > those nice red colours. When I use 'Define Fields' the Objectptr Type > reads simply Objectptr..no Target. > > Not only does the updated db work fine but the new ones work also..even > with the problem...if that is what it is. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Fri Feb 27 08:36:44 2004 From: rwc1717 at shaw.ca (Chuck) Date: Fri Feb 27 10:39:05 2004 Subject: Vapp 1.10 and new databases and RB5.4.2 Message-ID: <0HTR00E3S4RP38@l-daemon> Hi Ruslan: The old version is one file only...but it's only problem seems to be with the xml dump not including the 2 of the four targets of the objectptrs....but it operates in VAPP just fine...for browsing and manipulating records. The new files that I am creating are also all in one...and they are the ones that have none of the four targets set for the Objectptrs....yet in RB I see absolutely no difference in any of the functionality. Should I still send you the db's...new and old?? Thanks Chuck From sunshine at public.kherson.ua Fri Feb 27 19:23:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 27 11:23:47 2004 Subject: Corrupted JPG image in RB 5.5fc2 In-Reply-To: Message-ID: on 2/25/04 2:47 AM, George A. Graham Jr. at gagraham@comcast.net wrote: > Ruslan, > > Did you get the example I sent to bugs@paradigmasoft.com? That illustrates > the problem I am having with getting images out of a cursor. > > Regards, > George A. Graham Jr. > > P.S. Here it is again just in case you missed it. > Aha, You have mCursor = mDataBase.SqlSelect( "select * from Main", kV_Client, kV_ReadWrite, kV_Random) ^^^^^^^^^^^^^ George, Client side cursor ALWAYS is READ ONLY, So your ReadWrite flag is just ignore. Check this. I think this is source of problem. On MAC I actually did not see picture on second GetCursor(). And Valentina Studio shows that picture is NOT in database Do you use Valentina Studio? I recommend it. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Feb 27 19:35:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 27 11:35:44 2004 Subject: Corrupted JPG image in RB 5.5fc2 In-Reply-To: Message-ID: on 2/25/04 2:47 AM, George A. Graham Jr. at gagraham@comcast.net wrote: > Ruslan, > > Did you get the example I sent to bugs@paradigmasoft.com? That illustrates > the problem I am having with getting images out of a cursor. > > Regards, > George A. Graham Jr. > > P.S. Here it is again just in case you missed it. > Another thing to correct: Vpicture( "aa", 16 ) 16 bytes for segment size for a picture field. Where you try to store 200KB JPG image, Is not the best choice. Vpicture( "aa", 1024 * 20 ) Or may be even 100-200KB if all your pictures will be so big. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rodney at oceanbrowser.com Sat Feb 28 10:23:09 2004 From: rodney at oceanbrowser.com (Rodney Tamblyn) Date: Fri Feb 27 15:22:18 2004 Subject: [VXCMD] ValentinaExtentions? In-Reply-To: References: Message-ID: <24118738-696B-11D8-A0EA-003065F97100@oceanbrowser.com> Hi Ruslan, No it's not urgent, but when you add it I will use it. Thanks. Rodney On 27/02/2004, at 9:11 PM, Ruslan Zasukhin wrote: > on 2/27/04 6:29 AM, Rodney Tamblyn at rodney@oceanbrowser.com wrote: > > Hi Rodney, > >> I can find no mention of ValentinaExtensions in the VXCMD >> documentation. Can you point me to where this is discussed, or >> provide >> an example? > > Ops, VXCMD do not have such call. > > You need it urgent or can wait for 2.0 version? > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 > > > -- Rodney Tamblyn 44 Melville Street Dunedin New Zealand +64 3 4778606 http://rodney.weblogs.com/ From sunshine at public.kherson.ua Sat Feb 28 00:51:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 27 16:52:04 2004 Subject: SOLVED: V4RB, Picture, Windows In-Reply-To: Message-ID: on 2/28/04 12:49 AM, George A. Graham Jr. at gagraham@comcast.net wrote: > Ruslan, > > I figured out what was going on after you stressed that you couldn't handle > 32-bit JPEGs. My display adapter on my computer is set for 32-bit and that > is what QT wsa using. THe following code fixes the problem. > > TempPicture = f.OpenAsPicture > if TempPicture <> nil and mCursor <> nil then > SavePicture = New Picture(TempPicture.Width, TempPicture.Height, 24) > SavePicture.Graphics.DrawPicture TempPicture, 0, 0 > > The SavePicture is the one I save to the DB and use in the Canvas. It works > perfectly. I did have to add a Timer to pause drawing the picture because I > set the scrollbar max before drawing. Before the Timer, the scrollbards got > set but the picture didn't show up. Thanks again for looking into this. > > Regards, > George Thank you, George for info. I have CC this to lists for others. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Feb 28 01:18:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Feb 27 17:18:32 2004 Subject: Strategy for Valentina Deployment In-Reply-To: <6E536A30-697A-11D8-95E4-000393DB7EBA@shentel.net> Message-ID: on 2/28/04 1:12 AM, James Kleinschmidt at jkleins@shentel.net wrote: Hi James, > I realize the server would need to be licensed but if a person was > already using the Valentina server could an app be built with the > client version that could use that server using the standard license or > would the app itself have to be licensed to use with any server? IF some user ALREADY have own license of Valentina Office Server, Then your client application will work with that server. And number of connected users will be defined by HIS license. If user have unlimited Office Server, then any number of clients can be connected. Also note, Valentina Server (as other DBMS also) Do not care which client connect to it. This can be REALbsic client or Director, or C++ or PHP, Or all together. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Sat Feb 28 14:07:51 2004 From: valentina at panamind.com (Gary Edge) Date: Sat Feb 28 13:04:39 2004 Subject: Selecting dates and the BETWEEN operator Message-ID: <680EF8CA-6A21-11D8-A9E0-000A95A9A898@panamind.com> Can someone show me an example of using the BETWEEN operator to select all records from a table with the value of a datefield in say next month? I'm trying to give a user the option to select date ranges (eg. 'Next Week', 'Next Month','In two weeks', etc). -- Best Regards, Gary -- From sunshine at public.kherson.ua Sun Feb 29 00:00:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 28 16:00:12 2004 Subject: [PLEASE] We need your votes Message-ID: Hi all Valentina users. First of all this is directed to REALbasic users. As you know REAL have database of bugs and features. Each item have counter of votes. REAL say that they give higher priority to more rated features. Me and other RB plugin developers are going To add feature requests which we think are important for plugin SDK. And I want ask you spend one minute of your time to go to provided links and just add your vote. Doing this we get better chanes to get better RB plugin. I.e. V4RB. Users of other products (Director, C++, xCards) also are invited to help us :-) So the first links are: http://support.realsoftware.com/feedback/viewreport.php?reportid=xcfpjngs http://support.realsoftware.com/feedback/viewreport.php?reportid=kzgxwbxg Thank you for your help!!! :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 29 00:12:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Feb 28 16:12:17 2004 Subject: Selecting dates and the BETWEEN operator In-Reply-To: <680EF8CA-6A21-11D8-A9E0-000A95A9A898@panamind.com> Message-ID: on 2/28/04 9:07 PM, Gary Edge at valentina@panamind.com wrote: > Can someone show me an example of using the BETWEEN operator to select > all records from a table with the value of a datefield in say next > month? I'm trying to give a user the option to select date ranges (eg. > 'Next Week', 'Next Month','In two weeks', etc). Hi Gary, 1) you can use BaseObject method changing formula on the fly. let methodFldMonth has formula month(fldDate) Then you can do WHERE methodFldMonth = 3 2) it is possible to use LIKE pattern WHERE fldData LIKE '03/../2004' // MDY format -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Sat Feb 28 16:56:30 2004 From: rwc1717 at shaw.ca (Chuck) Date: Sat Feb 28 18:55:38 2004 Subject: Problems with Objectptr resetting Message-ID: <0HTT00M08MKJVK@l-daemon> Hi Ruslan: While I was doing some experiments with my program, I came upon a fatal flaw and have had to revert to Valentina 1.97 to be able to run my code without any pointers. A while back when I first migrated this program to 1.1 the problem of having no pointers and using mdb.ma.fieldname to delete or edit I must have them. Valentina 1.97 didn't require this. In my program I rip through some dates, make appointments and then keep making them at a predetermined interval until past the present date. To do this I update a field with a new future date. For this experiment I have made two versions of my program with its associated database. Rb 4.5.2 + Valentina 1.97 and RB 5.4.2 and Valentina 1.1 1) Rb 4.5.2 + 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) RB 5.4.2 and 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. So, if you would be so kind as to give me an address, I can zip these up and send them to you. Thanks Chuck From sunshine at public.kherson.ua Sun Feb 29 10:21:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 29 02:21:39 2004 Subject: To all plugin developers. Request new features In-Reply-To: Message-ID: on 2/29/04 1:40 AM, Alfred Van Hoek at vanhoek@mac.com wrote: > Binding has never been done by developers, while there appears to be a > growing demand. I am sure this will be addressed too. Of course we can put > some pressure here, by voting to existing reports. That's probably the best > we could do. Right, Alfred. So let's do at least this. I have sent 2 links to Valentina list already and they have grow from 1-3 counters to 15. Not many yet. I wonder if you guys have own lists for users of your plugins. Push this there. May be on NUG lists. ------------------ This is extended list of links useful for GOOD PLUGINS. Please, everybody add your vote if you agree with that feature in RB. 1) Request to Object Binding for plugins (15 votes now) http://support.realsoftware.com/feedback/viewreport.php?reportid=xcfpjngs 2) Request to fix BUG with default parameters: (14 votes now) http://support.realsoftware.com/feedback/viewreport.php?reportid=kzgxwbxg 3) Request to make REAL DB API based on interfaces (12 votes) http://support.realsoftware.com/feedback/viewreport.php?reportid=lxgjpfxw 4) Long Long Integer and other numeric types (54 votes) http://support.realsoftware.com/feedback/viewreport.php?reportid=iatmsfre 5) methods of plugins and intrinsic classes should be virtual, too (1 vote) http://support.realsoftware.com/feedback/viewreport.php?reportid=jvotjpbh 6) Make listbox capabable of dynamically loading data. (22 vote) http://support.realsoftware.com/feedback/viewreport.php?reportid=hdwllafm 7) Enum types (7 votes) http://support.realsoftware.com/feedback/viewreport.php?reportid=lyurlswx *** 8) DataControl must depend on interface ??? 9) DataControl must be overdriven in plugin, with adding of new properties ??? 10) RB DB API must allow parameters for Filed Types ??? 11) RB DB API must allow new field types from plugins. ??? ------------ If somebody know another important feature request, please submit to me, Let's grow this list together and periodically will ask our plugin users to vote. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 29 10:51:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 29 02:51:28 2004 Subject: Problems with Objectptr resetting In-Reply-To: <0HTT00M08MKJVK@l-daemon> Message-ID: on 2/28/04 11:56 PM, Chuck at rwc1717@shaw.ca wrote: > Hi Ruslan: > While I was doing some experiments with my program, I came upon a fatal > flaw and have had to revert to Valentina 1.97 to be able to run my code > without any > pointers. A while back when I first migrated this program to 1.1 the problem > of > having no pointers and using mdb.ma.fieldname to delete or edit I must have > them. > Valentina 1.97 didn't require this. > > In my program I rip through some dates, make appointments and then keep > making them at a predetermined interval until past the present date. To do > this I > update a field with a new future date. > > For this experiment I have made two versions of my program with its > associated database. Rb 4.5.2 + Valentina 1.97 and RB 5.4.2 and Valentina 1.1 > > 1) Rb 4.5.2 + 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) RB 5.4.2 and 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. > > So, if you would be so kind as to give me an address, I can zip these up and > send > them to you. The same address above in header -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Sun Feb 29 11:58:38 2004 From: mail at beatrixwillius.de (Beatrix Willius) Date: Sun Feb 29 04:55:20 2004 Subject: [V4RB] Error 348 Message-ID: <3AA55870-6AA6-11D8-96D6-000A958D2BA4@beatrixwillius.de> Hello 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? - Can I repair the database myself? The file is about 20 MB. - A xml dump in Valentina Carbon kills the application. A sql dump is not possible (gives the same error message). - 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. System + Software: OS: Mac OS 10.3 RB: 5.2.4 Valentina: 1.9.8 Mit freundlichen Gr??en/Regards Trixi Willius http://www.mothsoftware.com Intelligent Internet Utilities http://www.beatrixwillius.de Fractal Images From rblists at carsten-friehe.de Sun Feb 29 12:02:47 2004 From: rblists at carsten-friehe.de (Carsten Friehe) Date: Sun Feb 29 05:03:44 2004 Subject: [PLEASE] We need your votes In-Reply-To: References: Message-ID: Hi Ruslan! >Doing this we get better chanes to get better RB plugin. I.e. V4RB. Done. Carsten From sunshine at public.kherson.ua Sun Feb 29 16:17:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 29 08:17:15 2004 Subject: [V4RB] Error 348 In-Reply-To: <3AA55870-6AA6-11D8-96D6-000A958D2BA4@beatrixwillius.de> Message-ID: on 2/29/04 12:58 PM, Beatrix Willius at mail@beatrixwillius.de wrote: Hi Beatrix, > 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? > - Can I repair the database myself? The file is about 20 MB. XML dump usually only a way. > - 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. * 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. * also you can try EXPORT to TEXT files. > - 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. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 29 21:00:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 29 13:00:43 2004 Subject: Problems with Objectptr resetting In-Reply-To: <0HTU00J7SJ678U@l-daemon> Message-ID: on 2/29/04 11:40 AM, Chuck at rwc1717@shaw.ca wrote: > Hi Ruslan: > The examples are attached. > Thanks Chuck 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. Please check LATEST VAPP build from site. And I have test VAPP Carbon, on MacOS 10.3.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 Sun Feb 29 21:31:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 29 13:31:19 2004 Subject: V4RB 2.0, CHG, ValentinaDebugOn Message-ID: Hi, I have rename ValentinaDebugON to ValentinaDebugLevel() And I have REMOVE from V4RB function ValentinaDebugOFF(); Its functionality in ValentinaDebugLevel(0); -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 29 21:39:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 29 13:39:10 2004 Subject: V4RB2, CHG, DebugLevel returns Message-ID: ValentinaDebugLevel() Now returns not error code, but previous value of Debug level -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sun Feb 29 21:41:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Feb 29 13:41:34 2004 Subject: V4RB2, CHG, ValentinaInit() Message-ID: 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. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina -------------------------------------------------------------