From arthur at visiblearea.com Thu Apr 1 00:29:18 2004 From: arthur at visiblearea.com (Arthur Clemens) Date: Wed Mar 31 16:29:29 2004 Subject: Mac OS X choices In-Reply-To: References: Message-ID: You can look at the Cocoa/C++ examples on my personal site: Arthur Clemens On Mar 28, 2004, at 08:32, Alex Lindsay wrote: > I have been using RealBasic and Valentina for some personal projects > and I am considering doing some work in Cocoa (Objective C). What > Valentina product would be best? Should I look at the C libraries or > the C++ classes? I know that the X Tools compiler has Objective C++ > (Objective C with some C++) support but I am unsure of the real world > issues involved in mixing the two. I am very familiar with both > straight C as well as C++. Is there any Object-C wrappers for > Valentina? > > I would be interested in any and all experiences with Valentina in a > Mac OS X. > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From johnbs at hku.hk Thu Apr 1 10:30:30 2004 From: johnbs at hku.hk (John Bacon-Shone) Date: Wed Mar 31 20:32:00 2004 Subject: RTF Import In-Reply-To: <20040331222936.14A31E563C@edison.macserve.net> References: <20040331222936.14A31E563C@edison.macserve.net> Message-ID: > >The client asked me if my database engine (Valentina, that is) can >>handle Rich Text Format. I don't know what sort of database file >>they would give me to import to valentina, though. Just wondering >>if anyone had any experience with this. >> > >RTF is just text (ASCII at that). You can store it in any field that >handles text (it can get long, depending on how many styles and fonts >you have, so you probably want something like a text field). >*Interpreting* the RTF and rendering it into human-readable styled >text is up to the developer... Actually, I believe that RTF may *not* be ASCII - as the textual content may include double-byte or Unicode text. I think what you mean is that the style and font info is stored as text, rather than in a binary format. However, even then, the font name may also not be ASCII (e.g. Chinese font names) John -- Dr. John Bacon-Shone, Director, Social Sciences Research Centre 8/F Meng Wah Complex, The University of Hong Kong Pokfulam Road, Hong Kong Tel: 852-28592412 Fax: 852-28584327 E-mail: johnbs@hku.hk From nwoe at privat.utfors.se Thu Apr 1 08:06:48 2004 From: nwoe at privat.utfors.se (=?US-ASCII?Q?niklas_wormann?=) Date: Thu Apr 1 00:06:56 2004 Subject: SV: RTF problem solved In-Reply-To: <60A1E82D-837D-11D8-A715-000393DAB46A@earthlink.net> Message-ID: > -----Ursprungligt meddelande----- > Fran: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net]For Gregory Kowalski > Skickat: den 1 april 2004 03:39 > Till: valentina@lists.macserve.net > Amne: RTF problem solved > > > Hi, > > Just wanted to say that I solved the RTF problem I was having. The > database will contain only the RTF code, then Director can easily > convert the code to readable text. > > It's quite extraordinary... > > > Greg Hi! Just be aware that Director (at least it used to) doesn?t support all of RTF, just like it doesn?t support all of html. (one neat trick here is that you might be able to convert on the fly to html, whatever use that might be) bla=textmember.rtf bla2=textmember.html regards niklas woermann From rjb at rz.uni-potsdam.de Thu Apr 1 11:19:17 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Apr 1 03:31:02 2004 Subject: [ANN] V4RB_Client a62 new build uploaded In-Reply-To: References: Message-ID: Ruslan, shouldn't these emails related to server be on the beta list? It seems that you keep posting all to user list and keep forgetting about announcements and beta lists :( It was so nice for a short time to have the beta issues separated from others. Robert From sunshine at public.kherson.ua Thu Apr 1 14:56:16 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 1 10:00:28 2004 Subject: Switch to beta list please // V4RB_Client a62 new build uploaded In-Reply-To: Message-ID: On 4/1/04 12:19 PM, "Robert Brenstein" wrote: > Ruslan, shouldn't these emails related to server be on the beta list? > It seems that you keep posting all to user list and keep forgetting > about announcements and beta lists :( It was so nice for a short > time to have the beta issues separated from others. Well, very good point Robert. Okay guys. Please ALL and Everybody who is using Valentina Server please subscribe to Valentina beta list. We will continue Server discussions which is in alpha yet on Valentina beta list. Reminder: You can subscribe on this page. http://lists.macserve.net/mailman/listinfo/valentina-beta Also exists announce list. http://lists.macserve.net/mailman/listinfo/valentina-ann -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From robert at formworkdesign.com Thu Apr 1 11:22:57 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Thu Apr 1 10:23:14 2004 Subject: How about a new server license for April? Message-ID: I would love to do some work today!! -------------------------------------- Robert Nichols Formwork Design LLC robert@formworkdesign.com From sunshine at public.kherson.ua Thu Apr 1 19:30:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 1 11:14:49 2004 Subject: How about a new server license for April? In-Reply-To: Message-ID: On 4/1/04 7:22 PM, "Robert Nichols" wrote: > I would love to do some work today!! Ops, sorry, 5 minutes 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 Thu Apr 1 19:34:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 1 11:51:33 2004 Subject: [ANN] Vserver demo license for April aploaded Message-ID: -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From yeomans at desuetude.com Thu Apr 1 19:54:23 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Apr 1 18:54:30 2004 Subject: [V4Rb Client] VCursor problem Message-ID: <4859480E-8440-11D8-8A57-003065BB0634@desuetude.com> A call to VCursor.ImportText results in error -35, 'Volume not found' (I guess). But I'm pretty certain that the volume does exist. Any other suggestions as to what might be the problem? -------------- Charles Yeomans From robert at formworkdesign.com Thu Apr 1 20:30:53 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Thu Apr 1 19:31:00 2004 Subject: [V4Rb Client] VCursor problem In-Reply-To: <4859480E-8440-11D8-8A57-003065BB0634@desuetude.com> References: <4859480E-8440-11D8-8A57-003065BB0634@desuetude.com> Message-ID: <617C5429-8445-11D8-B058-000A95D01D92@formworkdesign.com> This is what I get with vCursor.exporttext. Something still isn't right with import/export. On Apr 1, 2004, at 7:54 PM, Charles Yeomans wrote: > A call to VCursor.ImportText results in error -35, 'Volume not found' > (I guess). But I'm pretty certain that the volume does exist. Any > other suggestions as to what might be the problem? > > -------------- > Charles Yeomans > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From giv at tlc.kherson.ua Fri Apr 2 09:59:18 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Apr 2 00:59:58 2004 Subject: [V4Rb Client] VCursor problem References: <4859480E-8440-11D8-8A57-003065BB0634@desuetude.com> Message-ID: <003501c41880$15c180e0$721026c3@giv> Hi Charles, > A call to VCursor.ImportText results in error -35, 'Volume not found' Do you see this error in the server's log? > (I guess). But I'm pretty certain that the volume does exist. Any > other suggestions as to what might be the problem? Please, give an example of your code. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Apr 2 09:26:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 2 01:05:01 2004 Subject: [V4Rb Client] VCursor problem In-Reply-To: <617C5429-8445-11D8-B058-000A95D01D92@formworkdesign.com> Message-ID: On 4/2/04 4:30 AM, "Robert Nichols" wrote: Guys, this must MOVE to BETA list. Please try next: - get SystemCatalog varaible from Server using Vserver class. - this is path to folder where is databases. - check what format it uses POSIX or MAC. I think it will be posix format. - concat this folder path to some file name use this for export. I think must work. > This is what I get with vCursor.exporttext. Something still isn't right > with import/export. > > > On Apr 1, 2004, at 7:54 PM, Charles Yeomans wrote: > >> A call to VCursor.ImportText results in error -35, 'Volume not found' >> (I guess). But I'm pretty certain that the volume does exist. Any >> other suggestions as to what might be the problem? >> >> -------------- >> Charles Yeomans >> >> _______________________________________________ >> 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 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Apr 2 10:11:02 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 2 02:19:53 2004 Subject: [V4Rb Client] VCursor problem In-Reply-To: <003501c41880$15c180e0$721026c3@giv> Message-ID: On 4/2/04 9:59 AM, "Igor Gomon" wrote: > Hi Charles, > >> A call to VCursor.ImportText results in error -35, 'Volume not found' > Do you see this error in the server's log? > >> (I guess). But I'm pretty certain that the volume does exist. Any >> other suggestions as to what might be the problem? > Please, give an example of your code. Igor, That is problem with OS X paths. You cannot help 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 robert at formworkdesign.com Fri Apr 2 07:20:59 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Fri Apr 2 06:21:04 2004 Subject: [V4Rb Client] VCursor problem In-Reply-To: References: Message-ID: <330D0A3B-84A0-11D8-9EB0-000A95D01D92@formworkdesign.com> Ruslan, I tried to join Beta list yesterday, but I was receiving bad confirmation strings and so couldn't confirm my particpation in the list. Sorry - a non-Valentina headache for you!! I'll try again later today. Robert On Apr 2, 2004, at 1:26 AM, Ruslan Zasukhin wrote: > On 4/2/04 4:30 AM, "Robert Nichols" wrote: > > Guys, this must MOVE to BETA list. > > Please try next: > - get SystemCatalog varaible from Server using Vserver class. > - this is path to folder where is databases. > - check what format it uses POSIX or MAC. > I think it will be posix format. > > - concat this folder path to some file name > use this for export. I think must work. > >> This is what I get with vCursor.exporttext. Something still isn't >> right >> with import/export. >> >> >> On Apr 1, 2004, at 7:54 PM, Charles Yeomans wrote: >> >>> A call to VCursor.ImportText results in error -35, 'Volume not found' >>> (I guess). But I'm pretty certain that the volume does exist. Any >>> other suggestions as to what might be the problem? >>> >>> -------------- >>> Charles Yeomans >>> >>> _______________________________________________ >>> 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 > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 fci at europa.com Fri Apr 2 07:38:46 2004 From: fci at europa.com (Lynn Fredricks) Date: Fri Apr 2 09:39:08 2004 Subject: On-Target Reports 4.0 Beta Program Opens In-Reply-To: <6.0.1.1.2.20040303105156.01d06648@pop.gmx.de> Message-ID: <002901c418c8$9cfeb300$0100000a@LYNNP42G> On-Target Reports 4.0 Beta Program Opens VERSION 4.0 TO SUPPORT WINDOWS, MAC OS X AND LINUX April 2, 2004. Roswell, Georgia. On-Target Reports, Inc, makers of dbReports Professional invites database developers to participate in the beta program of the next release of On-Target Reports 4.0, beginning April 2, 2004. On-Target Reports 4.0 is an easy to use reporting tool for popular databases including FrontBase, mySQL, ODBC, OpenBase, Oracle, postgreSQL, PrimeBase, REALDatabase, Sybase ASE and Valentina (Valentina 1.x and forthcoming 2.x), allowing rapid and easy visual report building and printing. On-Target Reports, Inc's current product, dbReports Professional is a cross-platform report writer. With dbReports Professional, you can extract, format and print data from one of various data sources. Using the built-in assistant, or the easy-to-use drawing environment, a report can be built quickly and easily. db Reports also supports data grouping and fully recursive expressions. String, Math, and Logical (including IF) expressions make db Reports a powerful tool for analyzing data. It also includes runtime classes to incorporate report templates into REALbasic (http://www.realbasic.com) applications. On-Target Reports 4.0 will be available for Windows, MacOS X and Linux. Developers can sign up for the beta program at http://www.ontargetreports.com/form2.html. The five participants who submit the most confirmed issues with the beta will each receive one free license for On-Target Reports 4.0 when it ships. The final feature list of On-Target Reports 4.0 will be available when the product ships. Additional information is available on the company's website at http://www.ontargetreports.com. About On-Target Reports, Inc On-Target Reports, Inc makes dbReports and dbReports Professional, the easiest way to extract and display database information from the most popular databases on Windows and Macintosh, and the forthcoming On-Target Reports 4.0. On-Target Reports envisions making complex data accessible and meaningful, for business users and developers. For additional information, visit the On-Target Reports website at http://www.ontargetreports.com. From gregkowalski at earthlink.net Fri Apr 2 10:56:00 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Fri Apr 2 09:54:28 2004 Subject: RTF follow up Message-ID: <3D0100BA-84BE-11D8-B402-000393DAB46A@earthlink.net> Thanks for the responses. My idea is is to have the client store the RTF code in a field of their database (it's ASCII so Valentina can handle it), then when it is retrieved I have Director translate it. For example: RTF: "{\rtf1\mac\deff3 {\fonttbl{\f3\fswiss Geneva;}{\f2001\fnil Arial;}}{\colortbl\red0\green0\blue0;}{\stylesheet{\s0\fs24 Normal Text;} }\pard \f3\fs24{\f2001\fs26 C}{\pard \dn6\f2001\fs18 25}{\pard \f2001\fs26 H}{\pard \dn6\f2001\fs18 29}{\pard \f2001\fs26 NO}{\pard \dn6\f2001\fs18 6\par}}" TRANSLATED: C25H29NO6 I don't know if this list supports Rich Text to properly view the translated result above (it's a chemical formula with subscripts), but you get an idea. Greg From xyzabc1010 at yahoo.com Fri Apr 2 10:37:31 2004 From: xyzabc1010 at yahoo.com (X Y) Date: Fri Apr 2 12:37:36 2004 Subject: VSRV OpenSession question In-Reply-To: Message-ID: <20040402183731.41130.qmail@web21108.mail.yahoo.com> Hi, I am scanning ports to determine whether V.Server is running on that particular machine. Hence, I do an opensession and check for availability. However, OpenSession takes about 5 secs. to return. My question is Is there a way to reduce this time? Thanks __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From xyzabc1010 at yahoo.com Fri Apr 2 10:57:03 2004 From: xyzabc1010 at yahoo.com (X Y) Date: Fri Apr 2 12:57:08 2004 Subject: Error Codes In-Reply-To: Message-ID: <20040402185703.88264.qmail@web21105.mail.yahoo.com> Hi All, Do you know what error 1025 for Server means? and error 8 on regular Valentina means? thnx __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From robert at formworkdesign.com Fri Apr 2 15:10:02 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Fri Apr 2 17:15:14 2004 Subject: can't open db - cache not exists Message-ID: I've got a valentina db file that I cannot open because "cache does not exist". I don't appear to have any options. My application can open it fine. My Valentina app cannot. What do I do? -------------------------------------- Robert Nichols Formwork Design LLC robert@formworkdesign.com From giv at tlc.kherson.ua Sat Apr 3 02:01:30 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Apr 2 17:15:50 2004 Subject: VSRV OpenSession question References: <20040402183731.41130.qmail@web21108.mail.yahoo.com> Message-ID: <004801c41908$61b37480$781026c3@giv> Hi X, > Hi, > I am scanning ports to determine whether V.Server is > running on that particular machine. Hence, I do an > opensession and check for availability. However, > OpenSession takes about 5 secs. to return. My question > is Is there a way to reduce this time? Are you V4MD developer? (please, specify this in the subject) If yes, then when you construct VServer Xtra you can pass optional parameter to its constructor - integer Timeout (last, 5-th parameter). This parameter specifies connect timeout and is measured in seconds. It's defaut value is 5. So you can pass smaller value to reduce this time. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From giv at tlc.kherson.ua Sat Apr 3 02:14:53 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Apr 2 17:15:52 2004 Subject: Error Codes References: <20040402185703.88264.qmail@web21105.mail.yahoo.com> Message-ID: <004a01c41908$63562800$781026c3@giv> Hi X, > Hi All, > Do you know what error 1025 for Server means? 1025: Connection forcedly closed. For example, the connection has been closed due to server's administrator request or as a result of server restart. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Apr 2 22:06:12 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 2 17:40:19 2004 Subject: [VSRV] Error Codes In-Reply-To: <20040402185703.88264.qmail@web21105.mail.yahoo.com> Message-ID: On 4/2/04 9:57 PM, "X Y" wrote: > Hi All, > Do you know what error 1025 for Server means? and > error 8 on regular Valentina means? Please ask Valentina Server beta questions on beta list. Thank you. enum EServer_Errors { kSRV_ServerError = 1000, kSRV_ConnectionLimit, // 1001: Connection limit reached kSRV_ProtocolNotSupported, // 1002: Protocol version not supported kSRV_NotEnoughMemory, // 1003: Not enough memory kSRV_InvalidAccess, // 1004: Invalid access kSRV_InvalidUserNameOrPassword, // 1005: Invalid user name or password kSRV_InvalidUserName, // 1006: Invalid user name kSRV_InvalidDataBaseName, // 1007: Invalid database name kSRV_NotSupported, // 1008: Operation is not currently supported kSRV_InvalidIdentifier, // 1009: Invalid identifier kSRV_OperationFailed, // 1010: Call to Valentina kernel failed kSRV_AlreadyExist, // 1011: Object already exists (field, baseobject, database, user) kSRV_WrongResponse, // 1012: Wrong client response kSRV_UnexpectedOperation, // 1013: Unexpected operation kSRV_LogFail, // 1014: Operation with log fail kSRV_InitFailed, // 1015: Server initialization failed kSRV_CannotAuthenticateUser, // 1016: Cannot authenticate user kSRV_AccessDenied, // 1017: Access denied kSRV_OutOfSync, // 1018: Command is out of sync kSRV_Unknown, // 1019: Unknown server error kSRV_NoCurrentDb, // 1020: Current database not set kSRV_InvalidCommand, // 1021: Command cannot be executed on this type of object kSRV_CorruptedRegistry, // 1022: Registry corrupted kSRV_ConnectionTimedOut, // 1023: Connection timed out kSRV_WrongDeploymentSerial, // 1024: Wrong deployment serial kSRV_ConnectionForcedlyClosed, // 1025: Connection forcedly closed kSRV_NoCurrentRecord // 1026: No current record. }; -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Apr 2 21:47:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 2 18:06:28 2004 Subject: VSRV OpenSession question In-Reply-To: <20040402183731.41130.qmail@web21108.mail.yahoo.com> Message-ID: On 4/2/04 9:37 PM, "X Y" wrote: > Hi, > I am scanning ports to determine whether V.Server is > running on that particular machine. Hence, I do an > opensession and check for availability. However, > OpenSession takes about 5 secs. to return. My question > is Is there a way to reduce this time? Hmm, Why so long? I never have see so long time for connect. Does it take 5 seconds when you exactly specify IP/port? Or only when you do scanning? -------- As I have told, the best way resolve this, support Rendezvous In Valentina 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 Sat Apr 3 02:37:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 2 19:08:30 2004 Subject: can't open db - cache not exists In-Reply-To: Message-ID: On 4/2/04 11:10 PM, "Robert Nichols" wrote: > I've got a valentina db file that I cannot open because "cache does not > exist". I don't appear to have any options. > > My application can open it fine. My Valentina app cannot. What do I do? You mean VAPP cannot open it ??? Usually this mistake happens if developer forget call ValentinaInit() So there is no cache. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From softil at onlinehome.de Sat Apr 3 14:40:02 2004 From: softil at onlinehome.de (SoftIl) Date: Sat Apr 3 07:13:07 2004 Subject: [VNET] a little mistake with the IsReadOnly-Property of theVDataBase object References: <000f01c414e2$45976290$fe78a8c0@IPSBASIS> Message-ID: <000001c4197d$67310a10$fe78a8c0@IPSBASIS> Hi Ruslan, can you say something about my question? It isn't very hurried, but it would be nice if it functioned. Best regards Carsten ----- Original Message ----- From: "SoftIl" To: "Valentina Developers" Sent: Sunday, March 28, 2004 6:32 PM Subject: [VNET] a little mistake with the IsReadOnly-Property of theVDataBase object > > > Hi Ruslan, > > > I think there is a little bug in the VDatabase-object. > > > The property IsReadOnly gets always TRUE return also isn't the file > > > readonly. > > > > > > Please can you check this? > From sunshine at public.kherson.ua Sat Apr 3 18:47:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 3 09:47:54 2004 Subject: [VNET] a little mistake with the IsReadOnly-Property of theVDataBase object In-Reply-To: <000001c4197d$67310a10$fe78a8c0@IPSBASIS> Message-ID: On 4/3/04 3:40 PM, "SoftIl" wrote: > Hi Ruslan, > can you say something about my question? > It isn't very hurried, but it would be nice if it functioned. Hi Carsten, Sorry I was busy and even forget it. I will try to check soon. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Apr 4 09:58:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 4 00:58:19 2004 Subject: Database Large VarChar Search In-Reply-To: Message-ID: On 4/4/04 6:47 AM, "Andy Dent" wrote: Hi Andy, Don't you mind if I will CC answer to Valentina list and RB list. Because you have ask good questions. And I think many people will be interested in answers on such questions. > G'day Ruslan > >> Valentina is able to do LIKE search and REGEX search in the time >> practically equal to INDEXED search!!! > > Are you seriously saying that if I stored say 20,000 documents with > an indexed Title field and a Memo field with 2MB of text on each that > searching for an arbitrary regex in that Memo would be a similar > speed to an indexed search for a title? > > Either you got a little carried away with your claim or you have > better searching than any other database engine that I've ever heard > about. > > I can believe that Valentina is very fast up to a certain size level, > certainly much better than other engines commonly used in RB. I have > a lot of trouble believing your algorithms operate at a different > order where you can make such a claim. > > I know about text indexing technology (for static databases) such as > discussed in Managing Gigabytes (http://www.cs.mu.oz.au/mg/). I > wasn't aware it was even theoretically possible to optimise regex. > > Note: I'm not contemplating OOFILE as a competitor against Valentina > - Faircom's pricing puts that out of the question with the developer > version of c-tree Plus retailing at US$895. It might, however, be > useful in future to put Valentina behind the OOFILE interface as > another database backend and thus enable the GUI and Report-Writer > classes to be used transparently with Valentina. 1) btw, I never was able even test c-tree plus because this guys do not give any demo for free. Buy since they use 2) I do not see problems, if some day you will use in OO Files Valentina as backend. This can be win-win situation. You have own audience, as I understand, mainly CodeWarrior C++ PowerPlant developers. Valentina C++ SDK have own OO wrapper, which I think is unique from many points of view, but OO FILE have power of integration with your GUI classes. So why not. Actually we develop Valentina 2.0 kernel in such way, that it will be easy make several different OO wrappers around main kernel, for example I see ability to make true ODMG standard wrapper or e.g. OO wrapper as was made around mySQL C API (it is oriented on STL STD classes). Valentina is very flexible (like any good woman). 3) ANSWER: I did not invent new REGEX search, and not going to do that! we use standard REGEX libs. In particular in Valentina 2.0 we use RegEx features of IBM ICU library. 4) ANSWER: I already have underline many times, repeat once again: the main complexity of DBMS development and DBMS usage is that exists hundreds and thousands of cases/conditions. in one case better work one algorithm/format in other case better work other algorithm. This is why there is no trust when somebody say: Hey, in 2-5-6 months I will make good db engine. NOT TRUE. Very soon, he will start to see that thousands of cases. What step will be next? - Drop work - make something simple and very limited - assume a lots of limitation, and again made simple case only. 5) So taking into account point 4) please note that exists MANY quite different text searches: a) fixed string, e.g. String[40] B) VarChar string, e.g. VarChar[504] C) TEXT (BLOB) In your letter you ask about case c) and your mind is targeted on FULL TEXT indexing of big BLOB fields. My "claims" was about cases a) and b) in the first turn. Actually this is not my claims, this is results of many Valentina developers. If you want to know how Valentina is able do non-indexed REGEX search on String or VarChar field with speed close to INDEXED search on the same field, answer is -> thanks to special format storage of Tables. Indexed search also have few quite different cases. - exact search, which find only one record - range search, which find 0..N records. -- range search small, when e.g. 100 from million records -- range search wide, finds 800,000 from million. So comparing to which one from above? :-) In fact, exact indexed search will be much faster of REGEX even in Valentina. But Wide range search can be comparable to REGEX. Again, hundreds cases! Thousands of combinations!!! In Valentina we try to keep in mind all them, and for each provide the best format and algorithm. Even if this algorithm will give win in few percent only, we will spend time to develop it. We are not lazy. :-)) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Apr 4 12:33:42 2004 From: softil at onlinehome.de (SoftIl) Date: Sun Apr 4 05:36:02 2004 Subject: [VNET] a little mistake with the IsReadOnly-Property oftheVDataBase object References: Message-ID: <001101c41a30$9db984f0$fe78a8c0@IPSBASIS> Hi Ruslan, > Sorry I was busy and even forget it. No problem. :-) > > I will try to check soon. Thanks a lot. Best regards Carsten ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Saturday, April 03, 2004 5:47 PM Subject: Re: [VNET] a little mistake with the IsReadOnly-Property oftheVDataBase object > On 4/3/04 3:40 PM, "SoftIl" wrote: > > > Hi Ruslan, > > can you say something about my question? > > It isn't very hurried, but it would be nice if it functioned. > > Hi Carsten, > > Sorry I was busy and even forget it. > > I will try to check soon. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 alindsay at mac.com Sun Apr 4 12:37:22 2004 From: alindsay at mac.com (Alex Lindsay) Date: Sun Apr 4 14:37:34 2004 Subject: Mac OS X choices In-Reply-To: References: Message-ID: <7E33A88C-866F-11D8-ADD3-000A95DCC91A@mac.com> Thanks for the Info, I will look at this. I am new to Mac OS X programming, but I am experienced with C/C++. I am still trying to justify the cost of the C++ package for personal use when I already have the RealBasic version. :-) On Mar 31, 2004, at 2:29 PM, Arthur Clemens wrote: > You can look at the Cocoa/C++ examples on my personal site: > > > Arthur Clemens > > > > On Mar 28, 2004, at 08:32, Alex Lindsay wrote: > >> I have been using RealBasic and Valentina for some personal projects >> and I am considering doing some work in Cocoa (Objective C). What >> Valentina product would be best? Should I look at the C libraries or >> the C++ classes? I know that the X Tools compiler has Objective C++ >> (Objective C with some C++) support but I am unsure of the real world >> issues involved in mixing the two. I am very familiar with both >> straight C as well as C++. Is there any Object-C wrappers for >> Valentina? >> >> I would be interested in any and all experiences with Valentina in a >> Mac OS X. >> >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina >> > From tjames1 at bigpond.net.au Tue Apr 6 10:42:15 2004 From: tjames1 at bigpond.net.au (Tim James) Date: Mon Apr 5 19:41:07 2004 Subject: 344 - Index not sorted Message-ID: <406BA836-8763-11D8-BD6C-000A95A4D918@bigpond.net.au> I am getting this error when I attempt to execute the following INSERT INTO CRheaders (Number,DateIssued,DateReceived,DateCompleted,Status,Supplier,TotalValue ,TotalUnits,Comments) VALUES ("16","6/4/04","00/00/00","00/00/00","0","241","0.00","0"," ") The only field that is indexed is number which is also defined as unique There is only one row in the table with a number value of "8999001". I have reindexed the BO, deleted the db.ind file but all to no avail Any ideas From sunshine at public.kherson.ua Tue Apr 6 08:39:52 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 6 00:39:58 2004 Subject: 344 - Index not sorted In-Reply-To: <406BA836-8763-11D8-BD6C-000A95A4D918@bigpond.net.au> Message-ID: On 4/6/04 3:42 AM, "Tim James" wrote: > I am getting this error when I attempt to execute the following > > INSERT INTO CRheaders > (Number,DateIssued,DateReceived,DateCompleted,Status,Supplier,TotalValue > ,TotalUnits,Comments) VALUES > ("16","6/4/04","00/00/00","00/00/00","0","241","0.00","0"," ") > > The only field that is indexed is number which is also defined as unique > > There is only one row in the table with a number value of "8999001". > > I have reindexed the BO, deleted the db.ind file but all to no avail Hi Tim, kFBL_FieldIsUnique = 344, 344 -- means field is uniquie. And this error means that you try add second time the same value. This is mistake. Check your values. Or remove flag unique. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave.addey at dsl.pipex.com Tue Apr 6 21:37:54 2004 From: dave.addey at dsl.pipex.com (Dave Addey) Date: Tue Apr 6 15:38:06 2004 Subject: VarChar vs String Message-ID: Hi all, Quick question: which is quicker (in V4RB 1.x) - VVarChar, or VString? Or is there no difference? Thanks, Dave. From sunshine at public.kherson.ua Wed Apr 7 00:16:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 6 16:16:57 2004 Subject: VarChar vs String In-Reply-To: Message-ID: On 4/6/04 11:37 PM, "Dave Addey" wrote: > Hi all, > > Quick question: which is quicker (in V4RB 1.x) - VVarChar, or VString? Or > is there no difference? Usually 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 tjames1 at bigpond.net.au Wed Apr 7 15:04:07 2004 From: tjames1 at bigpond.net.au (Tim James) Date: Wed Apr 7 00:03:00 2004 Subject: 344 - Index not sorted In-Reply-To: References: Message-ID: Thanks for your reply 1. In VISQL the error text is "Index not sorted" 2. I understand unique fields and flags but the point being that I am trying to add a unique field that is NOT the same as any other value of the field in the table. (I can't alter/remove the flag as the DB in question is on a remote site that I communicate with my own client server application based on SQLexecute/select's only) Is it possible to add a null field to unique field and there may be another null as well ? Will removing the fieldisunique flag fix it - and can I then reapply the flag? Thanks Tim On 06/04/2004, at 3:39 PM, Ruslan Zasukhin wrote: > On 4/6/04 3:42 AM, "Tim James" wrote: > >> I am getting this error when I attempt to execute the following >> >> INSERT INTO CRheaders >> (Number,DateIssued,DateReceived,DateCompleted,Status,Supplier,TotalVal >> ue >> ,TotalUnits,Comments) VALUES >> ("16","6/4/04","00/00/00","00/00/00","0","241","0.00","0"," ") >> >> The only field that is indexed is number which is also defined as >> unique >> >> There is only one row in the table with a number value of "8999001". >> >> I have reindexed the BO, deleted the db.ind file but all to no avail > > Hi Tim, > > kFBL_FieldIsUnique = 344, > > 344 -- means field is uniquie. > > And this error means that you try add second time the same value. > This is mistake. > > > Check your values. > Or remove flag unique. > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Wed Apr 7 11:39:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 7 03:39:29 2004 Subject: 344 - Index not sorted In-Reply-To: Message-ID: On 4/7/04 8:04 AM, "Tim James" wrote: Hi Tim, > Thanks for your reply > > 1. In VISQL the error text is "Index not sorted" Strange, based on 1.10 ? > 2. I understand unique fields and flags but the point being that I am > trying to add > > a unique field that is NOT the same as any other value of the field in > the table. > > (I can't alter/remove the flag as the DB in question is on a remote > site that I communicate with my own client server application based on > SQLexecute/select's only) > > Is it possible to add a null field to unique field and there may be > another null as well ? Yes, into unique field you can insert many NULLs > > Will removing the fieldisunique flag fix it - and can I then reapply > the flag? You can do this only if field DO NOT have unique values. Otherwise Valentina will refuse set this flag. I still think you have some the same value. May be you have BaseObject methods in table and they produce duplicates? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ckirchho at directmedia.de Wed Apr 7 14:09:38 2004 From: ckirchho at directmedia.de (Christian Kirchhoff) Date: Wed Apr 7 07:09:47 2004 Subject: [V4MD]: Mac OSX error -61 in projector Message-ID: <0404071409423400@mail.directmedia.de> Hello, again I need a little advice regarding the error -61. I made a hybrid project on CD-ROM with projector versions for - Windows - Mac Classic - Mac OS X On the CD-ROM I made one folder for each OS, containing - The stub projector for the actual OS - Other protected movies and casts, being the same for all OSs, so this adds a little overhead. - A folder "Xtras" containing the Xtras for the actual OS - A folder "Data", containing the Valentina database files. They are pretty much the same for all three OSs. The only thing I do is before distributing the project on CD-ROM I copy the database files to the Mac (I develop on a Windows computer) and open them there once within Director because earlier I made the experience that Valentina had problems opening the (Windows generated and indexed) database on the Mac. Three installation movies for the three OSs copy the proper folder for that OS in the users hard drive. Installing my project and working with it from the hard drive works fine. The database files are read from the hard drive, too, in that case. But the user can also do a quick start of the software if he starts the stub projector for his OS in the proper folder directly from the CD-ROM. I did this for another project before in exactly the same way, and it worked fine. But now the following happens: On Windows the quick start from CD-ROM works. On Mac (either Classic or OS X) the quick start doesn't work. The database is not opened, so there is no access to the data, and I don't know why. I only read from the database, by the way, the software doesn't change the data or add new records. So only the existing data structures have to be rebuild for indexing or other reasons. But that should work even for write protected database files, and it worked within my former project. So I burned a special CD-ROM with a lingo.ini opening the message window and a special stub projector setting the DebugMode of Valentina to 2. Here is a piece of code that is executed: gMyDatabase = new(xtra "VDataBase") OpenDatabase(gMyDatabase, gDataPath&"Data.vdb") gMyDatabaseRef = GetRef(gMyDatabase) gMyDatabase.SetDateTimeFormat([1, ".", ":", 0]) put getBaseObjects(gMyDatabase) Initialising the new xtra works. But the OpenDatabase command returns error -61. getBaseObjects returns an empty list. Further attempts to build Cursor all result with error 602. Now, with the message window open, I type the same line of code that was executed with an error before: OpenDatabase(gMyDatabase, gDataPath&"Data.vdb") Now Valentina returns "* V4MD *:OpenDatabase.Done I am a little confused now because: - The same method was used in a former project and worked there - The actual project works on Windows, either installed on CD-ROM or with the quick start method, reading the database files from the CD-ROM - The actual project works fine on Mac OS X and Classic when installed on the hard drive - Opening the database doesn't work on Mac OS X and Classic with the quick start mode, using the database files from the CD-ROM - Opening the database manually from the message window works, right after the same was tried by the projector code and did fail. Does anybody have the slightest idea what could be a possible cause for this? I don't know what and how else I could test, because the problem only occurs with the projector and the database files being accessed directly from the CD-ROM. Regards, Christian Kirchhoff From ich at medienzar.de Wed Apr 7 14:30:24 2004 From: ich at medienzar.de (Tschoatscho Kettl) Date: Wed Apr 7 07:30:44 2004 Subject: [V4MD]: Mac OSX error -61 in projector In-Reply-To: <0404071409423400@mail.directmedia.de> References: <0404071409423400@mail.directmedia.de> Message-ID: Hi Christian, >- Opening the database manually from the message window works, right after >the same was tried by the projector code and did fail. > >Does anybody have the slightest idea what could be a possible cause for >this? I don't know what and how else I could test, because the problem only >occurs with the projector and the database files being accessed directly >from the CD-ROM. The only difference between executing code from the message window and executing code from a script is the time when it happens. Maybe you try to access the Db-Files on the CD-ROM when the machine is just filling up some volume cache or something like that. When do you try to open the database in your code? on prepareMovie? Maybe you should give some time for the drive to "breath" or to the projector to apply it's process user rights (don't know to much about UNIX, sorry ;-). I know this sounds stupid and naive but regarding to the symptoms you described this might be a solution. -- Greets Tsch. ----------> on stopMovie mRemember gRealLife updateStage no end From sunshine at public.kherson.ua Wed Apr 7 15:35:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 7 07:40:55 2004 Subject: [V4MD]: Mac OSX error -61 in projector In-Reply-To: Message-ID: On 4/7/04 3:30 PM, "Tschoatscho Kettl" wrote: Hi Christian, >> - Opening the database manually from the message window works, right after >> the same was tried by the projector code and did fail. >> >> Does anybody have the slightest idea what could be a possible cause for >> this? I don't know what and how else I could test, because the problem only Is projector for Classic? If yes, you must assign many RAM for it, more than ValentinaInit() allocate for cache, e.g. 20-30 MB >> occurs with the projector and the database files being accessed directly >> from the CD-ROM. > > The only difference between executing code from the message window > and executing code from a script is the time when it happens. > Maybe you try to access the Db-Files on the CD-ROM when the machine > is just filling up some volume cache or something like that. > When do you try to open the database in your code? on prepareMovie? > Maybe you should give some time for the drive to "breath" or to the > projector to apply it's process user rights (don't know to much about > UNIX, sorry ;-). I know this sounds stupid and naive but regarding to > the symptoms you described this might be a solution. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ckirchho at directmedia.de Wed Apr 7 14:41:19 2004 From: ckirchho at directmedia.de (Christian Kirchhoff) Date: Wed Apr 7 07:41:28 2004 Subject: AW: [V4MD]: Mac OSX error -61 in projector In-Reply-To: Message-ID: <0404071441220900@mail.directmedia.de> Hello Tschoatscho, thanks for your hints. I am opening the database in a frame script that is in the first frame of the "main movie" (the one that is opened by the stub movie/projector). I don't think that it is a Unix problem, because the same problem applies to Mac OS Classic. Plus: As I wrote my former project uses exactly the same strategy, and that project works on both Mac OS Classic and Mac OS X. But I will write a test movie where I open the database a little later, and see what happens then. Regards, Christian -----Urspr?ngliche Nachricht----- Von: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Im Auftrag von Tschoatscho Kettl Gesendet: Mittwoch, 7. April 2004 14:30 An: Valentina Developers Betreff: Re: [V4MD]: Mac OSX error -61 in projector Hi Christian, >- Opening the database manually from the message window works, right after >the same was tried by the projector code and did fail. > >Does anybody have the slightest idea what could be a possible cause for >this? I don't know what and how else I could test, because the problem only >occurs with the projector and the database files being accessed directly >from the CD-ROM. The only difference between executing code from the message window and executing code from a script is the time when it happens. Maybe you try to access the Db-Files on the CD-ROM when the machine is just filling up some volume cache or something like that. When do you try to open the database in your code? on prepareMovie? Maybe you should give some time for the drive to "breath" or to the projector to apply it's process user rights (don't know to much about UNIX, sorry ;-). I know this sounds stupid and naive but regarding to the symptoms you described this might be a solution. -- Greets Tsch. ----------> on stopMovie mRemember gRealLife updateStage no end _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From ckirchho at directmedia.de Wed Apr 7 14:46:06 2004 From: ckirchho at directmedia.de (Christian Kirchhoff) Date: Wed Apr 7 07:46:16 2004 Subject: AW: [V4MD]: Mac OSX error -61 in projector In-Reply-To: Message-ID: <0404071446101500@mail.directmedia.de> Hello Ruslan, there are two projectors, one for Classic and one for Mac OS X. They both cause the problem. Again I have to add that the former project with even bigger databases worked fine without assigning more RAM. Regards, Christian -----Urspr?ngliche Nachricht----- Von: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Im Auftrag von Ruslan Zasukhin Gesendet: Mittwoch, 7. April 2004 14:36 An: valentina@lists.macserve.net Betreff: Re: [V4MD]: Mac OSX error -61 in projector On 4/7/04 3:30 PM, "Tschoatscho Kettl" wrote: Hi Christian, >> - Opening the database manually from the message window works, right after >> the same was tried by the projector code and did fail. >> >> Does anybody have the slightest idea what could be a possible cause for >> this? I don't know what and how else I could test, because the problem only Is projector for Classic? If yes, you must assign many RAM for it, more than ValentinaInit() allocate for cache, e.g. 20-30 MB >> occurs with the projector and the database files being accessed directly >> from the CD-ROM. > > The only difference between executing code from the message window > and executing code from a script is the time when it happens. > Maybe you try to access the Db-Files on the CD-ROM when the machine > is just filling up some volume cache or something like that. > When do you try to open the database in your code? on prepareMovie? > Maybe you should give some time for the drive to "breath" or to the > projector to apply it's process user rights (don't know to much about > UNIX, sorry ;-). I know this sounds stupid and naive but regarding to > the symptoms you described this might be a solution. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 Apr 7 16:56:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 7 08:56:59 2004 Subject: AW: [V4MD]: Mac OSX error -61 in projector In-Reply-To: <0404071446101500@mail.directmedia.de> Message-ID: On 4/7/04 3:46 PM, "Christian Kirchhoff" wrote: > Hello Ruslan, > > there are two projectors, one for Classic and one for Mac OS X. They both > cause the problem. Again I have to add that the former project with even > bigger databases worked fine without assigning more RAM. -61 wrPermErr Write permissions error; Not a publisher It looks that you try to WRITE something into db, Which is on CD as I understand -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin at kinetix.co.uk Wed Apr 7 14:58:41 2004 From: martin at kinetix.co.uk (Martin Wright) Date: Wed Apr 7 08:59:59 2004 Subject: Rendezvous Message-ID: <20040407135954.D6E68EC579@edison.macserve.net> Hi Ruslan You mentioned on the mailing list that Vserver version 2 would use rendezvous technology from Apple. Is this still so? If yes, when could we expect version 2? Cheers Martin From sunshine at public.kherson.ua Wed Apr 7 17:22:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 7 09:23:37 2004 Subject: Rendezvous In-Reply-To: <20040407135954.D6E68EC579@edison.macserve.net> Message-ID: On 4/7/04 4:58 PM, "Martin Wright" wrote: Hi Martin, > You mentioned on the mailing list that Vserver version 2 would use > rendezvous technology from Apple. > Is this still so? Yes. > If yes, when could we expect version 2? I already do not want promise (like REAL do :-) But we should get beta really soon. And during 1-2 months of beta period we will improve/polish/tune minor parts of engine -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From ckirchho at directmedia.de Wed Apr 7 16:59:27 2004 From: ckirchho at directmedia.de (Christian Kirchhoff) Date: Wed Apr 7 09:59:38 2004 Subject: AW: AW: [V4MD]: Mac OSX error -61 in projector In-Reply-To: Message-ID: <0404071659310900@mail.directmedia.de> Hello Ruslan, yes, in that case the file is on CD. But - as I wrote before: 1. The former project that was very similar, only that the database is a little different, works fine on Mac, even when started from CD-ROM 2. This project still works fine on Windows, even when started from CD-ROM 3. When I burn a test CD-ROM with a lingo.ini file forcing the projector to open a message window, I can see that the command producing the error is OpenDatabase(). And if I type in this command manually in the message window, it works without an error. But if I then perform getBaseObjectCount, that command returns 0. The only difference to my former project is, that I compiled the former project's projectors under Mac OS 10.2, and the new project's projectors under Mac OS 10.3. Now I did the following: I was working with Valentina version 1.9.8 for the Mac. Now I burned a CD-ROM with version 1.10 of the Valentina xtras. Installing my project on the hard drive and running it from there is again no problem. But now when I try to run the projector directly from the CD-ROM, it even crashes. On Mac OS X and Mac OS Classic. I wanted to look on your website for newer versions, but it doesn't seem accessible right now. Maybe I just have to update to a newer version. Regards, Christian Kirchhoff -----Urspr?ngliche Nachricht----- Von: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Im Auftrag von Ruslan Zasukhin Gesendet: Mittwoch, 7. April 2004 15:57 An: valentina@lists.macserve.net Betreff: Re: AW: [V4MD]: Mac OSX error -61 in projector On 4/7/04 3:46 PM, "Christian Kirchhoff" wrote: > Hello Ruslan, > > there are two projectors, one for Classic and one for Mac OS X. They both > cause the problem. Again I have to add that the former project with even > bigger databases worked fine without assigning more RAM. -61 wrPermErr Write permissions error; Not a publisher It looks that you try to WRITE something into db, Which is on CD as I understand -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 Apr 7 18:14:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 7 10:15:06 2004 Subject: AW: AW: [V4MD]: Mac OSX error -61 in projector In-Reply-To: <0404071659310900@mail.directmedia.de> Message-ID: On 4/7/04 5:59 PM, "Christian Kirchhoff" wrote: > Hello Ruslan, > > yes, in that case the file is on CD. But - as I wrote before: > 1. The former project that was very similar, only that the database is a > little different, works fine on Mac, even when started from CD-ROM You can have just ONE command which try WRITE to break it and get -61. May be try to make projector and DebugLevel(2) to print into console instead of message window. Open console, run projector. May be you will see which command produce problem 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 ckirchho at directmedia.de Wed Apr 7 17:34:06 2004 From: ckirchho at directmedia.de (Christian Kirchhoff) Date: Wed Apr 7 10:34:16 2004 Subject: AW: AW: AW: [V4MD]: Mac OSX error -61 in projector In-Reply-To: Message-ID: <0404071734106700@mail.directmedia.de> Hello Ruslan, what is the difference between reading Valentina's Debug Messages out of the message window and reading them out of the console? I already made a projector with DebugLevel(2). That is the one that showed me that OpenDatabase() is returning the error -61. So could there be a difference when I start this projector without the message window, but with the console window? I am not familiar with the Mac console. If I open it and run the projector, there is nothing written into the console window!? Regards, Christian Kirchhoff -----Urspr?ngliche Nachricht----- Von: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Im Auftrag von Ruslan Zasukhin Gesendet: Mittwoch, 7. April 2004 17:15 An: valentina@lists.macserve.net Betreff: Re: AW: AW: [V4MD]: Mac OSX error -61 in projector On 4/7/04 5:59 PM, "Christian Kirchhoff" wrote: > Hello Ruslan, > > yes, in that case the file is on CD. But - as I wrote before: > 1. The former project that was very similar, only that the database is a > little different, works fine on Mac, even when started from CD-ROM You can have just ONE command which try WRITE to break it and get -61. May be try to make projector and DebugLevel(2) to print into console instead of message window. Open console, run projector. May be you will see which command produce problem 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 From sunshine at public.kherson.ua Wed Apr 7 18:41:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 7 10:45:49 2004 Subject: AW: AW: AW: [V4MD]: Mac OSX error -61 in projector In-Reply-To: <0404071734106700@mail.directmedia.de> Message-ID: On 4/7/04 6:34 PM, "Christian Kirchhoff" wrote: Hi Christian, > what is the difference between reading Valentina's Debug Messages out of the > message window and reading them out of the console? As I know projector do not have message window, yes? > I already made a projector with DebugLevel(2). That is the one that showed > me that OpenDatabase() is returning the error -61. So could there be a > difference when I start this projector without the message window, but with > the console window? No. So projector have message window? Then no problems. So its db.Open() cause problems? Strange. May be you have not all indexes? Or even don't know. Try to make simple example project and run it from CD. Does it work? > I am not familiar with the Mac console. If I open it and run the projector, > there is nothing written into the console window!? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Wed Apr 7 10:44:39 2004 From: zavpublic at mac.com (zavpublic@mac.com) Date: Wed Apr 7 12:44:47 2004 Subject: AW: AW: AW: [V4MD]: Mac OSX error -61 in projector In-Reply-To: References: Message-ID: <3E586BB6-88BB-11D8-A386-000393CFECE6@mac.com> On Apr 7, 2004, at 8:41 AM, Ruslan Zasukhin wrote: > On 4/7/04 6:34 PM, "Christian Kirchhoff" > wrote: > > > Hi Christian, > >> what is the difference between reading Valentina's Debug Messages out >> of the >> message window and reading them out of the console? > > As I know projector do not have message window, yes? No. In the projector.ini, you can turn in the message window. messagewindow = 1 The projector.ini must be the same name as the projector. or from lingo the debugplaybackenabled = 1 This changed in one Director release. So I forget the exact syntax at the moment. From sunshine at public.kherson.ua Wed Apr 7 21:55:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 7 13:56:50 2004 Subject: AW: AW: AW: [V4MD]: Mac OSX error -61 in projector In-Reply-To: <3E586BB6-88BB-11D8-A386-000393CFECE6@mac.com> Message-ID: On 4/7/04 8:44 PM, "zavpublic@mac.com" wrote: > > On Apr 7, 2004, at 8:41 AM, Ruslan Zasukhin wrote: > >> On 4/7/04 6:34 PM, "Christian Kirchhoff" >> wrote: >> >> >> Hi Christian, >> >>> what is the difference between reading Valentina's Debug Messages out >>> of the >>> message window and reading them out of the console? >> >> As I know projector do not have message window, yes? > > No. In the projector.ini, you can turn in the message window. > > messagewindow = 1 > > The projector.ini must be the same name as the projector. > > or from lingo > > the debugplaybackenabled = 1 > > This changed in one Director release. So I forget the exact syntax at > the moment. I see. BTW, just for info of all. Developer may prefer to use separate console application to Message window, IF he get crashes. Really if Director crashes then you cannot watch its window. Although I did not hear about Director crashes far ago. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From timdavis at amug.org Wed Apr 7 14:26:06 2004 From: timdavis at amug.org (Tim Davis) Date: Wed Apr 7 16:42:14 2004 Subject: clearing record locks Message-ID: <2DD54D6A-88DA-11D8-A5FD-000A95D87648@amug.org> Ruslan, I have not knowingly created any cursors with record locking, but apparently something is holding certain records in my system. The only way I found to get past them is to kick all the users off the server and restart. How do we clear a record lock that doesn't need to be? How can we review existing record locks on the server? Thanks, Tim Davis From aaronbratcher at abdatatools.com Wed Apr 7 20:14:59 2004 From: aaronbratcher at abdatatools.com (Aaron Bratcher) Date: Wed Apr 7 19:15:10 2004 Subject: How do you handle YOUR encodings? Message-ID: Writing data to a database, how route do you use to determine the encodings? 1) I don't. My programming environment doesn't support encoding. 2) My programming environment handles it automatically. 3) I always make sure all data has the same encoding before it goes into the DB 4) Depending on the field, I may encode it in different ways. -- Aaron Bratcher ab DataTools http://www.abDataTools.com From sunshine at public.kherson.ua Thu Apr 8 08:41:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 8 00:41:26 2004 Subject: clearing record locks In-Reply-To: <2DD54D6A-88DA-11D8-A5FD-000A95D87648@amug.org> Message-ID: On 4/8/04 12:26 AM, "Tim Davis" wrote: Hi Tim, > I have not knowingly created any cursors with record locking, but > apparently something is holding certain records in my system. I think this can be JOINS, or UPDATE WHERE, DELETE WHERE, I.e. Commands which create own cursors. > The only > way I found to get past them is to kick all the users off the server > and restart. How do we clear a record lock that doesn't need to be? How > can we review existing record locks on the server? No way for now do what you ask. Can you try reproduce this? At least understand how this happens? Or this is very rare case? Also I wonder, you have many users and you do not use locks? I think this is not very correct. Can produce logical mistakes as "lost modification" -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Apr 8 09:21:14 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Apr 8 02:22:53 2004 Subject: clearing record locks In-Reply-To: References: Message-ID: > > The only >> way I found to get past them is to kick all the users off the server >> and restart. How do we clear a record lock that doesn't need to be? How >> can we review existing record locks on the server? > >No way for now do what you ask. Such a functionality is not needed for desktop (local) usage, but it is something to consider for the server. I mean being able to find out the locks and clear them on user by user basis (or all at once). Disconnecting affected users will probably be appropriate but may be just reporting cursor timeouts will do. You may also want to support a warm restart of the server -- restart without having to relaunch. Since servers are often operated remotely, having to physically restart it should be the last resort IMHO. Robert From ernestogiannotta at tiscalinet.it Thu Apr 8 09:45:40 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Thu Apr 8 02:46:30 2004 Subject: How do you handle YOUR encodings? In-Reply-To: Message-ID: on 8-04-2004 2:14, Aaron Bratcher at aaronbratcher@abdatatools.com wrote: > Writing data to a database, how route do you use to determine the > encodings? > > 1) I don't. My programming environment doesn't support encoding. > 2) My programming environment handles it automatically. > 3) I always make sure all data has the same encoding before it goes > into the DB > 4) Depending on the field, I may encode it in different ways. > right now option 3 is my choice using V4RB I've also a wrapper uVfield class that I use to set/get unicode savvy text to/from vFields Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From rblists at carsten-friehe.de Thu Apr 8 10:24:01 2004 From: rblists at carsten-friehe.de (=?iso-8859-1?Q?Carsten_Friehe?=) Date: Thu Apr 8 03:26:07 2004 Subject: How do you handle YOUR encodings? Message-ID: <26883301$108141249240750b8c857736.72095690@config14.schlund.de> Hi! > right now option 3 is my choice using V4RB Yes, I am doing the same. > I've also a wrapper uVfield class that I use to set/get unicode savvy text > to/from vFields That is a good idea! How do you handle searching inside the database? Or do you never search anything? Carsten From ernestogiannotta at tiscalinet.it Thu Apr 8 12:14:01 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Thu Apr 8 05:14:52 2004 Subject: How do you handle YOUR encodings? In-Reply-To: <26883301$108141249240750b8c857736.72095690@config14.schlund.de> Message-ID: Hi Carsten, on 8-04-2004 10:24, Carsten Friehe at rblists@carsten-friehe.de wrote: >> I've also a wrapper uVfield class that I use to set/get unicode savvy text >> to/from vFields > > That is a good idea! > > How do you handle searching inside the database? Or do you never search > anything? > of course I do searches! (what's a database is for otherwise :?) I use UTF8 so I don't have the hassle of null bytes and pass the UTF8 string to the query as usual of course Vale will deal with it as a bunch of bytes but, since that's what it's stored into it, she seems to have no problems with that Also sort is acceptably correct (at least with latin languages, don't have a clue of what's the expected sort of a chinese or arabic language) Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From rblists at carsten-friehe.de Thu Apr 8 12:58:01 2004 From: rblists at carsten-friehe.de (=?iso-8859-1?Q?Carsten_Friehe?=) Date: Thu Apr 8 06:00:11 2004 Subject: How do you handle YOUR encodings? Message-ID: <26883301$108142171540752f9331ba39.25076553@config18.schlund.de> Hi Erne! > of course I do searches! (what's a database is for otherwise :?) :-) > I use UTF8 so I don't have the hassle of null bytes > and pass the UTF8 string to the query as usual That's what I am doing also. > of course Vale will deal with it as a bunch of bytes > but, since that's what it's stored into it, > she seems to have no problems with that That is what I also find out. :-) > Also sort is acceptably correct > (at least with latin languages, I didn't looked at this. All fields I did ordering with don't have other characters as ASCII. > don't have a clue of what's the expected > sort of a chinese or arabic language) I don't know this too. Thanks for your answers! Carsten From jda at his.com Thu Apr 8 07:22:20 2004 From: jda at his.com (jda) Date: Thu Apr 8 06:22:27 2004 Subject: How do you handle YOUR encodings? In-Reply-To: <26883301$108142171540752f9331ba39.25076553@config18.schlund.de> References: <26883301$108142171540752f9331ba39.25076553@config18.schlund.de> Message-ID: > > of course Vale will deal with it as a bunch of bytes >> but, since that's what it's stored into it, >> she seems to have no problems with that > >That is what I also find out. :-) Yes. But indexed searches don't work. And I don't think case-insensitive searches will reliably work in other languages (like Greek) using the UPPER or LOWER in a method trick because Valentina 1.x doesn't know how to deal with UTF-8 letters that don't fall in the ASCII range. > >> Also sort is acceptably correct >> (at least with latin languages, > >I didn't looked at this. All fields I did ordering with don't have other >characters as ASCII. UTF-8 sorts won't reliably work for non-Roman languages, either (and perhaps will give odd results for some accented Roman characters as well). These are among the reasons that the upcoming Unicode support in Valentina 2.x will be so welcome. Jon From fvanlerberghe at freegates.be Thu Apr 8 13:32:21 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Thu Apr 8 06:32:28 2004 Subject: How do you handle YOUR encodings? In-Reply-To: Message-ID: le 8/04/04 2:14, Aaron Bratcher a ?crit?: > Writing data to a database, how route do you use to determine the > encodings? > > 1) I don't. My programming environment doesn't support encoding. > 2) My programming environment handles it automatically. > 3) I always make sure all data has the same encoding before it goes > into the DB > 4) Depending on the field, I may encode it in different ways. I'm not sure if it's the 1 or 2 since I use V4RB with RB 3.5 and this RB version seems to use the system default encoding (MacRoman on MacOS platform and WindowsLatin1 (?) on Win32), but Valentina handle the encoding itself because I can write data in one OS and read it in another OS without problem. Thus, I don't handle the encoding myself. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From softil at onlinehome.de Thu Apr 8 14:57:01 2004 From: softil at onlinehome.de (SoftIl) Date: Thu Apr 8 07:57:46 2004 Subject: [VNET] unaccurate exception from db.open methode References: <001101c41a30$9db984f0$fe78a8c0@IPSBASIS> Message-ID: <000b01c41d69$1273b140$fe78a8c0@IPSBASIS> Hi Ruslan, if I try to open an database I get inaccurate exception return in case of the db isn't available. Could be the db doesn't exist or the db is in use by an other programm, for example. In every case I get always the same exception "VNET.VException" with an empty exception message string return. That isn't really good. It is impossible to find out for me, why I couldn't open the db. Please can you change this? Best regards, Carsten From ckirchho at directmedia.de Thu Apr 8 15:09:22 2004 From: ckirchho at directmedia.de (Christian Kirchhoff) Date: Thu Apr 8 08:09:33 2004 Subject: AW: AW: AW: AW: [V4MD]: Mac OSX error -61 in projector In-Reply-To: Message-ID: <04040815092613700@mail.directmedia.de> Hello, regarding the message window in a projector: I didn't know about the projector.ini file. I only know that you can place a lingo.ini file in the projector's folder. The handlers in this file are accessible as movie scripts. So if you place the following in the file: on startMovie the debugPlaybackEnabled = true end the projector will open a message window. Regarding the database problem: As I wrote before I use to open the database (create on a windows computer) on the Mac, do some ordered sql searches in order to force the index to be updated, and burn those databases for the Mac on the cd-rom. It worked for me in previous projects. What I did now was before I opened the database inside Director, I deleted the index file. Thus I forced Valentina to build a completely new index file from scratch. I burned this database in the cd-rom, and now opening the database from cd-rom works. Thanks for all your help. Regards, Christian Kirchhoff -----Urspr?ngliche Nachricht----- Von: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Im Auftrag von Ruslan Zasukhin Gesendet: Mittwoch, 7. April 2004 20:56 An: valentina@lists.macserve.net Betreff: Re: AW: AW: AW: [V4MD]: Mac OSX error -61 in projector On 4/7/04 8:44 PM, "zavpublic@mac.com" wrote: > > On Apr 7, 2004, at 8:41 AM, Ruslan Zasukhin wrote: > >> On 4/7/04 6:34 PM, "Christian Kirchhoff" >> wrote: >> >> >> Hi Christian, >> >>> what is the difference between reading Valentina's Debug Messages out >>> of the >>> message window and reading them out of the console? >> >> As I know projector do not have message window, yes? > > No. In the projector.ini, you can turn in the message window. > > messagewindow = 1 > > The projector.ini must be the same name as the projector. > > or from lingo > > the debugplaybackenabled = 1 > > This changed in one Director release. So I forget the exact syntax at > the moment. I see. BTW, just for info of all. Developer may prefer to use separate console application to Message window, IF he get crashes. Really if Director crashes then you cannot watch its window. Although I did not hear about Director crashes far ago. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: 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 Apr 8 17:42:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 8 09:51:03 2004 Subject: [VNET] unaccurate exception from db.open methode In-Reply-To: <000b01c41d69$1273b140$fe78a8c0@IPSBASIS> Message-ID: On 4/8/04 3:57 PM, "SoftIl" wrote: > Hi Ruslan, > if I try to open an database I get inaccurate exception return in case of > the db isn't available. > Could be the db doesn't exist or the db is in use by an other programm, for > example. > In every case I get always the same exception "VNET.VException" with an > empty exception message string return. > That isn't really good. > It is impossible to find out for me, why I couldn't open the db. > > Please can you change this? Yes, Carsten, Can you make for me small project or modify our examples to see this? This speed up. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Apr 8 18:02:56 2004 From: ernestogiannotta at tiscalinet.it (erne) Date: Thu Apr 8 11:03:47 2004 Subject: How do you handle YOUR encodings? In-Reply-To: Message-ID: on 8-04-2004 13:22, jda at jda@his.com wrote: >>> of course Vale will deal with it as a bunch of bytes >>> but, since that's what it's stored into it, >>> she seems to have no problems with that >> >> That is what I also find out. :-) > > Yes. But indexed searches don't work. And I don't think > case-insensitive searches will reliably work in other languages (like > Greek) using the UPPER or LOWER in a method trick because Valentina > 1.x doesn't know how to deal with UTF-8 letters that don't fall in > the ASCII range. > why should not work? I'm sure case-insensitive search in Upper methods works fine and see no reason why indexed search should fail I'll check this ASAP, thoguh >> >>> Also sort is acceptably correct >>> (at least with latin languages, >> >> I didn't looked at this. All fields I did ordering with don't have other >> characters as ASCII. > > UTF-8 sorts won't reliably work for non-Roman languages, either (and > perhaps will give odd results for some accented Roman characters as > well). > yep! acceptable but *NOT* reliable :^) > These are among the reasons that the upcoming Unicode support in > Valentina 2.x will be so welcome. > indeed so! Cool Runnings, Erne. -- | e r | Ernesto Giannotta | n e | Musical Box - a media store From yeomans at desuetude.com Thu Apr 8 12:07:17 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Apr 8 11:07:24 2004 Subject: How do you handle YOUR encodings? In-Reply-To: References: Message-ID: On Apr 7, 2004, at 8:14 PM, Aaron Bratcher wrote: > Writing data to a database, how route do you use to determine the > encodings? > > 1) I don't. My programming environment doesn't support encoding. > 2) My programming environment handles it automatically. > 3) I always make sure all data has the same encoding before it goes > into the DB I use 3. -------------- Charles Yeomans From jda at his.com Thu Apr 8 12:14:12 2004 From: jda at his.com (jda) Date: Thu Apr 8 11:14:20 2004 Subject: How do you handle YOUR encodings? In-Reply-To: References: Message-ID: > > > >> Yes. But indexed searches don't work. And I don't think >> case-insensitive searches will reliably work in other languages (like >> Greek) using the UPPER or LOWER in a method trick because Valentina >> 1.x doesn't know how to deal with UTF-8 letters that don't fall in >> the ASCII range. >> > >why should not work? >I'm sure case-insensitive search in Upper methods works fine >and see no reason why indexed search should fail >I'll check this ASAP, thoguh Well, for one thing "end of word" delimiters used to create the index won't work properly (because if Valentina assumes you're using, say, a Roman character set it will be fooled by codepoint values that aren't in the ASCII range). Jon From fci at europa.com Thu Apr 8 09:53:18 2004 From: fci at europa.com (Lynn Fredricks) Date: Thu Apr 8 11:53:41 2004 Subject: Valentina Studio Administrator 1.0 alpha available for sale Message-ID: <008001c41d8a$04edc440$0100000a@LYNNP42G> Hello All, Since there have been many requests to be able to purchase the alpha version of Valentina Studio Administrator 1.0, we've made it possible for you to buy it now from our partner in Germany. Although the product is still in alpha, it now has serialization. If you've been itching to buy, please see below: The URL for international orders is: http://www.valentina-db.de/en/bestellen.html The URL for orders from Germany is http://www.valentina-db.de/de/bestellen.html The URL for upgrades from VAPP is http://www.valentina-db.de/en/upgrade.html Notes concerning upgrades: A valid VAPP serial must specified in the form. After that a URL is send to the specified email adress. This URL points to a order form with the reduced upgrade price. I want to reiterate that this is still pre-release software and I don't recommend working with data unless you have a backup. Best regards, Lynn Fredricks President Proactive International, LLC http://www.proactive-intl.com From spinel at exenevex.com Thu Apr 8 19:01:56 2004 From: spinel at exenevex.com (Stephane Pinel) Date: Thu Apr 8 12:04:34 2004 Subject: Valentina Studio Administrator 1.0 alpha available for sale In-Reply-To: <008001c41d8a$04edc440$0100000a@LYNNP42G> References: <008001c41d8a$04edc440$0100000a@LYNNP42G> Message-ID: <712D0625-897E-11D8-ABC0-0003939022AA@exenevex.com> Le 8 avr. 04, ? 18:53, Lynn Fredricks a ?crit : > Since there have been many requests to be able to purchase the alpha > version > of Valentina Studio Administrator 1.0, we've made it possible for you > to buy > it now from our partner in Germany. Although the product is still in > alpha, > it now has serialization. > > If you've been itching to buy, please see below: > > The URL for international orders is: > http://www.valentina-db.de/en/bestellen.html > > The URL for orders from Germany is > http://www.valentina-db.de/de/bestellen.html > Is there a couple of screenshots to figure it out ? Thanks. St?phane From fci at europa.com Thu Apr 8 10:31:16 2004 From: fci at europa.com (Lynn Fredricks) Date: Thu Apr 8 12:31:38 2004 Subject: Valentina Studio Administrator 1.0 alpha available for sale In-Reply-To: <712D0625-897E-11D8-ABC0-0003939022AA@exenevex.com> Message-ID: <00bc01c41d8f$5007e500$0100000a@LYNNP42G> > > If you've been itching to buy, please see below: > > > > The URL for international orders is: > > http://www.valentina-db.de/en/bestellen.html > > > > The URL for orders from Germany is > > http://www.valentina-db.de/de/bestellen.html > > > > Is there a couple of screenshots to figure it out ? Screenshots of the product? Just download it and try before you buy. It times out after 10 minutes in demo mode. Best regards, Lynn Fredricks President Proactive International, LLC http://www.proactive-intl.com From yeomans at desuetude.com Thu Apr 8 16:06:58 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Apr 8 15:07:05 2004 Subject: Valentina Studio Administrator 1.0 alpha available for sale In-Reply-To: <008001c41d8a$04edc440$0100000a@LYNNP42G> References: <008001c41d8a$04edc440$0100000a@LYNNP42G> Message-ID: <4A5BB0EC-8998-11D8-9129-003065BB0634@desuetude.com> The UI on this is pretty grim. Charles Yeomans From sunshine at public.kherson.ua Thu Apr 8 23:12:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 8 15:13:32 2004 Subject: Valentina Studio Administrator 1.0 alpha available for sale In-Reply-To: <4A5BB0EC-8998-11D8-9129-003065BB0634@desuetude.com> Message-ID: On 4/8/04 11:06 PM, "Charles Yeomans" wrote: > The UI on this is pretty grim. Then tell on Valentina studio list how to improve 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 yeomans at desuetude.com Thu Apr 8 16:17:48 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Apr 8 15:17:52 2004 Subject: Valentina Studio Administrator 1.0 alpha available for sale In-Reply-To: References: Message-ID: On Apr 8, 2004, at 4:12 PM, Ruslan Zasukhin wrote: > On 4/8/04 11:06 PM, "Charles Yeomans" wrote: > >> The UI on this is pretty grim. > > Then tell on Valentina studio list how to improve it :-) Start over in REALbasic :) What is the subscription address? -------------- Charles Yeomans From softil at onlinehome.de Thu Apr 8 22:34:06 2004 From: softil at onlinehome.de (SoftIl) Date: Thu Apr 8 15:39:48 2004 Subject: [VNET] unaccurate exception from db.open methode References: Message-ID: <007101c41da9$9c8d4900$fe78a8c0@IPSBASIS> Hi Ruslan, > Can you make for me small project or modify our examples to see this? > This speed up. Ok, no problem. I will do that about Easter. Best regards and cheerful Easter Carsten ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Thursday, April 08, 2004 4:42 PM Subject: Re: [VNET] unaccurate exception from db.open methode > On 4/8/04 3:57 PM, "SoftIl" wrote: > > > Hi Ruslan, > > if I try to open an database I get inaccurate exception return in case of > > the db isn't available. > > Could be the db doesn't exist or the db is in use by an other programm, for > > example. > > In every case I get always the same exception "VNET.VException" with an > > empty exception message string return. > > That isn't really good. > > It is impossible to find out for me, why I couldn't open the db. > > > > Please can you change this? > > Yes, Carsten, > > Can you make for me small project or modify our examples to see this? > This speed up. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 fci at europa.com Thu Apr 8 13:44:15 2004 From: fci at europa.com (Lynn Fredricks) Date: Thu Apr 8 15:44:45 2004 Subject: Valentina Studio Administrator 1.0 alpha available for sale In-Reply-To: Message-ID: <00f401c41daa$4bf798a0$0100000a@LYNNP42G> > > On 4/8/04 11:06 PM, "Charles Yeomans" wrote: > > > >> The UI on this is pretty grim. > > > > Then tell on Valentina studio list how to improve it :-) > > > Start over in REALbasic :) Its still in alpha, but I agree, the UI needs work. It uses wxWidgets, which is a cross platform framework. I don't think its realistic to start over in RB. When work began on it, a Windows version of RB and Linux compiler werent available. Best regards, Lynn Fredricks President Proactive International, LLC http://www.proactive-intl.com From sunshine at public.kherson.ua Fri Apr 9 04:43:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 8 20:43:47 2004 Subject: Valentina Studio Administrator 1.0 alpha available for sale In-Reply-To: <00f401c41daa$4bf798a0$0100000a@LYNNP42G> Message-ID: On 4/8/04 11:44 PM, "Lynn Fredricks" wrote: >>> On 4/8/04 11:06 PM, "Charles Yeomans" wrote: >>> >>>> The UI on this is pretty grim. >>> >>> Then tell on Valentina studio list how to improve it :-) >> >> >> Start over in REALbasic :) > > Its still in alpha, but I agree, the UI needs work. It uses wxWidgets, which > is a cross platform framework. I don't think its realistic to start over in > RB. When work began on it, a Windows version of RB and Linux compiler werent > available. Actually Jochen and me have consider REALbasic and Java and other tools. We have decide not use REALbasic, because for development of COMPLEX projects which is going to be Valentina Studio using of THIRD PARTY RAD TOOLS is danger choice. In case you get into show stopper bug of RB you will wait for months for bug fix. In C++ you always can do self any task. Also I hard image how in RB is possible to make own ala-COM plugin system. As well as many other tasks. For example Jochen right now is able mix in VS both client and local C++ SDKs. We cannot do this yet in REALbasic plugins. C++ is best of all. :-)) Important to note, that wxWindows guys promise soon finish wxWindows for Cocoa, then look of Valentina Studio on OS X will be much better. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Apr 9 04:44:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 8 20:44:08 2004 Subject: Valentina Studio Administrator 1.0 alpha available for sale In-Reply-To: Message-ID: On 4/8/04 11:17 PM, "Charles Yeomans" wrote: > > On Apr 8, 2004, at 4:12 PM, Ruslan Zasukhin wrote: > >> On 4/8/04 11:06 PM, "Charles Yeomans" wrote: >> >>> The UI on this is pretty grim. >> >> Then tell on Valentina studio list how to improve it :-) > > > Start over in REALbasic :) > > What is the subscription address? http://lists.macserve.net/mailman/listinfo/valentina-studio -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From delong at redcort.com Fri Apr 9 12:09:16 2004 From: delong at redcort.com (Keith DeLong) Date: Fri Apr 9 14:09:40 2004 Subject: Can I change a field's ObjectPtr target BaseObject without losing the field values? Message-ID: In an existing V4RB database, I have a number of ObjectPtr fields that point to a table. I need to point all these to a different table in an upcoming release. I populate the new table using a record order identical to the old one (thus preserving the recID). When I next change the target baseobject on the ObjectPtr fields to point to the new table, the existing ObjectPtr field values are all set to 0. This destroys all my table relationships. Is there a workaround to this behavior? Do I have to export each table's ObjectPtr field values and then reimport them into the field after changing the its target baseobject? Any other ideas? I have a pretty good size customer base with up many years worth of data so this has to be accomplished programmatically from within REALbasic. Thanks, Keith DeLong From sunshine at public.kherson.ua Sat Apr 10 09:30:06 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 10 01:30:21 2004 Subject: Can I change a field's ObjectPtr target BaseObject without losing the field values? In-Reply-To: Message-ID: On 4/9/04 10:09 PM, "Keith DeLong" wrote: Hi Keith, > In an existing V4RB database, I have a number of ObjectPtr fields that > point to a table. I need to point all these to a different table in an > upcoming release. > > I populate the new table using a record order identical to the old one (thus > preserving the recID). Here can be mistake! You talk probably about logical order. But RecID this is physical number of records, So if you have at least one deleted record, you cannot reproduce the same order. > When I next change the target baseobject on the > ObjectPtr fields to point to the new table, the existing ObjectPtr field > values are all set to 0. This destroys all my table relationships. > > Is there a workaround to this behavior? Do I have to export each table's > ObjectPtr field values and then reimport them into the field after changing > the its target baseobject? Any other ideas? 1) you can try change type ObjectPtr to ULONG, then back to ObjectPtr. although I could insert protection here also, which zero old values. 2) another way: in old tables you add RDB PTR field and RDB KEY fields, make iteration to link PTR to KEY using ObjectPtr values. kill old ObjectPtr and make new ObjectPtr to other table Other table can repeat KEYs of old table use Convert RDB to ObjectPtr command remove PTR and KEY fields. Not easy, yes? > I have a pretty good size customer base with up many years worth of data so > this has to be accomplished programmatically from within REALbasic. I see. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave.addey at dsl.pipex.com Sun Apr 11 14:29:22 2004 From: dave.addey at dsl.pipex.com (Dave Addey) Date: Sun Apr 11 08:29:30 2004 Subject: VarChar vs String In-Reply-To: Message-ID: Cool - Thanks, Ruslan! Dave. > From: Ruslan Zasukhin > Reply-To: Valentina Developers > Date: Wed, 07 Apr 2004 00:16:50 +0300 > To: > Subject: Re: VarChar vs String > > On 4/6/04 11:37 PM, "Dave Addey" wrote: > >> Hi all, >> >> Quick question: which is quicker (in V4RB 1.x) - VVarChar, or VString? Or >> is there no difference? > > Usually 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 > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From cm_sheffield at yahoo.com Tue Apr 13 07:39:11 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Apr 13 09:39:20 2004 Subject: customized Valentina Server installation Message-ID: <20040413143911.52584.qmail@web20420.mail.yahoo.com> I'm trying to put together a customized installation for my users. The directions in VServer.pdf state that for Mac OS X, it is necessary to restart the computer after installing the necessary items. Is this really the case? Can't you just start the service with a shell command of some kind? I'm using Revolution and my installer will most likely be done with Revolution. So if I can just issue a shell or open process command, that'd be great. Not sure how happy most people are going to be about having to restart their server. Thanks, Chris Sheffield Read Naturally ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From sunshine at public.kherson.ua Tue Apr 13 21:38:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 13 13:39:27 2004 Subject: customized Valentina Server installation In-Reply-To: <20040413143911.52584.qmail@web20420.mail.yahoo.com> Message-ID: On 4/13/04 5:39 PM, "Chris Sheffield" wrote: Hi Chris, > I'm trying to put together a customized installation > for my users. The directions in VServer.pdf state > that for Mac OS X, it is necessary to restart the > computer after installing the necessary items. Is > this really the case? Can't you just start the > service with a shell command of some kind? As far as I know -- NO. It is possible start Vserver in terminal, But this is not what your users need. It needs of course to study more this issue. > I'm using Revolution and my installer will most likely > be done with Revolution. So if I can just issue a > shell or open process command, that'd be great. Not > sure how happy most people are going to be about > having to restart their server. In /Library/Startup Items You can find shell script of Vserver, which OS X use to start it During restart. May be you will find way how to start it from shell. I don't know for now ------------------------------------ #!/bin/sh ## # Start Valentina Server ## . /etc/rc.common ConsoleMessage "Starting Valentina Server" /Library/ValentinaServer/ValentinaServer <<<<<<<<<<< this is start ------------------------------------ -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Tue Apr 13 12:55:10 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Apr 13 14:55:17 2004 Subject: customized Valentina Server installation In-Reply-To: Message-ID: <20040413195510.78113.qmail@web20413.mail.yahoo.com> Thanks, Ruslan. I'll just give it a try and see if it works. --- Ruslan Zasukhin wrote: > On 4/13/04 5:39 PM, "Chris Sheffield" > wrote: > > Hi Chris, > > > I'm trying to put together a customized > installation > > for my users. The directions in VServer.pdf state > > that for Mac OS X, it is necessary to restart the > > computer after installing the necessary items. Is > > this really the case? Can't you just start the > > service with a shell command of some kind? > > As far as I know -- NO. > > It is possible start Vserver in terminal, > But this is not what your users need. > > It needs of course to study more this issue. > > > > I'm using Revolution and my installer will most > likely > > be done with Revolution. So if I can just issue a > > shell or open process command, that'd be great. > Not > > sure how happy most people are going to be about > > having to restart their server. > > In /Library/Startup Items > > You can find shell script of Vserver, which OS X use > to start it > During restart. > > May be you will find way how to start it from shell. > I don't know for now > > > ------------------------------------ > #!/bin/sh > > ## > # Start Valentina Server > ## > > . /etc/rc.common > > ConsoleMessage "Starting Valentina Server" > > /Library/ValentinaServer/ValentinaServer > <<<<<<<<<<< this is start > ------------------------------------ > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: 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! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html From sunshine at public.kherson.ua Tue Apr 13 23:00:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 13 15:01:15 2004 Subject: customized Valentina Server installation In-Reply-To: <20040413195510.78113.qmail@web20413.mail.yahoo.com> Message-ID: On 4/13/04 10:55 PM, "Chris Sheffield" wrote: > Thanks, Ruslan. I'll just give it a try and see if it > works. But that script already is on your computer! It is installed by VServer -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kristafer at comcast.net Tue Apr 13 16:06:15 2004 From: kristafer at comcast.net (Kristafer Vale) Date: Tue Apr 13 15:06:45 2004 Subject: Anyone know why this works fine on a PC but causes director to crash on the Macintosh side? Message-ID: <000001c42192$cb944450$0200a8c0@winter> Here's a function that utilizes Valentina in Director MX 2004 that on the PC this works no problem but on the mac it crashes not only the script but Director itself. Debbuging I've been able to narrow it down to right when the RecCount is about to be set, but it crashes before I can see what is going on. Anyone see anything with this function that would be harmful to macintoshes? on reOrderTheSlides global gMyLessonDB, gCurrentSlideShowID set query = "select SlideOrder from slides WHERE slideShowID like '\A"&gCurrentSlideShowID&"\Z' order by SlideOrder" set mySlidesCursor = new(xtra "VCursor", getRef(gMyLessonDB), query, 2,3,2) set RecCount = GetRecordCount(mySlidesCursor) set FieldCount = getFieldCount(mySlidesCursor) FirstRecord(mySlidesCursor) repeat with i = 1 to RecCount newSlideOrder = i if newSlideOrder <> 0 then if newSlideOrder <= 9 then newSlideOrder = "00"&string(integer(newSlideOrder)) else if newSlideOrder <=99 then newSlideOrder = "0"&string(integer(newSlideOrder)) else newSlideOrder = string(integer(newSlideOrder)) end if else newSlideOrder = "001" end if put "Formatted NewSlideOrder is:"&&newSlideOrder UpdateRecord(mySlidesCursor, [#SlideOrder:newSlideOrder]) nextRecord(mySlidesCursor) end repeat mySlidesCursor = [] end thx in advance. Kris Kristafer S. Vale VK-iNTERACTiVE 6011 Medici CT #301 Sarasota, FL 34243 407-924-3025 From sunshine at public.kherson.ua Tue Apr 13 23:17:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 13 15:19:06 2004 Subject: Anyone know why this works fine on a PC but causes director to crash on the Macintosh side? In-Reply-To: <000001c42192$cb944450$0200a8c0@winter> Message-ID: On 4/13/04 11:06 PM, "Kristafer Vale" wrote: Hi Kristafer, > Here's a function that utilizes Valentina in Director MX 2004 that on the PC > this works no problem but on the mac it crashes not only the script but > Director itself. Debbuging I've been able to narrow it down to right when > the RecCount is about to be set, but it crashes before I can see what is > going on. Anyone see anything with this function that would be harmful to > macintoshes? > > on reOrderTheSlides > global gMyLessonDB, gCurrentSlideShowID > set query = "select SlideOrder from slides WHERE slideShowID like > '\A"&gCurrentSlideShowID&"\Z' order by SlideOrder" > set mySlidesCursor = new(xtra "VCursor", getRef(gMyLessonDB), query, 2,3,2) > set RecCount = GetRecordCount(mySlidesCursor) I think that if you set break point and stop just before GetRecordCount() Then you will see that mySlidesCursor contains not normal value. E.g. Some big negative integer value. This means that cursor was not created. You should always check Valentina Error after cursor creation. I think you will find some error code that Valentina have return you. > set FieldCount = getFieldCount(mySlidesCursor) > FirstRecord(mySlidesCursor) > repeat with i = 1 to RecCount > newSlideOrder = i > if newSlideOrder <> 0 then > if newSlideOrder <= 9 then > newSlideOrder = "00"&string(integer(newSlideOrder)) > else if newSlideOrder <=99 then > newSlideOrder = "0"&string(integer(newSlideOrder)) > else > newSlideOrder = string(integer(newSlideOrder)) > end if > else > newSlideOrder = "001" > end if > put "Formatted NewSlideOrder is:"&&newSlideOrder > UpdateRecord(mySlidesCursor, [#SlideOrder:newSlideOrder]) > nextRecord(mySlidesCursor) > end repeat > mySlidesCursor = [] > 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 kristafer at comcast.net Tue Apr 13 17:24:11 2004 From: kristafer at comcast.net (Kristafer Vale) Date: Tue Apr 13 16:24:26 2004 Subject: Anyone know why this works fine on a PC but causes directorto crash on the Macintosh side? In-Reply-To: Message-ID: <000001c4219d$a9e7cf60$0200a8c0@winter> Hi Ruslan, After following your advice I have been able to capture the error number just before it crashes Director in OSX. The error codes is 363 but I can't find a reference to it in any of the Valentina PDF's. It happens after the line: Set mySlidesCursor = new(xtra "VCursor", getRef(gMyLessonDB), query, 2, 3, 2) I still can't figure out why this only happens in the MacOSX version of my application the very same code works fine on the PC. Any insight into what error code 363 is? Or any other thing that might help me out? Thx in advance. 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: Tuesday, April 13, 2004 4:18 PM To: valentina@lists.macserve.net Subject: Re: Anyone know why this works fine on a PC but causes directorto crash on the Macintosh side? On 4/13/04 11:06 PM, "Kristafer Vale" wrote: Hi Kristafer, > Here's a function that utilizes Valentina in Director MX 2004 that on the PC > this works no problem but on the mac it crashes not only the script but > Director itself. Debbuging I've been able to narrow it down to right when > the RecCount is about to be set, but it crashes before I can see what is > going on. Anyone see anything with this function that would be harmful to > macintoshes? > > on reOrderTheSlides > global gMyLessonDB, gCurrentSlideShowID > set query = "select SlideOrder from slides WHERE slideShowID like > '\A"&gCurrentSlideShowID&"\Z' order by SlideOrder" > set mySlidesCursor = new(xtra "VCursor", getRef(gMyLessonDB), query, 2,3,2) > set RecCount = GetRecordCount(mySlidesCursor) I think that if you set break point and stop just before GetRecordCount() Then you will see that mySlidesCursor contains not normal value. E.g. Some big negative integer value. This means that cursor was not created. You should always check Valentina Error after cursor creation. I think you will find some error code that Valentina have return you. > set FieldCount = getFieldCount(mySlidesCursor) > FirstRecord(mySlidesCursor) > repeat with i = 1 to RecCount > newSlideOrder = i > if newSlideOrder <> 0 then > if newSlideOrder <= 9 then > newSlideOrder = "00"&string(integer(newSlideOrder)) > else if newSlideOrder <=99 then > newSlideOrder = "0"&string(integer(newSlideOrder)) > else > newSlideOrder = string(integer(newSlideOrder)) > end if > else > newSlideOrder = "001" > end if > put "Formatted NewSlideOrder is:"&&newSlideOrder > UpdateRecord(mySlidesCursor, [#SlideOrder:newSlideOrder]) > nextRecord(mySlidesCursor) > end repeat > mySlidesCursor = [] > 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 ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From robert at formworkdesign.com Tue Apr 13 17:27:07 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Tue Apr 13 16:27:25 2004 Subject: vServer - Beta List Message-ID: <50E5D5DA-8D91-11D8-9B8C-000A95B5C3F8@formworkdesign.com> Hi All, I'm about to post a vServer question to this list (!!??!!) I know Ruslan has asked that we keep such talk to the beta list - I tried to subscribe to beta list when he requested this, but had ongoing trouble with confirmation to the beta list server. Did anyone else have this trouble? Is the beta list alive? Thanks. -------------------------------------- Robert Nichols Formwork Design LLC robert@formworkdesign.com From sunshine at public.kherson.ua Wed Apr 14 00:28:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 13 16:29:04 2004 Subject: Anyone know why this works fine on a PC but causes directorto crash on the Macintosh side? In-Reply-To: <000001c4219d$a9e7cf60$0200a8c0@winter> Message-ID: On 4/14/04 12:24 AM, "Kristafer Vale" wrote: Hi Kristafer, > After following your advice I have been able to capture the error number > just before it crashes Director in OSX. The error codes is 363 but I can't > find a reference to it in any of the Valentina PDF's. It happens after the > line: 363 - cannot set record lock. > Set mySlidesCursor = new(xtra "VCursor", getRef(gMyLessonDB), query, 2, 3, > 2) And this fails because one or few records ALREADY are locked. > I still can't figure out why this only happens in the MacOSX version of my > application the very same code works fine on the PC. This is really strange, because logic of LOCKS do not depend on OS > Any insight into what error code 363 is? Or any other thing that might help > me out? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From robert at formworkdesign.com Tue Apr 13 17:33:11 2004 From: robert at formworkdesign.com (Robert Nichols) Date: Tue Apr 13 16:33:20 2004 Subject: [V4RB] vServer cursor.export Message-ID: <2A2918CA-8D92-11D8-9B8C-000A95B5C3F8@formworkdesign.com> Ruslan, I know you have been unable to get cursor.textexport to produce a file on the client machine (V4RB). (I can't even get it to produce a file on the server, when giving a path as parameter). Would it be possible to get a cursor to export that same text into an RB string variable? Anything to reproduce that functionality we had prior to vServer would make a HUGE difference. Thanks. -------------------------------------- Robert Nichols Formwork Design LLC robert@formworkdesign.com From sunshine at public.kherson.ua Wed Apr 14 00:36:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 13 16:36:07 2004 Subject: vServer - Beta List In-Reply-To: <50E5D5DA-8D91-11D8-9B8C-000A95B5C3F8@formworkdesign.com> Message-ID: On 4/14/04 12:27 AM, "Robert Nichols" wrote: > Hi All, > > I'm about to post a vServer question to this list (!!??!!) > > I know Ruslan has asked that we keep such talk to the beta list - I > tried to subscribe to beta list when he requested this, but had ongoing > trouble with confirmation to the beta list server. > > Did anyone else have this trouble? Is the beta list alive? Yes, list is fine. I will check now your subscription -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Apr 14 00:39:13 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 13 16:39:24 2004 Subject: vServer - Beta List In-Reply-To: <50E5D5DA-8D91-11D8-9B8C-000A95B5C3F8@formworkdesign.com> Message-ID: On 4/14/04 12:27 AM, "Robert Nichols" wrote: > Hi All, > > I'm about to post a vServer question to this list (!!??!!) > > I know Ruslan has asked that we keep such talk to the beta list - I > tried to subscribe to beta list when he requested this, but had ongoing > trouble with confirmation to the beta list server. > > Did anyone else have this trouble? Is the beta list alive? Hi Robert, I see that robert@formworkdesign.com is subscribed. What problems you have with that list? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Apr 14 00:42:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 13 16:42:20 2004 Subject: [V4RB] vServer cursor.export In-Reply-To: <2A2918CA-8D92-11D8-9B8C-000A95B5C3F8@formworkdesign.com> Message-ID: On 4/14/04 12:33 AM, "Robert Nichols" wrote: Hi Robert, > I know you have been unable to get cursor.textexport to produce a file > on the client machine (V4RB). (I can't even get it to produce a file on > the server, when giving a path as parameter). I will try tomorrow again fight with POSIX paths. > Would it be possible to get a cursor to export that same text into an > RB string variable? Anything to reproduce that functionality we had > prior to vServer would make a HUGE difference. Such trick we should be able do easy 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 yeomans at desuetude.com Tue Apr 13 18:01:07 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Apr 13 17:01:16 2004 Subject: [V4RB] vServer cursor.export In-Reply-To: <2A2918CA-8D92-11D8-9B8C-000A95B5C3F8@formworkdesign.com> References: <2A2918CA-8D92-11D8-9B8C-000A95B5C3F8@formworkdesign.com> Message-ID: <10C3AC9B-8D96-11D8-AE27-003065BB0634@desuetude.com> On Apr 13, 2004, at 5:33 PM, Robert Nichols wrote: > Ruslan, > > I know you have been unable to get cursor.textexport to produce a file > on the client machine (V4RB). (I can't even get it to produce a file > on the server, when giving a path as parameter). > > Would it be possible to get a cursor to export that same text into an > RB string variable? Anything to reproduce that functionality we had > prior to vServer would make a HUGE difference. > Of course it is trivial to take a VCursor and dump its contents yourself to a tab-delimited file, or an Rb string. In fact, it would be easy to write a subroutine that extends the VCursor class to do this. For example -- Function Dump(Extends c as VCursor, f as FolderItem) dim t as TextOutputStream dim TAB as String dim theRecord as String dim i as Integer //parameter-checking for f omitted t = f.OpenAsTextFile If t Is Nil then //handle as you like Return End if If c.FirstRecord then TAB = Chr(9) Do theRecord = c.Field(1).GetString For i = 2 to c.FieldCount theRecord = TAB + c.Field(i).GetString Next t.WriteLine theRecord Loop Until NOT c.NextRecord End If t = Nil End Function -------------- Charles Yeomans From sunshine at public.kherson.ua Wed Apr 14 09:09:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 14 01:10:03 2004 Subject: cursors In-Reply-To: Message-ID: On 4/14/04 1:29 AM, "mdeh@earthlink.net" wrote: > Name: Michael > > Problem with: V4RB > Type of problem: crash > > Ruslan, > I am curious. Lets say I have 2 windows, each with a cursor pointing to the > same records of a single Table ie cursor.windowA=cursor.WindowB > > Is it legal to use window A's Cursor to do updates of a record, or does this > violate the principle that there should be no ambiguity. ie does window B's > cursor need to be nil first? Hi Michael, IF you use 1.10 version of Valentina then you can control this self by RECORD LOCKS. In theory, it is better avoid such situation, Because changes of one window/user a) will be seen by second only after the second refresh cursor. b) second user can erase changes of the first if also modify the same record. You can use NO LOCKS to allow changes in the same time. If you know that cursor will read only data then this is 100% safe way. IF you want to use record locks then both cursors cannot set WRITE lock on the same record -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From e.wyber at murdoch.edu.au Wed Apr 14 17:44:16 2004 From: e.wyber at murdoch.edu.au (Elias.) Date: Wed Apr 14 04:40:19 2004 Subject: [V4MD] Opening older versions Message-ID: <4B8E55FA-8DF8-11D8-825B-0003930FD04E@murdoch.edu.au> Hi all, After a considerable hiatus, I am again working with Director & our fair lady, Valentina... I have hit a minor hiccup - I want to migrate an old D8 V4MD driven project made with 1.9 (or perhaps even 1.8) on OS9 to OSX - using MX04 and V4MD 1.10 - it doesn't seem to like it, so what do I do ? Cheers for any and all suggestions. Elias. You only have the rights you defend in others. From sunshine at public.kherson.ua Wed Apr 14 12:53:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 14 04:58:55 2004 Subject: [V4MD] Opening older versions In-Reply-To: <4B8E55FA-8DF8-11D8-825B-0003930FD04E@murdoch.edu.au> Message-ID: On 4/14/04 12:44 PM, "Elias." wrote: Hi Elias, > After a considerable hiatus, I am again working with Director & our > fair lady, Valentina... > > I have hit a minor hiccup - I want to migrate an old D8 V4MD driven > project made with 1.9 (or perhaps even 1.8) on OS9 to OSX - using MX04 > and V4MD 1.10 - it doesn't seem to like it, so what do I do ? > > Cheers for any and all suggestions. It is of course good to know what version it was. Try open your old db simply by VAPP 1.10 What happens? You need convert just one db file, Or you need do this for each your client? Do you have your old Xtra ? Does it have XML dump function? If yes you can try XML dump -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From e.wyber at murdoch.edu.au Wed Apr 14 18:29:28 2004 From: e.wyber at murdoch.edu.au (Elias.) Date: Wed Apr 14 05:25:24 2004 Subject: [V4MD] Opening older versions In-Reply-To: References: Message-ID: <9BFEA304-8DFE-11D8-825B-0003930FD04E@murdoch.edu.au> On 14/04/2004, at 5:53 PM, Ruslan Zasukhin wrote: >> >> I have hit a minor hiccup - I want to migrate an old D8 V4MD driven >> project made with 1.9 (or perhaps even 1.8) on OS9 to OSX - using MX04 >> and V4MD 1.10 - it doesn't seem to like it, so what do I do ? > It is of course good to know what version it was. It was created in 2001 :-) I think it was 1.9 - I will find out... > Try open your old db simply by VAPP 1.10 > What happens? It looks like it might be a meta-data problem...on Panther, a lot of files in my archive are showing up as TextEdit files (incl. Xtras and .vdb files)...I will take a look at it on OS9 and see if I can generate a dump...tedious... > You need convert just one db file, > Or you need do this for each your client? I am trying to extract the schema - I don't need the data, just the internal logic...I am updating an engine from a few years ago and cannot remember how I built the navigation DB (sad, I know - it was documented, but the documentation is in one of many boxes, you know how it goes)... > Do you have your old Xtra ? > Does it have XML dump function? > If yes you can try XML dump I will try that tonight - thanks... Elias. You only have the rights you defend in others. From sunshine at public.kherson.ua Wed Apr 14 13:35:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 14 05:35:39 2004 Subject: [V4MD] Opening older versions In-Reply-To: <9BFEA304-8DFE-11D8-825B-0003930FD04E@murdoch.edu.au> Message-ID: On 4/14/04 1:29 PM, "Elias." wrote: >> You need convert just one db file, >> Or you need do this for each your client? > > I am trying to extract the schema - I don't need the data, just the > internal logic...I am updating an engine from a few years ago and > cannot remember how I built the navigation DB (sad, I know - it was > documented, but the documentation is in one of many boxes, you know how > it goes)... > >> Do you have your old Xtra ? >> Does it have XML dump function? >> If yes you can try XML dump > > I will try that tonight - thanks... In the worse case I can check the oldest version of VAPP I have. It seems VAPP 1.9.5 It should open your 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 e.wyber at murdoch.edu.au Thu Apr 15 12:56:55 2004 From: e.wyber at murdoch.edu.au (Elias.) Date: Wed Apr 14 23:52:46 2004 Subject: [V4MD] Opening older versions In-Reply-To: References: Message-ID: <51269A16-8E99-11D8-ADED-0003930FD04E@murdoch.edu.au> Hi all, Problem solved. Heads up to OSX users - it was a meta-data problem - I had to open the files in FileBuddy (on OS9) and reset the type and creator - now they work fine - thanks for the offer Ruslan. Elias. You only have the rights you defend in others. > > In the worse case I can check the oldest version of VAPP I have. > It seems VAPP 1.9.5 > It should open your db. > > From rbarber at yhb.att.ne.jp Thu Apr 15 08:15:29 2004 From: rbarber at yhb.att.ne.jp (ron barber) Date: Thu Apr 15 08:15:20 2004 Subject: [V4MD] Opening older versions In-Reply-To: <51269A16-8E99-11D8-ADED-0003930FD04E@murdoch.edu.au> References: <51269A16-8E99-11D8-ADED-0003930FD04E@murdoch.edu.au> Message-ID: Hi, Can't you do the same thing in OS X by getting information on the file and then chose 'Open with' and select the application? (along with 'Change all') Just curious, Ron On Apr 14, 2004, at 11:56 PM, Elias. wrote: > Hi all, > > Problem solved. > > Heads up to OSX users - it was a meta-data problem - I had to open the > files in FileBuddy (on OS9) and reset the type and creator - now they > work fine - thanks for the offer Ruslan. > > Elias. > > You only have the rights you defend in others. > >> >> In the worse case I can check the oldest version of VAPP I have. >> It seems VAPP 1.9.5 >> It should open your db. >> >> > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From gregkowalski at earthlink.net Thu Apr 15 09:21:44 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Thu Apr 15 08:20:19 2004 Subject: Shockwave & Valentina Message-ID: <389E8E39-8EE8-11D8-96CA-000393DAB46A@earthlink.net> Hello, I am experimenting with Shockwave and would like to know if Valentina works in this format. I noticed that the Valentina Xtra does not have the "download when needed" option (in Director). How do you go about ensuring that users can properly download the xtra? Thanks for your help. Greg From sunshine at public.kherson.ua Thu Apr 15 16:32:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 15 08:32:54 2004 Subject: Shockwave & Valentina In-Reply-To: <389E8E39-8EE8-11D8-96CA-000393DAB46A@earthlink.net> Message-ID: On 4/15/04 5:21 PM, "Gregory Kowalski" wrote: Hi Gregory, > I am experimenting with Shockwave and would like to know if Valentina > works in this format. No, it not works now. We have start procedure of getting of Verisign certificate. And there is sense to make SW-safe only V4M_Client. Agree? > I noticed that the Valentina Xtra does not have the "download when > needed" option (in Director). > > How do you go about ensuring that users can properly download the xtra? > > Thanks 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 e.wyber at murdoch.edu.au Fri Apr 16 12:48:13 2004 From: e.wyber at murdoch.edu.au (Elias.) Date: Thu Apr 15 23:44:04 2004 Subject: [V4MD] Opening older versions In-Reply-To: References: <51269A16-8E99-11D8-ADED-0003930FD04E@murdoch.edu.au> Message-ID: <44E868CB-8F61-11D8-B66A-0003930FD04E@murdoch.edu.au> No - tried that first - Valentina cannot open plain text files, so it tries, and fails...most annoying !! On 15/04/2004, at 9:15 PM, ron barber wrote: > Can't you do the same thing in OS X by getting information on the file > and then chose 'Open with' and select the application? (along with > 'Change all') > > On Apr 14, 2004, at 11:56 PM, Elias. wrote: >> >> Heads up to OSX users - it was a meta-data problem - I had to open >> the files in FileBuddy (on OS9) and reset the type and creator - now >> they work fine - thanks for the offer Ruslan. >> >> Elias. >> >> You only have the rights you defend in others. >> Elias. You only have the rights you defend in others. From Fred.Stephenson at communication-unltd.com Fri Apr 16 16:22:46 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Fri Apr 16 09:23:13 2004 Subject: Aaron Bratcher wrote In-Reply-To: <44E868CB-8F61-11D8-B66A-0003930FD04E@murdoch.edu.au> References: <51269A16-8E99-11D8-ADED-0003930FD04E@murdoch.edu.au> <44E868CB-8F61-11D8-B66A-0003930FD04E@murdoch.edu.au> Message-ID: this on the RB list: >Valentina is fast and stable. Version 2 should be coming out in the >next few months. > This new version will use the REALbasic Database API >too. Is this true? Doesn't the use of the API require users to have the pro version of rb. >It will not be backward compatible with older valentina database >files however. wow I must have blinked. I've almost got used to valentina speed but that one must have whizzed by me while I was looking elsewhere. Fred From sunshine at public.kherson.ua Fri Apr 16 17:52:44 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 16 09:52:57 2004 Subject: Aaron Bratcher wrote In-Reply-To: Message-ID: On 4/16/04 5:22 PM, "Fred.Stephenson" wrote: > this on the RB list: >> Valentina is fast and stable. Version 2 should be coming out in the >> next few months. > >> This new version will use the REALbasic Database API >> too. > > Is this true? Doesn't the use of the API require users to have the > pro version of rb. 1) as I have hear in RB 5.5 even standard RB. 2) even no, then we can a) have different versions of plugin b) plugin self define if such API is needed and register it. >> It will not be backward compatible with older valentina database >> files however. > > wow I must have blinked. I've almost got used to valentina speed but > that one must have whizzed by me while I was looking elsewhere. What you mean here? Yes, Valentina 2.0 is so different from Valentina 1.x that there is no way do automatic conversion of existed db files as we have had in Valentina 1.x during all this years. Do convert existed db we will use A) XML dump B) special utility that contains both engines. btw, most probably this can be Valentina Studio. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at Parizek.com Fri Apr 16 09:49:17 2004 From: dave at Parizek.com (Dave Parizek) Date: Fri Apr 16 11:49:31 2004 Subject: question about 2.0 In-Reply-To: References: Message-ID: Question 1: In 1.98 if I run this query: update T1 set Price = Price * 0.95 it changes Price to 0 for every record. Will this query work properly in 2.0? Question 2: Any idea when 2.0 will be out? I am waiting to release my software because I really want the Union capability coming in 2.0, and have been waiting since February, and wondering if I should keep waiting. I think some target dates should be published, because otherwise how are we as developers able to make plans on our own projects? --Dave -- _______________________________________________ Dave Parizek Bookseller Dave@Parizek.com From sunshine at public.kherson.ua Fri Apr 16 20:09:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 16 12:09:56 2004 Subject: question about 2.0 In-Reply-To: Message-ID: On 4/16/04 7:49 PM, "Dave Parizek" wrote: Hi Dave, > Question 1: > > In 1.98 if I run this query: > > update T1 set Price = Price * 0.95 > > it changes Price to 0 for every record. > > Will this query work properly in 2.0? Yes. It works in 2.0 > Question 2: > > Any idea when 2.0 will be out? I am waiting to release my software > because I really want the Union capability coming in 2.0, and have > been waiting since February, and wondering if I should keep waiting. yes > I think some target dates should be published, because otherwise how > are we as developers able to make plans on our own projects? Agree Dave. On the other hand like REAL have stop make any promises, I also think this is good idea. Yes, project is much more complex than I did expect. We not just re-write from scratch all, We implement many new ideas, algorithms, formats. I have write it seems on beta list not so far, that only about 20 March, I have made new discovery that it is possible in many cases do sorting using ZERO disk space to space special ZERO time to build special structure ZERO time to update that structure when we modify records. IS this great? I believe yes. IF table have say million records this discovery allow reduce db files on 4MB per each sorted filed! Also I have found that in other cases it is possible reduce disk space in 2-4 times, and therefore increase speed in 2-4 times on work with this structure. Last 3 days I do implantation of this. If in Valentina 1.x there was just ONE case for sorting, then in Valentina 2.0 I have implement already 9 cases to be as optimal as possible in each case. So on the same PART OF ENGINE I have complexity in 10 times more than in 1.x And similar things we have in many parts of engine. Just a lots of new ideas and innovations in work. And as developer you know that NEW code require time. --------------- Now more optimistic words: Igor now works on VarChar. After than only Picture field is not implemented yet. Ivan works on system tables. I hope soon he will finish them and start new task. Alex work on Diagnose right now. I work now on Sorting. And on white-board I see next TODO items: Index_string Join, ------ finish aggregative HAVING :1 binding ByteSwap enabling Encryption Pictures Cache tuning resources folder. Under line are located tasks that can be finished during beta testing. As you see not to many tasks yet. :-) Although Join is not easy task if do all I want. I actually now try implement GENERAL simple cases, later do optimization cases. And having working engine, we will need -- make V4RB -- make V4MD -- Vserver based on 2.0 Actually this tasks done on 40-80% already, and now just wait for fully featured engine. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Apr 16 20:34:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 16 12:34:45 2004 Subject: question about 2.0 In-Reply-To: Message-ID: On 4/16/04 8:09 PM, "Ruslan Zasukhin" wrote: And one more point. In Valentina 2.0 engine we use our own system of testing. We have HUGE number of tests (as teach Extreme Programming :-) If I am not mistake the half of our sources -- are tests. So I have very big hope that Valentina BETA will be quite stable. And we will not need long time beta testing. Only to finish minor features during that. And this is latest result of testing from my computer ************************************************************************* * FINISH ************************************************************************* * Total tests : 9052 * Failed tests : 59 * Failed tests on exception : 31 * Leaked tests : 46 * * Total asserts : 72661301 * Failed asserts : 12 > Agree Dave. > > On the other hand like REAL have stop make any promises, > I also think this is good idea. > > Yes, project is much more complex than I did expect. > > We not just re-write from scratch all, > We implement many new ideas, algorithms, formats. > > I have write it seems on beta list not so far, that only about 20 March, I > have made new discovery that it is possible in many cases do sorting using > ZERO disk space to space special > ZERO time to build special structure > ZERO time to update that structure when we modify records. > > IS this great? I believe yes. IF table have say million records this > discovery allow reduce db files on 4MB per each sorted filed! > > Also I have found that in other cases it is possible reduce disk space in > 2-4 times, and therefore increase speed in 2-4 times on work with this > structure. > > Last 3 days I do implantation of this. If in Valentina 1.x there was just > ONE case for sorting, then in Valentina 2.0 I have implement already 9 cases > to be as optimal as possible in each case. So on the same PART OF ENGINE I > have complexity in 10 times more than in 1.x > > And similar things we have in many parts of engine. > Just a lots of new ideas and innovations in work. > And as developer you know that NEW code require time. > > > --------------- > Now more optimistic words: > > Igor now works on VarChar. > After than only Picture field is not implemented yet. > > Ivan works on system tables. I hope soon he will finish them and start new > task. > > Alex work on Diagnose right now. > > I work now on Sorting. > > And on white-board I see next TODO items: > > Index_string > Join, > > ------ > finish aggregative > HAVING > > :1 binding > ByteSwap > enabling Encryption > Pictures > Cache tuning > resources folder. > > Under line are located tasks that can be finished during beta testing. > > As you see not to many tasks yet. :-) > Although Join is not easy task if do all I want. > I actually now try implement GENERAL simple cases, later do optimization > cases. > > > And having working engine, we will need > -- make V4RB > -- make V4MD > -- Vserver based on 2.0 > > Actually this tasks done on 40-80% already, and now just wait for fully > featured engine. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gregkowalski at earthlink.net Fri Apr 16 14:19:02 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Fri Apr 16 13:17:36 2004 Subject: re re: Shockwave and Valentina Message-ID: > Message: 5 > Date: Thu, 15 Apr 2004 16:32:41 +0300 > From: Ruslan Zasukhin > Subject: Re: Shockwave & Valentina > To: > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > On 4/15/04 5:21 PM, "Gregory Kowalski" > wrote: > > Hi Gregory, > >> I am experimenting with Shockwave and would like to know if Valentina >> works in this format. > > No, it not works now. > > We have start procedure of getting of Verisign certificate. > > And there is sense to make SW-safe only V4M_Client. > Agree? > Sounds great. I'm new to servers and networks. Is there detailed documentation for the V4M_client? I'd love to learn how to use it. Greg From sunshine at public.kherson.ua Fri Apr 16 22:13:02 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 16 14:13:12 2004 Subject: re re: Shockwave and Valentina In-Reply-To: Message-ID: On 4/16/04 10:19 PM, "Gregory Kowalski" wrote: Hi Gregory, >>> I am experimenting with Shockwave and would like to know if Valentina >>> works in this format. >> >> No, it not works now. >> >> We have start procedure of getting of Verisign certificate. >> >> And there is sense to make SW-safe only V4M_Client. >> Agree? >> > > Sounds great. I'm new to servers and networks. Is there detailed > documentation for the V4M_client? I'd love to learn how to use it. It is 80-90% the same to V4MD. It have just one new OPTIONAL Vserver Xtra for remote administration of Vserver. You can read in latest V4MDReference.pdf. It is on site. And you can download Vserver and V4MD_Client beta archive To play with 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 dave at Parizek.com Fri Apr 16 15:01:30 2004 From: dave at Parizek.com (Dave Parizek) Date: Fri Apr 16 17:01:44 2004 Subject: feature request for 2.0 In-Reply-To: References: Message-ID: A month or so ago you asked for feature requests or wishes for ultimate Valentina 2.0. I wanted to add another one on: If I "select T1.recid, T2.recid, * from T1, T2" into a cursor, I would like to be able to reference both the recid fields via getstring -- but by name instead of only by position. Right now if I only did one RecID field request I could use getstring and refer to it by name "RecID". But if I do 2 recids from different tables, there is ambiguity, and so I have to refer to them by index position. If their names could be expanded to include the table in dot notation, then I could get them both this way: ThisT1RecID = mCursor.Field("T1.RecID").GetString ThisT2RecID = mCursor.Field("T2.RecID").GetString and I am not required to know their positions to retrieve them. Not a big deal, but if it doesn't cause a lot of trouble / problems / delays then I request this feature. Everyone have a great weekend! Thanks, Dave -- _______________________________________________ Dave Parizek Bookseller Dave@Parizek.com From dave at Parizek.com Fri Apr 16 18:29:12 2004 From: dave at Parizek.com (Dave Parizek) Date: Fri Apr 16 20:29:29 2004 Subject: LoadDump, error 4 question In-Reply-To: References: Message-ID: I searched the list archive for info on error 4 in V4RB. Error 4 -- The system cannot open the file Error 4 - not well formed.. cut off I got conflicting info. Can someone elaborate on what to look for as a problem when getting Error 4 errors on LoadDump? --Dave -- _______________________________________________ Dave Parizek Bookseller Dave@Parizek.com From dave at Parizek.com Fri Apr 16 21:07:05 2004 From: dave at Parizek.com (Dave Parizek) Date: Fri Apr 16 23:07:27 2004 Subject: LoadDump, error 4 question, answered In-Reply-To: References: Message-ID: In my case at least it means the file itself is messed up content-wise, I had some malformed xml or something. >I searched the list archive for info on error 4 in V4RB. >Error 4 -- The system cannot open the file >Error 4 - not well formed.. cut off > >I got conflicting info. Can someone elaborate on what to look for >as a problem when getting Error 4 errors on LoadDump? > >--Dave >-- >_______________________________________________ >Dave Parizek >Bookseller >Dave@Parizek.com >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina -- _______________________________________________ Dave Parizek Bookseller Dave@Parizek.com From sunshine at public.kherson.ua Sat Apr 17 08:49:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 17 00:49:35 2004 Subject: feature request for 2.0 In-Reply-To: Message-ID: On 4/17/04 1:01 AM, "Dave Parizek" wrote: > A month or so ago you asked for feature requests or wishes for > ultimate Valentina 2.0. > > I wanted to add another one on: > > If I "select T1.recid, T2.recid, * from T1, T2" into a cursor, I > would like to be able to reference both the recid fields via > getstring -- but by name instead of only by position. > > Right now if I only did one RecID field request I could use getstring > and refer to it by name "RecID". But if I do 2 recids from different > tables, there is ambiguity, and so I have to refer to them by index > position. > > If their names could be expanded to include the table in dot > notation, then I could get them both this way: > > ThisT1RecID = mCursor.Field("T1.RecID").GetString > ThisT2RecID = mCursor.Field("T2.RecID").GetString > > and I am not required to know their positions to retrieve them. > > Not a big deal, but if it doesn't cause a lot of trouble / problems / > delays then I request this feature. I think solution can be simpler, using aliases select T1.recid as recid1, T2.recid as recid2, .... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From listmail at gearyweb.com Sat Apr 17 00:55:04 2004 From: listmail at gearyweb.com (michael geary) Date: Sat Apr 17 01:55:17 2004 Subject: feature request: case insensitive indexed searches Message-ID: <2783AFA0-903C-11D8-AA9A-000A95685638@gearyweb.com> Hi Folks, i've got a varChar field that is indexed, and I want to do case-insensitive searches. I know that I can do these with LIKE, but that doesn't use the index. Is there really no way to do something like: WHERE firstname = 'ruslan' no_case and get the benefit of using the index? -michael From sunshine at public.kherson.ua Sat Apr 17 10:15:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 17 02:15:13 2004 Subject: feature request: case insensitive indexed searches In-Reply-To: <2783AFA0-903C-11D8-AA9A-000A95685638@gearyweb.com> Message-ID: On 4/17/04 9:55 AM, "michael geary" wrote: Hi Michael, > Hi Folks, > > i've got a varChar field that is indexed, and I want to do > case-insensitive searches. I know that I can do these with LIKE, but > that doesn't use the index. Is there really no way to do something > like: > > WHERE firstname = 'ruslan' no_case > > and get the benefit of using the index? Yes, for this you should use BaseObject methods -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From tituyt at hotmail.com Mon Apr 19 10:01:57 2004 From: tituyt at hotmail.com (maud crouzet) Date: Mon Apr 19 03:02:07 2004 Subject: Request SQL with XTRA Valentina Message-ID: With the Xtra valentina for Director,Could I reproduce this request ? Is it easy to adapte ? SELECT DISTINCT p.ID_PRODUIT, p.NOM_PRODUIT, p.CODE_ACL, f.L_FABRICANT, p.TAILLE, sc.ID_SOUS_CATEGORIE, p.PRIX_PROD_EURO, fp.L_FORME_PROD, p.M_G_N, p.ID_FABRICANT, c.L_CATEGORIE, p.DATE_PRODUIT, psc.id_prod, psc.id_s_categorie FROM PRODUIT p INNER JOIN FABRICANT f ON p.ID_FABRICANT = f.ID_FABRICANT INNER JOIN FORME_PROD fp ON p.ID_FORME_PROD = fp.ID_FORME_PROD INNER JOIN produit_sous_categorie psc ON p.ID_PRODUIT = psc.id_prod INNER JOIN SOUS_CATEGORIE sc INNER JOIN CATEGORIE c ON sc.ID_CATEGORIE = c.ID_CATEGORIE ON psc.id_s_categorie = sc.ID_SOUS_CATEGORIE INNER JOIN PROPRIETE ON p.ID_PRODUIT = PROPRIETE.ID_PRODUIT WHERE (psc.id_s_categorie =@ID_S_CAT) AND (sc.ID_SOUS_CATEGORIE =@ID_S_CAT) AND (p.ID_PRODUIT NOT IN (SELECT id_produit FROM propriete WHERE ( (id_pro_prod=8 ) and id_valeur =30 or id_valeur =29) )) and ( p.ID_FABRICANT=@id_fab) ORDER BY f.L_FABRICANT, p.NOM_PRODUIT Thanks Maud Crouzet _________________________________________________________________ MSN Search, le moteur de recherche qui pense comme vous ! http://search.msn.fr From sunshine at public.kherson.ua Mon Apr 19 11:05:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 19 03:06:02 2004 Subject: Request SQL with XTRA Valentina In-Reply-To: Message-ID: On 4/19/04 11:01 AM, "maud crouzet" wrote: > With the Xtra valentina for Director,Could I reproduce this request ? Is it > easy to adapte ? > > > SELECT DISTINCT > p.ID_PRODUIT, p.NOM_PRODUIT, p.CODE_ACL, > f.L_FABRICANT, p.TAILLE, sc.ID_SOUS_CATEGORIE, > p.PRIX_PROD_EURO, fp.L_FORME_PROD, p.M_G_N, > p.ID_FABRICANT, c.L_CATEGORIE, p.DATE_PRODUIT, > psc.id_prod, psc.id_s_categorie > FROM PRODUIT p INNER JOIN > FABRICANT f ON > p.ID_FABRICANT = f.ID_FABRICANT INNER JOIN > FORME_PROD fp ON > p.ID_FORME_PROD = fp.ID_FORME_PROD INNER JOIN > produit_sous_categorie psc ON > p.ID_PRODUIT = psc.id_prod INNER JOIN > SOUS_CATEGORIE sc INNER JOIN > CATEGORIE c ON sc.ID_CATEGORIE = c.ID_CATEGORIE ON > psc.id_s_categorie = sc.ID_SOUS_CATEGORIE INNER JOIN > PROPRIETE ON > p.ID_PRODUIT = PROPRIETE.ID_PRODUIT > WHERE (psc.id_s_categorie =@ID_S_CAT) AND > (sc.ID_SOUS_CATEGORIE =@ID_S_CAT) AND > (p.ID_PRODUIT NOT IN > (SELECT id_produit > FROM propriete > WHERE ( (id_pro_prod=8 ) and id_valeur =30 or id_valeur =29) > )) > and ( p.ID_FABRICANT=@id_fab) > ORDER BY f.L_FABRICANT, p.NOM_PRODUIT FROM PRODUIT p INNER JOIN FABRICANT f ON p.ID_FABRICANT = f.ID_FABRICANT In Valentina 1.x should be FROM PRODUIT p, FABRICANT f WHERE p.ID_FABRICANT = f.ID_FABRICANT -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Apr 19 11:09:31 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 19 03:09:44 2004 Subject: Request SQL with XTRA Valentina In-Reply-To: Message-ID: On 4/19/04 11:01 AM, "maud crouzet" wrote: > With the Xtra valentina for Director,Could I reproduce this request ? Is it > easy to adapte ? > > > SELECT DISTINCT > p.ID_PRODUIT, p.NOM_PRODUIT, p.CODE_ACL, > f.L_FABRICANT, p.TAILLE, sc.ID_SOUS_CATEGORIE, > p.PRIX_PROD_EURO, fp.L_FORME_PROD, p.M_G_N, > p.ID_FABRICANT, c.L_CATEGORIE, p.DATE_PRODUIT, > psc.id_prod, psc.id_s_categorie > FROM PRODUIT p INNER JOIN > FABRICANT f ON > p.ID_FABRICANT = f.ID_FABRICANT INNER JOIN > FORME_PROD fp ON > p.ID_FORME_PROD = fp.ID_FORME_PROD INNER JOIN > produit_sous_categorie psc ON > p.ID_PRODUIT = psc.id_prod INNER JOIN > SOUS_CATEGORIE sc INNER JOIN > CATEGORIE c ON sc.ID_CATEGORIE = c.ID_CATEGORIE ON > psc.id_s_categorie = sc.ID_SOUS_CATEGORIE INNER JOIN > PROPRIETE ON > p.ID_PRODUIT = PROPRIETE.ID_PRODUIT > WHERE (psc.id_s_categorie =@ID_S_CAT) AND > (sc.ID_SOUS_CATEGORIE =@ID_S_CAT) AND > (p.ID_PRODUIT NOT IN > (SELECT id_produit > FROM propriete > WHERE ( (id_pro_prod=8 ) and id_valeur =30 or id_valeur =29) > )) > and ( p.ID_FABRICANT=@id_fab) > ORDER BY f.L_FABRICANT, p.NOM_PRODUIT Next, You have several INNER JOINS, so in Valentina you get FROM T1, T2, T3, T4 WHERE T1.key = T2.ptr and T2.key = T3.ptr and ... ----------------- > WHERE (psc.id_s_categorie =@ID_S_CAT) AND > (sc.ID_SOUS_CATEGORIE =@ID_S_CAT) AND I assume syntax @ID_S_CAT, means "insert value of variable ID_S_CAT" In Director, you should self do concatenation of strings to get WHERE fld = 45 or WHERE fld = 'string value' You see? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Fred.Stephenson at communication-unltd.com Tue Apr 20 11:48:29 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Tue Apr 20 04:49:14 2004 Subject: Losing records ?? Message-ID: Hi Ruslan, I'm probably doing something really stupid but.... here goes I had forgotten about the date format when I sent a sample application to a client so I thought I would just insert a mydb.dateformat = 0 as the date format here is 1. Unfortunately most of the records disappeared (no problem I had a backup and it was only sample data). So I added a few records in the new date format and changed it back to mydb.dateformat = 1 checked with Vapp and everything was still there and then I changed it back mydb.dateformat =0 and checked with Vapp and a record had disappeared (I had only 4 entered ) any suggestions ? best regards Fred From sunshine at public.kherson.ua Tue Apr 20 12:55:26 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 20 04:55:42 2004 Subject: Losing records ?? In-Reply-To: Message-ID: On 4/20/04 12:48 PM, "Fred.Stephenson" wrote: Hi Fred, > I'm probably doing something really stupid but.... here goes > > I had forgotten about the date format when I sent a sample > application to a client so I thought I would just insert a > > mydb.dateformat = 0 > > as the date format here is 1. > > Unfortunately most of the records disappeared (no problem I had a > backup and it was only sample data). > > So I added a few records in the new date format and changed it back to > mydb.dateformat = 1 > > checked with Vapp and everything was still there > > and then I changed it back > mydb.dateformat =0 > and checked with Vapp and a record had disappeared (I had only 4 entered ) Disappear records or values? records means -- there was e.g. 10 records, now 4 records. values means -- records number the same, but date values are other. ? This is strange, because mydb.dateformat = 1 Must not touch not records not values. Dates are stored in YMD neutral format, So Valentina must not touch valus when you change date order. Strange bug. If you need solution, you can dump to XML, change in EDITOR XML file's date format, and load back. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Fred.Stephenson at communication-unltd.com Tue Apr 20 12:20:58 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Tue Apr 20 05:20:46 2004 Subject: Losing records ?? In-Reply-To: References: Message-ID: Ruslan, > >Disappear records or values? records > > records means -- there was e.g. 10 records, now 4 records. > values means -- records number the same, but date values are other. > Originally I had about 50 records and ended up with 4 so I'd lost 46 >? > >This is strange, because > > mydb.dateformat = 1 > >Must not touch not records not values. > >Dates are stored in YMD neutral format, >So Valentina must not touch valus when you change date order. > >Strange bug. probably me, because I just tried doing the same with the single table example and couldn't reproduce. aah, one thing I forgot was that I had changed my "international settings" to the US date format just before. I'll try changing that back and then redo the single table test. I'll let you know if I can reproduce it. Thanks Fred From sunshine at public.kherson.ua Tue Apr 20 13:24:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 20 05:24:24 2004 Subject: Losing records ?? In-Reply-To: Message-ID: On 4/20/04 1:20 PM, "Fred.Stephenson" wrote: > aah, one thing I forgot was that I had changed my "international > settings" to the US date format just before. I'll try changing that > back and then redo the single table test. This should not affect. > I'll let you know if I can reproduce 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 Fred.Stephenson at communication-unltd.com Tue Apr 20 15:03:17 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Tue Apr 20 08:04:05 2004 Subject: Losing records ?? In-Reply-To: References: Message-ID: Ruslan, >This should not affect. No I didn't think it would but I went through all the steps anyway. > >> I'll let you know if I can reproduce it I think my project was corrupt somewhere. I saved the project as XML, dumped the database as xml and reloaded everything and have not been able to reproduce :?) thanks best regards Fred > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina From cm_sheffield at yahoo.com Tue Apr 20 14:57:27 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Apr 20 16:57:35 2004 Subject: VServer on Windows and custom installation Message-ID: <20040420215727.61688.qmail@web20411.mail.yahoo.com> VServer.pdf states that to start the server as a service you need to run it with the -i option and then the -s option. Is it necessary to do both? If I'm doing my own installation and want to start the server from that installation program, do I have to actually start it twice? Also, will VServer run on any version of Windows, or just NT-based versions (NT 4.0, 2000, XP, 2003)? If it will run on all versions, can it still run as a service under Win 98, or does a shortcut need to be placed in the Startup folder? It's not very likely that our customers will run the server on a Win 98 machine, but it could happen. Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ http://photos.yahoo.com/ph/print_splash From sunshine at public.kherson.ua Wed Apr 21 09:32:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Apr 21 01:32:30 2004 Subject: Server questions In-Reply-To: <9D4496F6-9341-11D8-9123-000393DAB46A@earthlink.net> Message-ID: On 4/21/04 6:11 AM, "Gregory Kowalski" wrote: Hi Gregory, > This is my first experience with networks and servers so I hope you > don't mind if I ask you a question or two... > (thank you for your patience). As many as you need! > I'm working on MAC OSX. > > My questions are the following: > > 1. Do the shared databases have to go in the "Databases" folder of > ValentinaServer? Yes. This is default folder. In the .ini file you can specify other folder. > 2. Must the MasterDb.vdb always remain in the "Databases" folder? (I > understand it is used to add users and passwords). Yes. As far as I know. Igor? > 3. In the ini file, I do not understand what the SystemCatalog must > point to. To the file containing the shared databases? To the folder! On default it points to folder "Databases" > 4. When you open a database from a client app - what is the file path? There is no path. You use only NAME of registration of database under server. I recommend you download and use Valentina Studio. If you need put under VServer EXISTED database, Then you need: A) drop db into folder Databases B) from Valentina Studio execute command Register Database. for Register, you specify dbName / dbPath on server. Now server name, that it have database with name dbName. >From client you do db.open( "dbName" ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Apr 21 09:55:25 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Apr 21 01:56:14 2004 Subject: VServer on Windows and custom installation References: <20040420215727.61688.qmail@web20411.mail.yahoo.com> Message-ID: <001d01c4276d$a0aac080$3b04a8c0@giv> Hi Chris, > VServer.pdf states that to start the server as a > service you need to run it with the -i option and then > the -s option. Is it necessary to do both? If I'm > doing my own installation and want to start the server > from that installation program, do I have to actually > start it twice? Yes, it's necessary. First time launching VServer with -i option you registers it as a Windows service. And then only you can run it with -s option - to start it actually. > Also, will VServer run on any version of Windows, or > just NT-based versions (NT 4.0, 2000, XP, 2003)? If > it will run on all versions, can it still run as a > service under Win 98, or does a shortcut need to be > placed in the Startup folder? It's not very likely > that our customers will run the server on a Win 98 > machine, but it could happen. VServer also runs under Windows98 (Windows 95 not tested). It runs as a service. So you don't need to add anything to the Startup folder. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From cm_sheffield at yahoo.com Wed Apr 21 08:53:35 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Wed Apr 21 10:53:44 2004 Subject: VServer on Windows and custom installation In-Reply-To: <001d01c4276d$a0aac080$3b04a8c0@giv> Message-ID: <20040421155335.23278.qmail@web20418.mail.yahoo.com> Excellent! Thanks for the quick response. --- Igor Gomon wrote: > Hi Chris, > > > VServer.pdf states that to start the server as a > > service you need to run it with the -i option and > then > > the -s option. Is it necessary to do both? If > I'm > > doing my own installation and want to start the > server > > from that installation program, do I have to > actually > > start it twice? > Yes, it's necessary. First time launching VServer > with -i > option you registers it as a Windows service. And > then > only you can run it with -s option - to start it > actually. > > > Also, will VServer run on any version of Windows, > or > > just NT-based versions (NT 4.0, 2000, XP, 2003)? > If > > it will run on all versions, can it still run as a > > service under Win 98, or does a shortcut need to > be > > placed in the Startup folder? It's not very > likely > > that our customers will run the server on a Win 98 > > machine, but it could happen. > VServer also runs under Windows98 (Windows 95 not > tested). > It runs as a service. So you don't need to add > anything to the > Startup folder. > > -- > Best regards, > Igor Gomon > ------------------------------------------------------------- > e-mail: giv@tlc.kherson.ua > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://listserv.macserve.net/mailman/listinfo/valentina > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ http://photos.yahoo.com/ph/print_splash From kray at sonsothunder.com Thu Apr 22 00:19:02 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu Apr 22 00:23:44 2004 Subject: UpdateAllRecords Not Working Properly? Message-ID: <02eb01c42829$56a1c8f0$6601a8c0@precision340> I thought that when you get a cursor against multiple records in a table and then iterate through them changing field values and then use Cursor_UpdateAllRecords, that every single record in the cursor would get updated... What I'm getting is that the change made to what is the "last" record in the cursor is being set for all records in the cursor. Here's a simple example (assume tSQL contains the SQL command to get a set of records from the table): on mouseUp put Valentina("Database_SQLSelect",gMainDBRef,tSQL) into tCurs put Valentina("Cursor_GetRecordCount",tCurs) into tNumRecs get Valentina("Cursor_FirstRecord",tCurs) repeat with x = 1 to tNumRecs if x <> tNumRecs then get Valentina("Cursor_SetField",tCurs,"Name","Fred" else get Valentina("Cursor_SetField",tCurs,"Name","John" end if get Valentina("Cursor_NextRecord",tCurs) end repeat get Valentina("Cursor_UpdateAllRecords",tCurs) get Valentina("Cursor_Remove",tCurs) end mouseUp When I run this, every one of the records in the cursor has the "Name" field set to "John", even though it's only supposed to be set for the last record in the cursor. I have a workaround where I get a cursor for each record, change it, and then use UpdateRecord and Remove inside the loop, but it's pretty inefficient. My question is: Is this the way UpdateAllRecords is supposed to work? Or is this a legitimate bug? Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From sunshine at public.kherson.ua Thu Apr 22 08:29:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 22 00:29:28 2004 Subject: UpdateAllRecords Not Working Properly? In-Reply-To: <02eb01c42829$56a1c8f0$6601a8c0@precision340> Message-ID: On 4/22/04 8:19 AM, "Ken Ray" wrote: > I thought that when you get a cursor against multiple records in a table and > then iterate through them changing field values and then use > Cursor_UpdateAllRecords, that every single record in the cursor would get > updated... You not correctly understand it. You need change only once values of one or few fields. then cursor.UpdateAll() Will set ALL records of cursor to that values. This is analog of SQL UPDATE T SET f1 = v1, f2 = v2 WHERE ... > What I'm getting is that the change made to what is the "last" record in the > cursor is being set for all records in the cursor. Here's a simple example > (assume tSQL contains the SQL command to get a set of records from the > table): > > on mouseUp > put Valentina("Database_SQLSelect",gMainDBRef,tSQL) into tCurs > put Valentina("Cursor_GetRecordCount",tCurs) into tNumRecs > get Valentina("Cursor_FirstRecord",tCurs) > repeat with x = 1 to tNumRecs > if x <> tNumRecs then > get Valentina("Cursor_SetField",tCurs,"Name","Fred" > else > get Valentina("Cursor_SetField",tCurs,"Name","John" > end if > get Valentina("Cursor_NextRecord",tCurs) > end repeat > get Valentina("Cursor_UpdateAllRecords",tCurs) > get Valentina("Cursor_Remove",tCurs) > end mouseUp > > When I run this, every one of the records in the cursor has the "Name" field > set to "John", even though it's only supposed to be set for the last record > in the cursor. I have a workaround where I get a cursor for each record, > change it, and then use UpdateRecord and Remove inside the loop, but it's > pretty inefficient. > > My question is: Is this the way UpdateAllRecords is supposed to work? Or is > this a legitimate bug? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cindy at kowhaiprogramming.com Thu Apr 22 17:36:11 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Thu Apr 22 00:33:18 2004 Subject: UpdateAllRecords Not Working Properly? In-Reply-To: <02eb01c42829$56a1c8f0$6601a8c0@precision340> Message-ID: Hi, > I thought that when you get a cursor against multiple records in a table and > then iterate through them changing field values and then use > Cursor_UpdateAllRecords, that every single record in the cursor would get > updated... UpdateAll, as Ruslan said, will update all the records in the cursor to what you have changed that last record to. You need to alter the fields for each record and, before moving on to the next record, put in the line res = mCursor.Update. Res being set as boolean. This will update the changes you have made to that record and allow you to move on to the next record. Hope that helps. Cindy Brown From kray at sonsothunder.com Thu Apr 22 01:36:14 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu Apr 22 01:37:22 2004 Subject: UpdateAllRecords Not Working Properly? In-Reply-To: Message-ID: <02f901c42834$1f9cb2b0$6601a8c0@precision340> > > I thought that when you get a cursor against multiple records in a > > table and then iterate through them changing field values > and then use > > Cursor_UpdateAllRecords, that every single record in the > cursor would > > get updated... > > UpdateAll, as Ruslan said, will update all the records in the > cursor to what you have changed that last record to. So all I need to do is change 1 record and then hit "updateallrecords" and they'll all get the change? For example, if I get a cursor against 10 records and then set one field of the first record to a value, can I then say "updateallrecords" and the other 9 will get the change? Ken Ray Sons of Thunder Software Email: kray@sonsothunder.com Web Site: http://www.sonsothunder.com/ From cindy at kowhaiprogramming.com Thu Apr 22 18:48:36 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Thu Apr 22 02:07:31 2004 Subject: UpdateAllRecords Not Working Properly? In-Reply-To: <02f901c42834$1f9cb2b0$6601a8c0@precision340> Message-ID: > So all I need to do is change 1 record and then hit "updateallrecords" and > they'll all get the change? For example, if I get a cursor against 10 > records and then set one field of the first record to a value, can I then > say "updateallrecords" and the other 9 will get the change? As far as I know, yes, that's what will happen. Cindy Brown From rjb at rz.uni-potsdam.de Thu Apr 22 09:02:09 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Apr 22 02:10:55 2004 Subject: UpdateAllRecords Not Working Properly? In-Reply-To: <02f901c42834$1f9cb2b0$6601a8c0@precision340> References: <02f901c42834$1f9cb2b0$6601a8c0@precision340> Message-ID: > > > I thought that when you get a cursor against multiple records in a >> > table and then iterate through them changing field values >> and then use >> > Cursor_UpdateAllRecords, that every single record in the >> cursor would >> > get updated... >> >> UpdateAll, as Ruslan said, will update all the records in the >> cursor to what you have changed that last record to. > >So all I need to do is change 1 record and then hit "updateallrecords" and >they'll all get the change? For example, if I get a cursor against 10 >records and then set one field of the first record to a value, can I then >say "updateallrecords" and the other 9 will get the change? > >Ken Ray >Sons of Thunder Software >Email: kray@sonsothunder.com >Web Site: http://www.sonsothunder.com/ yes. the change will be applied to all records in the cursor. Robert From rjb at rz.uni-potsdam.de Thu Apr 22 09:05:59 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Apr 22 02:11:10 2004 Subject: How do you handle YOUR encodings? In-Reply-To: References: Message-ID: >Writing data to a database, how route do you use to determine the encodings? > >1) I don't. My programming environment doesn't support encoding. >2) My programming environment handles it automatically. >3) I always make sure all data has the same encoding before it goes >into the DB >4) Depending on the field, I may encode it in different ways. > I use 3. For now, anything else is too much trouble one way or the other (at least for my purposes). Robert From sunshine at public.kherson.ua Thu Apr 22 11:50:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 22 03:51:03 2004 Subject: UpdateAllRecords Not Working Properly? In-Reply-To: Message-ID: On 4/22/04 9:48 AM, "Cindy Brown" wrote: >> So all I need to do is change 1 record and then hit "updateallrecords" and >> they'll all get the change? For example, if I get a cursor against 10 >> records and then set one field of the first record to a value, can I then >> say "updateallrecords" and the other 9 will get the change? > > As far as I know, yes, that's what will happen. Yes, Ken. With a little correction. You modify NOT first record. You modify just VALUES in RAM buffer. And when you do UpdateAll() all 10 records get that new 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 rjb at rz.uni-potsdam.de Thu Apr 22 11:51:54 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Thu Apr 22 05:10:24 2004 Subject: UpdateAllRecords Not Working Properly? In-Reply-To: References: Message-ID: >On 4/22/04 9:48 AM, "Cindy Brown" wrote: > >>> So all I need to do is change 1 record and then hit "updateallrecords" and >>> they'll all get the change? For example, if I get a cursor against 10 >>> records and then set one field of the first record to a value, can I then >>> say "updateallrecords" and the other 9 will get the change? >> >> As far as I know, yes, that's what will happen. > >Yes, Ken. > >With a little correction. > >You modify NOT first record. > >You modify just VALUES in RAM buffer. > >And when you do UpdateAll() all 10 records get that new value > > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] And the values of fields that were not changed in the buffer remain as they were for each record (and not copied from the currently loaded record). Robert From sunshine at public.kherson.ua Thu Apr 22 13:21:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 22 05:21:31 2004 Subject: UpdateAllRecords Not Working Properly? In-Reply-To: Message-ID: On 4/22/04 12:51 PM, "Robert Brenstein" wrote: >> On 4/22/04 9:48 AM, "Cindy Brown" wrote: >> >>>> So all I need to do is change 1 record and then hit "updateallrecords" and >>>> they'll all get the change? For example, if I get a cursor against 10 >>>> records and then set one field of the first record to a value, can I then >>>> say "updateallrecords" and the other 9 will get the change? >>> >>> As far as I know, yes, that's what will happen. >> >> Yes, Ken. >> >> With a little correction. >> >> You modify NOT first record. >> >> You modify just VALUES in RAM buffer. >> >> And when you do UpdateAll() all 10 records get that new value >> >> >> -- >> Best regards, >> Ruslan Zasukhin [ I feel the need...the need for speed ] > > And the values of fields that were not changed in the buffer remain > as they were for each record (and not copied from the currently > loaded record). 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 lists at innernine.com Thu Apr 22 13:24:47 2004 From: lists at innernine.com (Juergen Schreck) Date: Thu Apr 22 13:24:57 2004 Subject: Whole Word, Case Sensitive control Message-ID: <56149320-948A-11D8-B902-000A95868802@innernine.com> Hi, How do I implement the following in V4RB 1.1.0: I have a table 'clips' containing a 512 byte VarChar column 'cliptext'. I set this column to be indexed and indexedByWords. The user options to search this 'cliptext' field at runtime need to be: Match Case Match Whole Word So I need: 'Contains' case-sensitive 'Contains' case-insensitive 'Match whole word/phrase' case-sensitive 'Match whole word/phrase' case-insensitive The search options are to be user settable at runtime. Could someone help me with the SELECT statements? Thanks, Juergen From sunshine at public.kherson.ua Thu Apr 22 21:33:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 22 13:34:12 2004 Subject: Whole Word, Case Sensitive control In-Reply-To: <56149320-948A-11D8-B902-000A95868802@innernine.com> Message-ID: On 4/22/04 9:24 PM, "Juergen Schreck" wrote: Hi Juergen, > How do I implement the following in V4RB 1.1.0: I think this is on FAQ pages > I have a table 'clips' containing a 512 byte VarChar column 'cliptext'. > I set this column to be indexed and indexedByWords. The user options to > search this 'cliptext' field at runtime need to be: > > Match Case This is default for Valentina to get no case, you need use BaseObject method to build case-insensetive index. Or to use LIKE str no_case > Match Whole Word where fld = 'word' > So I need: > > 'Contains' case-sensitive > 'Contains' case-insensitive Contains search can be done only using LIKE search. WHERE fld LIKE 'part' > 'Match whole word/phrase' case-sensitive WHERE fld = 'word' > 'Match whole word/phrase' case-insensitive WHERE fldLwr = 'word' You must convert 'word' to lower case before that > The search options are to be user settable at runtime. Could someone > help me with the SELECT statements? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From lists at innernine.com Thu Apr 22 14:13:40 2004 From: lists at innernine.com (Juergen Schreck) Date: Thu Apr 22 14:13:56 2004 Subject: Whole Word, Case Sensitive control In-Reply-To: References: Message-ID: <29F9CF80-9491-11D8-B902-000A95868802@innernine.com> Ruslan, Thanks for your reply... On Apr 22, 2004, at 1:33 PM, Ruslan Zasukhin wrote: > This is default for Valentina > > to get no case, you need use BaseObject method to build > case-insensetive index. How do I do that? I see no such option? this is my Field definition me.fldClipText=new vVarChar("cliptext", 512, "ASCII", kV_Indexed + kV_IndexByWords) Is this a case sensitive index? > Or to use LIKE str no_case I'm doing that, but it doesn't seem to work right: SELECT cliptext from clips WHERE cliptext LIKE 'baby' returns: It's baby week SELECT cliptext from clips WHERE cliptext LIKE 'Baby' returns: Baby and me Ok, so thats' case-sensitive. But SELECT cliptext from clips WHERE cliptext LIKE 'baby' nocase returns: It's baby week but it should return both It's baby week Baby and me SELECT cliptext from clips WHERE cliptext LIKE 'Baby' nocase returns: Baby and me but it should return both It's baby week Baby and me The nocase clause is not having any effect! >> 'Match whole word/phrase' case-sensitive > > WHERE fld = 'word' Ok, that works. >> 'Match whole word/phrase' case-insensitive > > WHERE fldLwr = 'word' > > You must convert 'word' to lower case before that What is fldLwr? A baseobject method? I think I get this. Ok, all I need to figure out then is why my contains searches aren't working? I suppose I could use fldLwr method there as well, but from what you wrote nocase should do the same. Question: if nocase works for LIKE searches, then why doesn't it work for '=' searches? Also, are '==' and '=' equivalent in Valentina? Thanks, Juergen From lists at innernine.com Thu Apr 22 14:25:42 2004 From: lists at innernine.com (Juergen Schreck) Date: Thu Apr 22 14:25:48 2004 Subject: Whole Word, Case Sensitive control In-Reply-To: References: Message-ID: Ruslan, Is there any benefit in specifying a fldLwr BaseObject Method for my case insensitive comparison rather than using 'LOWER(fld)' in the SQL statement? How are indexes being used in either situation? Thanks, Juergen From sunshine at public.kherson.ua Thu Apr 22 22:38:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 22 14:38:19 2004 Subject: Whole Word, Case Sensitive control In-Reply-To: Message-ID: On 4/22/04 10:25 PM, "Juergen Schreck" wrote: Hi Juergen, It seems you already know what is BaseObject method, yes? > Is there any benefit in specifying a fldLwr BaseObject Method for my > case insensitive comparison rather than using 'LOWER(fld)' in the SQL > statement? > > How are indexes being used in either situation? :-) good question. Detailed answer is: 1) assume you have WHERE LOWER(fld) = 'lower_case_word' NOTE: Valentina 1.x cannot do this. so in any case you need use BaseObject method. but Valentina 2.0 do support this, and many dbs also If you have just such query, then OPS, search will be NOT indexed. To make it indexed, you MUST do CREATE INDEX iname LOWER(fld) Btw, a lots of db do not allow expression in CREATE INDEX, They allow just CREATE INDEX iname f1, f2 Okay, assume DBMS allow create index by ANY expression. Now SQL Executor/Optimizer, must find the best index for search. IF you have a lots of indexes in db, this is additional waste of time. Working with BaseObject method, you get INDEX for a field, based on expression. This index belong to virtual field, you can consider this as NAMED INDEX. So when you say WHERE fldLwr = '....' DBMS (Valentina) spemd ZERO time to determinate the best and only the best index for that search, Because you self have point it. Please read all docs, and faqs, if more questions, then ask. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Apr 22 18:50:38 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Thu Apr 22 17:49:14 2004 Subject: V4MD Client navigation problem Message-ID: Hello, I have encountered a cursor navigation problem when passing from V4MD to V4MD Client. I have the project set up so that the query results appear in a table ten at a time. There are navigation buttons for NEXT 10 and PREVIOUS 10. The project was developed with V4MD and worked great. Then I tested it with V4MD Client and found that when navigating backwards (previous 10) everything falls out of line (moving forward everything is fine). I should add that I didn't touch any of the cursor code. Any help would be appreciated. Greg From lists at innernine.com Thu Apr 22 18:07:15 2004 From: lists at innernine.com (Juergen Schreck) Date: Thu Apr 22 18:07:25 2004 Subject: More Search Questions Message-ID: Is it possible to search for strings that contain punctuation characters such like "Baby's bottle" or "tap-dancing" ? if so, do I need to escape these somehow? And finally (I think the answer might be no, but...) can this also be done for a whole word search? I suppose one could employ some tricks by implementing a BaseObject method, translating certain characters into something else. But I don't know if any of the string functions which can be used in these methods would be able to do this. Which brings up another point: Which document contains the full description of functions available for baseObject methods? TIA, Juergen From lists at innernine.com Thu Apr 22 18:11:58 2004 From: lists at innernine.com (Juergen Schreck) Date: Thu Apr 22 18:12:05 2004 Subject: Whole Word, Case Sensitive control In-Reply-To: References: Message-ID: <746AB4AC-94B2-11D8-B902-000A95868802@innernine.com> On Apr 22, 2004, at 2:38 PM, Ruslan Zasukhin wrote: > On 4/22/04 10:25 PM, "Juergen Schreck" wrote: > > Hi Juergen, > > It seems you already know what is BaseObject method, yes? If find the 1.10 documentation somewhat confusing. It's hard for me to find stuff in there. Also I haven't used Valentina in a while so I'm a bit rusty on terminology. > Working with BaseObject method, you get INDEX for a field, based on > expression. This index belong to virtual field, you can consider this > as > NAMED INDEX. So when you say Yes, when I created a BaseObject Method in Valentina application, I realized that it was indexing the operation. Very, very cool. I like this better than cluttering the SQL syntax if I know what the expression is anyway. Thanks for clearing it up though. BTW - how stable is the v2 beta? Is it usable for deploying apps at this point? TIA, Juergen From tjames1 at bigpond.net.au Fri Apr 23 10:30:12 2004 From: tjames1 at bigpond.net.au (Tim James) Date: Thu Apr 22 19:29:01 2004 Subject: Bug? on insert into previously deleted recid Message-ID: <6267DFCD-94BD-11D8-99D9-000A95A4D918@bigpond.net.au> The following statement works fine when a new row is added to a table, but when the insert utilizes a previously deleted recid position (ie the row is inserted at recid = 7 in a 40 row table) the title field is not inserted but instead the string value from recid for that field is inserted. INSERT INTO Olines (Number,LineNo,ISBN,Qty,Price,QReceived,DReceived,Status,OLMastPtr,Title ,CostPrice,OLSpecPtr,OLAcctPtr,Rectype,Supptr,InvoiceHdrPtr,OLReorPtr) VALUES (2HO999,1,"0745150977",1,"12.95",0,"00/00/2000",0,0,"Afraid : Feelings","7.77",0,10,2,239,0) Valentina 1.10 and Visql 1.1a23 using 1.10 The error occurs both in my RB application and also ViSql TIA Tim James From tjames1 at bigpond.net.au Fri Apr 23 15:37:16 2004 From: tjames1 at bigpond.net.au (Tim James) Date: Fri Apr 23 00:36:09 2004 Subject: Bug? on insert into previously deleted recid In-Reply-To: <6267DFCD-94BD-11D8-99D9-000A95A4D918@bigpond.net.au> References: <6267DFCD-94BD-11D8-99D9-000A95A4D918@bigpond.net.au> Message-ID: <480CE576-94E8-11D8-BCCA-000A95A4D918@bigpond.net.au> Whoops the message should read 'but instead the string value from the PREVIOUS recid' On 23/04/2004, at 10:30 AM, Tim James wrote: > The following statement works fine when a new row is added to a > table, but when the insert utilizes a previously deleted recid > position (ie the row is inserted at recid = 7 in a 40 row table) the > title field is not inserted but instead the string value from recid > for that field is inserted. > > > INSERT INTO Olines > (Number,LineNo,ISBN,Qty,Price,QReceived,DReceived,Status,OLMastPtr,Titl > e,CostPrice,OLSpecPtr,OLAcctPtr,Rectype,Supptr,InvoiceHdrPtr,OLReorPtr) > VALUES (2HO999,1,"0745150977",1,"12.95",0,"00/00/2000",0,0,"Afraid : > Feelings","7.77",0,10,2,239,0) > > > Valentina 1.10 > > and > > Visql 1.1a23 using 1.10 > > > The error occurs both in my RB application and also ViSql > > > TIA > > > Tim James > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri Apr 23 08:37:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 23 00:38:05 2004 Subject: Whole Word, Case Sensitive control In-Reply-To: <746AB4AC-94B2-11D8-B902-000A95868802@innernine.com> Message-ID: On 4/23/04 2:11 AM, "Juergen Schreck" wrote: Hi Juergen, >> It seems you already know what is BaseObject method, yes? > > If find the 1.10 documentation somewhat confusing. It's hard for me to > find stuff in there. Also I haven't used Valentina in a while so I'm a > bit rusty on terminology. BaseObject methods described in ValentinaKernel.pdf List offunctions that can be used in expression is in Valentina SQL.pdf >> Working with BaseObject method, you get INDEX for a field, based on >> expression. This index belong to virtual field, you can consider this >> as >> NAMED INDEX. So when you say > > Yes, when I created a BaseObject Method in Valentina application, I > realized that it was indexing the operation. Very, very cool. I like > this better than cluttering the SQL syntax if I know what the > expression is anyway. Thanks for clearing it up though. ok > BTW - how stable is the v2 beta? Is it usable for deploying apps at > this point? There is no yet public beta at all. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Apr 23 08:39:49 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 23 00:48:00 2004 Subject: [FAQ] More Search Questions In-Reply-To: Message-ID: On 4/23/04 2:07 AM, "Juergen Schreck" wrote: Hi Jurgen, > Is it possible to search for strings that contain punctuation > characters such like "Baby's bottle" or "tap-dancing" ? if so, do I > need to escape these somehow? And finally (I think the answer might be > no, but...) can this also be done for a whole word search? You need escape single quote. You can use for this function ValentinaEscape() You need escape quote always. Never mind whole or partial word search. > I suppose one could employ some tricks by implementing a BaseObject > method, translating certain characters into something else. But I don't > know if any of the string functions which can be used in these methods > would be able to do this. Which brings up another point: > > Which document contains the full description of functions available for > baseObject methods? Valentina SQL.pdf -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Apr 23 08:47:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 23 00:48:28 2004 Subject: Bug? on insert into previously deleted recid In-Reply-To: <480CE576-94E8-11D8-BCCA-000A95A4D918@bigpond.net.au> Message-ID: On 4/23/04 8:37 AM, "Tim James" wrote: Hi Tim, > Whoops the message should read 'but instead the string value from the > PREVIOUS recid' You mean from previous delete, or from previous 6th ? What type of Title field? Text? Can you send me db into which I can insert in viSQL? Have you made diagnose() for db? All right? > On 23/04/2004, at 10:30 AM, Tim James wrote: > >> The following statement works fine when a new row is added to a >> table, but when the insert utilizes a previously deleted recid >> position (ie the row is inserted at recid = 7 in a 40 row table) the >> title field is not inserted but instead the string value from recid >> for that field is inserted. >> >> >> INSERT INTO Olines >> (Number,LineNo,ISBN,Qty,Price,QReceived,DReceived,Status,OLMastPtr,Titl >> e,CostPrice,OLSpecPtr,OLAcctPtr,Rectype,Supptr,InvoiceHdrPtr,OLReorPtr) >> VALUES (2HO999,1,"0745150977",1,"12.95",0,"00/00/2000",0,0,"Afraid : >> Feelings","7.77",0,10,2,239,0) >> >> >> Valentina 1.10 >> >> and >> >> Visql 1.1a23 using 1.10 >> >> >> The error occurs both in my RB application and also ViSql -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Apr 23 08:54:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 23 00:54:18 2004 Subject: V4MD Client navigation problem In-Reply-To: Message-ID: On 4/23/04 2:50 AM, "Gregory Kowalski" wrote: > Hello, > > I have encountered a cursor navigation problem when passing from V4MD > to V4MD Client. I have the project set up so that the query results > appear in a table ten at a time. There are navigation buttons for NEXT > 10 and PREVIOUS 10. > > The project was developed with V4MD and worked great. Then I tested it > with V4MD Client and found that when navigating backwards (previous 10) > everything falls out of line (moving forward everything is fine). I > should add that I didn't touch any of the cursor code. > > Any help would be appreciated. Hi Gregory, I think you need simply add to cursor creation parameter Random On default Valentina make ForwardOnly cursor. Check docs of VCursor -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From tjames1 at bigpond.net.au Fri Apr 23 17:08:18 2004 From: tjames1 at bigpond.net.au (Tim James) Date: Fri Apr 23 02:07:10 2004 Subject: Bug? on insert into previously deleted recid In-Reply-To: References: Message-ID: On 23/04/2004, at 3:47 PM, Ruslan Zasukhin wrote: > On 4/23/04 8:37 AM, "Tim James" wrote: > > Hi Tim, > >> Whoops the message should read 'but instead the string value from the >> PREVIOUS recid' > > > You mean from previous delete, or > from previous 6th ? > from recid = 6 > What type of Title field? Text? > string(40) word indexed > Can you send me db into which I can insert in viSQL? > 250 mb and 200,000 recs - but I can send the empty structure or small > part ??? > Have you made diagnose() for db? All right? > yes - clean no errors > >> On 23/04/2004, at 10:30 AM, Tim James wrote: >> >>> The following statement works fine when a new row is added to a >>> table, but when the insert utilizes a previously deleted recid >>> position (ie the row is inserted at recid = 7 in a 40 row table) the >>> title field is not inserted but instead the string value from recid >>> for that field is inserted. >>> >>> >>> INSERT INTO Olines >>> (Number,LineNo,ISBN,Qty,Price,QReceived,DReceived,Status,OLMastPtr,Ti >>> tl >>> e,CostPrice,OLSpecPtr,OLAcctPtr,Rectype,Supptr,InvoiceHdrPtr,OLReorPt >>> r) >>> VALUES (2HO999,1,"0745150977",1,"12.95",0,"00/00/2000",0,0,"Afraid : >>> Feelings","7.77",0,10,2,239,0) >>> >>> >>> Valentina 1.10 >>> >>> and >>> >>> Visql 1.1a23 using 1.10 >>> >>> >>> The error occurs both in my RB application and also ViSql > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Apr 23 10:13:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 23 02:14:52 2004 Subject: Bug? on insert into previously deleted recid In-Reply-To: Message-ID: On 4/23/04 10:08 AM, "Tim James" wrote: >> Hi Tim, >> >>> Whoops the message should read 'but instead the string value from the >>> PREVIOUS recid' >> >> >> You mean from previous delete, or >> from previous 6th ? > >> from recid = 6 > >> What type of Title field? Text? > >> string(40) word indexed String. Hmm, here cannot be problems. >> Can you send me db into which I can insert in viSQL? > >> 250 mb and 200,000 recs - but I can send the empty structure or small >> part ??? Wait. You can reproduce problem using only this database? Try reproduce it on table with 40 records only. >> Have you made diagnose() for db? All right? > >> yes - clean no errors Strange. Or you have bad db, or you must be able reproduce on small table, or there is no any problem, you just confuse 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 tjames1 at bigpond.net.au Fri Apr 23 22:08:14 2004 From: tjames1 at bigpond.net.au (Tim James) Date: Fri Apr 23 07:07:02 2004 Subject: Bug? on insert into previously deleted recid In-Reply-To: References: Message-ID: On 23/04/2004, at 5:13 PM, Ruslan Zasukhin wrote: > On 4/23/04 10:08 AM, "Tim James" wrote: > >>> Hi Tim, >>> >>>> Whoops the message should read 'but instead the string value from >>>> the >>>> PREVIOUS recid' >>> >>> >>> You mean from previous delete, or >>> from previous 6th ? >> >>> from recid = 6 >> >>> What type of Title field? Text? >> >>> string(40) word indexed > > String. Hmm, here cannot be problems. > > >>> Can you send me db into which I can insert in viSQL? >> >>> 250 mb and 200,000 recs - but I can send the empty structure or small >>> part ??? > > Wait. You can reproduce problem using only this database? > > Try reproduce it on table with 40 records only. > built small db with same schema - no errors > >>> Have you made diagnose() for db? All right? >> >>> yes - clean no errors > > Strange. > If diagnose ok -how can I test/fix bad db. I have tried reindexing etc Error is 100% repeatable on DB production size - big problem Can I export all tables then import and will objectptrs be ok (I presume so) (very strange (When I insert enough rows to fill deleted recid's then insert works fine) > Or you have bad db, > or you must be able reproduce on small table, > or there is no any problem, you just confuse something. > > TIA Tim > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: 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 Apr 23 15:27:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 23 07:28:14 2004 Subject: Bug? on insert into previously deleted recid In-Reply-To: Message-ID: On 4/23/04 3:08 PM, "Tim James" wrote: >> Wait. You can reproduce problem using only this database? >> >> Try reproduce it on table with 40 records only. >> > built small db with same schema - no errors >> >>>> Have you made diagnose() for db? All right? >>> >>>> yes - clean no errors >> >> Strange. >> > > If diagnose ok -how can I test/fix bad db. > I have tried reindexing etc > Error is 100% repeatable on DB production size - big problem > Can I export all tables then import and will objectptrs be ok (I > presume so) Try XML dump then load into new fresh db > (very strange (When I insert enough rows to fill deleted recid's then > insert works fine) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gregkowalski at earthlink.net Fri Apr 23 10:30:33 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Fri Apr 23 09:29:08 2004 Subject: Valentina Digest, Vol 16, Issue 14 In-Reply-To: <20040423055422.22B83104B3E@edison.macserve.net> References: <20040423055422.22B83104B3E@edison.macserve.net> Message-ID: <2961FA32-953B-11D8-9CF9-000393DAB46A@earthlink.net> On Apr 23, 2004, at 12:54 AM, valentina-request@lists.macserve.net wrote: >> Hello, >> >> I have encountered a cursor navigation problem when passing from V4MD >> to V4MD Client. I have the project set up so that the query results >> appear in a table ten at a time. There are navigation buttons for >> NEXT >> 10 and PREVIOUS 10. >> >> The project was developed with V4MD and worked great. Then I tested >> it >> with V4MD Client and found that when navigating backwards (previous >> 10) >> everything falls out of line (moving forward everything is fine). I >> should add that I didn't touch any of the cursor code. >> >> Any help would be appreciated. > > Hi Gregory, > > I think you need simply add to cursor creation parameter > > Random > > On default Valentina make ForwardOnly cursor. > > Check docs of VCursor > > The cursor parameter is set to random. As I said, it works perfectly with V4MD. When switching to V4MD_Client no cursor code was changed yet it does not behave the same way. From sunshine at public.kherson.ua Fri Apr 23 17:36:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 23 09:51:46 2004 Subject: Valentina Digest, Vol 16, Issue 14 In-Reply-To: <2961FA32-953B-11D8-9CF9-000393DAB46A@earthlink.net> Message-ID: On 4/23/04 6:30 PM, "Gregory Kowalski" wrote: >>> Hello, >>> >>> I have encountered a cursor navigation problem when passing from V4MD >>> to V4MD Client. I have the project set up so that the query results >>> appear in a table ten at a time. There are navigation buttons for >>> NEXT >>> 10 and PREVIOUS 10. >>> >>> The project was developed with V4MD and worked great. Then I tested >>> it >>> with V4MD Client and found that when navigating backwards (previous >>> 10) >>> everything falls out of line (moving forward everything is fine). I >>> should add that I didn't touch any of the cursor code. >>> >>> Any help would be appreciated. >> >> Hi Gregory, >> >> I think you need simply add to cursor creation parameter >> >> Random >> >> On default Valentina make ForwardOnly cursor. >> >> Check docs of VCursor >> >> > > > The cursor parameter is set to random. As I said, it works perfectly > with V4MD. When switching to V4MD_Client no cursor code was changed > yet it does not behave the same way. V4MD actually ignore all that parameters!!! So this is not a reason. Okay, show how you create cursor? Your line of code? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From tjames1 at bigpond.net.au Sat Apr 24 10:40:49 2004 From: tjames1 at bigpond.net.au (Tim James) Date: Fri Apr 23 19:39:42 2004 Subject: Bug? on insert into previously deleted recid In-Reply-To: References: Message-ID: <087E9342-9588-11D8-BF11-000A95A4D918@bigpond.net.au> On 23/04/2004, at 10:27 PM, Ruslan Zasukhin wrote: > On 4/23/04 3:08 PM, "Tim James" wrote: > >>> Wait. You can reproduce problem using only this database? >>> >>> Try reproduce it on table with 40 records only. >>> >> built small db with same schema - no errors >>> >>>>> Have you made diagnose() for db? All right? >>>> >>>>> yes - clean no errors >>> >>> Strange. >>> >> >> If diagnose ok -how can I test/fix bad db. >> I have tried reindexing etc >> Error is 100% repeatable on DB production size - big problem >> Can I export all tables then import and will objectptrs be ok (I >> presume so) > > Try XML dump then load into new fresh db > Fresh db means ? recreate the db in Valentina - I do not use constructors for db definition ? 30 tables - 250 fields !! or can I just reload into current db > >> (very strange (When I insert enough rows to fill deleted recid's then >> insert works fine) > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sat Apr 24 09:16:46 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 24 01:16:58 2004 Subject: Bug? on insert into previously deleted recid In-Reply-To: <087E9342-9588-11D8-BF11-000A95A4D918@bigpond.net.au> Message-ID: On 4/24/04 3:40 AM, "Tim James" wrote: >> Try XML dump then load into new fresh db >> > > > Fresh db means ? > > recreate the db in Valentina - I do not use constructors for db > definition ? > 30 tables - 250 fields !! > > or can I just reload into current db Tim, You simply do XML Dump, Then you Load that .xml file and Valentina self will create new fresh 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 sunshine at public.kherson.ua Sat Apr 24 09:18:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Apr 24 01:18:18 2004 Subject: Bug? on insert into previously deleted recid In-Reply-To: <087E9342-9588-11D8-BF11-000A95A4D918@bigpond.net.au> Message-ID: On 4/24/04 3:40 AM, "Tim James" wrote: >> Try XML dump then load into new fresh db >> > > > Fresh db means ? > > recreate the db in Valentina - I do not use constructors for db > definition ? > 30 tables - 250 fields !! > > or can I just reload into current db Do not reload into curent db. 1) you dump to XML 2) you move your old db to trash (but do not delete yet) or into other place 3) you do LoadDump() for xml file and as result of LoadDump you get new db. You can use VAPP or Valentina Studio 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 barney at custombased.com Sun Apr 25 17:19:42 2004 From: barney at custombased.com (Barney) Date: Sun Apr 25 00:21:17 2004 Subject: Nil Cursors using Server ? Message-ID: Hi, Looking to convert an app to being served. Suddenly I am getting Nil cursors ? We have never had Nil cursors before in Valentina ? I have always checked for... If Cur.RecordCount > 0 then //Carry on End if but never a nil cursor before. I must have hundreds and hundreds of the above lines of code scattered throughout a couple of apps. Does this mean they all must be replaced with... If Cur <> Nil AND Cur.RecordCount > 0 then //carry on end if ... very concerning ? Have I missed something ? Any advice would be greatly appreciated. From sunshine at public.kherson.ua Sun Apr 25 08:50:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 25 00:50:50 2004 Subject: Nil Cursors using Server ? In-Reply-To: Message-ID: On 4/25/04 8:19 AM, "Barney" wrote: Hi Barney, > Looking to convert an app to being served. > > Suddenly I am getting Nil cursors ? > > We have never had Nil cursors before in Valentina ? I have always > checked for... > > If Cur.RecordCount > 0 then > //Carry on > End if > > but never a nil cursor before. I must have hundreds and hundreds > of the above lines of code scattered throughout a couple of apps. > > Does this mean they all must be replaced with... > > > If Cur <> Nil AND Cur.RecordCount > 0 then > > //carry on > > end if > > ... very concerning ? > > Have I missed something ? Any advice would be greatly appreciated. Was returned some error also? It is strange because V4RB and V4RB_Client use the same wrapper code. I think from OOP more correct return nil. Because if we cannot create cursor then why spend time on creation of object and its destruction. So I think in any case add check if( curs <> nil ) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Sun Apr 25 14:01:29 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Sun Apr 25 13:00:08 2004 Subject: cursor and V4md client problem In-Reply-To: <20040425052125.30E96106C51@edison.macserve.net> References: <20040425052125.30E96106C51@edison.macserve.net> Message-ID: On Apr 25, 2004, at 12:21 AM, valentina-request@lists.macserve.net wrote: > >>>> Hello, >>>> >>>> I have encountered a cursor navigation problem when passing from >>>> V4MD >>>> to V4MD Client. I have the project set up so that the query results >>>> appear in a table ten at a time. There are navigation buttons for >>>> NEXT >>>> 10 and PREVIOUS 10. >>>> >>>> The project was developed with V4MD and worked great. Then I tested >>>> it >>>> with V4MD Client and found that when navigating backwards (previous >>>> 10) >>>> everything falls out of line (moving forward everything is fine). I >>>> should add that I didn't touch any of the cursor code. >>>> >>>> Any help would be appreciated. >>> >>> Hi Gregory, >>> >>> I think you need simply add to cursor creation parameter >>> >>> Random >>> >>> On default Valentina make ForwardOnly cursor. >>> >>> Check docs of VCursor >>> >>> >> >> >> The cursor parameter is set to random. As I said, it works perfectly >> with V4MD. When switching to V4MD_Client no cursor code was changed >> yet it does not behave the same way. > > V4MD actually ignore all that parameters!!! > So this is not a reason. > > Okay, show how you create cursor? Your line of code? My code for the cursor is: gMyCursor = new( xtra "VCursor", GetRef(gMyDB), whichSearch, 1, 2, 2) Greg From sunshine at public.kherson.ua Sun Apr 25 22:30:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Apr 25 14:30:28 2004 Subject: cursor and V4md client problem In-Reply-To: Message-ID: On 4/25/04 10:01 PM, "Gregory Kowalski" wrote: >>>>> Hello, >>>>> >>>>> I have encountered a cursor navigation problem when passing from V4MD to >>>>> V4MD Client. I have the project set up so that the query results appear >>>>> in a table ten at a time. There are navigation buttons for NEXT 10 and >>>>> PREVIOUS 10. >>>>> >>>>> The project was developed with V4MD and worked great. Then I tested it >>>>> with V4MD Client and found that when navigating backwards (previous 10) >>>>> everything falls out of line (moving forward everything is fine). I >>>>> should add that I didn't touch any of the cursor code. >>>>> >>>>> Any help would be appreciated. >>>>> >>>> Hi Gregory, >>>> >>>> I think you need simply add to cursor creation parameter >>>> >>>> Random >>>> >>>> On default Valentina make ForwardOnly cursor. >>>> >>>> Check docs of VCursor >>> >>> The cursor parameter is set to random. As I said, it works perfectly >>> with V4MD. When switching to V4MD_Client no cursor code was changed >>> yet it does not behave the same way. >> >> V4MD actually ignore all that parameters!!! >> So this is not a reason. >> >> Okay, show how you create cursor? Your line of code? > > > My code for the cursor is: > > gMyCursor = new( xtra "VCursor", GetRef(gMyDB), whichSearch, 1, 2, 2) I.e. kClient, kReadOnly, kRandom Looks to be correct. Just in case try kServerSide cursor, 2, 2, 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 softil at onlinehome.de Mon Apr 26 08:39:16 2004 From: softil at onlinehome.de (SoftIl) Date: Mon Apr 26 02:04:01 2004 Subject: [VNET] unaccurate exception from db.open methode and wrong IsReadOnly-DataBase-Property References: <007101c41da9$9c8d4900$fe78a8c0@IPSBASIS> Message-ID: <006401c42b5c$a5a6bc90$fe78a8c0@IPSBASIS> Good morning Ruslan, can you say something about the VNET-Update? Best regards, Carsten ----- Original Message ----- From: "SoftIl" To: "Valentina Developers" Sent: Thursday, April 08, 2004 10:34 PM Subject: Re: [VNET] unaccurate exception from db.open methode > Hi Ruslan, > > Can you make for me small project or modify our examples to see this? > > This speed up. > Ok, no problem. I will do that about Easter. > > Best regards and cheerful Easter > Carsten > > ----- Original Message ----- > From: "Ruslan Zasukhin" > To: > Sent: Thursday, April 08, 2004 4:42 PM > Subject: Re: [VNET] unaccurate exception from db.open methode > > > > On 4/8/04 3:57 PM, "SoftIl" wrote: > > > > > Hi Ruslan, > > > if I try to open an database I get inaccurate exception return in case > of > > > the db isn't available. > > > Could be the db doesn't exist or the db is in use by an other programm, > for > > > example. > > > In every case I get always the same exception "VNET.VException" with an > > > empty exception message string return. > > > That isn't really good. > > > It is impossible to find out for me, why I couldn't open the db. > > > > > > Please can you change this? > > > > Yes, Carsten, > > > > Can you make for me small project or modify our examples to see this? > > This speed up. > > > > > > -- > > Best regards, > > Ruslan Zasukhin [ I feel the need...the need for speed ] From sunshine at public.kherson.ua Mon Apr 26 11:36:00 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 26 03:36:42 2004 Subject: [VNET] unaccurate exception from db.open methode and wrong IsReadOnly-DataBase-Property In-Reply-To: <006401c42b5c$a5a6bc90$fe78a8c0@IPSBASIS> Message-ID: On 4/26/04 9:39 AM, "SoftIl" wrote: > Good morning Ruslan, > can you say something about the VNET-Update? Hi Carsten, Ops, sorry for delay. Too busy on 2.0 I will try find time for it ASAP -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From tituyt at hotmail.com Mon Apr 26 18:39:46 2004 From: tituyt at hotmail.com (maud crouzet) Date: Mon Apr 26 12:01:57 2004 Subject: =?iso-8859-1?q?Fich=E9s_v=E9rouill=E9s?= Message-ID: Est il possible d'interdire l'ouverture d'un fichier, soit en le bloquant soit en lui associant un mot de passe ? J'ai cru comprendre que l'xtra OS Util permettait de verouiller un fichier avec OSSetFileLock, mais j'ai pas r?ussi ? v?rouiller quoique ce soit j'ai essay? comme ?a : xUtil = new(Xtra "OSUtil") xUtil.OSSetFileLock(decrypte, "on") OSSetFileLock(decrypte, 1) OSSetFileLock(decrypte, "on") ck(decrypte, "off") Merci d'avance. _________________________________________________________________ MSN Messenger http://g.msn.fr/FR1001/866 : dialoguez en direct et gratuitement avec vos amis ! From sunshine at public.kherson.ua Mon Apr 26 20:49:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Apr 26 12:51:05 2004 Subject: Fich =?iso-8859-1?q?=E9s_v=E9rouill=E9?= s In-Reply-To: Message-ID: On 4/26/04 7:39 PM, "maud crouzet" wrote: > Est il possible d'interdire l'ouverture d'un fichier, soit en le bloquant > soit en lui associant un mot de passe ? > > J'ai cru comprendre que l'xtra OS Util permettait de verouiller un fichier > avec OSSetFileLock, mais j'ai pas r?ussi ? v?rouiller quoique ce soit > > j'ai essay? comme ?a : > xUtil = new(Xtra "OSUtil") > xUtil.OSSetFileLock(decrypte, "on") > OSSetFileLock(decrypte, 1) > OSSetFileLock(decrypte, "on") > ck(decrypte, "off") > > Merci d'avance. I am sorry. Can you repeat in English? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Apr 26 21:37:26 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Apr 26 20:37:28 2004 Subject: Valentina 2.0 Message-ID: <704D2840-97EB-11D8-BE1A-003065BB0634@desuetude.com> Say, will Valentina 2.0 be ready this week? -------------- Charles Yeomans From sunshine at public.kherson.ua Tue Apr 27 08:45:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 27 00:45:42 2004 Subject: Valentina 2.0 In-Reply-To: <704D2840-97EB-11D8-BE1A-003065BB0634@desuetude.com> Message-ID: On 4/27/04 4:37 AM, "Charles Yeomans" wrote: > Say, will Valentina 2.0 be ready this week? We are targeted on May 10-12. Beta. And you ask about Valentina 2.0 + V4RB around it. Right? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Apr 27 09:36:33 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 27 01:37:06 2004 Subject: Valentina woes In-Reply-To: <001a01c42bcb$c74f8790$6601a8c0@precision340> Message-ID: On 4/26/04 11:19 PM, "Ken Ray" wrote: > In order to give you a good time estimate for the rest of the Search stack, > I've done some more research to find the correct SQL syntax for Valentina to > produce correct results. Below is an example of a query which works fine > under MySQL and PostgreSQL, but produces incorrect results in Valentina : > > -------------------------------- > > SELECT Projects.Title, Breakdowns.BdDate Ass1.RecID, Ass1.EntityType, > Ass1.AltEntityName, Ass2.RecID, Ass2.EntityType, Ass2.AltEntityName > Breakdowns.RecID, Projects.RecID FROM Projects, Breakdowns, Associations > Ass1, Associations Ass2 WHERE Breakdowns.ProjectLink = Projects.RecID AND > (Projects.RecID = Ass1.ProjectLink AND Ass1.EntityType = 'Studio') AND > (Breakdowns.RecID = Ass2.BreakdownLink AND Ass2.EntityType = 'Producer') AND > (Ass1.AltEntityName LIKE 'ABC' NO_CASE AND Ass2.AltEntityName LIKE 'B' > NO_CASE) Hi Ken, Hi Robert, Guys, let me repeat again, Valentina 1.x really have some glitches in WHERE clause. This is result of my implementation. Again look on this query in formatted form SELECT Projects.Title, Breakdowns.BdDate Ass1.RecID, Ass1.EntityType, Ass1.AltEntityName, Ass2.RecID, Ass2.EntityType, Ass2.AltEntityName Breakdowns.RecID, Projects.RecID FROM Projects, Breakdowns, Associations Ass1, Associations Ass2 WHERE Breakdowns.ProjectLink = Projects.RecID AND ( Projects.RecID = Ass1.ProjectLink AND Ass1.EntityType = 'Studio') AND (Breakdowns.RecID = Ass2.BreakdownLink AND Ass2.EntityType = 'Producer') AND (Ass1.AltEntityName LIKE 'ABC' NO_CASE AND Ass2.AltEntityName LIKE 'B' NO_CASE) ------------ Your query have next form: (link condition for a Tx and other Tx conditions) To be safe with Valentina you should use more logical form of query WHERE (all! link conditions) and ( (all T1 search conditions) and (all T2 search conditions) ... ) So your query must be re-written as WHERE Breakdowns.ProjectLink = Projects.RecID AND Projects.RecID = Ass1.ProjectLink AND Breakdowns.RecID = Ass2.BreakdownLink AND (Ass1.EntityType = 'Studio' AND Ass1.AltEntityName LIKE 'ABC' NO_CASE ) AND (Ass2.EntityType = 'Producer' AND Ass2.AltEntityName LIKE 'B' NO_CASE ) ------------------------- Now I see why your query did not work. You have had ( Projects.RecID = Ass1.ProjectLink AND Ass1.EntityType = 'Studio') AND (Breakdowns.RecID = Ass2.BreakdownLink AND Ass2.EntityType = 'Producer') AND (Ass1.AltEntityName LIKE 'ABC' NO_CASE AND Ass2.AltEntityName LIKE 'B' NO_CASE) Note that SEARCH conditions of Ass1 table are located in different search groups. (btw, I wonder what sense you have put into such query?!) Valentina 1.x expect from you that ALL search conditions for one table are grouped together. ------------------------------ And let me explain, why IMHO way which Valentina expect is Logical. And I think if you will make habits write queries in such way then you will get them even more effective in other DBMS also. -------------- Q: why we should at first group link conditions, then search conditions? A: Because if you recall Sql92 standard, then you can note, that it also move all link conditions forward, even more they move it into FROM clause. FROM T1 inner join T2 on key = ptr and ... WHERE search conditions so why create mess and mix all together? let's do things in elegant way. -------------- Q: why we should group search conditions of the same table together. A: and I can add: even use () to show explicitly each group. this is only Valentina 1.x limitations. In Valentina 2.0 this is fixed. but actually this is again elegant accurate way. In your query you specify for Ass1 table Ass1.EntityType = 'Studio' and Ass1.AltEntityName LIKE 'ABC' NO_CASE it is logical group this conditions, because DBMS will use this 2 conditions together for original table to get selection of records, and later use ONLY SELECTED records to build join. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Apr 27 13:42:59 2004 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Apr 27 12:42:58 2004 Subject: Valentina 2.0 In-Reply-To: References: Message-ID: <5336CCA6-9872-11D8-A9C5-003065BB0634@desuetude.com> On Apr 27, 2004, at 1:45 AM, Ruslan Zasukhin wrote: > On 4/27/04 4:37 AM, "Charles Yeomans" wrote: > >> Say, will Valentina 2.0 be ready this week? > > We are targeted on May 10-12. > Beta. > > And you ask about Valentina 2.0 + V4RB around it. > Right? Right. -------------- Charles Yeomans From gregkowalski at earthlink.net Tue Apr 27 15:03:08 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Tue Apr 27 14:01:55 2004 Subject: cursor and V4md client problem In-Reply-To: <20040427063726.609C7108F28@edison.macserve.net> References: <20040427063726.609C7108F28@edison.macserve.net> Message-ID: On Apr 27, 2004, at 1:37 AM, valentina-request@lists.macserve.net wrote: >>>>>> Hello, >>>>>> >>>>>> I have encountered a cursor navigation problem when passing from >>>>>> V4MD to >>>>>> V4MD Client. I have the project set up so that the query results >>>>>> appear >>>>>> in a table ten at a time. There are navigation buttons for NEXT >>>>>> 10 and >>>>>> PREVIOUS 10. >>>>>> >>>>>> The project was developed with V4MD and worked great. Then I >>>>>> tested it >>>>>> with V4MD Client and found that when navigating backwards >>>>>> (previous 10) >>>>>> everything falls out of line (moving forward everything is fine). >>>>>> I >>>>>> should add that I didn't touch any of the cursor code. >>>>>> >>>>>> Any help would be appreciated. >>>>>> >>>>> Hi Gregory, >>>>> >>>>> I think you need simply add to cursor creation parameter >>>>> >>>>> Random >>>>> >>>>> On default Valentina make ForwardOnly cursor. >>>>> >>>>> Check docs of VCursor >>>> >>>> The cursor parameter is set to random. As I said, it works >>>> perfectly >>>> with V4MD. When switching to V4MD_Client no cursor code was changed >>>> yet it does not behave the same way. >>> >>> V4MD actually ignore all that parameters!!! >>> So this is not a reason. >>> >>> Okay, show how you create cursor? Your line of code? >> >> >> My code for the cursor is: >> >> gMyCursor = new( xtra "VCursor", GetRef(gMyDB), whichSearch, 1, 2, 2) > > I.e. > > kClient, kReadOnly, kRandom > > Looks to be correct. > > Just in case try kServerSide cursor, > > 2, 2, 2 > I just tried it with 2,2,2 - it doesn't work either and it is MUCH slower. Greg From srunkel at hypix.com Tue Apr 27 12:15:18 2004 From: srunkel at hypix.com (Scott Runkel) Date: Tue Apr 27 14:15:31 2004 Subject: cursor and V4md client problem References: <20040427063726.609C7108F28@edison.macserve.net> Message-ID: <03d001c42c8b$fa982dd0$0200a8c0@SCOTT3> > I just tried it with 2,2,2 - it doesn't work either and it is MUCH > slower. This raises a related question for me. I'm using V4MD for a CD-ROM-delivered standalone app that will only run on individual computers. It will never be used in a client-server environment. Should I set "location" to client (1) or server (2)? I've been using server for no particular reason, but if client is faster and there's no down side, I'll use that. Ruslan -- what is the preferred choice for an app like mine? -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Tue Apr 27 22:21:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 27 14:35:58 2004 Subject: cursor and V4md client problem In-Reply-To: <03d001c42c8b$fa982dd0$0200a8c0@SCOTT3> Message-ID: On 4/27/04 10:15 PM, "Scott Runkel" wrote: Hi Scott, >> I just tried it with 2,2,2 - it doesn't work either and it is MUCH >> slower. > > This raises a related question for me. I'm using V4MD for a CD-ROM-delivered > standalone app that will only run on individual computers. It will never be > used in a client-server environment. Should I set "location" to client (1) or > server (2)? I've been using server for no particular reason, but if client is > faster and there's no down side, I'll use that. For LOCAL database there is no difference. But in theory, LOCAL db can become server-baed, And I think then Server-side cursor is better in many cases. > Ruslan -- what is the preferred choice for an app like mine? Use server side cursor -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Apr 27 22:22:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 27 14:52:03 2004 Subject: cursor and V4md client problem In-Reply-To: Message-ID: On 4/27/04 11:03 PM, "Gregory Kowalski" wrote: >> Just in case try kServerSide cursor, >> >> 2, 2, 2 >> > > I just tried it with 2,2,2 - it doesn't work either and it is MUCH > slower. Well, then I need some project from you that reproduce your problem. Try modify existed examples. Make project as simple then possible, then may be you will find it working. Because on our side it looks all right, -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From srunkel at hypix.com Tue Apr 27 13:15:20 2004 From: srunkel at hypix.com (Scott Runkel) Date: Tue Apr 27 15:15:31 2004 Subject: cursor and V4md client problem References: Message-ID: <043101c42c94$5db65970$0200a8c0@SCOTT3> > > I just tried it with 2,2,2 - it doesn't work either and it is MUCH > > slower. In my case, the speeds are quite similar. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From srunkel at hypix.com Tue Apr 27 13:21:10 2004 From: srunkel at hypix.com (Scott Runkel) Date: Tue Apr 27 15:21:18 2004 Subject: cursor and V4md client problem References: Message-ID: <044901c42c95$2e69a040$0200a8c0@SCOTT3> > > Ruslan -- what is the preferred choice for an app like mine? > > Use server side cursor Thanks. I'll continue with server. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Tue Apr 27 23:18:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Apr 27 15:26:27 2004 Subject: cursor and V4md client problem In-Reply-To: <043101c42c94$5db65970$0200a8c0@SCOTT3> Message-ID: On 4/27/04 11:15 PM, "Scott Runkel" wrote: >>> I just tried it with 2,2,2 - it doesn't work either and it is MUCH >>> slower. > > In my case, the speeds are quite similar. For LOCAL db there is no difference! For client/server in some cases client-side cursor can be better, In some cases server-side. Just it needs to understand what is going on to see difference. Also do not forget that exists bulk-cursor -- hybrid of 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 cm_sheffield at yahoo.com Wed Apr 28 12:15:32 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Wed Apr 28 14:15:48 2004 Subject: error 10061 on Windows Message-ID: <20040428191532.43508.qmail@web20413.mail.yahoo.com> I'm occasionally getting an error 10061 on Windows. I think it's happening when trying to start the Valentina Server from a custom installation, though I'm not 100% sure about that. It might be after starting the server and then trying to access my database for the first time. Can anyone tell me what this error is and how I can fix it? It doesn't always happen, by the way. It seems kind of sporadic. Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From giv at tlc.kherson.ua Wed Apr 28 23:00:28 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Apr 28 15:00:32 2004 Subject: error 10061 on Windows References: <20040428191532.43508.qmail@web20413.mail.yahoo.com> Message-ID: <001d01c42d5b$752cf150$3b04a8c0@giv> Hi Chris, > I'm occasionally getting an error 10061 on Windows. I > think it's happening when trying to start the > Valentina Server from a custom installation, though > I'm not 100% sure about that. It might be after > starting the server and then trying to access my > database for the first time. This error cannot be produced by the server itself. You can only get it on client side. This is 10061 error description from MSDN: Connection refused. No connection could be made because the target computer actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host-that is, one with no server application running. So, please check that you use correct address and port while connecting to server. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From tjames1 at bigpond.net.au Thu Apr 29 13:32:22 2004 From: tjames1 at bigpond.net.au (Tim James) Date: Wed Apr 28 22:31:20 2004 Subject: Bug? on insert into previously deleted recid In-Reply-To: References: Message-ID: I started to loaddump and it appears it will take 24 hours to complete Would it be possible to 1.export all tables to files 2.delete all records from all tables 3.dump db via dumpxml 4.reload dump.xml to create a clean new empty DB 5. import all tables back into the new DB (I presume (hope) that import doesn't look at OBjptrs or changes recids) Is this a safe way to proceed ?? On 24/04/2004, at 4:18 PM, Ruslan Zasukhin wrote: > On 4/24/04 3:40 AM, "Tim James" wrote: > >>> Try XML dump then load into new fresh db >>> >> >> >> Fresh db means ? >> >> recreate the db in Valentina - I do not use constructors for db >> definition ? >> 30 tables - 250 fields !! >> >> or can I just reload into current db > > Do not reload into curent db. > > 1) you dump to XML > > 2) you move your old db to trash (but do not delete yet) or into other > place > > 3) you do LoadDump() for xml file and as result of LoadDump you get > new db. > > > You can use VAPP or Valentina Studio 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 > From e.wyber at murdoch.edu.au Thu Apr 29 12:04:41 2004 From: e.wyber at murdoch.edu.au (Elias.) Date: Wed Apr 28 23:00:10 2004 Subject: [Security] This list is publicly accessible :-( Message-ID: <573B5E6A-9992-11D8-9203-0003930FD04E@murdoch.edu.au> Hi Ruslan, http://lists.macserve.net/pipermail/valentina/2004-April/008065.html This is published to the web - that means bots can scan this list for email harvesting!! I just dumped my old domain (after almost 9 years) because of spam (1000+ messages a week) - I wouldn't like that to happen again... Elias. You only have the rights you defend in others. From sunshine at public.kherson.ua Thu Apr 29 10:05:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 29 02:13:15 2004 Subject: [Security] This list is publicly accessible :-( In-Reply-To: <573B5E6A-9992-11D8-9203-0003930FD04E@murdoch.edu.au> Message-ID: On 4/29/04 7:04 AM, "Elias." wrote: > Hi Ruslan, > > http://lists.macserve.net/pipermail/valentina/2004-April/008065.html > > This is published to the web - that means bots can scan this list for > email harvesting!! > > I just dumped my old domain (after almost 9 years) because of spam > (1000+ messages a week) - I wouldn't like that to happen again... Hi Elias, I have CC this request to Brian Blood. Brian, can we close that "whole"? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Thu Apr 29 07:13:31 2004 From: dave at parizek.com (Autoresponder) Date: Thu Apr 29 02:13:43 2004 Subject: [Security] This list is publicly accessible :-( Message-ID: <20040429071321.80226.qmail@raitax.pair.com> Hello, This response is being generated automatically to acknowledge delivery of your message. From sunshine at public.kherson.ua Thu Apr 29 10:05:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 29 02:24:52 2004 Subject: Bug? on insert into previously deleted recid In-Reply-To: Message-ID: On 4/29/04 6:32 AM, "Tim James" wrote: > I started to loaddump and it appears it will take 24 hours to complete > > Would it be possible to > > 1.export all tables to files > > 2.delete all records from all tables > > 3.dump db via dumpxml > > 4.reload dump.xml to create a clean new empty DB > > 5. import all tables back into the new DB > > > (I presume (hope) that import doesn't look at OBjptrs or changes recids) > > Is this a safe way to proceed ?? Yes! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at parizek.com Thu Apr 29 07:25:03 2004 From: dave at parizek.com (Autoresponder) Date: Thu Apr 29 02:25:13 2004 Subject: Bug? on insert into previously deleted recid Message-ID: <20040429072459.82705.qmail@raitax.pair.com> Hello, This response is being generated automatically to acknowledge delivery of your message. From sunshine at public.kherson.ua Thu Apr 29 10:10:21 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 29 02:28:57 2004 Subject: [FAQ] Tricky SELECT help request In-Reply-To: Message-ID: On 4/29/04 9:49 AM, "rinaldi.frederic@free.fr" wrote: > Name: Frédéric RINALDI > > Question regarding: sql > Hi Rilandi, > Hi, I'm a licensee of Valentina XCMD. > I'm currently building an Email base app, Wow! For commercial use? It seems far ago was dream to get emailer based on Valentina. > where I use a 'Base' table > containing among others two similar ObjectPtr fields: 'ToPtr' and 'FromPtr', > both pointing to the same 'Emails' table. > What is the SELECT syntax to get a list of all 'Base' table records including > for each both FromEmail and ToEmail datas? I think you need aliases for tables select FROM Base, Emails a, Emails b WHERE ToPtr = a.RecId and FromPtr= b.recID -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From dave at parizek.com Thu Apr 29 07:29:10 2004 From: dave at parizek.com (Autoresponder) Date: Thu Apr 29 02:29:18 2004 Subject: [FAQ] Tricky SELECT help request Message-ID: <20040429072906.85208.qmail@raitax.pair.com> Hello, This response is being generated automatically to acknowledge delivery of your message. From cm_sheffield at yahoo.com Thu Apr 29 09:56:35 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Thu Apr 29 11:56:47 2004 Subject: VServer on Windows and custom installation In-Reply-To: <001d01c4276d$a0aac080$3b04a8c0@giv> Message-ID: <20040429165635.8465.qmail@web20422.mail.yahoo.com> Thanks for responding, Igor. I've got a couple more questions I'm hoping you or someone can help me with. I'm still trying to get the server launched on Win 98. It's appearing to me that a restart is necessary before this will actually happen. I'm launching it using -i, and then again using -s, but the process doesn't actually seem to be running. And if I try to connect to the server in order to register my database, I get error 10061 (see previous post) when calling the Server_OpenSession() function. And then, of course, nothing works. Am I not doing something right? If I restart my computer, the process appears to be registered as a service and it's running. Also, in the Zip archive on paradigmasoft.com that's for embedded users, there is a file Vserver2_9x.exe, but the main installation for Windows only has Vserver.exe. Should I be using the "_9x" version for Windows 98, or will Vserver.exe work for all versions of Windows? Thanks again, --- Igor Gomon wrote: > Hi Chris, > > > VServer.pdf states that to start the server as a > > service you need to run it with the -i option and > then > > the -s option. Is it necessary to do both? If > I'm > > doing my own installation and want to start the > server > > from that installation program, do I have to > actually > > start it twice? > Yes, it's necessary. First time launching VServer > with -i > option you registers it as a Windows service. And > then > only you can run it with -s option - to start it > actually. > > > Also, will VServer run on any version of Windows, > or > > just NT-based versions (NT 4.0, 2000, XP, 2003)? > If > > it will run on all versions, can it still run as a > > service under Win 98, or does a shortcut need to > be > > placed in the Startup folder? It's not very > likely > > that our customers will run the server on a Win 98 > > machine, but it could happen. > VServer also runs under Windows98 (Windows 95 not > tested). > It runs as a service. So you don't need to add > anything to the > Startup folder. > > -- > Best regards, > Igor Gomon > ------------------------------------------------------------- > e-mail: giv@tlc.kherson.ua > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://listserv.macserve.net/mailman/listinfo/valentina > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From sunshine at public.kherson.ua Thu Apr 29 20:25:29 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 29 12:34:39 2004 Subject: VServer on Windows and custom installation In-Reply-To: <20040429165635.8465.qmail@web20422.mail.yahoo.com> Message-ID: On 4/29/04 7:56 PM, "Chris Sheffield" wrote: > Also, in the Zip archive on paradigmasoft.com that's > for embedded users, there is a file Vserver2_9x.exe, > but the main installation for Windows only has > Vserver.exe. Should I be using the "_9x" version for > Windows 98, or will Vserver.exe work for all versions > of Windows? Our Main installer also have _9x version, but it installs it only if it see Win9x computer. So yes, you must use _9x file to make your own combo-installer. Am I right, Igor? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Thu Apr 29 20:46:26 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Thu Apr 29 12:56:54 2004 Subject: VServer on Windows and custom installation References: <20040429165635.8465.qmail@web20422.mail.yahoo.com> Message-ID: <003801c42e11$e6491f10$3b04a8c0@giv> > I'm still trying to get the server launched on Win 98. > It's appearing to me that a restart is necessary > before this will actually happen. Yes, it's necessary for Win98 to restart computer in order VServer to start function as a service process. Furthermore, after deinstallation of server you also need to restart it. > I'm launching it > using -i, and then again using -s, but the process > doesn't actually seem to be running. Actually these switches only works for NT server (VServer_NT.exe) since on NT it's possible to manage services without restarting. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From giv at tlc.kherson.ua Thu Apr 29 20:56:23 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Thu Apr 29 13:01:12 2004 Subject: VServer on Windows and custom installation References: Message-ID: <004401c42e13$4a3f1140$3b04a8c0@giv> > > Also, in the Zip archive on paradigmasoft.com that's > > for embedded users, there is a file Vserver2_9x.exe, > > but the main installation for Windows only has > > Vserver.exe. Should I be using the "_9x" version for > > Windows 98, or will Vserver.exe work for all versions > > of Windows? > > Our Main installer also have _9x version, but it installs it only if it see > Win9x computer. > > So yes, you must use _9x file to make your own combo-installer. > > Am I right, Igor? There are two executables - VServer_9x.exe & VServer_NT.exe. VServer_9x.exe - this is launcher for Win98 server. It also implements Win98 service functionality. It's only installed on Win98 systems. VServer_NT.exe - implements WinNT service functionality for VServer and processes some command line switches. It's only installed on NT systems. So, yes - you must use different executables for different operation systems. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From gregkowalski at earthlink.net Thu Apr 29 14:13:24 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Thu Apr 29 13:12:05 2004 Subject: Valentina Digest, Vol 16, Issue 17 In-Reply-To: <20040429040017.755F410AFD6@edison.macserve.net> References: <20040429040017.755F410AFD6@edison.macserve.net> Message-ID: <49723116-9A11-11D8-835F-000393DAB46A@earthlink.net> On Apr 28, 2004, at 11:00 PM, valentina-request@lists.macserve.net wrote: >>> Just in case try kServerSide cursor, >>> >>> 2, 2, 2 >>> >> >> I just tried it with 2,2,2 - it doesn't work either and it is MUCH >> slower. > > Well, then I need some project from you that reproduce your problem. > > Try modify existed examples. > > Make project as simple then possible, then may be you will find it > working. > Because on our side it looks all right, > Ok. But in theory what works for V4MD (cursor-wise, of course) should work for V4MD_Client, right ? I'll do some tests simpler forward-backward navigation and see what happens. Greg From sunshine at public.kherson.ua Thu Apr 29 21:35:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Apr 29 13:42:31 2004 Subject: Valentina Digest, Vol 16, Issue 17 In-Reply-To: <49723116-9A11-11D8-835F-000393DAB46A@earthlink.net> Message-ID: On 4/29/04 10:13 PM, "Gregory Kowalski" wrote: >>>> Just in case try kServerSide cursor, >>>> >>>> 2, 2, 2 >>>> >>> >>> I just tried it with 2,2,2 - it doesn't work either and it is MUCH >>> slower. >> >> Well, then I need some project from you that reproduce your problem. >> >> Try modify existed examples. >> >> Make project as simple then possible, then may be you will find it >> working. >> Because on our side it looks all right, >> > Ok. But in theory what works for V4MD (cursor-wise, of course) should > work for V4MD_Client, right ? Yes, although in true concurrent-user system you can more often get record locked error > I'll do some tests simpler forward-backward navigation and see what > happens. You can use Example 101 located in V4MD_Client. I believe it have buttons Next/Prev and they 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 Fri Apr 30 10:49:27 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 30 03:49:46 2004 Subject: Problems with vServer Xtra 4MD Message-ID: Hi Ruslan! It took me days to figure this out: I use the vServer Xtra to find out if a database does already exists. If not, I close the session again and all is fine. If it does though, I run a sub to create all tables and fields. After that I shutdown and restart the projector. I have always received a weird script error which came up apparently after the "halt" command which I use to end the running projector. I don't get any details with the script error and since we speak about very few installations, I kind of accepted the error, since it did not harm the installation and work progress. Now I made an update of my application and in authoring all was fine (the error is in the projector only). Unfortunately in runtime I got the error again but this time not after the "halt" command but right after an alert command in the middle of my scripts. Now in short without all details: after really days of testing and a good hint on another list, I found out that it had to be a callback from an xtra or similar and I started investigating what I had changed and apparently I had enlarged the create table and fields stuff a great deal. So I investigated into the vServer Xtra and changed the timeout from 500 to 2000 and suddenly the error changed back to the halt command. What I now think is: If I use the vServer Xtra and do a lot of creating tables and fields with the client Xtra, the vServer Xtra somehow runs into a timeout and calls back Director, causing this error. Obviously the alert or halt command catches this error then (enough time for the "callback") and produces an error immediately after (we all know that "alert" stops the whole Director). When I run the code for a second time, the DB must not be created again and I don't get an error anymore. The only difference is the code creating tables and fields. So in summary: 1. An callback is sent in combination with vServer Xtra and creating tables and fields 2. The resulting error can be delayed with using higher timeouts. However it can not be avoided 3. It is in runtime only 4. I tried closing the vServer connection with closeSession() and setting it to 0 before calling the the create code but it did not help. This is the last lines of the log: 10:47:28.558000 (188): (388) Flushing 'me-inside' database: OK 10:47:28.558000 (188): (388) Closing database me-inside: OK 10:47:28.558000 (1552): (388) Unknown error! 10:47:28.558000 (1552): (388) ERROR #1019: Unknown server error 10:47:28.558000 (1552): Closing connection (388) Best regards, Florian From sunshine at public.kherson.ua Fri Apr 30 11:57:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 30 04:13:46 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: Message-ID: On 4/30/04 11:49 AM, "Florian Bogeschdorfer" wrote: Hi Florian, Exists good Russian verb: It is better once to see than 100 times to hear. Can you send us something that reproduce problem? > Hi Ruslan! > > It took me days to figure this out: > > I use the vServer Xtra to find out if a database does already exists. If > not, I close the session again and all is fine. If it does though, I run a > sub to create all tables and fields. > > After that I shutdown and restart the projector. I have always received a > weird script error which came up apparently after the "halt" command which I > use to end the running projector. I don't get any details with the script > error and since we speak about very few installations, I kind of accepted > the error, since it did not harm the installation and work progress. > > Now I made an update of my application and in authoring all was fine (the > error is in the projector only). Unfortunately in runtime I got the error > again but this time not after the "halt" command but right after an alert > command in the middle of my scripts. Now in short without all details: after > really days of testing and a good hint on another list, I found out that it > had to be a callback from an xtra or similar and I started investigating > what I had changed and apparently I had enlarged the create table and fields > stuff a great deal. > > So I investigated into the vServer Xtra and changed the timeout from 500 to > 2000 and suddenly the error changed back to the halt command. > > What I now think is: > > If I use the vServer Xtra and do a lot of creating tables and fields with > the client Xtra, the vServer Xtra somehow runs into a timeout and calls back > Director, causing this error. Obviously the alert or halt command catches > this error then (enough time for the "callback") and produces an error > immediately after (we all know that "alert" stops the whole Director). > > When I run the code for a second time, the DB must not be created again and > I don't get an error anymore. The only difference is the code creating > tables and fields. So in summary: > > 1. An callback is sent in combination with vServer Xtra and creating tables > and fields > 2. The resulting error can be delayed with using higher timeouts. However it > can not be avoided > 3. It is in runtime only > 4. I tried closing the vServer connection with closeSession() and setting it > to 0 before calling the the create code but it did not help. > > This is the last lines of the log: > > 10:47:28.558000 (188): (388) Flushing 'me-inside' database: OK > 10:47:28.558000 (188): (388) Closing database me-inside: OK > 10:47:28.558000 (1552): (388) Unknown error! > 10:47:28.558000 (1552): (388) ERROR #1019: Unknown server error > 10:47:28.558000 (1552): Closing connection (388) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Apr 30 11:29:48 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 30 04:29:56 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: Message-ID: > > Hi Florian, > > Exists good Russian verb: > It is better once to see than 100 times to hear. > > Can you send us something that reproduce problem? > > Hi Ruslan! I don't think so. I can not strip the application down and you would need runtime and authoring versions plus all the xtras and registrations. And it would be tough for you to modify my code to try since it is not documented yet. Please look into your code or try making a project where smaller timeouts of vServer Xtra might interfere with creating tables and fields. If this does not work out and you find nothing, I may find time next week to try to strip it down. Best regards, Florian From giv at tlc.kherson.ua Fri Apr 30 13:10:24 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Apr 30 05:32:24 2004 Subject: Problems with vServer Xtra 4MD References: Message-ID: <003401c42e9b$5b752930$3b04a8c0@giv> Hi Florian, Do I understand you right? var server = new Xtra("VServer") var dbExists = DatabaseExists(server); server.CloseSession() server = void if dbExists = 0 then gDb = new Xtra("VDatabase", "", "sa", "sa", 15432, 2000) --During this call crash happened CreateStructure(gDb) gDb.CloseDatabase() end if -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From fb at memedia.de Fri Apr 30 13:19:14 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 30 06:19:24 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: <003401c42e9b$5b752930$3b04a8c0@giv> Message-ID: Hi Igor! > > Do I understand you right? No. It's like this: Create Vserver instance with timeout=500 Count databases If less then 2 then createDatabases Close Vserver halt Else Close Vserver Continue with normal program End if On createDatabases --Creating database --creating about 30 tables and some hundred fields here --all in a row Alert "Finished with creating" --script error End I have several alerts informing the user of the progress. Depending on how many fields I create and how much timeout I set the script error goes to the next or previous alert. Best regards, Florian > > var server = new Xtra("VServer") > var dbExists = DatabaseExists(server); > server.CloseSession() > server = void > > if dbExists = 0 then > gDb = new Xtra("VDatabase", "", "sa", "sa", 15432, 2000) > > --During this call crash happened > CreateStructure(gDb) > > gDb.CloseDatabase() > end if > > > > -- > Best regards, > Igor Gomon > ------------------------------------------------------------- > e-mail: giv@tlc.kherson.ua > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://listserv.macserve.net/mailman/listinfo/valentina > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From fb at memedia.de Fri Apr 30 13:23:58 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 30 06:24:20 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: <003401c42e9b$5b752930$3b04a8c0@giv> Message-ID: By the way: Depending on how the timeout is set or other factors I get a total Projector crash instead of the script error. It says that windows had to shut down my program because of an application error. Florian From fb at memedia.de Fri Apr 30 13:28:20 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 30 06:28:38 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: Message-ID: > > Exists good Russian verb: > It is better once to see than 100 times to hear. > > Can you send us something that reproduce problem? > > Maybe it is like this Ruslan: The Vserver Xtra gets an timeout when I do to much work on the DB. Maybe the server is to busy to confirm the connection to the Vserver Xtra (looks like the two stay in touch). And maybe now the Vserver wants to put an callback error to director? Florian From sunshine at public.kherson.ua Fri Apr 30 14:32:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 30 06:39:59 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: Message-ID: On 4/30/04 2:19 PM, "Florian Bogeschdorfer" wrote: >> Do I understand you right? > > No. > > It's like this: > > Create Vserver instance with timeout=500 > Count databases > If less then 2 then > createDatabases > Close Vserver > halt > Else > Close Vserver > Continue with normal program > End if > > > On createDatabases > --Creating database > --creating about 30 tables and some hundred fields here > --all in a row > Alert "Finished with creating" > --script error > End > > I have several alerts informing the user of the progress. Depending on how > many fields I create and how much timeout I set the script error goes to the > next or previous alert. So it sounds like in 500 seconds Valentina is not able yet create your 30 tables with hundred fields? Do you have average 3 fields per table? 30 * 3 = near to 100 If to use local V4MD then how long time it takes? If you run Vserver in console with Verbose Level 2 then can you see how many tables Valentina have create for 500 seconds ? May be you need 520 seconds to get all? Although I do not see why it takes so long 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 Fri Apr 30 13:44:29 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 30 06:44:40 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: Message-ID: > > So it sounds like in 500 seconds Valentina is not able yet > create your 30 tables with hundred fields? Don't know, is the timeout in seconds? It takes between 5 and 10 seconds to create all tables and fields. > > Do you have average 3 fields per table? > 30 * 3 = near to 100 > > If to use local V4MD then how long time it takes? > > If you run Vserver in console with Verbose Level 2 then can > you see how many tables Valentina have create for 500 seconds > ? May be you need 520 seconds to get all? > > Although I do not see why it takes so long for you. > See above Best regards, Florian From sunshine at public.kherson.ua Fri Apr 30 14:36:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 30 06:45:04 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: Message-ID: On 4/30/04 2:28 PM, "Florian Bogeschdorfer" wrote: >> Exists good Russian verb: >> It is better once to see than 100 times to hear. >> >> Can you send us something that reproduce problem? >> >> > > Maybe it is like this Ruslan: > > The Vserver Xtra gets an timeout when I do to much work on the DB. Maybe the > server is to busy to confirm the connection to the Vserver Xtra (looks like > the two stay in touch). And maybe now the Vserver wants to put an callback > error to director? Aha, I see problem! Igor, if Florian execute many many commands from Vserver Xtra, And he execute them very fast, then how we can get timeout ?! Timeout means that 500 seconds was silent and no comands. So it looks that Vserver Xrta and probably Vserver class DO NOT update time of last command. Please check 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 fb at memedia.de Fri Apr 30 13:55:15 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 30 06:55:26 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: Message-ID: > > Aha, I see problem! > > > Igor, if Florian execute many many commands from Vserver > Xtra, And he execute them very fast, then how we can get timeout ?! > > Timeout means that 500 seconds was silent and no comands. > > So it looks that Vserver Xrta and probably Vserver class DO NOT update > time of last command. > > Please check this. > But this is only part of the problem Ruslan: 1. I execute all create data from Client Xtra 2. It never takes 500 seconds, it it never more than maybe 20 seconds on slow machines. 3. Even if I put up the timeout to 2000, I get the error when I try to exit the projector although Vserver xtra was closed meanwhile Looks like somethings keeps hanging somewhere... Florian From sunshine at public.kherson.ua Fri Apr 30 14:55:24 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 30 06:57:26 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: Message-ID: On 4/30/04 2:44 PM, "Florian Bogeschdorfer" wrote: >> So it sounds like in 500 seconds Valentina is not able yet >> create your 30 tables with hundred fields? > > Don't know, is the timeout in seconds? > It takes between 5 and 10 seconds to create all tables and fields. Then on which second do you get problem ? You get problem AFTER all tables are created? If yes, then problem not in creation of tables. I little lost >> Do you have average 3 fields per table? >> 30 * 3 = near to 100 >> >> If to use local V4MD then how long time it takes? >> >> If you run Vserver in console with Verbose Level 2 then can >> you see how many tables Valentina have create for 500 seconds >> ? May be you need 520 seconds to get all? >> >> Although I do not see why it takes so long 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 giv at tlc.kherson.ua Fri Apr 30 14:55:47 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Apr 30 06:59:00 2004 Subject: Problems with vServer Xtra 4MD References: Message-ID: <002101c42eaa$1478b6f0$3b04a8c0@giv> > On 4/30/04 2:28 PM, "Florian Bogeschdorfer" wrote: > > >> Exists good Russian verb: > >> It is better once to see than 100 times to hear. > >> > >> Can you send us something that reproduce problem? > >> > >> > > > > Maybe it is like this Ruslan: > > > > The Vserver Xtra gets an timeout when I do to much work on the DB. Maybe the > > server is to busy to confirm the connection to the Vserver Xtra (looks like > > the two stay in touch). And maybe now the Vserver wants to put an callback > > error to director? > > Aha, I see problem! > > > Igor, if Florian execute many many commands from Vserver Xtra, > And he execute them very fast, then how we can get timeout ?! > > Timeout means that 500 seconds was silent and no comands. > > So it looks that Vserver Xrta and probably Vserver class DO NOT update > time of last command. OK, it's possible. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From fb at memedia.de Fri Apr 30 14:04:38 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 30 07:04:50 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: Message-ID: > > Then on which second do you get problem ? Interesting question. I have not stopped the time. Maybe total at 40 seconds. > > You get problem AFTER all tables are created? > If yes, then problem not in creation of tables. > Yes. I see it like this: Vserver connected. Lots of code happens, server is very busy creating tables, timeout between server and vServer Xtra happens, an error is produced in vServer Xtra. But it can not be put through to Director because Director is still busy. No idle time is available and the code still running. Now an alert is executed (or halt). This gives plenty of time for the xtra to do something like report the error to Director but Director can again not react because of the alert still waiting for the user. Now user clicks OK and then the error shows up. Florian From sunshine at public.kherson.ua Fri Apr 30 15:04:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 30 07:16:06 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: Message-ID: On 4/30/04 2:55 PM, "Florian Bogeschdorfer" wrote: >> Aha, I see problem! >> >> >> Igor, if Florian execute many many commands from Vserver >> Xtra, And he execute them very fast, then how we can get timeout ?! >> >> Timeout means that 500 seconds was silent and no comands. >> >> So it looks that Vserver Xrta and probably Vserver class DO NOT update >> time of last command. >> >> Please check this. >> > > But this is only part of the problem Ruslan: > > 1. I execute all create data from Client Xtra > 2. It never takes 500 seconds, it it never more than maybe 20 seconds on > slow machines. > 3. Even if I put up the timeout to 2000, I get the error when I try to exit > the projector although Vserver xtra was closed meanwhile > > Looks like somethings keeps hanging somewhere... Also I do not understand why you work via Vserver xtra? To create tables you need vdatabase xtra, no? Or you open several dbs at once ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Fri Apr 30 14:22:55 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 30 07:23:28 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: Message-ID: > > Also I do not understand why you work via Vserver xtra? To set password and count DBs. > > To create tables you need vdatabase xtra, no? No. I am doing this via the normal client xtra > > Or you open several dbs at once ? No > From giv at tlc.kherson.ua Fri Apr 30 15:19:30 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Apr 30 07:24:24 2004 Subject: Problems with vServer Xtra 4MD References: <002101c42eaa$1478b6f0$3b04a8c0@giv> Message-ID: <005a01c42ead$649717a0$3b04a8c0@giv> > > Aha, I see problem! > > > > > > Igor, if Florian execute many many commands from Vserver Xtra, > > And he execute them very fast, then how we can get timeout ?! > > > > Timeout means that 500 seconds was silent and no comands. > > > > So it looks that Vserver Xrta and probably Vserver class DO NOT update > > time of last command. > OK, it's possible. I've checked VServer code and it looks like it updates time of last executed command correctly. But we confused different timeouts. Timeout specified on creation of database is only used on connect. Do not confuse it with connection timeout, which is VServer configuration property. Connection timeout is set in the ini-file and it can be changed/retrieved though SetVariable()/GetVariable API. Florian, please check your ini-file for VServer. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From fb at memedia.de Fri Apr 30 14:34:30 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 30 07:36:15 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: <005a01c42ead$649717a0$3b04a8c0@giv> Message-ID: > > But we confused different timeouts. > Timeout specified on creation of database is only used on connect. > Do not confuse it with connection timeout, which is VServer > configuration property. Connection timeout is set in the > ini-file and it can be changed/retrieved though > SetVariable()/GetVariable API. > > Florian, please check your ini-file for VServer. > You mean this? MaxClientTimeout=0 Florian PS: some codes: vs=new(xtra "Vserver",lPrefs[#serverIP],lPrefs[#dbUser],lPrefs[#dbPW],lPrefs[#serverPort ],500,"mySerial") x=vs.openSession() VAL[#ID]=new(xtra"VdataBase",lPrefs[#serverIP],lPrefs[#dbUser],lPrefs[#dbPW] ,lPrefs[#serverPort],500,"mySerial") Mmmh. Maybe the problem comes from the VdataBase Xtra? From giv at tlc.kherson.ua Fri Apr 30 15:36:14 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Apr 30 07:45:00 2004 Subject: Problems with vServer Xtra 4MD References: Message-ID: <002401c42eaf$bac650d0$3b04a8c0@giv> > It's like this: > > Create Vserver instance with timeout=500 > Count databases > If less then 2 then > createDatabases > Close Vserver > halt > Else > Close Vserver > Continue with normal program > End if > > > On createDatabases > --Creating database > --creating about 30 tables and some hundred fields here > --all in a row > Alert "Finished with creating" > --script error > End I'll try now to reproduce this scenarion. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Apr 30 15:43:07 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Apr 30 07:57:57 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: Message-ID: On 4/30/04 3:34 PM, "Florian Bogeschdorfer" wrote: >> But we confused different timeouts. >> Timeout specified on creation of database is only used on connect. >> Do not confuse it with connection timeout, which is VServer >> configuration property. Connection timeout is set in the >> ini-file and it can be changed/retrieved though >> SetVariable()/GetVariable API. >> >> Florian, please check your ini-file for VServer. >> > > You mean this? > > MaxClientTimeout=0 > > Florian > > > PS: some codes: > > vs=new(xtra > "Vserver",lPrefs[#serverIP],lPrefs[#dbUser],lPrefs[#dbPW],lPrefs[#serverPort > ],500,"mySerial") > x=vs.openSession() > > > > VAL[#ID]=new(xtra"VdataBase",lPrefs[#serverIP],lPrefs[#dbUser],lPrefs[#dbPW] > ,lPrefs[#serverPort],500,"mySerial") > > > Mmmh. Maybe the problem comes from the VdataBase Xtra? Another question: you have use V4MD Client and Vserver many months. all did work. once aging: what you have change to get problem? where is difference? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@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 Fri Apr 30 15:46:56 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Apr 30 08:04:45 2004 Subject: Problems with vServer Xtra 4MD References: Message-ID: <003701c42eb1$39767490$3b04a8c0@giv> > > But we confused different timeouts. > > Timeout specified on creation of database is only used on connect. > > Do not confuse it with connection timeout, which is VServer > > configuration property. Connection timeout is set in the > > ini-file and it can be changed/retrieved though > > SetVariable()/GetVariable API. > > > > Florian, please check your ini-file for VServer. > > > > You mean this? Yes. > MaxClientTimeout=0 So, you do not use timeouts. Then server should not break the connection on timeout. > PS: some codes: > > vs=new(xtra > "Vserver",lPrefs[#serverIP],lPrefs[#dbUser],lPrefs[#dbPW],lPrefs[#serverPort > ],500,"mySerial") > x=vs.openSession() > > > > VAL[#ID]=new(xtra"VdataBase",lPrefs[#serverIP],lPrefs[#dbUser],lPrefs[#dbPW] > ,lPrefs[#serverPort],500,"mySerial") > > > Mmmh. Maybe the problem comes from the VdataBase Xtra? Don't understand: how does this follows from the code lines above? You created two different objects each of which uses different connection. So they should not interfere each other. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From fb at memedia.de Fri Apr 30 15:06:32 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 30 08:06:40 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: Message-ID: > > Another question: > > you have use V4MD Client and Vserver many months. > all did work. > > once aging: what you have change to get problem? > where is difference? > I always had this script error but only when the program runs for the frist time (the only time where those DB creating routines are run). The error used to come up when the Projector was to quit, so I never releated the error to Valentina. However I never found the reason. Now that I have about doubled fields and tables in the creation scripts the error came up much earlier, right inbetween where the DB was created and where the default values were written. So this was serious to me, as the installtion of the DB could not finish. I investigated for some days and finally found out that it is the same error coming earlier now and so I found that the error must come from Valentina somehow. Florian From fb at memedia.de Fri Apr 30 15:14:59 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 30 08:15:17 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: <003701c42eb1$39767490$3b04a8c0@giv> Message-ID: > Don't understand: how does this follows from the code lines above? > You created two different objects each of which uses > different connection. > So they should not interfere each other. > I don't know Igor. Fact is there is an unidentifyable script error coming up. And it is only showing when I run my DB creation scripts. All other scripts are running OK. Someone on another list told me he once had similar errors and after investigating in turned out to be a valentina object had not been closed properly. Also I have sorted out all other possibilities. It has to be some kind of xtra callback producing a script error. Believe me: i spend 3 days trying out because it all seemed so odd to me. Why has it to to with some timeout? Because I can shift the time when the error will appear by changing the vServer Xtra timeout. Because if I place several alerts at different points of the script the error will most likely come with the first alert. So it is definitely not the code executed that causes the error but some callback. I don't know how that is possible. I have never programmed Valentina or Xtras at all. Best regards, Florian From fb at memedia.de Fri Apr 30 15:33:25 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 30 08:33:36 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: Message-ID: Alright, I thought you would came up with an easy answer. As this is not the case, I will spend more time on it tomorrow. I will try: -replacing create commands with repeat/wait loops -only create db, no tables and fields -creating less tables and fields -run the creation routine without calling vServer Xtra before Best regards, Florian From giv at tlc.kherson.ua Fri Apr 30 16:37:39 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Apr 30 08:41:59 2004 Subject: Problems with vServer Xtra 4MD References: Message-ID: <005e01c42eb8$4f5c0f70$3b04a8c0@giv> > > Don't understand: how does this follows from the code lines above? > > You created two different objects each of which uses > > different connection. > > So they should not interfere each other. > > > > > I don't know Igor. Fact is there is an unidentifyable script error coming > up. And it is only showing when I run my DB creation scripts. All other > scripts are running OK. Someone on another list told me he once had similar > errors and after investigating in turned out to be a valentina object had > not been closed properly. Also I have sorted out all other possibilities. It > has to be some kind of xtra callback producing a script error. > > Believe me: i spend 3 days trying out because it all seemed so odd to me. I believe you :-) > Why has it to to with some timeout? Because I can shift the time when the > error will appear by changing the vServer Xtra timeout. Because if I place > several alerts at different points of the script the error will most likely > come with the first alert. So it is definitely not the code executed that > causes the error but some callback. > > I don't know how that is possible. I have never programmed Valentina or > Xtras at all. OK, Florian. Can you send crash log-file? P.S. I executed a few minutes ago test (in C++) that created database with 100 tables and about 1200 fields. All worked fine. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From fb at memedia.de Fri Apr 30 15:50:13 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Apr 30 08:50:30 2004 Subject: Problems with vServer Xtra 4MD In-Reply-To: <005e01c42eb8$4f5c0f70$3b04a8c0@giv> Message-ID: > > > > I don't know how that is possible. I have never programmed > Valentina > > or Xtras at all. > OK, Florian. Can you send crash log-file? The Valentina log File? Yes, offlist > > P.S. I executed a few minutes ago test (in C++) that created > database with 100 tables and about 1200 fields. All worked fine. > > -- I don't think trying to find the Director error by comparing with C++ makes sense. The DB is created fine. It is some interfering between the creation and the vServer Xtra. I have to go now. I will try to find out more later or tomorrow. Best regards, Florian From gregkowalski at earthlink.net Fri Apr 30 18:14:25 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Fri Apr 30 17:13:03 2004 Subject: cursor and V4md client problem In-Reply-To: <20040429040017.755F410AFD6@edison.macserve.net> References: <20040429040017.755F410AFD6@edison.macserve.net> Message-ID: <1F137F06-9AFC-11D8-B89E-000393DAB46A@earthlink.net> On Apr 28, 2004, at 11:00 PM, valentina-request@lists.macserve.net wrote: > >>> Just in case try kServerSide cursor, >>> >>> 2, 2, 2 >>> >> >> I just tried it with 2,2,2 - it doesn't work either and it is MUCH >> slower. > > Well, then I need some project from you that reproduce your problem. > > Try modify existed examples. > > Make project as simple then possible, then may be you will find it > working. > Because on our side it looks all right, I did some simple navigation tests with V4MD_Client and found that the problem lies in the GoToRecord command. This is what I did: 1. I make a query 2. I cycle forward (results appear ten at a time) - OK 3. To go backwards and display the previous ten results I do the following: v = getposition(gmycursor) - 21 gotorecord gmycursor, v repeat with i = 1 to 10 nextrecord(gmycursor) populatefields end repeat I discovered that although I go to an earlier record (v), the NextRecord command completely ignores the GoToRecord command. For example cursor is at position 51. I send it to position 30, but on nextrecord (gmycursor) the position will be 52 instead of 31!!! This problem does not exist with V4MD (and I am using kRandom). Greg