From ktekinay at mactechnologies.com Sun May 1 05:46:43 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun May 1 04:46:51 2005 Subject: [V4RB2] FindStartsWith appears broken - SHOWSTOPPER Message-ID: In the 2.0.3fc5 release, finding seems completely broken under certain circumstances. For example, these are the results I get when using fld.FindStartsWith: All records: 168,768 records StartsWith '1': 18,228 StartsWith '10': 1,472 StartsWith '105': 0 (should be 292 records) StartsWith '1054': 0 (should be 36 records) StartsWith '10549': 0 (should be 4 records) FindEndsWith seems to have the same problem. I get the right results with one or two characters, but with three characters I get 0 records found. The problem is in this line: bs = tblZip.Zip_Code.FindStartsWith( find ) With one or two characters, it returns a BitSet, but with three or more, it returns nil, but ONLY when I am searching the Zip Code field (an indexed VString of 5 characters that always hold numbers). Using the SQL way gets the right results for one or two characters, but returns every record for three or more. Note that VStudio 2.0b3 shows the right totals. This is the same project I've been using for some time, and this is the first time I have gotten the wrong results. I am sending a sample project to Ruslan and filing a report on Mantis. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Sun May 1 18:31:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 1 10:32:03 2005 Subject: v4rb2.0.3fc5 difficulties In-Reply-To: Message-ID: On 5/1/05 3:57 AM, "Robert Nichols" wrote: Hi Robert, > Is anyone testing this version with the new vServer of the same release? > > I'm getting nowhere. I got all excited, thinking my problems were > solved when I noticed the VServer_Embedded.ini file establishes the > listening port on 15433. Doesn't the client use 15432 by default? Answer: * we have now 2 servers: Vserver Office use port 15432 on default Vserver Embedded use port 15433 on default So both these server products can run on the same computer. We have made this to avoid problems if developer will install on his computer both servers. * Vclient now has the following logic: it try connect to 15432. if fails then it try connect to 15433. This not cause any overhead, because developers that use Embedded Vserver should setup own port number. > Anyway, changing the .ini file to use port 15432 didn't help anything. See Next letter. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun May 1 18:39:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 1 10:40:03 2005 Subject: v4rb2.0.3fc5 difficulties In-Reply-To: Message-ID: On 5/1/05 3:57 AM, "Robert Nichols" wrote: Hi Robert, > Is anyone testing this version with the new vServer of the same release? > > I'm getting nowhere. I got all excited, thinking my problems were > solved when I noticed the VServer_Embedded.ini file establishes the > listening port on 15433. Doesn't the client use 15432 by default? > > Anyway, changing the .ini file to use port 15432 didn't help anything. > > I'm just trying to run the classes_way example "table_create" in server > mode. I've changed gClient to TRUE in the exampletools.rbo module, but > trying to run the example, my debug app shuts down at the vDatabase > constructor: > VDatabase(host, user, password) Argh. Really crashes. and Common/Database_CreateCloseOpen It seems something is broken in last minutes. I will debug now asap. > I don't even get to the point where I try to connect to the server. RB > seems aware of the vDatabase class. Other than checking for that, I'm > lost. Has anyone achieved success with this? Anyone willing to try > "table_create" with the v4rb client on a Mac. > > Another thought - is the fact that I'm now testing the embedded version > of the server significant? NO. technically both servers are the same application. > When I fire it up in the Terminal, as I did > with vServer (not embedded), the Terminal reports a successful start. right > I'm assuming there is no significance in this test that Ruslan has > given us vServer_Embedded, and not the stand alone vServer. right -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun May 1 20:05:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 1 12:05:10 2005 Subject: V4RB 2.0.3fc6 uploaded // v4rb2.0.3fc5 difficulties In-Reply-To: Message-ID: Hi All, Thanks to Robert Nichols, we have found that V4RB 2.0.3 fc5 was broken in work with Vserver. problem was that CodeWarrior project sometimes lost one setting, and there is no way easy to note this. Now this problem is fixed, and V4RB 2.0.3 fc6 is uploaded. V4MD and Vserver fc5 are ok. So if you need Vserver please download V4RB 2.0.3 fc6 ---------- Also 2.0.3fc6 fixes a couple of bugs reported by Frank Schima. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun May 1 20:06:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 1 12:06:19 2005 Subject: V4RB 2.0.3fc6 uploaded // v4rb2.0.3fc5 difficulties In-Reply-To: Message-ID: Hi All, Thanks to Robert Nichols, we have found that V4RB 2.0.3 fc5 was broken in work with Vserver. problem was that CodeWarrior project sometimes lost one setting, and there is no way easy to note this. Now this problem is fixed, and V4RB 2.0.3 fc6 is uploaded. V4MD and Vserver fc5 are ok. So if you need Vserver please download V4RB 2.0.3 fc6 ---------- Also 2.0.3fc6 fixes a couple of bugs reported by Frank Schima. http://www.paradigmasoft.com/download/V4RB_203fc6_mac.dmg -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Sun May 1 20:06:57 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun May 1 13:07:19 2005 Subject: V4RB2 Command Check #619 Message-ID: Hi, I use a function to make cursors and have following code. With 1.10it works since years fine. with 2.0.3fc6 with a SQL it crashes. The fun is, that I have to call same SQL 3times until app crashes :-(( I am making stand alone apps. Is my coding wrong? Until 2.0.3fc4 I could reproduce problem in ViSQL, but since 2.0.3fc5 doesn't crash any more. dim msg as string try return DB.SQLSelect(SQLString, EVCursorLocation.kServerSide, EVLockType.kNoLocks, EVCursorDirection.kRandom) catch ve as VException //Fehlermeldung ausgeben msg = "Bittel melden Sie diesen Fehler... " + EndOfLine msg = msg + EndOfLine + "Error Number: " + Str(ve.ErrorNumber) msg = msg + EndOfLine + "Error Text: " + ve.Message msg = msg + EndOfLine + SQLString + EndOfLine msg = msg + TextStat18+" "+cstr(App.MajorVersion)+"."+cstr (App.MinorVersion)+"."+cstr(App.BugVersion) If App.NonReleaseVersion<>0 then msg=msg+"b"+cstr(App.NonReleaseVersion) end if msg = msg + EndOfLine + "an MoneyControl@ClaSai.de" MsgBox msg end try by Claudius From ktekinay at mactechnologies.com Sun May 1 15:28:58 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun May 1 14:29:10 2005 Subject: V4RB 2.0.3fc6 uploaded // v4rb2.0.3fc5 difficulties In-Reply-To: Message-ID: On 5/1/05 1:06 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Now this problem is fixed, and V4RB 2.0.3 fc6 is uploaded. > V4MD and Vserver fc5 are ok. But searches are still broken, so fc6, like fc5, is unusable. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Sun May 1 22:33:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 1 14:33:50 2005 Subject: V4RB 2.0.3fc6 uploaded // v4rb2.0.3fc5 difficulties In-Reply-To: Message-ID: On 5/1/05 10:28 PM, "Kem Tekinay" wrote: > On 5/1/05 1:06 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> Now this problem is fixed, and V4RB 2.0.3 fc6 is uploaded. >> V4MD and Vserver fc5 are ok. > > But searches are still broken, so fc6, like fc5, is unusable. Yes, we did not work on this yet Kem. On Modnay -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Sun May 1 15:42:20 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun May 1 14:42:27 2005 Subject: V4RB 2.0.3fc6 uploaded // v4rb2.0.3fc5 difficulties In-Reply-To: Message-ID: On 5/1/05 3:33 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Yes, we did not work on this yet Kem. > On Modnay Understood. Can you give me a link for fc4? I'd like to do some work today and I can't use this version, and I no longer have the fc4 installer. Thanks. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Sun May 1 22:44:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 1 14:44:17 2005 Subject: V4RB 2.0.3fc6 uploaded // v4rb2.0.3fc5 difficulties In-Reply-To: Message-ID: On 5/1/05 10:42 PM, "Kem Tekinay" wrote: > On 5/1/05 3:33 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> Yes, we did not work on this yet Kem. >> On Modnay > > Understood. > > Can you give me a link for fc4? I'd like to do some work today and I can't > use this version, and I no longer have the fc4 installer. I have kill it. You have no own archive? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Sun May 1 15:49:16 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun May 1 14:49:23 2005 Subject: V4RB 2.0.3fc6 uploaded // v4rb2.0.3fc5 difficulties In-Reply-To: Message-ID: On 5/1/05 3:44 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > I have kill it. > > You have no own archive? No (although I will from now on :->). __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From robert at formworkdesign.com Sun May 1 22:22:01 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Sun May 1 21:22:21 2005 Subject: V4RB 2.0.3fc6 - different difficulties Message-ID: <61935330009d57e7f879eb1246aa82f3@formworkdesign.com> Ruslan, I wish I could write and tell you - No Problem! But I can't. Please tell me the problem is on my end! I can't imagine how irritating this process must be for you... I'm still trying to run "table_create" example for class way. 2.0.3fc6 did fix the previous problem with instantiating vDatabase. That works correctly now. But, Valentina throws an exception when the client tries to get the server to create the db: mDataBase.Create( f, EVdbMode.kDsc_Dat_Blb_Ind , 32 * 1024 ) Exception reports error 532480. Is there anything you can tell me about this? Thanks, Robert From sunshine at public.kherson.ua Mon May 2 10:32:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 2 02:32:32 2005 Subject: V4RB 2.0.3fc6 - different difficulties In-Reply-To: <61935330009d57e7f879eb1246aa82f3@formworkdesign.com> Message-ID: On 5/2/05 5:22 AM, "Robert Nichols" wrote: > Ruslan, > > I wish I could write and tell you - No Problem! > > But I can't. Please tell me the problem is on my end! I can't imagine > how irritating this process must be for you... > > I'm still trying to run "table_create" example for class way. 2.0.3fc6 > did fix the previous problem with instantiating vDatabase. That works > correctly now. > > But, Valentina throws an exception when the client tries to get the > server to create the db: > > mDataBase.Create( f, EVdbMode.kDsc_Dat_Blb_Ind , 32 * 1024 ) > > Exception reports error 532480. > > Is there anything you can tell me about this? Hi Robert, Well, I will check now this example from Classes folder. I have test yesterday with API_Way examples. Meanwhile you can try e.g. Common/CreateCloseOpen example And let me know if it works. Also, you can contact me privately, we can talk in ICQ or other chat to make it faster. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 2 10:41:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 2 02:41:24 2005 Subject: V4RB 2.0.3fc6 - different difficulties In-Reply-To: <61935330009d57e7f879eb1246aa82f3@formworkdesign.com> Message-ID: On 5/2/05 5:22 AM, "Robert Nichols" wrote: > Ruslan, > > I wish I could write and tell you - No Problem! > > But I can't. Please tell me the problem is on my end! I can't imagine > how irritating this process must be for you... > > I'm still trying to run "table_create" example for class way. 2.0.3fc6 > did fix the previous problem with instantiating vDatabase. That works > correctly now. > > But, Valentina throws an exception when the client tries to get the > server to create the db: > > mDataBase.Create( f, EVdbMode.kDsc_Dat_Blb_Ind , 32 * 1024 ) > > Exception reports error 532480. > > Is there anything you can tell me about this? I have test here example Classes/Table_Create and it works fine here. Hmm.... ------- Do you run server in terminal? With Verbose = 3 ? -------- Please show its top lines. Should be as Mon May 2 2005 10:35:57.898496 ValentinaServer (2.0, Protocol 2.0, Kernel 2.0.3fc5) ------- Look inside of V4RB_Log.txt in the folder of example. what you see here? ------- Try before start of sever delete all databases include masterdb in the folder databases of Vserver. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 2 10:42:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 2 02:42:47 2005 Subject: V4RB 2.0.3fc6 - different difficulties In-Reply-To: <61935330009d57e7f879eb1246aa82f3@formworkdesign.com> Message-ID: On 5/2/05 5:22 AM, "Robert Nichols" wrote: > Ruslan, > > I wish I could write and tell you - No Problem! > > But I can't. Please tell me the problem is on my end! I can't imagine > how irritating this process must be for you... > > I'm still trying to run "table_create" example for class way. 2.0.3fc6 > did fix the previous problem with instantiating vDatabase. That works > correctly now. > > But, Valentina throws an exception when the client tries to get the > server to create the db: > > mDataBase.Create( f, EVdbMode.kDsc_Dat_Blb_Ind , 32 * 1024 ) > > Exception reports error 532480. > > Is there anything you can tell me about this? Btw, I get the following log in terminal: Mon May 2 2005 10:35:57.898496 ValentinaServer (2.0, Protocol 2.0, Kernel 2.0.3fc5) Maximum number of connections: 5 10:35:57.958669 (2684396012): Database engine inited 10:35:58.232736 (2684396012): Server started at 15432 port 10:36:53.467118 (50370048): Connection established with 'localhost:49905' (16) 10:36:53.490241 (50352640): (16) Database: ; User: sa: OK 10:36:53.559762 (50371072): (16) Creating 'database1' database: OK 10:36:53.560612 (50371072): (16) Expecting for 1 table(s)... 10:36:53.561257 (50371072): (16) Creating 'Person' table: OK 10:36:53.562396 (50371072): (16) Expecting for 3 field(s)... 10:36:53.563037 (50371072): (16) Creating 'fldFirstName'(Type: '') field: OK 10:36:53.564595 (50371072): (16) Creating 'fldLastName'(Type: '') field: OK 10:36:53.566037 (50371072): (16) Creating 'fldBornDate'(Type: '') field: OK 10:36:53.567069 (50371072): (16) Expecting for 0 link(s)... 10:36:53.573584 (50371072): (16) Database 'database1' has been successfully created 10:36:55.463296 (50370048): (16) Closing database 'database1': OK 10:36:55.500360 (50352640): Closing connection (16) 10:36:56.806705 (50370048): Connection established with 'localhost:49906' (16) 10:36:56.810055 (50371072): (16) Database: database1; User: sa: OK 10:36:58.652314 (50370048): (16) Closing database 'database1': OK 10:36:58.658562 (50371072): Closing connection (16) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From snw at paradise.net.nz Mon May 2 19:38:52 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon May 2 02:50:50 2005 Subject: V4MD WIN ShockWave package uploaded In-Reply-To: <000401c54265$6ed17cc0$3b04a8c0@giv> References: <6.2.1.2.2.20050411154830.0333ebb0@pop3.paradise.net.nz> <000401c54265$6ed17cc0$3b04a8c0@giv> Message-ID: <6.2.1.2.2.20050502193716.049b5040@pop3.paradise.net.nz> >Please, try again to download the package - it seems its file was damaged so >we uploaded it again. Can you check the link? I get a 404 error... Thanks, -Sean. From sunshine at public.kherson.ua Mon May 2 11:09:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 2 03:09:16 2005 Subject: V4MD WIN ShockWave package uploaded In-Reply-To: <6.2.1.2.2.20050502193716.049b5040@pop3.paradise.net.nz> Message-ID: On 5/2/05 10:38 AM, "Sean Wilson" wrote: >> Please, try again to download the package - it seems its file was damaged so >> we uploaded it again. > > Can you check the link? I get a 404 error... Yes, we have found that name should be other.... Sean, you are from Europe? I.e. You will be online nearest hours ? We can in live mode with you check ShockWave. Let me know -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From snw at paradise.net.nz Mon May 2 21:11:44 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon May 2 04:12:00 2005 Subject: V4MD WIN ShockWave package uploaded In-Reply-To: References: <6.2.1.2.2.20050502193716.049b5040@pop3.paradise.net.nz> Message-ID: <6.2.1.2.2.20050502210717.04a90c50@pop3.paradise.net.nz> >Yes, we have found that name should be other.... > >Sean, you are from Europe? I.e. You will be online nearest hours ? >We can in live mode with you check ShockWave. > >Let me know (Unfortunately) I'm a New Zealander and it's gone 9pm here so I'm not going to be available, sorry. I'm more than happy to figure out a compatible time so that I can help, though. Let me know when would be best for you - any time after around 12 hours from now is OK for me. -Sean. From ayu8 at cdc.gov Mon May 2 09:52:36 2005 From: ayu8 at cdc.gov (Sims, John) Date: Mon May 2 08:56:54 2005 Subject: V4RB 2.0.3fc6 uploaded // v4rb2.0.3fc5 difficulties Message-ID: Kem, I still have a copy of v4rb2.0.3fc4 I can try to e-mail to you if you'd like (it is about 8 MB in size). You can contact me off list at Ayu8 at cdc.gov -John Sims > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Kem Tekinay > Sent: Sunday, May 01, 2005 3:49 PM > To: Valentina Developers > Subject: Re: V4RB 2.0.3fc6 uploaded // v4rb2.0.3fc5 difficulties > > > On 5/1/05 3:44 PM, Ruslan Zasukhin at > sunshine@public.kherson.ua wrote: > > > I have kill it. > > > > You have no own archive? > > No (although I will from now on :->). > > ______________________________________________________________ > ____________ > Kem Tekinay > (212) 201-1465 > MacTechnologies Consulting Fax > (914) 242-7294 > 545 Eighth Avenue, Suite 401 Pager > (917) 491-5546 > New York, New York 10018 > http://www.mactechnologies.com > > To join the MacTechnologies Consulting mailing list, send an > e-mail to: > mactechnologies_consulting-subscribe@yahoogroups.com > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From ktekinay at mactechnologies.com Mon May 2 10:03:53 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon May 2 09:04:01 2005 Subject: V4RB 2.0.3fc6 uploaded // v4rb2.0.3fc5 difficulties In-Reply-To: Message-ID: On 5/2/05 9:52 AM, Sims, John at ayu8@cdc.gov wrote: > I still have a copy of v4rb2.0.3fc4 I can try to e-mail to you if you'd > like (it is about 8 MB in size). You can contact me off list at Someone else already did, but thanks. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From don at flisz.nl Mon May 2 16:50:17 2005 From: don at flisz.nl (D.Croes) Date: Mon May 2 09:50:37 2005 Subject: V4MD: Put llist[] in a TEXT field... Message-ID: <20050502145031.8D60C3127BC@edison.macserve.net> Hello everyone, I?ve made a list with 3 values stored in it.. The list is correct, but when I store it the Valentina DB I Get an error 310.... The field is a TEXT field?. When I store just the word ?hello world? it works fine?. But when I store the list it gives the 310 error?. I found out that is has to do with something like; Convert the list into an integer?? Well, the main question: How can I put the values of the list into the field? If any further explanation is needed, feel free to comment! Thanks in advance! D. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 From sunshine at public.kherson.ua Mon May 2 18:23:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 2 10:24:06 2005 Subject: V4MD: Put llist[] in a TEXT field... In-Reply-To: <20050502145031.8D60C3127BC@edison.macserve.net> Message-ID: On 5/2/05 5:50 PM, "D.Croes" wrote: > Hello everyone, > > > > I?ve made a list with 3 values stored in it.. > > The list is correct, but when I store it the Valentina DB I Get an error > 310.... What is version of V4MD ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From srunkel at hypix.com Mon May 2 09:26:00 2005 From: srunkel at hypix.com (Scott Runkel) Date: Mon May 2 11:26:20 2005 Subject: Put llist[] in a TEXT field... References: <20050502145031.8D60C3127BC@edison.macserve.net> Message-ID: <04e201c54f33$a0f89820$0200a8c0@SCOTT3> > I?ve made a list with 3 values stored in it.. > The list is correct, but when I store it the Valentina DB I Get an error 310.... > The field is a TEXT field?. I'm not sure if you can store a list directly in a V4MD text field. You could use string() on the list first, before storing in the db, and then use value() after retrieval. Or you could store the individual list elements in separate records and then combine them back into a list upon retrieval. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From cmsheffield at gmail.com Mon May 2 10:39:13 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon May 2 11:39:21 2005 Subject: odbc driver for Valentina? Message-ID: <427657b1.60caa32b.4ba7.6c2b@mx.gmail.com> Does anyone know if there is an odbc driver for Valentina? I have a colleague who would like to access a Valentina database from MS Office products using odbc. It seems like there use to be one, but I'm not finding it on PardigmaSoft's web site. Thanks, Chris Sheffield Read Naturally The Fluency Company www.readnaturally.com From sunshine at public.kherson.ua Mon May 2 19:42:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 2 11:42:54 2005 Subject: odbc driver for Valentina? In-Reply-To: <427657b1.60caa32b.4ba7.6c2b@mx.gmail.com> Message-ID: On 5/2/05 7:39 PM, "Chris Sheffield" wrote: Hi Chris, > Does anyone know if there is an odbc driver for Valentina? There is no > I have a colleague who would like to access a Valentina database from MS > Office products using odbc. It seems like there use to be one, but I'm not > finding it on PardigmaSoft's web site. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From t.dikk at se-dd.com Mon May 2 22:06:52 2005 From: t.dikk at se-dd.com (Tomas Dikk) Date: Mon May 2 15:09:51 2005 Subject: AW: empty VBLOB data with correct length Message-ID: <7F5BBC3B7975A94F9844614AB95C3755035C1F@srvex01.se-dd.local> hi the only difference in your code i see is that you didn't use > t.field_blob.setBLOBLength(2); // set length of blob data > t.field_blob.deleteBLOBData(); // delete blob data of buffer record (not ok i can try this. but i think writing to the blob worked since i checked the values with valentina studio, and they were correct. so i think the problem must be somewhere while reading the data.. don't know, thanks anyway :) many greetings! From CBishop at alfred.com Mon May 2 13:10:03 2005 From: CBishop at alfred.com (Christopher Bishop) Date: Mon May 2 15:11:05 2005 Subject: V4MD 2.0.3fc5 Message-ID: <4996E7B8A963A04E8916A67F06C83E30E69501@apvnyexch01.alfredpub.com> I'm still having problems using Valentina 2 Server with V4MD, even with the new 2.0.3fc5 update. It is the same problem, where I can create and open databases, but I can't insert data, and I can't get any results using SQL statements. After executing a sqlselect command like: gDB.sqlSelect( "select * from eduacc", #kClientSide, #kReadOnly ) it returns void, but the error reporting if ( Valentina.lastError <> 0 ) then return Valentina.lastErrorSymbol else return 0 end if returns 0. __________________ To add more to it, I use the following statements: Valentina = new (Xtra("Valentina")) Valentina.InitClient() set gDB = new(xtra"VDatabase", #kClient, "localhost", "sa", "sa", 15432, 5, "") gDB.create("newdatabase", 1) gDB.createtable("testtable") gDB.table("testtable").createStringField( "row1", 20 ) Works fine. Creates a new file, adds the table, adds the field. I close out and try to add a record. Valentina = new (Xtra("Valentina")) Valentina.InitClient() set gDB = new(xtra"VDatabase", #kClient, "localhost", "sa", "sa", 15432, 5, "") gDB.open("newdatabase") sqlexecute(gDB, "insert into testtable values ('test2')") Message window gives me * V4MD *: VDatabase.sqlExecute()...ERROR: 394504 VServer_NT.exe debugger window gives me 15:29:00.361000 (3876): Client has been suddenly disconnected (380) 15:29:00.361000 (3876): Closing connection (380) From sunshine at public.kherson.ua Mon May 2 23:16:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 2 15:16:59 2005 Subject: V4MD 2.0.3fc5 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E69501@apvnyexch01.alfredpub.com> Message-ID: On 5/2/05 11:10 PM, "Christopher Bishop" wrote: Hi Christopher, 1) have you try to run OUR examples ? do not forget set gClient = true, and check host name for your comps. examples use localhost on default. 2) if still problems, please send to me and CC to Igor some project which reproduce your problem. > I'm still having problems using Valentina 2 Server with V4MD, even with > the new 2.0.3fc5 update. It is the same problem, where I can create and > open databases, but I can't insert data, and I can't get any results > using SQL statements. > > After executing a sqlselect command like: > > gDB.sqlSelect( "select * from eduacc", #kClientSide, #kReadOnly ) > > it returns void, but the error reporting > > if ( Valentina.lastError <> 0 ) then > return Valentina.lastErrorSymbol > else > return 0 > end if > > returns 0. > > > __________________ > > > To add more to it, I use the following statements: > > Valentina = new (Xtra("Valentina")) > Valentina.InitClient() > set gDB = new(xtra"VDatabase", #kClient, "localhost", "sa", "sa", 15432, > 5, "") gDB.create("newdatabase", 1) > gDB.createtable("testtable") gDB.table("testtable").createStringField( > "row1", 20 ) > > Works fine. Creates a new file, adds the table, adds the field. > > I close out and try to add a record. > > Valentina = new (Xtra("Valentina")) > Valentina.InitClient() > set gDB = new(xtra"VDatabase", #kClient, "localhost", "sa", "sa", 15432, > 5, "") > gDB.open("newdatabase") > sqlexecute(gDB, "insert into testtable values ('test2')") > > Message window gives me > * V4MD *: VDatabase.sqlExecute()...ERROR: 394504 > > VServer_NT.exe debugger window gives me > 15:29:00.361000 (3876): Client has been suddenly disconnected (380) > 15:29:00.361000 (3876): Closing connection (380) > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 2 23:19:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 2 15:19:17 2005 Subject: [SQL] V4MD 2 - Version 2.0.2 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E694FA@apvnyexch01.alfredpub.com> Message-ID: On 4/28/05 1:31 AM, "Christopher Bishop" wrote: > To add more to it, I use the following statements: > > Valentina = new (Xtra("Valentina")) > Valentina.InitClient() > set gDB = new(xtra"VDatabase", #kClient, "localhost", "sa", "sa", 15432, > 5, "") > gDB.create("newdatabase", 1) > gDB.createtable("testtable") > gDB.table("testtable").createStringField( "row1", 20 ) > > Works fine. Creates a new file, adds the table, adds the field. > > I close out and try to add a record. > > Valentina = new (Xtra("Valentina")) > Valentina.InitClient() > set gDB = new(xtra"VDatabase", #kClient, "localhost", "sa", "sa", 15432, > 5, "") > gDB.open("newdatabase") > sqlexecute(gDB, "insert into testtable values ('test2')") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Should it be insert into testtable (fldName) values ('test2') > Message window gives me > * V4MD *: VDatabase.sqlExecute()...ERROR: 394504 > > VServer_NT.exe debugger window gives me > 15:29:00.361000 (3876): Client has been suddenly disconnected (380) > 15:29:00.361000 (3876): Closing connection (380) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From gregkowalski at earthlink.net Mon May 2 17:18:29 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Mon May 2 16:20:45 2005 Subject: recordcount question Message-ID: Hi, Using V4MD 2 MAC. The following query gives me 3 results, but "recordcount" only returns 1. Why won't recordcount return 3? query = "select * from atable, btable, ctable where afield = bfield and bfield = cfield and afield = 1000" gmycursor = gdb.sqlselect(query) put gmycursor.recordcount -- 1 put gmycursor.field("afield").getstring() --1000 put gmycursor.field("bfield").getstring() --1000 put gmycursor.field("cfield").getstring() --1000 Thanx Greg From nwoe at privat.utfors.se Tue May 3 00:13:50 2005 From: nwoe at privat.utfors.se (niklas woermann) Date: Mon May 2 17:14:11 2005 Subject: SV: recordcount question In-Reply-To: Message-ID: -----Ursprungligt meddelande----- Fran: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]For Gregory Kowalski Skickat: den 2 maj 2005 23:18 Till: valentina@lists.macserve.net Amne: recordcount question Hi, Using V4MD 2 MAC. The following query gives me 3 results, but "recordcount" only returns 1. Why won't recordcount return 3? query = "select * from atable, btable, ctable where afield = bfield and bfield = cfield and afield = 1000" gmycursor = gdb.sqlselect(query) put gmycursor.recordcount -- 1 put gmycursor.field("afield").getstring() --1000 put gmycursor.field("bfield").getstring() --1000 put gmycursor.field("cfield").getstring() --1000 Thanx Greg Hi! Well how many records did you get? when you say 3 results, i take it you mean three fields, which is not the same as three records. niklas woermann From jules.jacquot at wanadoo.fr Tue May 3 07:30:07 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Tue May 3 00:29:00 2005 Subject: RecID field Message-ID: <7A946F9F-0031-465B-ACA7-5A40A7D57A12@wanadoo.fr> hi, Ruslan with API_way how can i see the field RecID of a record on the listbox ? so, how can i select it ? thanks jules ----------------------------------------- Ne vous mettez pas en avant, mais ne restez pas en arri?re From sunshine at public.kherson.ua Tue May 3 10:11:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 3 02:11:19 2005 Subject: SV: recordcount question In-Reply-To: Message-ID: On 5/3/05 1:13 AM, "niklas woermann" wrote: > Using V4MD 2 MAC. > > The following query gives me 3 results, but "recordcount" only returns > 1. > > Why won't recordcount return 3? > > > > > query = "select * from atable, btable, ctable where afield = bfield > and bfield = cfield and afield = 1000" > > gmycursor = gdb.sqlselect(query) > put gmycursor.recordcount -- 1 > put gmycursor.field("afield").getstring() --1000 > put gmycursor.field("bfield").getstring() --1000 > put gmycursor.field("cfield").getstring() --1000 > > > Thanx > > > Greg > > Hi! > Well how many records did you get? > when you say 3 results, i take it you mean three fields, which is not > the same as three records. Right, may be you ask about Vcursor.FieldCount ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue May 3 10:11:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 3 02:11:58 2005 Subject: RecID field In-Reply-To: <7A946F9F-0031-465B-ACA7-5A40A7D57A12@wanadoo.fr> Message-ID: On 5/3/05 8:30 AM, "Jules Jacquot" wrote: Hi Jules, > hi, Ruslan > > with API_way > > how can i see the field RecID of a record on the listbox ? > > so, how can i select it ? Just get it from table: f = Table.Field( "RecID" ) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue May 3 10:34:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 3 02:35:01 2005 Subject: QUESTION: anybody success with Vserver fc5 and V4RB/V4MD ? Message-ID: Hi All, Robert have strange behavior with fc5, So we need info if somebody can work fine with fc5 ? I mean can you run e.g. Our exmaples in client mode and see that this works with Vserver fc 5? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From don at flisz.nl Tue May 3 11:56:45 2005 From: don at flisz.nl (D.Croes) Date: Tue May 3 04:56:54 2005 Subject: Put llist[] in a TEXT field... In-Reply-To: <04e201c54f33$a0f89820$0200a8c0@SCOTT3> Message-ID: <20050503095649.401C431317B@edison.macserve.net> Hi everyone.... Ruslan, it's the 1.1 version. Due to some technical probs, I didn't used the 2 version... But I must say, the 1.1 version is doing his Job perfectly Scott: I've found the awnser;) when the problem accord, I'd tried to put this value in de DB [value1, value 2, value 3].... Well.... the awnser is obviousD:D. The brackets where the problem I've just(11:52 CET) fixed this problem, and it's working fine now! for making the list, when I retrieve the mentioned values, I now have a script which finds the ',' and then chops the values and parses them back in to the list... But come to fink about it... Is the following possible? When retrieving the values as a string which is the case right now > "value1,value2, value3" If I put [] around this value, will Director see this as list... Or is it Wishfull thinking:D Hope I made my self clear:D -----Oorspronkelijk bericht----- Van: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Namens Scott Runkel Verzonden: Monday, May 02, 2005 6:26 PM Aan: Valentina Developers Onderwerp: Re: Put llist[] in a TEXT field... > I?ve made a list with 3 values stored in it.. > The list is correct, but when I store it the Valentina DB I Get an error 310.... > The field is a TEXT field?. I'm not sure if you can store a list directly in a V4MD text field. You could use string() on the list first, before storing in the db, and then use value() after retrieval. Or you could store the individual list elements in separate records and then combine them back into a list upon retrieval. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 From sunshine at public.kherson.ua Tue May 3 15:04:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 3 07:04:24 2005 Subject: FIXED: V4MD 2.0.3fc5 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E69501@apvnyexch01.alfredpub.com> Message-ID: On 5/2/05 11:10 PM, "Christopher Bishop" wrote: Hi Christopher, Igor have fix one bug that on SQL string error, client have disconnect. Now connection continue to live. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jules.jacquot at wanadoo.fr Tue May 3 18:29:36 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Tue May 3 11:28:33 2005 Subject: RecID field In-Reply-To: References: Message-ID: Le 3 mai 05 ? 09:11, Ruslan Zasukhin a ?crit : > On 5/3/05 8:30 AM, "Jules Jacquot" wrote: > > Hi Jules, > > >> hi, Ruslan >> >> with API_way >> >> how can i see the field RecID of a record on the listbox ? >> >> so, how can i select it ? >> > > Just get it from table: > > f = Table.Field( "RecID" ) well. to be clear here is what i want valentina populates 10 records on the listbox ( i find that that is too slow. But this is another problem ) to select one row by cellclick i would like to extract the RecID from this record selected for some operations with it. how ? thanks jules > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > Ne vous mettez pas en avant, mais ne restez pas en arri?re From gregkowalski at earthlink.net Tue May 3 12:27:05 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Tue May 3 11:29:18 2005 Subject: shutdown procedure Message-ID: Hello I have a question regarding closing a movie with V4MD 2. With V4MD 1 I usually closed a movie using: gMyCursor = 0 gMyDB = 0 ValentinaShutDown So far I have found the following syntax for closing a movie with V4MD2 gmyDb.close() valentina.shutdown() My question is how do you destroy the cursor in V2? Is it still gMyCursor = 0? Thanks Greg From srunkel at hypix.com Tue May 3 09:44:35 2005 From: srunkel at hypix.com (Scott Runkel) Date: Tue May 3 11:44:48 2005 Subject: Put llist[] in a TEXT field... References: <20050503095649.401C431317B@edison.macserve.net> Message-ID: <06e401c54fff$638a7400$0200a8c0@SCOTT3> > When retrieving the values as a string which is the case right now > > "value1,value2, value3" > If I put [] around this value, will Director see this as list... "value1,value2, value3" is just a string to Director. You can't use list("value1,value2,value3") because you'll just get the list: ["value1,value2,value3"] which I don't think you want. To make it into a proper list, you have to take each item and put it into the list. For example, set the itemDelmiter = "," and then take string.item[1] and put into list, string.item[2] and append to list, etc. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Tue May 3 19:49:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 3 11:49:19 2005 Subject: RecID field In-Reply-To: Message-ID: On 5/3/05 7:29 PM, "Jules Jacquot" wrote: >> f = Table.Field( "RecID" ) > > well. to be clear here is what i want > > valentina populates 10 records on the listbox ( i find that that is > too slow. But this is another problem ) > > to select one row by cellclick > > i would like to extract the RecID from this record selected for some > operations with it. > > how ? You can put RecID into hidden column I think Then on click extract it -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue May 3 19:49:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 3 11:49:56 2005 Subject: shutdown procedure In-Reply-To: Message-ID: On 5/3/05 7:27 PM, "Gregory Kowalski" wrote: > Hello > > I have a question regarding closing a movie with V4MD 2. > > With V4MD 1 I usually closed a movie using: > > gMyCursor = 0 > gMyDB = 0 > ValentinaShutDown > > So far I have found the following syntax for closing a movie with V4MD2 > > gmyDb.close() > valentina.shutdown() > > > My question is how do you destroy the cursor in V2? > > Is it still gMyCursor = 0? Yes. I think Lingo is the same for gMyCursor = 0 gMyCursor = VOID -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ayu8 at cdc.gov Tue May 3 12:53:16 2005 From: ayu8 at cdc.gov (Sims, John) Date: Tue May 3 11:54:31 2005 Subject: RecID field Message-ID: > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Jules Jacquot > Sent: Tuesday, May 03, 2005 12:30 PM > To: Valentina Developers > Subject: Re: RecID field > > > > Le 3 mai 05 ? 09:11, Ruslan Zasukhin a ?crit : > > > On 5/3/05 8:30 AM, "Jules Jacquot" wrote: > > > > Hi Jules, > > > > > >> hi, Ruslan > >> > >> with API_way > >> > >> how can i see the field RecID of a record on the listbox ? > >> > >> so, how can i select it ? > >> > > > > Just get it from table: > > > > f = Table.Field( "RecID" ) > > well. to be clear here is what i want > > valentina populates 10 records on the listbox ( i find that that is > too slow. But this is another problem ) > > to select one row by cellclick > > i would like to extract the RecID from this record selected for some > operations with it. > > how ? > > thanks > > jules > > Hi Jules, If this is REALbasic then the ListBox has a CellTag property {CellTag(row,column)}. When you populate your listbox, populate the CellTag property (since you are only interested in the value for each row, I would set column=0). Here's some example code... dim myVTable As myVTableClass dim oAll As VBitSet dim oSort As VArraySet dim siIterate As VSetIterator dim iRecID As Integer myVTable = myVDatabase.myVTable oAll = myVTable.SelectAllRecords oSort = myVTable.Sort(oAll, myVTable.vdfDisplayOrder) siIterate = oSort.MakeNewIterator iRecID = siIterate.FirstItem do until iRecID = 0 myVTable.RecID = iRecID myListBox.AddRow(myVTable.vdfName.GetString) myListBox.CellTag(myListBox.ListCount - 1,0) = iRecID iRecID = siIterate.NextItem loop To pull the RecID for the selected row, you would simply say... iRecID = myListBox.CellTag(myListBox.ListIndex,0) This is off the top of my head, so I apologize if I typo'd somewhere, but I think it will give you a good feel for how to use the CellTag. HTH, -John From j.peters at valentina-db.de Tue May 3 20:46:05 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Tue May 3 13:46:48 2005 Subject: [ANN] Valentina Studio Administrator 2.0b5 available Message-ID: <2bac207ec5363545eababa1ce6b11af8@valentina-db.de> Hi all, you can download the latest Beta release of Valentina Studio Administrator (2.0b5) There are links at www.paradigmasoft.com and www.valentina-db.de Please note that you need at least Valentina Server Version 2.0.3fc5 to successful connect from Studio. Currently there are known bugs in: - Server Monitor - Register/Unregister databases - Shutdown/restart databases These will be adressed in b6 which will be available in the next 3-4 days. Please do not report bugs in these aereas. For all other aereas: Please send any bug reports as usual to Mantis. These are the changes since last release: VStudio - 2.0 b5 ================ - 0000721: [ODBC] DataBrowser shows no data for ODBC connections (Jochen Peters) - 0000720: [Import/Export] Several minor problems in File Import routines (Jochen Peters) - 0000297: [Drag&Drop] Drag of db that have no .vdb extention do not works (Jochen Peters) - 0000296: [Dialogs] Open dialog DISABLE db file that have no vdb extension (Jochen Peters) - 0000667: [VServer connection] Connections to 2.x Server do not work (Jochen Peters) - 0000690: [Structure Browser] Arrow buttons do not work in Structure browser, column view. (Andrey Kalinichenko) - 0000698: [Other] New Databse with default name product NAME. NAME..dat (Jochen Peters) - 0000589: [Structure Browser] We need small icons to diifer Fields, Methods, Links. (Jochen Peters) - 0000695: [Application Menu] kernel errors should show up in hex (Jochen Peters) - 0000555: [Application Menu] Utilities Menu Items Do Not Function (Andrey Kalinichenko) - 0000367: [Feature] Arrows do not work in data browser (Andrey Kalinichenko) - 0000658: [Table Browser] The changes of values in the numeric fields are not saved (Aleksey Shorohov) - 0000584: [Drag&Drop] Drag of db files still show db 2 times in the structure browser (Andrey Kalinichenko) - 0000657: [Table Browser] Error occur in Data Browser when table is empty (Aleksey Shorohov) - 0000661: [Application Menu] Recent file menu do not work correct on Windows (Andrey Kalinichenko) - 0000588: [Structure Browser] If you choose other Table then menu on 4th column always switch to Show All. (Andrey Kalinichenko) - 0000581: [Table Browser] Data Browser Displays Integers Incorrectly (Andrey Kalinichenko) - 0000604: [SQL Editor] NULL Result Not Displayed in SQL Editor (Andrey Kalinichenko) - 0000605: [Feature] Add Way to display Valentina Engine Version (Andrey Kalinichenko) - 0000638: [Dialogs] CreateField dialog, Integer on default should be Long but not Short. (Andrey Kalinichenko) - 0000600: [Structure Browser] Unable to create BLOB column (Andrey Kalinichenko) -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From robert at formworkdesign.com Tue May 3 15:44:02 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Tue May 3 14:44:10 2005 Subject: [ANN] Valentina Studio Administrator 2.0b5 available In-Reply-To: <2bac207ec5363545eababa1ce6b11af8@valentina-db.de> References: <2bac207ec5363545eababa1ce6b11af8@valentina-db.de> Message-ID: <8d33dac83f570751ef3334f7d0c30b1c@formworkdesign.com> A few quick comments re: Studio b5 Testers should note that Valentina Server 2.0.3fc5 by default listens on port 15433, so within vStudio connect to the server accordingly. Also, an odd result. Opening my master db as a local file, I correctly get a tree indicating db-->table-->field. When I connect to vServer I don't get any tree. In the Datasource Elements, I simply see a single element, which appears to be User, the one I signed into the server as. (OK. Thinking about it now, that makes sense to me). But when I select the remote server, then Open Remote Database, I get a list box that appears to have 1 item in it, although no text is visible in the list item. If I select the item I crash. So, using vStudio to connect to vServer, I can apparently connect to the server app, but am not able to, or don't know how to access any databases, tables or data. Robert On May 3, 2005, at 2:46 PM, Jochen Peters wrote: > Hi all, > > you can download the latest Beta release of Valentina Studio > Administrator (2.0b5) > There are links at www.paradigmasoft.com and www.valentina-db.de > > Please note that you need at least Valentina Server Version 2.0.3fc5 > to successful connect from Studio. > Currently there are known bugs in: > - Server Monitor > - Register/Unregister databases > - Shutdown/restart databases > These will be adressed in b6 which will be available in the next 3-4 > days. > Please do not report bugs in these aereas. > > http://www.valentina-db.de > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > -------------------------------------- Robert Nichols Formwork Design LLC robert@formworkdesign.com From sunshine at public.kherson.ua Tue May 3 22:49:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 3 14:49:20 2005 Subject: [ANN] Valentina Studio Administrator 2.0b5 available In-Reply-To: <8d33dac83f570751ef3334f7d0c30b1c@formworkdesign.com> Message-ID: On 5/3/05 10:44 PM, "Robert Nichols" wrote: > A few quick comments re: Studio b5 > > Testers should note that Valentina Server 2.0.3fc5 by default listens > on port 15433, so within vStudio connect to the server accordingly. > Also, an odd result. Opening my master db as a local file, I correctly > get a tree indicating db-->table-->field. > When I connect to vServer I don't get any tree. In the Datasource > Elements, I simply see a single element, which appears to be User, the > one I signed into the server as. > (OK. Thinking about it now, that makes sense to me). You wonder that you do not see Master database when connect to server? Actualy this is how works Vstudio as I understand. It hides Master database, because you should not edit it manually in theory > But when I select the remote server, then Open Remote Database, I get a > list box that appears to have 1 item in it, although no text is visible > in the list item. If I select the item I crash. I think this should go to Mantis > So, using vStudio to connect to vServer, I can apparently connect to > the server app, but am not able to, or don't know how to access any > databases, tables or data. Hmm, Please try connect to server, then create new db, new table and new fields. Then add records. Disconnect and connect again. Do you see your db ? May be you simply do not have dbs registered under your vserver ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From robert at formworkdesign.com Tue May 3 15:54:53 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Tue May 3 14:54:57 2005 Subject: [ANN] Valentina Studio Administrator 2.0b5 available In-Reply-To: References: Message-ID: Ruslan - You are correct. I did not know vStudio hides master.db. Right now, that's all I have. Let me make another and try. Relative to the trouble I have yesterday (fc6 client not connecting to vServer testing table_create example), what do you make of the fact that I can connect with vStudio. Robert On May 3, 2005, at 3:49 PM, Ruslan Zasukhin wrote: > On 5/3/05 10:44 PM, "Robert Nichols" wrote: > >> A few quick comments re: Studio b5 >> >> Testers should note that Valentina Server 2.0.3fc5 by default listens >> on port 15433, so within vStudio connect to the server accordingly. > > >> Also, an odd result. Opening my master db as a local file, I correctly >> get a tree indicating db-->table-->field. >> When I connect to vServer I don't get any tree. In the Datasource >> Elements, I simply see a single element, which appears to be User, the >> one I signed into the server as. > >> (OK. Thinking about it now, that makes sense to me). > > You wonder that you do not see Master database when connect to server? > Actualy this is how works Vstudio as I understand. > It hides Master database, because you should not edit it manually in > theory > >> But when I select the remote server, then Open Remote Database, I get >> a >> list box that appears to have 1 item in it, although no text is >> visible >> in the list item. If I select the item I crash. > > I think this should go to Mantis > >> So, using vStudio to connect to vServer, I can apparently connect to >> the server app, but am not able to, or don't know how to access any >> databases, tables or data. > > Hmm, > > Please try connect to server, then create new db, new table and new > fields. > Then add records. > > Disconnect and connect again. Do you see your db ? > > May be you simply do not have dbs registered under your vserver ? > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > -------------------------------------- Robert Nichols Formwork Design LLC robert@formworkdesign.com From robert at formworkdesign.com Tue May 3 16:00:13 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Tue May 3 15:00:18 2005 Subject: [ANN] Valentina Studio Administrator 2.0b5 available In-Reply-To: References: Message-ID: <7300999987bc010175754bf55b08eb3e@formworkdesign.com> Yes. It works as you say Ruslan. My problem - did not know about special treatment of master db. Once database is created, sa user no longer shows up as Datasource Element. Still get crashing when I try to open remote database. In fact, I am not sure what function this is intended to be???? So, vStudio looks promising. On May 3, 2005, at 3:54 PM, Robert Nichols wrote: > Ruslan - > > You are correct. I did not know vStudio hides master.db. Right now, > that's all I have. Let me make another and try. > > Relative to the trouble I have yesterday (fc6 client not connecting to > vServer testing table_create example), what do you make of the fact > that I can connect with vStudio. > > Robert > > > On May 3, 2005, at 3:49 PM, Ruslan Zasukhin wrote: > >> On 5/3/05 10:44 PM, "Robert Nichols" >> wrote: >> >>> A few quick comments re: Studio b5 >>> >>> Testers should note that Valentina Server 2.0.3fc5 by default listens >>> on port 15433, so within vStudio connect to the server accordingly. >> >> >>> Also, an odd result. Opening my master db as a local file, I >>> correctly >>> get a tree indicating db-->table-->field. >>> When I connect to vServer I don't get any tree. In the Datasource >>> Elements, I simply see a single element, which appears to be User, >>> the >>> one I signed into the server as. >> >>> (OK. Thinking about it now, that makes sense to me). >> >> You wonder that you do not see Master database when connect to server? >> Actualy this is how works Vstudio as I understand. >> It hides Master database, because you should not edit it manually in >> theory >> >>> But when I select the remote server, then Open Remote Database, I >>> get a >>> list box that appears to have 1 item in it, although no text is >>> visible >>> in the list item. If I select the item I crash. >> >> I think this should go to Mantis >> >>> So, using vStudio to connect to vServer, I can apparently connect to >>> the server app, but am not able to, or don't know how to access any >>> databases, tables or data. >> >> Hmm, >> >> Please try connect to server, then create new db, new table and new >> fields. >> Then add records. >> >> Disconnect and connect again. Do you see your db ? >> >> May be you simply do not have dbs registered under your vserver ? >> >> >> -- >> Best regards, >> >> Ruslan Zasukhin >> VP Engineering and New Technology >> Paradigma Software, Inc >> >> Valentina - Joining Worlds of Information >> http://www.paradigmasoft.com >> >> [I feel the need: the need for speed] >> >> >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina >> >> > -------------------------------------- > Robert Nichols > Formwork Design LLC > robert@formworkdesign.com > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > -------------------------------------- Robert Nichols Formwork Design LLC robert@formworkdesign.com From sunshine at public.kherson.ua Tue May 3 23:17:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 3 15:17:33 2005 Subject: HELP: V4RB + Vserver test // Re: [ANN] Valentina Studio Administrator 2.0b5 available In-Reply-To: Message-ID: On 5/3/05 10:54 PM, "Robert Nichols" wrote: > Relative to the trouble I have yesterday (fc6 client not connecting to > vServer testing table_create example), what do you make of the fact > that I can connect with vStudio. I have no idea Robert, why you cannot connect from V4RB. We need words from other developers, But nobody yet provide feedback. ---------------------------------------- Guys, Once again, please test V4RB fc6 with Vserver fc5. Can you run our examples OR your project with vserver? I.e. If you can connect to Vserver from V4RB on your computer? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue May 3 23:20:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 3 15:20:39 2005 Subject: [ANN] Valentina Studio Administrator 2.0b5 available In-Reply-To: <7300999987bc010175754bf55b08eb3e@formworkdesign.com> Message-ID: On 5/3/05 11:00 PM, "Robert Nichols" wrote: > Yes. It works as you say Ruslan. My problem - did not know about > special treatment of master db. Once database is created, sa user no > longer shows up as Datasource Element. Btw, I think this is already bug. User still must be here ... > Still get crashing when I try to open remote database. In fact, I am > not sure what function this is intended to be???? What you mean open remote database ? When you connect to Vserver, Vstudio should show list of dbs on that server in the second column. Now you should be able click database to see its tables. This not work for you ? > So, vStudio looks promising. We also hope so :-) Let's hope that in nearest 2-3 days they will fix major bugs. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From robert at formworkdesign.com Tue May 3 16:35:26 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Tue May 3 15:35:33 2005 Subject: [ANN] Valentina Studio Administrator 2.0b5 available In-Reply-To: References: Message-ID: > > >> Still get crashing when I try to open remote database. In fact, I am >> not sure what function this is intended to be???? > > What you mean open remote database ? > > When you connect to Vserver, > Vstudio should show list of dbs on that server in the second column. > Now you should be able click database to see its tables. > This not work for you ? This works fine for me. Before I figured out that I needed to add another database in addition to user, I was investigating the options in the menus. I selected File>Open Remote Database... and that's where I had the failure. I don't know what the intention of that menu item is. But I now see the correct functionality that you describe above. Robert On May 3, 2005, at 4:20 PM, Ruslan Zasukhin wrote: > On 5/3/05 11:00 PM, "Robert Nichols" wrote: > >> Yes. It works as you say Ruslan. My problem - did not know about >> special treatment of master db. Once database is created, sa user no >> longer shows up as Datasource Element. > > Btw, I think this is already bug. > User still must be here ... > > >> Still get crashing when I try to open remote database. In fact, I am >> not sure what function this is intended to be???? > > What you mean open remote database ? > > When you connect to Vserver, > Vstudio should show list of dbs on that server in the second column. > Now you should be able click database to see its tables. > This not work for you ? > >> So, vStudio looks promising. > > We also hope so :-) > > Let's hope that in nearest 2-3 days they will fix major bugs. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > -------------------------------------- Robert Nichols Formwork Design LLC robert@formworkdesign.com From sunshine at public.kherson.ua Tue May 3 23:40:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 3 15:41:00 2005 Subject: [ANN] Valentina Studio Administrator 2.0b5 available In-Reply-To: Message-ID: On 5/3/05 11:35 PM, "Robert Nichols" wrote: >> >> >>> Still get crashing when I try to open remote database. In fact, I am >>> not sure what function this is intended to be???? >> >> What you mean open remote database ? >> >> When you connect to Vserver, >> Vstudio should show list of dbs on that server in the second column. >> Now you should be able click database to see its tables. >> This not work for you ? > > > This works fine for me. Before I figured out that I needed to add > another database in addition to user, I was investigating the options > in the menus. I selected File>Open Remote Database... > > and that's where I had the failure. I don't know what the intention of > that menu item is. > > But I now see the correct functionality that you describe above. good -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed May 4 01:14:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 3 17:14:49 2005 Subject: ValentinaSQL_2_en.pdf updated Message-ID: ValentinaSQL_2_en.pdf Added 3 new pages about Operator -> -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed May 4 01:24:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 3 17:24:26 2005 Subject: V4RB, V4MD, VServer_Office for mac 2.0..3fc6 uploaded Message-ID: Hi All, ? This build is made in the hope that for Robert and Peter will start to work client part. ? Also updated are ExampleGuide.pdf files for V4RB and V4MD. Now it have Introduction page. And list all examples added in last time. ? Robert, this time I have upload Vserver Office fc6. ? Jon (jda), check your problem with Update by empty string. ? Archives for download are: http://www.paradigmasoft.com/download/V4MD_203fc6_mac.dmg http://www.paradigmasoft.com/download/V4RB_203fc6_mac.dmg http://www.paradigmasoft.com/download/VServer_Office_203fc6_mac.dmg -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed May 4 01:41:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 3 17:41:34 2005 Subject: Feedback from Peter on fc6 Message-ID: Peter Salomon (1:36:29 AM): ruslan, fc6 works fine for me!!! Peter Salomon (1:37:48 AM): and maybe i have found one problem of robert: Peter Salomon (1:38:12 AM): connecting as "localhost" gives me my connection error Peter Salomon (1:38:25 AM): but as "127.0.0.1" not... rz (1:38:38 AM): hmm rz (1:38:42 AM): thank you for info rz (1:38:51 AM): but for me localhost also works -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From snw at paradise.net.nz Wed May 4 12:28:26 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Tue May 3 19:28:47 2005 Subject: FIXED(?): V4MD 2.0.3fc5 In-Reply-To: References: <4996E7B8A963A04E8916A67F06C83E30E69501@apvnyexch01.alfredpub.com> Message-ID: <6.2.1.2.2.20050504101120.0427fdb0@pop3.paradise.net.nz> I'm having trouble with the Windows version of this xtra (V4MD 2.0.3fc5 - Modified: Friday, 29 April 2005, 4:59:04 p.m.). I cannot run the example Common\Database_CreateCloseOpen without a fatal error on the line of code: Valentina.logToFile(TRUE, FALSE) (It seems that if the first parameter is TRUE it will always crash, whereas if it's FALSE it seems OK) If I comment this line so that Director doesn't crash, I get an error when pressing the "Create Database" button: ERROR: ERR_DYNAMIC_SQL_ERROR() Also: can you *please* include version info "branded" into the xtra, otherwise it makes it extremely difficult to be sure which version I'm working with (other than modification date) Thanks, -Sean. From ktekinay at mactechnologies.com Tue May 3 23:59:22 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Tue May 3 23:00:13 2005 Subject: V4RB, V4MD, VServer_Office for mac 2.0..3fc6 uploaded In-Reply-To: Message-ID: On 5/3/05 6:24 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > ? This build is made in the hope that for Robert and Peter will start to > work client part. I don't know about them, but it solved the query problem for me. Thanks. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From jules.jacquot at wanadoo.fr Wed May 4 08:12:42 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Wed May 4 01:11:37 2005 Subject: RecID field In-Reply-To: References: Message-ID: <00FA2E5F-8196-4AE9-867F-C39E7499EC95@wanadoo.fr> Le 3 mai 05 ? 18:49, Ruslan Zasukhin a ?crit : > On 5/3/05 7:29 PM, "Jules Jacquot" wrote: > > >>> f = Table.Field( "RecID" ) >>> >> >> well. to be clear here is what i want >> >> valentina populates 10 records on the listbox ( i find that that is >> too slow. But this is another problem ) >> >> to select one row by cellclick >> >> i would like to extract the RecID from this record selected for some >> operations with it. >> >> how ? >> > > You can put RecID into hidden column I think No i have an exception of class Nilobjectexception here is my line Listbox1.cell(Listbox1.lastIndex,0)=inCursor.Field("RecID").getstring may be am i wrong ? jules > > Then on click extract it > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > Ne vous mettez pas en avant, mais ne restez pas en arri?re From jules.jacquot at wanadoo.fr Wed May 4 08:13:58 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Wed May 4 01:12:47 2005 Subject: RecID field In-Reply-To: References: Message-ID: <2DBFC6FF-3C15-45E2-97D9-4D07FA5330CB@wanadoo.fr> Thanks very much Sims jules Le 3 mai 05 ? 18:53, Sims, John a ?crit : > > >> -----Original Message----- >> From: valentina-bounces@lists.macserve.net >> [mailto:valentina-bounces@lists.macserve.net] On Behalf Of >> Jules Jacquot >> Sent: Tuesday, May 03, 2005 12:30 PM >> To: Valentina Developers >> Subject: Re: RecID field >> >> >> >> Le 3 mai 05 ? 09:11, Ruslan Zasukhin a ?crit : >> >> >>> On 5/3/05 8:30 AM, "Jules Jacquot" wrote: >>> >>> Hi Jules, >>> >>> >>> >>>> hi, Ruslan >>>> >>>> with API_way >>>> >>>> how can i see the field RecID of a record on the listbox ? >>>> >>>> so, how can i select it ? >>>> >>>> >>> >>> Just get it from table: >>> >>> f = Table.Field( "RecID" ) >>> >> >> well. to be clear here is what i want >> >> valentina populates 10 records on the listbox ( i find that that is >> too slow. But this is another problem ) >> >> to select one row by cellclick >> >> i would like to extract the RecID from this record selected for some >> operations with it. >> >> how ? >> >> thanks >> >> jules >> >>> >>> > > Hi Jules, > > If this is REALbasic then the ListBox has a CellTag property > {CellTag(row,column)}. When you populate your listbox, populate > the CellTag property (since you are only interested in the value > for each row, I would set column=0). Here's some example code... > > dim myVTable As myVTableClass > dim oAll As VBitSet > dim oSort As VArraySet > dim siIterate As VSetIterator > dim iRecID As Integer > > myVTable = myVDatabase.myVTable > > oAll = myVTable.SelectAllRecords > oSort = myVTable.Sort(oAll, myVTable.vdfDisplayOrder) > > siIterate = oSort.MakeNewIterator > iRecID = siIterate.FirstItem > do until iRecID = 0 > myVTable.RecID = iRecID > myListBox.AddRow(myVTable.vdfName.GetString) > myListBox.CellTag(myListBox.ListCount - 1,0) = iRecID > iRecID = siIterate.NextItem > loop > > > To pull the RecID for the selected row, you would simply say... > > iRecID = myListBox.CellTag(myListBox.ListIndex,0) > > This is off the top of my head, so I apologize if I typo'd > somewhere, but I think it will give you a good feel for how to use > the CellTag. > > HTH, > > -John > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > Il n'y a jamais d'autre difficult? dans le devoir que de le faire. ALAIN From sunshine at public.kherson.ua Wed May 4 09:49:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 01:49:21 2005 Subject: Test of V4RB + vserver In-Reply-To: <36676.62.154.199.179.1115185549.squirrel@webmail3.server-einstellung.de> Message-ID: On 5/4/05 8:45 AM, "Jochen Peters" wrote: > Hi Ruslan, > > I have tested on Mac with: > RB 5.5.4 > V4RB 2.0.3fc6 > VServer 2.0.3.fc6 > > It does not work - i get error 82000. > Then i changed "localhost" to "127.0.0.1" and it works! > So - i can verify that problem comes from "localhost"! You are third man with this. But why it work for me only ????? Is your computer have access to Inet ? May be no? Then may be problem that it have no access to DNS ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed May 4 10:03:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 02:03:49 2005 Subject: RecID field In-Reply-To: <00FA2E5F-8196-4AE9-867F-C39E7499EC95@wanadoo.fr> Message-ID: On 5/4/05 9:12 AM, "Jules Jacquot" wrote: Hi Jules, >> You can put RecID into hidden column I think > > No i have an exception of class Nilobjectexception > > here is my line > > Listbox1.cell(Listbox1.lastIndex,0)=inCursor.Field("RecID").getstring > > may be am i wrong ? But originally you have ask about how to get RecID from Table. Now you try get it from Cursor. I think you have forget to select RecID SELECT RecID, .... FROM -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed May 4 10:30:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 02:31:06 2005 Subject: REPRODUCED: Test of V4RB + vserver In-Reply-To: <49776.62.154.199.179.1115191107.squirrel@webmail3.server-einstellung.de> Message-ID: On 5/4/05 10:18 AM, "Jochen Peters" wrote: >>> I have tested on Mac with: >>> RB 5.5.4 >>> V4RB 2.0.3fc6 >>> VServer 2.0.3.fc6 >>> >>> It does not work - i get error 82000. >>> Then i changed "localhost" to "127.0.0.1" and it works! >>> So - i can verify that problem comes from "localhost"! >> >> You are third man with this. >> >> But why it work for me only ????? >> >> Is your computer have access to Inet ? >> May be no? >> Then may be problem that it have no access to DNS ? > Hhmm - as i see it works PERFECT with vStudio. I can specify "localhost" > with no problems there. > So - problem not in kernel - maybe in V4RB.. The same was reported for V4MD. Also interesting thing that V4RB example Advanced/ServerUtility Do works. Only difference I see that it use Vserver class instead of Vdatabase class. Your Vstudio also use Vserver to connect. > Ruslan - you can simply fix that by comparing the hostname with "localhost" > (ignoring case) and replace it withh "127.0.0.1" - then it should work in > any case. Yes, but this is not best case, one more string comparision. I have reproduce 82000 error, when have unplug my MAC from inet. So now I can debug this issue. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fb at memedia.de Wed May 4 10:40:15 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed May 4 05:53:38 2005 Subject: LIMIT V4MD1 Message-ID: Hi! How can I do something like "SELECT * FROM TABLE LIMIT 1"? TIA, Florian From jules.jacquot at wanadoo.fr Wed May 4 13:06:00 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Wed May 4 06:04:59 2005 Subject: RecID field In-Reply-To: References: Message-ID: <9AEA4C70-4B08-457F-A20D-7BBEFAA3514E@wanadoo.fr> Le 3 mai 05 ? 18:53, Sims, John a ?crit : > > To pull the RecID for the selected row, you would simply say... > > iRecID = myListBox.CellTag(myListBox.ListIndex,0) in fact the error is coming from Listindex ( exception error nilobjectexception ) that is why i could not retrieve RecID ruslan, is it a bug ? do you know a workaround ? jules > > This is off the top of my head, so I apologize if I typo'd > somewhere, but I think it will give you a good feel for how to use > the CellTag. > > HTH, > > -John > Il faut faire vite ce qui ne presse pas pour pouvoir faire lentement ce qui presse From sunshine at public.kherson.ua Wed May 4 14:32:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 06:32:16 2005 Subject: LIMIT V4MD1 In-Reply-To: Message-ID: On 5/4/05 11:40 AM, "Florian Bogeschdorfer" wrote: Hi Florian, > Hi! > > How can I do something like "SELECT * FROM TABLE LIMIT 1"? Just build cursor, Then use its first N records. Effect the same -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed May 4 14:33:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 06:33:21 2005 Subject: RecID field In-Reply-To: <9AEA4C70-4B08-457F-A20D-7BBEFAA3514E@wanadoo.fr> Message-ID: On 5/4/05 2:06 PM, "Jules Jacquot" wrote: >> To pull the RecID for the selected row, you would simply say... >> >> iRecID = myListBox.CellTag(myListBox.ListIndex,0) > > in fact the error is coming from Listindex ( exception error > nilobjectexception ) > > that is why i could not retrieve RecID > > ruslan, is it a bug ? > > do you know a workaround ? I am sorry, but I do not see your problem... Please try describe all again in details. >> This is off the top of my head, so I apologize if I typo'd >> somewhere, but I think it will give you a good feel for how to use >> the CellTag. >> >> HTH, >> >> -John >> > > Il faut faire vite ce qui ne presse pas pour pouvoir faire lentement > ce qui presse -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fb at memedia.de Wed May 4 14:00:33 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed May 4 07:00:43 2005 Subject: LIMIT V4MD1 In-Reply-To: Message-ID: <0ML29c-1DTIYM1KjD-0000Tf@mrelayeu.kundenserver.de> Well not really...if I have a DB with some 100000 records and I do a "SELECT * FROM TABLE" then I will create a huge cursor and need a lot of RAM and speed, not? While a LIMIT 1 would decrease ressource consuming a lot. Best regards, Florian > Hi Florian, > > > Hi! > > > > How can I do something like "SELECT * FROM TABLE LIMIT 1"? > > Just build cursor, > Then use its first N records. > > Effect the same > > -- > Best regards, > > Ruslan Zasukhin /listinfo/valentina From sunshine at public.kherson.ua Wed May 4 15:05:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 07:06:01 2005 Subject: LIMIT V4MD1 In-Reply-To: <0ML29c-1DTIYM1KjD-0000Tf@mrelayeu.kundenserver.de> Message-ID: On 5/4/05 3:00 PM, "Florian Bogeschdorfer" wrote: > Well not really...if I have a DB with some 100000 records and I do a "SELECT > * FROM TABLE" then I will create a huge cursor and need a lot of RAM and > speed, not? 100,000 * 4 = 400Kb of RAM. 10 such cursors = 4MB 100 such cursors - 40 MB Your server have 100 users in the same time? :-) > While a LIMIT 1 would decrease ressource consuming a lot. Right. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From don at flisz.nl Wed May 4 14:30:26 2005 From: don at flisz.nl (D.Croes) Date: Wed May 4 07:30:35 2005 Subject: LIMIT V4MD1 In-Reply-To: Message-ID: <20050504123029.CA7063141D6@edison.macserve.net> Hai Ruslan Could you give an example, or further explain on: Then use its first N records. I can't seem to get the picture:D Thanks! On 5/4/05 11:40 AM, "Florian Bogeschdorfer" wrote: Hi Florian, > Hi! > > How can I do something like "SELECT * FROM TABLE LIMIT 1"? Just build cursor, Then use its first N records. Effect the same -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 From ayu8 at cdc.gov Wed May 4 08:30:00 2005 From: ayu8 at cdc.gov (Sims, John) Date: Wed May 4 07:31:10 2005 Subject: RecID field Message-ID: > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: Wednesday, May 04, 2005 7:33 AM > To: valentina@lists.macserve.net > Subject: Re: RecID field > > > On 5/4/05 2:06 PM, "Jules Jacquot" wrote: > > >> To pull the RecID for the selected row, you would simply say... > >> > >> iRecID = myListBox.CellTag(myListBox.ListIndex,0) > > > > in fact the error is coming from Listindex ( exception error > > nilobjectexception ) > > > > that is why i could not retrieve RecID > > > > ruslan, is it a bug ? > > > > do you know a workaround ? > > I am sorry, but I do not see your problem... > Please try describe all again in details. > > Hi Jules, I would recommend wrapping this code with a check of ListIndex to ensure that a row is selected... If myListBox.ListIndex >= 0 then iRecID = myListBox.CellTag(myListBox.ListIndex,0) End if If myListBox.ListIndex is -1 (which means the listbox does not think a row is selected) you will received a nilobjectexception when you check the CellTag property. By wrapping the the line of code as shown above, it will protect from this happening. If this doesn't fix your problem, try posting the code just before and including the line that is failing and also the code where you are setting the CellTag value and I'd be happy to take a quick look at it and see if I can see anything else that might be causing this problem (as I am sure others on the list would be happy to do also --- there's some real nice people here :-) -John From ayu8 at cdc.gov Wed May 4 08:37:27 2005 From: ayu8 at cdc.gov (Sims, John) Date: Wed May 4 07:37:36 2005 Subject: LIMIT V4MD1 Message-ID: > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of D.Croes > Sent: Wednesday, May 04, 2005 8:30 AM > To: 'Valentina Developers' > Subject: RE: LIMIT V4MD1 > > > > Hai Ruslan > > Could you give an example, or further explain on: > > Then use its first N records. > > I can't seem to get the picture:D > > Thanks! > > > On 5/4/05 11:40 AM, "Florian Bogeschdorfer" wrote: > > Hi Florian, > > > Hi! > > > > How can I do something like "SELECT * FROM TABLE LIMIT 1"? > > Just build cursor, > Then use its first N records. > > Effect the same > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > Hi Ruslan and Florian. Ruslan, is the "TOP" keyword part of SQL 92, and if it is, is it implemented in v2? If so, this should do the trick for Florian. SELECT TOP 1 * FROM TABLE Take care, -John From sunshine at public.kherson.ua Wed May 4 15:49:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 07:49:31 2005 Subject: LIMIT V4MD1 In-Reply-To: Message-ID: On 5/4/05 3:37 PM, "Sims, John" wrote: > Hi Ruslan and Florian. > > Ruslan, is the "TOP" keyword part of SQL 92, and if it is, is it > implemented in v2? It is not in SQL92, but it seems added into SQL99 Yes in 2.0 it works... Although still many improvements can be made yet here > If so, this should do the trick for Florian. > > SELECT TOP 1 * FROM TABLE But he use 1.x -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed May 4 15:49:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 07:50:07 2005 Subject: LIMIT V4MD1 In-Reply-To: <20050504123029.CA7063141D6@edison.macserve.net> Message-ID: On 5/4/05 3:30 PM, "D.Croes" wrote: > > Hai Ruslan > > Could you give an example, or further explain on: > > Then use its first N records. > > I can't seem to get the picture:D You make cursor. Let it have e.g. 100,000 records. You can self read only first 10 and ignore rest. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed May 4 16:50:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 08:50:28 2005 Subject: FIXED: localhost problem on MAC Message-ID: Problem was that if computer is not connected to inet, Then DNS resolver not works, and Hmm strange Mac OS do not understand then localhost. Windows in contrast still works fine. So I have catch this case and localhost is mapped to numeric 127.0.0.1 IP address. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From robert at formworkdesign.com Wed May 4 09:52:53 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Wed May 4 08:53:03 2005 Subject: FIXED: localhost problem on MAC In-Reply-To: References: Message-ID: <46921692032f194007468ebd778a1928@formworkdesign.com> Odd. In all my testing cases, I have good connection to the internet. Ruslan - you and I were chatting via internet when I was testing localhost on the same machine!! I'm happy with the workaround, however. On May 4, 2005, at 9:50 AM, Ruslan Zasukhin wrote: > > > Problem was that if computer is not connected to inet, > Then DNS resolver not works, and Hmm strange Mac OS do not understand > then > localhost. Windows in contrast still works fine. > > > So I have catch this case and localhost is mapped > to numeric 127.0.0.1 IP address. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > -------------------------------------- Robert Nichols Formwork Design LLC robert@formworkdesign.com From jules.jacquot at wanadoo.fr Wed May 4 15:56:55 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Wed May 4 08:55:54 2005 Subject: RecID field In-Reply-To: References: Message-ID: <73CDF1A2-501A-49DA-BEDE-9170F83A2530@wanadoo.fr> My problem is fixed thanks for all replies jules Le 4 mai 05 ? 09:03, Ruslan Zasukhin a ?crit : > On 5/4/05 9:12 AM, "Jules Jacquot" wrote: > > Hi Jules, > > >>> You can put RecID into hidden column I think >>> >> >> No i have an exception of class Nilobjectexception >> >> here is my line >> >> Listbox1.cell(Listbox1.lastIndex,0)=inCursor.Field("RecID").getstring >> >> may be am i wrong ? >> > > But originally you have ask about > how to get RecID from Table. > > Now you try get it from Cursor. > > I think you have forget to select RecID > > SELECT RecID, .... FROM > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > O? passeras-tu l'Eternit? ? From macsforever2000 at goodeast.com Wed May 4 07:56:29 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Wed May 4 08:56:47 2005 Subject: LIMIT V4MD1 In-Reply-To: References: Message-ID: Hi Guys, On May 4, 2005, at 6:49 AM, Ruslan Zasukhin wrote: > On 5/4/05 3:37 PM, "Sims, John" wrote: > > >> Ruslan, is the "TOP" keyword part of SQL 92, and if it is, is it >> implemented in v2? > > It is not in SQL92, but it seems added into SQL99 > > Yes in 2.0 it works... > Although still many improvements can be made yet here To be clear, in 2.0.3, LIMIT was implemented. SELECT * FROM myTable LIMIT 5 Best regards, Frank Schima From mark at marmalademedia.com.au Wed May 4 23:14:51 2005 From: mark at marmalademedia.com.au (Mark Martin) Date: Wed May 4 09:41:57 2005 Subject: CodeWarrior In-Reply-To: Message-ID: Hi, I want to raise a couple of CodeWarrior related issue which I think are relevant to this list given that a lot of people use CodeWarrior for cross-platform development of xtras. So, Metrowerks has announced that they are no longer supporting Windows as a development target. From version 10, which is due to be released in the 3rd quarter of this year (if we're lucky), CodeWarrior will be Mac only. RIP cross-platform plugin development with CodeWarrior . They have sold their x86 tools to a 'third party' - apparently Nokia. Understandably, there has been quite a bit of traffic about this on CodeWarrior newsgroups. See - A thread on the comp.sys.mac.programmer.codewarrior newsgroup: http://groups.google.com.au/groups?hl=en&lr=&client=firefox-a&rls=org.mozill a:en-US:official&threadm=lfGdnUv4NvteFfPfRVn-2A%40comcast.com&prev=/groups%3 Fhl%3Den%26lr%3D%26client%3Dfirefox-a%26rls%3Dorg.mozilla:en-US:official%26g roup%3Dcomp.sys.mac.programmer.codewarrior And Metrowerks' discontinued products page: http://www.metrowerks.com/Discontinued/default.htm The current CodeWarrior version 9.4 is not compatible with MacOS 10.4, although Metrowerks have made a 'commitment' to an update for Tiger real soon. I'm still using 8.3 for xtra development - it's not officially supported on MacOS 10.3 although it's working fine for me. But it seems 8.3 does not work on Tiger (probably not surprising). So I intended to upgrade to version 9 but even that doesn't seem to be possible any more. I can't find the cross-platform Development Studio package on the Metrowerks store site and even the Mac-only version is marked 'temporarily unavailable'... http://store.metrowerks.com/dr/v2/Ec_Main.entry24?SP=10023&PN=1&V1=576906&xi d=43305&search_id=18237031&doc_id=20&DSP=&CUR=840&PGRP=0&CACHE_ID=0 I fear that this may be related to the terms of the sale of the x86 tools - if you don't own Codewarrior 9 already then you're out of luck. The Discontinued products page (link above) says "This sale does not affect the right to use CodeWarrior or create x86 code by customers currently licensed to use CodeWarrior x86 compilers." All of this makes the future viability of Metrowerks tools for xtra development look very dodgy - on any platform. The end of an era? So do us CodeWarrior users need to start looking for other IDEs for xtra development? And a different one for each platform? Xcode is out as you can't produce CFM plugins with it (I'd be happy to be told otherwise). So what then? _____________________________ You are currently subscribed to: mmxdk-l as: sunshine@public.kherson.ua To unsubscribe send a blank email to: leave-mmxdk-l-642695C@lyris.macromedia.com This email transaction, and any documents, files, or previous email message attached to it, are confidential and proprietary information of Macromedia, Inc. From sunshine at public.kherson.ua Wed May 4 17:44:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 09:44:17 2005 Subject: FIXED: localhost problem on MAC In-Reply-To: <46921692032f194007468ebd778a1928@formworkdesign.com> Message-ID: On 5/4/05 4:52 PM, "Robert Nichols" wrote: > Odd. In all my testing cases, I have good connection to the internet. > Ruslan - you and I were chatting via internet when I was testing > localhost on the same machine!! Then really strange... > I'm happy with the workaround, however. > > > On May 4, 2005, at 9:50 AM, Ruslan Zasukhin wrote: > >> Problem was that if computer is not connected to inet, >> Then DNS resolver not works, and Hmm strange Mac OS do not understand >> then >> localhost. Windows in contrast still works fine. >> >> >> So I have catch this case and localhost is mapped >> to numeric 127.0.0.1 IP address. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From chuck at mediamacros.com Wed May 4 11:32:38 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Wed May 4 10:30:13 2005 Subject: Problems with table. What does this mean? Message-ID: <4278EB16.10000@mediamacros.com> I am trying to figure out why a database is not working correctly. I ran the diagnosis from studio (on a 1.x database) and got this... Problems found! ************************************************************************ * BaseObject: "user" ************************************************************************ Problems found. -----> Field: "id' of type ULong Problems found! (!) Table has 1 physical records but field has 256 -----> Field: "name' of type String Problems found! (!) Table has 1 physical records but field has 6 What does this mean? -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer From sunshine at public.kherson.ua Wed May 4 20:00:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 12:00:59 2005 Subject: Problems with table. What does this mean? In-Reply-To: <4278EB16.10000@mediamacros.com> Message-ID: On 5/4/05 6:32 PM, "Chuck Neal" wrote: Hi Chuck, > I am trying to figure out why a database is not working correctly. I > ran the diagnosis from studio (on a 1.x database) and got this... > > Problems found! > > ************************************************************************ > * BaseObject: "user" > ************************************************************************ > Problems found. > > -----> Field: "id' of type ULong > Problems found! > > (!) Table has 1 physical records but field has 256 > > > -----> Field: "name' of type String > Problems found! > > (!) Table has 1 physical records but field has 6 > > > > What does this mean? This is corruption. header of table say that table have 1 record, but length of files are if they have 6 records. Probably result of forced stop without flush. You need recreate database. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From chuck at mediamacros.com Wed May 4 13:30:36 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Wed May 4 12:27:20 2005 Subject: Problems with table. What does this mean? In-Reply-To: References: Message-ID: <427906BC.2080704@mediamacros.com> That would explain why I am having problems with my export feature copying single records out. Is there any way to repair this? I tried an XML dump with no luck. The program runs fine and seems to access records fine, but when I try to loop through all the records for an export it fails with all kids of file errors. -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer Ruslan Zasukhin wrote: > On 5/4/05 6:32 PM, "Chuck Neal" wrote: > > Hi Chuck, > > >>I am trying to figure out why a database is not working correctly. I >>ran the diagnosis from studio (on a 1.x database) and got this... >> >>Problems found! >> >>************************************************************************ >>* BaseObject: "user" >>************************************************************************ >>Problems found. >> >>-----> Field: "id' of type ULong >>Problems found! >> >>(!) Table has 1 physical records but field has 256 >> >> >>-----> Field: "name' of type String >>Problems found! >> >>(!) Table has 1 physical records but field has 6 >> >> >> >>What does this mean? > > > This is corruption. > header of table say that table have 1 record, > but length of files are if they have 6 records. > > Probably result of forced stop without flush. > > > You need recreate database. > > From sunshine at public.kherson.ua Wed May 4 20:54:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 12:54:57 2005 Subject: Problems with table. What does this mean? In-Reply-To: <427906BC.2080704@mediamacros.com> Message-ID: On 5/4/05 8:30 PM, "Chuck Neal" wrote: > That would explain why I am having problems with my export feature > copying single records out. Is there any way to repair this? I tried > an XML dump with no luck. The program runs fine and seems to access > records fine, but when I try to loop through all the records for an > export it fails with all kids of file errors. There is no way repair I think. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From chuck at mediamacros.com Wed May 4 14:00:10 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Wed May 4 12:57:54 2005 Subject: Problems with table. What does this mean? In-Reply-To: References: Message-ID: <42790DAA.2050800@mediamacros.com> I have to say this is a bit disconcerting as We have invested many hours in this. I think the problem came up from a crash (that is now fixed) with the data. I may see if I can do my own export to try to get around this since I can access the data. Thanks anyway... -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer Ruslan Zasukhin wrote: > On 5/4/05 8:30 PM, "Chuck Neal" wrote: > > >>That would explain why I am having problems with my export feature >>copying single records out. Is there any way to repair this? I tried >>an XML dump with no luck. The program runs fine and seems to access >>records fine, but when I try to loop through all the records for an >>export it fails with all kids of file errors. > > > There is no way repair I think. > From valentina at panamind.com Wed May 4 14:01:34 2005 From: valentina at panamind.com (Gary Edge) Date: Wed May 4 13:01:46 2005 Subject: VObjectPtr and Query question Message-ID: I knew this but can't wrap my mind around it now. I need to perform a 'many to one' query. With a given I need to select multiple records from Table1. Each record in Table1 has one corresponding record in Table2 that I want to include in the query. Database1 Table1 |___Field1 as VObjectPtr("field1",... |___Field2 as VString("field2",20) Table2 |___Field1 as VObjectPtr("field1",database1.table1,kV_Cascade) |___Field2 as VString("field2",20) I want to select from table1 where each record pulls the data from table2. This query doesn't produce any results: c = Database1.sqlselect("select table1.field2,table2.field2 from table1, table2 where table1.field1 = ") I'm I in the ballpark? -- Gary -- From sunshine at public.kherson.ua Wed May 4 22:01:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 14:02:03 2005 Subject: Problems with table. What does this mean? In-Reply-To: <42790DAA.2050800@mediamacros.com> Message-ID: On 5/4/05 9:00 PM, "Chuck Neal" wrote: > I have to say this is a bit disconcerting as We have invested many hours > in this. I think the problem came up from a crash (that is now fixed) > with the data. I may see if I can do my own export to try to get around > this since I can access the data. Thanks anyway... In the near future to fix such problem there is idea add db.Clone() Which will natively in C++ and therefore fast Read record by record and copy into new database. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Wed May 4 15:35:11 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Wed May 4 14:35:25 2005 Subject: Problems with table. What does this mean? In-Reply-To: <42790DAA.2050800@mediamacros.com> Message-ID: On 5/4/05 2:00 PM, Chuck Neal at chuck@mediamacros.com wrote: > I have to say this is a bit disconcerting as We have invested many hours > in this. I'm disconcerted too. What if you have a database with 250,000+ records in it and it gets corrupted. There is no option to repair it? Not even in VStudio? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From info at vallemediatime.com Wed May 4 21:41:26 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed May 4 14:41:33 2005 Subject: Problems with table. What does this mean? References: Message-ID: <000c01c550e1$4304d120$ef161e97@paolokzjsndit5> I'm disconcerted too. For now I suggest to create a dynamic copy of file or folder at the start of work-session. Paolo ----- Original Message ----- From: "Kem Tekinay" To: "Valentina Developers" Sent: Wednesday, May 04, 2005 9:35 PM Subject: Re: Problems with table. What does this mean? > On 5/4/05 2:00 PM, Chuck Neal at chuck@mediamacros.com wrote: > > > I have to say this is a bit disconcerting as We have invested many hours > > in this. > > I'm disconcerted too. What if you have a database with 250,000+ records in > it and it gets corrupted. There is no option to repair it? Not even in > VStudio? > > __________________________________________________________________________ > Kem Tekinay (212) 201-1465 > MacTechnologies Consulting Fax (914) 242-7294 > 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 > New York, New York 10018 http://www.mactechnologies.com > > To join the MacTechnologies Consulting mailing list, send an e-mail to: > mactechnologies_consulting-subscribe@yahoogroups.com > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 02/05/2005 > > From srunkel at hypix.com Wed May 4 12:52:59 2005 From: srunkel at hypix.com (Scott Runkel) Date: Wed May 4 14:53:19 2005 Subject: Problems with table. What does this mean? References: <000c01c550e1$4304d120$ef161e97@paolokzjsndit5> Message-ID: <098101c550e2$dff7b0f0$0200a8c0@SCOTT3> > For now I suggest to create a dynamic copy of file or folder at the start of > work-session. I agree. Daily backups are a 100% necessity, as well as perhaps weekly snapshots so that backups are not written over with corrupt files before you know they are corrupt. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From ktekinay at mactechnologies.com Wed May 4 16:05:55 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Wed May 4 15:06:06 2005 Subject: Problems with table. What does this mean? In-Reply-To: <098101c550e2$dff7b0f0$0200a8c0@SCOTT3> Message-ID: On 5/4/05 3:52 PM, Scott Runkel at srunkel@hypix.com wrote: > I agree. Daily backups are a 100% necessity, as well as perhaps weekly > snapshots > so that backups are not written over with corrupt files before you know they > are > corrupt. I am writing an e-mail archive app with Valentina on the backend. I have a client who, right now, has 250,000+ e-mails to archive, and I estimate that the database will reach sizes in excess of 60 GB. My client is going to be a little miffed when I tell him that my proposed solution will require an Xserve RAID for backups. (I'm being factitious, of course, but this will present a serious challenge if I plan to market this commercially. I was under the impression that Valentina had recovery tools built-in.) __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From erichg at mcmm.com Wed May 4 22:33:29 2005 From: erichg at mcmm.com (Erich Geiersberger) Date: Wed May 4 15:33:52 2005 Subject: V4MD: Put llist[] in a TEXT field... In-Reply-To: <20050502145031.8D60C3127BC@edison.macserve.net> References: <20050502145031.8D60C3127BC@edison.macserve.net> Message-ID: >Hello everyone, > > > >I've made a list with 3 values stored in it.. > >The list is correct, but when I store it the Valentina DB I Get an error >310.... > >The field is a TEXT field?. > >When I store just the word "hello world" it works fine?. > >But when I store the list it gives the 310 error?. > >I found out that is has to do with something like; Convert the list into an >integer?? > >Well, the main question: > >How can I put the values of the list into the field? > If you want to store a list in a string you need to convert it to a string first myListString = string(mylist) and convert it back later using mylist = value(myListString) afterwards Please note that this conversion will not work - if one or more list entries are void - if list entries contain text with returns So if you are not sure what's in the list you should not go that way. HTH -- Erich Geiersberger Media Connect Multimedia Gratzmuellerstr. 1 86150 Augsburg, Germany Tel: +49 821/ 34752 - 0 fax: +49 821/ 34752 - 49 eMail erichg@mcmm.com http://www.mcmm.com From sunshine at public.kherson.ua Wed May 4 23:50:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 15:50:32 2005 Subject: VObjectPtr and Query question In-Reply-To: Message-ID: On 5/4/05 9:01 PM, "Gary Edge" wrote: Hi Gary. > I knew this but can't wrap my mind around it now. > > I need to perform a 'many to one' query. With a given I need to > select multiple records from Table1. Each record in Table1 has one > corresponding record in Table2 that I want to include in the query. > > Database1 > Table1 > |___Field1 as VObjectPtr("field1",... > |___Field2 as VString("field2",20) > > > Table2 > |___Field1 as VObjectPtr("field1",database1.table1,kV_Cascade) > |___Field2 as VString("field2",20) > > I want to select from table1 where each record pulls the data from > table2. > > This query doesn't produce any results: > > c = Database1.sqlselect("select table1.field2,table2.field2 from > table1, table2 where table1.field1 = ") > > I'm I in the ballpark? Do you use v1 or v2 ? IT seems your query is ok: select table1.field2,table2.field2 from table1, table2 where table1.field1 = -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed May 4 23:52:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 15:52:14 2005 Subject: Problems with table. What does this mean? In-Reply-To: Message-ID: On 5/4/05 10:35 PM, "Kem Tekinay" wrote: > On 5/4/05 2:00 PM, Chuck Neal at chuck@mediamacros.com wrote: > >> I have to say this is a bit disconcerting as We have invested many hours >> in this. > > I'm disconcerted too. What if you have a database with 250,000+ records in > it and it gets corrupted. There is no option to repair it? Not even in > VStudio? Right now no. Usually XML dump helps. During few years developers use it. But as we have to see not so far, db.Clone() can be much faster solution, because no need transform data to text and back, and parse xml format. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From delong at redcort.com Wed May 4 13:53:27 2005 From: delong at redcort.com (Keith DeLong) Date: Wed May 4 15:53:49 2005 Subject: Problems with table. What does this mean? In-Reply-To: Message-ID: > On 5/4/05 2:00 PM, Chuck Neal at chuck@mediamacros.com wrote: > >> I have to say this is a bit disconcerting as We have invested many hours >> in this. > > I'm disconcerted too. What if you have a database with 250,000+ records in > it and it gets corrupted. There is no option to repair it? Not even in > VStudio? I cannot speak for v2, but in V4RB 1.7 and newer, once an application is thoroughly debugged and tested, data corruption is very near zero (We have seen one corrupted customer database in almost 5 years of commercial distribution). It's my experience that the Achilles heal of 1.x is a crash between an add/change/delete and a db.flush. Defensive coding will never rely on Valentina to do the flush implicitly. With the exception of a large import, I immediately call db.flush after any db add/change/delete. Ruslan, do you anticipate this will be true for 2.x as well? Keith DeLong From snw at paradise.net.nz Thu May 5 08:55:49 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Wed May 4 15:56:19 2005 Subject: V4RB, V4MD, VServer_Office for mac 2.0..3fc6 uploaded In-Reply-To: References: Message-ID: <6.2.1.2.2.20050505085342.03679690@pop3.paradise.net.nz> Hi Ruslan, Any chance of a Windows build of V4MD 2.0.3fc6? Thanks, -Sean. From sunshine at public.kherson.ua Wed May 4 23:57:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 15:57:54 2005 Subject: Problems with table. What does this mean? In-Reply-To: Message-ID: On 5/4/05 11:53 PM, "Keith DeLong" wrote: >>> I have to say this is a bit disconcerting as We have invested many hours >>> in this. >> >> I'm disconcerted too. What if you have a database with 250,000+ records in >> it and it gets corrupted. There is no option to repair it? Not even in >> VStudio? > > I cannot speak for v2, but in V4RB 1.7 and newer, once an application is > thoroughly debugged and tested, data corruption is very near zero (We have > seen one corrupted customer database in almost 5 years of commercial > distribution). > > It's my experience that the Achilles heal of 1.x is a crash between an > add/change/delete and a db.flush. Defensive coding will never rely on > Valentina to do the flush implicitly. With the exception of a large import, > I immediately call db.flush after any db add/change/delete. > > Ruslan, do you anticipate this will be true for 2.x as well? :-) of course And for 3.0 we will start add logs and transaction-based recovery systems. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 5 00:00:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 16:00:16 2005 Subject: Problems with table. What does this mean? In-Reply-To: Message-ID: On 5/4/05 11:05 PM, "Kem Tekinay" wrote: > On 5/4/05 3:52 PM, Scott Runkel at srunkel@hypix.com wrote: > >> I agree. Daily backups are a 100% necessity, as well as perhaps weekly >> snapshots >> so that backups are not written over with corrupt files before you know they >> are >> corrupt. > > I am writing an e-mail archive app with Valentina on the backend. I have a > client who, right now, has 250,000+ e-mails to archive, and I estimate that > the database will reach sizes in excess of 60 GB. My client is going to be a > little miffed when I tell him that my proposed solution will require an > Xserve RAID for backups. > > (I'm being factitious, of course, but this will present a serious challenge > if I plan to market this commercially. I was under the impression that > Valentina had recovery tools built-in.) We have diagnose tools. Actually recovery of any complex format db files, is not simple task. And even worse I think not always possible. Ivan (our developer) can tell you many stories about his work in bank area, that even cool and powerful Sybase with all their transactional and log mechanisms did file to recover after failure. And only backup was life-safer. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From srunkel at hypix.com Wed May 4 14:01:22 2005 From: srunkel at hypix.com (Scott Runkel) Date: Wed May 4 16:01:45 2005 Subject: Problems with table. What does this mean? References: Message-ID: <0ab301c550ec$70bff760$0200a8c0@SCOTT3> > I estimate that > the database will reach sizes in excess of 60 GB. My client is going to be a > little miffed when I tell him that my proposed solution will require an > Xserve RAID for backups. I feel your pain. I was actually thinking of the development process only. I wasn't even thinking about what to do once the project was delivered to the client. Silly me. But the sad reality is that any file on a computer can become corrupted, or even wiped out, at any moment. The power goes out, it comes back on, zap--a hard drive is toast and a backup is the only way to get the data (this happened to me a couple of years ago; even one of those data-recovery companies couldn't get anything from the drive). So at some point it's up to the client to realize that if they have 60GB files to back up, they need to figure out a way to back them up, whether they are your files or their files. Their backup solution should be able to handle what they've got on their hard drives. If not, then they are unprotected from any negative event. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Thu May 5 00:06:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 16:07:01 2005 Subject: V4RB, V4MD, VServer_Office for mac 2.0..3fc6 uploaded In-Reply-To: <6.2.1.2.2.20050505085342.03679690@pop3.paradise.net.nz> Message-ID: On 5/4/05 11:55 PM, "Sean Wilson" wrote: > Hi Ruslan, > > Any chance of a Windows build of V4MD 2.0.3fc6? Yes, we start build 2.0.3 release -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Wed May 4 17:11:40 2005 From: jda at his.com (jda) Date: Wed May 4 16:11:54 2005 Subject: V4RB, V4MD, VServer_Office for mac 2.0..3fc6 uploaded In-Reply-To: References: Message-ID: > > Any chance of a Windows build of V4MD 2.0.3fc6? > >Yes, we start build 2.0.3 release > Maybe bug 738 will be easy enough to fix to make the 2.0.3 release. ;-) Jon From barney at custombased.com Thu May 5 10:17:53 2005 From: barney at custombased.com (Barney) Date: Wed May 4 17:17:37 2005 Subject: VarChar fields Message-ID: Hello, I know this is pretty elementary stuff but I never could get it figured out. Does a VarChar field have a maximum length ? I'm sure I've had cases where I've had data truncated in a VarChar. If it does have a maximum length, is this set by the page size ? ie If page size is set to 504, will it truncate any string in excess of this or does it truncate any string in excess of 1024 If the page size was 1024 will it then truncate string roughly twice the size. Is a VarChar field more efficient than a string because it only uses as much disk space as need be, instead of allocating exactly that which is stated by person. A TEXT field seems like a good option wanting to supply a field for taking notes which might have 1 line in it or hundreds of lines in it. But does a TEXT field use much more disk space than a string or VarChar or only as much as it needs to store the string. Thank you. Barney From ktekinay at mactechnologies.com Wed May 4 18:59:25 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Wed May 4 17:59:31 2005 Subject: Problems with table. What does this mean? In-Reply-To: <0ab301c550ec$70bff760$0200a8c0@SCOTT3> Message-ID: On 5/4/05 5:01 PM, Scott Runkel at srunkel@hypix.com wrote: > So at some point it's up to the client to realize that if they have 60GB files > to back up, they need to figure out a way to back them up, whether they are > your > files or their files. Their backup solution should be able to handle what > they've got on their hard drives. If not, then they are unprotected from any > negative event. Agreed on all points. I wasn't trying to imply otherwise. Actually, once we have UTF8, I imagine the files will take something much less than 60 GB. Ruslan, any estimate on when that will happen? In the meantime, I was notified that the compression bug was fixed. That should help a lot too. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Thu May 5 02:55:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 18:55:19 2005 Subject: VarChar fields In-Reply-To: Message-ID: On 5/5/05 1:17 AM, "Barney" wrote: Hi Barney, > I know this is pretty elementary stuff but I never could get it figured out. > > Does a VarChar field have a maximum length ? Yes, and you set it on creation of field > I'm sure I've had cases where I've had data truncated in a VarChar. > If it does have a maximum length, is this set by the page size ? No, when you create varchar you specify size in chars. For now it is recommended to use VarChar[1022] This give you 1022 UTF16 chars. > ie If page size is set to 504, will it truncate any string in excess of this > or does it truncate any string in excess of 1024 You talk about 1.x ? 504 this is not size of page! This is mac length in chars > If the page size was 1024 will it then truncate string roughly twice the > size. > > Is a VarChar field more efficient than a string because it only uses as > much disk space as need be, instead of allocating exactly that which is > stated by person. yes > A TEXT field seems like a good option wanting to supply a field for taking > notes which might have 1 line in it or hundreds of lines in it. But does a > TEXT field use much more disk space than a string or VarChar or only as much > as it needs to store the string. Close to AS NEEDED -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 5 03:01:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 4 19:01:39 2005 Subject: Valentina 2.0.3 products uploaded. Message-ID: Hi All, V4RB, V4MD, Vservers 2.0.3 uploaded for both platforms. -------------------------------------- V4RB and V4MD Tutorials are updated. Lesson 2 show how make existed project working with Vserver. V4MD Tutorial have Lesson 3 which show how to make ShockWave movie. Please let us know, if you will find any troubles. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From CBishop at alfred.com Wed May 4 17:31:19 2005 From: CBishop at alfred.com (Christopher Bishop) Date: Wed May 4 19:32:33 2005 Subject: V4MD 2.0.3fc5 Message-ID: <4996E7B8A963A04E8916A67F06C83E30E6950D@apvnyexch01.alfredpub.com> I am so frustrated with Version 2. I cannot do anything in Client / Server mode, even with the latest fc5 candidate Server and V4MD Xtra. All sqlselect statements are returning VOID, and when I use Valentina Studio v5 to add any data into a table, it crashes immediately. I didn't have these problems with V1 client, and I wish I could go back to using it. However, I need the functionality of fromfile and tofile! I have been spending the last month just trying to get it to work with no luck. Do you think it is installed incorrectly? I turned off my firewall, I am getting connections to the debug window, and I can use some of the functions, like creating tables. There has to be a problem with how it is set up, since it works fine with your other clients, right? From snw at paradise.net.nz Thu May 5 14:36:22 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Wed May 4 21:37:11 2005 Subject: Valentina 2.0.3 products uploaded. In-Reply-To: <6.2.1.2.2.20050504101120.0427fdb0@pop3.paradise.net.nz> References: <4996E7B8A963A04E8916A67F06C83E30E69501@apvnyexch01.alfredpub.com> <6.2.1.2.2.20050504101120.0427fdb0@pop3.paradise.net.nz> Message-ID: <6.2.1.2.2.20050505143225.040b30f0@pop3.paradise.net.nz> >I cannot run your example file Common\Database_CreateCloseOpen without a >fatal error on the line of code: >Valentina.logToFile(TRUE, FALSE) >(It seems that if the first parameter is TRUE it will always crash, >whereas if it's FALSE it seems OK) >If I comment this line so that Director doesn't crash, I get an error when >pressing the "Create Database" button: ERROR: ERR_DYNAMIC_SQL_ERROR() I have downloaded and installed this latest release and both these errors persist. Since you didn't reply to my original mail, perhaps you didn't get it. Or maybe you didn't check your examples against your build. >Also: can you *please* include version info Done - thanks for this. -Sean. From snw at paradise.net.nz Thu May 5 15:08:04 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Wed May 4 22:08:14 2005 Subject: V4MD 2.0.3 Win Message-ID: <6.2.1.2.2.20050505145546.04084d90@pop3.paradise.net.nz> VStudio b5 is unable to connect to vServer 2.0.3 I completed your tutorial 3 file and published to ShockWave - which worked this time (the xtra auto-downloaded and installed) but it crashed my browser when trying to add a record to a fresh database created by vServer (I can confirm that the DB was successfully created by the server, but I'm having difficulty opening it with VStudio to check it) Also, I can't create an instance of the server xtra to try and communicate with the server installed on my local machine. The following line of code, run from the message window, immediately quits Director with a fatal error: vs = xtra("VServer").new("127.0.0.1", "sa", "sa") The situation with V4MD Windows seems to be worsening... -Sean. PS: the tutorial files should perhaps not be marked as read-only, and the 3rd tutorial about ShockWave shouldn't have the xtra already added to the movieXtraList (as part of the tutorial is about adding it) and the publish settings should be set to export HTML/dcr files, not a projector From snw at paradise.net.nz Thu May 5 16:37:41 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Wed May 4 23:37:57 2005 Subject: V4MD 2.0.3 Win Message-ID: <6.2.1.2.2.20050505161855.04080eb0@pop3.paradise.net.nz> Perhaps the following might help (with Valentina.debugLevel = #kLogParams): * V4MD *: Valentina.new()...done * V4MD *: Valentina.init()...done * V4MD *: new VDatabase...ERROR: 5 As you can see, the rest is irrelevant as I can't create an instance of VDatabase without an error #5 being returned. For whatever reason, Valentina.lastErrorString is (this is not a lingo-safe value, it should be VOID if anything) and Valentina.lastErrorSymbol is #ERR_DYNAMIC_SQL_ERROR, even in a fresh movie where Valentina.lastError = 0 Thanks, -Sean. From valentina at panamind.com Thu May 5 01:36:54 2005 From: valentina at panamind.com (Gary Edge) Date: Thu May 5 00:37:06 2005 Subject: VObjectPtr and Query question In-Reply-To: References: Message-ID: <2cd5d210dd2e7f86cd6407ae8d5a1c86@panamind.com> On May 4, 2005, at 4:50 PM, Ruslan Zasukhin wrote: > > Hi Gary. > > > Do you use v1 or v2 ? > > IT seems your query is ok: > > select > table1.field2,table2.field2 > from > table1, table2 > where > table1.field1 = > > > Hi Ruslan, I'm using v1. I haven't switched to v2 yet but I plan to. Gary From sunshine at public.kherson.ua Thu May 5 09:02:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 01:02:53 2005 Subject: V4MD 2.0.3 Win In-Reply-To: <6.2.1.2.2.20050505145546.04084d90@pop3.paradise.net.nz> Message-ID: On 5/5/05 6:08 AM, "Sean Wilson" wrote: > VStudio b5 is unable to connect to vServer 2.0.3 Jochen, can you check this ? If this is true, then please make b6 today. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 5 09:06:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 01:07:06 2005 Subject: V4MD 2.0.3fc5 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E6950D@apvnyexch01.alfredpub.com> Message-ID: On 5/5/05 3:31 AM, "Christopher Bishop" wrote: > I am so frustrated with Version 2. I cannot do anything in Client / > Server mode, even with the latest fc5 candidate Server and V4MD Xtra. > > All sqlselect statements are returning VOID, and when I use Valentina > Studio v5 to add any data into a table, it crashes immediately. > > I didn't have these problems with V1 client, and I wish I could go back > to using it. However, I need the functionality of fromfile and tofile! > > > I have been spending the last month just trying to get it to work with > no luck. Do you think it is installed incorrectly? I turned off my > firewall, I am getting connections to the debug window, and I can use > some of the functions, like creating tables. There has to be a problem > with how it is set up, since it works fine with your other clients, > right? Hi Christopher, We need more info from you: - platform? - have you run our examples? does they work ? - can you show log from Server? - can you show log from client ? And so on. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 5 09:08:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 01:08:15 2005 Subject: Valentina 2.0.3 products uploaded. In-Reply-To: <6.2.1.2.2.20050505143225.040b30f0@pop3.paradise.net.nz> Message-ID: On 5/5/05 5:36 AM, "Sean Wilson" wrote: >> I cannot run your example file Common\Database_CreateCloseOpen without a >> fatal error on the line of code: >> Valentina.logToFile(TRUE, FALSE) >> (It seems that if the first parameter is TRUE it will always crash, >> whereas if it's FALSE it seems OK) >> If I comment this line so that Director doesn't crash, I get an error when >> pressing the "Create Database" button: ERROR: ERR_DYNAMIC_SQL_ERROR() > > I have downloaded and installed this latest release and both these errors > persist. Since you didn't reply to my original mail, perhaps you didn't get > it. Or maybe you didn't check your examples against your build. Sean, It is not clear. Only THIS example not works for you? Or all examples not work in similar way ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From derrick at xact.co.za Thu May 5 08:07:48 2005 From: derrick at xact.co.za (Derrick Muller) Date: Thu May 5 01:11:28 2005 Subject: Auto Increment Field Message-ID: <20050505061110.6DAE33B87@ctb-mesg3.saix.net> Is it possible to set a integer field to AUTO INCREMENT on create? Derrick Muller From sunshine at public.kherson.ua Thu May 5 09:32:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 01:32:51 2005 Subject: Auto Increment Field In-Reply-To: <20050505061110.6DAE33B87@ctb-mesg3.saix.net> Message-ID: On 5/5/05 9:07 AM, "Derrick Muller" wrote: Hi Derrick, > Is it possible to set a integer field to AUTO INCREMENT on create? We have not yet such feature. Usually people use RecID field. But right, since we want support pure Relational model also, It is good idea add auto increment also. I think it is in our bug tracking system as feature request. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 5 09:35:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 01:36:01 2005 Subject: Valentina 2.0.3 products uploaded. In-Reply-To: <6.2.1.2.2.20050505143225.040b30f0@pop3.paradise.net.nz> Message-ID: On 5/5/05 5:36 AM, "Sean Wilson" wrote: >> I cannot run your example file Common\Database_CreateCloseOpen without a >> fatal error on the line of code: >> Valentina.logToFile(TRUE, FALSE) >> (It seems that if the first parameter is TRUE it will always crash, >> whereas if it's FALSE it seems OK) >> If I comment this line so that Director doesn't crash, I get an error when >> pressing the "Create Database" button: ERROR: ERR_DYNAMIC_SQL_ERROR() > > I have downloaded and installed this latest release and both these errors > persist. Since you didn't reply to my original mail, perhaps you didn't get > it. Or maybe you didn't check your examples against your build. I have check this example right now on MAC and it works fine here. I will check now on Windows -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 5 11:23:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 03:23:31 2005 Subject: FIXED: V4MD 2.0.3 Win In-Reply-To: <6.2.1.2.2.20050505161855.04080eb0@pop3.paradise.net.nz> Message-ID: On 5/5/05 7:37 AM, "Sean Wilson" wrote: Hi Sean, > Perhaps the following might help (with Valentina.debugLevel = #kLogParams): > * V4MD *: Valentina.new()...done > * V4MD *: Valentina.init()...done > * V4MD *: new VDatabase...ERROR: 5 Really, V4MD WIN 2.0.3 build was broken. We have fix this and upload it again. > As you can see, the rest is irrelevant as I can't create an instance of > VDatabase without an error #5 being returned. For whatever reason, > Valentina.lastErrorString is (this is not a lingo-safe value, it > should be VOID if anything) and Valentina.lastErrorSymbol is > #ERR_DYNAMIC_SQL_ERROR, even in a fresh movie where Valentina.lastError = 0 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 5 11:35:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 03:35:27 2005 Subject: V4MD shockwave package In-Reply-To: <09143771-7FE5-48CE-8452-1DC5086395DE@gmx.net> Message-ID: On 5/5/05 11:27 AM, "Peter Salomon" wrote: > hi ruslan, > > i tried to dl shockwavePackage Mac Version. But browser opens a new > browserwindow with file in it. klicking link with download as loads > txt file. seems something wrong here... Hi Peter, In the Safari I have click by right mouse link to mac package And choose in contextual menu "Download Linked File As.." This way works for me. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 5 11:47:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 03:47:31 2005 Subject: V4MD shockwave package In-Reply-To: <8D32BB7D-013F-4742-AB9F-DAE78326526A@gmx.net> Message-ID: On 5/5/05 11:40 AM, "Peter Salomon" wrote: > hi ruslan, > > when i try to do this i dl a txt file to desktop: > > RIFFv?PCK2INFO???x?u???0???=jb > (?:s??1?p5K?b?P?????D???03U~(? ?Ij8?Pc????L?$ ?VX?N?????????BvIcT???????*{?m?y??G?? .,?Gg??) So what wonder you ??? I get on desktop after download file V4MD_2.carb. This is package. Its size if 358 116 bytes Yes it start with RIFFv?PCK2INFO Why you say it is textual? I see just white icon for it -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From peter.salomon at gmx.net Thu May 5 10:56:21 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Thu May 5 03:56:30 2005 Subject: [V4MD] adding method field Message-ID: <5005FC44-B4F2-4C05-8E78-B5421FC70C27@gmx.net> hi list, i have a project where i can?t add method fields in one table. perhaps you may help me to find what?s wrong. 1. xtra V4MD 2.0.3fc6 works. examples work, in another table of my project i added already method field. 2. methodfields are of type stringfield: aTable.createStringField(fldName, 128, [#fNone] , methodstring) but also creation with type varcharfield fails 3. methodstring is something like: "IF ((fld1 + fld2 +fld3)/3*100 < 30, 'low',IF ((fld1 + fld2 +fld3)/ 3*100 < 70, 'middle', 'high'))" this methodsring worked with version 1.x 4. this table has more than 350 fields, when i try to add methodfields, messagewindow tells me that job is done without errors. but closing db and check with VStudio --> no methodfields. so has anyone an idea what is wrong here or suggestions to find a better way? thanks, peter From sunshine at public.kherson.ua Thu May 5 12:05:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 04:05:18 2005 Subject: V4MD shockwave package In-Reply-To: <2E7C2C1D-8070-47B9-A42C-0F794C14C1A6@gmx.net> Message-ID: On 5/5/05 11:53 AM, "Peter Salomon" wrote: > because its dl as txt file. name is > > V4MD_2.carb.txt > > icon is of type TextEdit. > Well, no problem to remove .txt ending.. And what browser you use ? I use Safary, and it works fine here. > Am 05.05.2005 um 10:47 schrieb Ruslan Zasukhin: > >> On 5/5/05 11:40 AM, "Peter Salomon" wrote: >> >> >>> hi ruslan, >>> >>> when i try to do this i dl a txt file to desktop: >>> >>> RIFFv?PCK2INFO???x?u???0???=jb >>> (?:s??1?p5K?b?P?????D???03U~(? ?Ij8?Pc????L?$>> ?VX?N?????????BvIcT???????*{?m?y??G?? .,?Gg??) >>> >> >> So what wonder you ??? >> >> I get on desktop after download file V4MD_2.carb. >> This is package. >> >> Its size if 358 116 bytes >> >> Yes it start with >> >> RIFFv?PCK2INFO >> >> >> Why you say it is textual? >> I see just white icon for it >> >> >> >> -- >> Best regards, >> >> Ruslan Zasukhin >> VP Engineering and New Technology >> Paradigma Software, Inc >> >> Valentina - Joining Worlds of Information >> http://www.paradigmasoft.com >> >> [I feel the need: the need for speed] >> >> >> > -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 5 12:32:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 04:33:02 2005 Subject: V4MD shockwave package In-Reply-To: Message-ID: On 5/5/05 12:07 PM, "Peter Salomon" wrote: Strange, yes? Well, also possible to use FTP client I think... In any case we cannot use .sit or .zip archives for packages. They must be they are now. > i also use safari. the new tiger version.. > > > Am 05.05.2005 um 11:05 schrieb Ruslan Zasukhin: > >> On 5/5/05 11:53 AM, "Peter Salomon" wrote: >> >> >>> because its dl as txt file. name is >>> >>> V4MD_2.carb.txt >>> >>> icon is of type TextEdit. >>> Well, no problem to remove .txt ending.. >>> >> >> And what browser you use ? >> >> I use Safary, and it works fine here. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 5 12:36:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 04:36:12 2005 Subject: [V4MD] adding method field In-Reply-To: <5005FC44-B4F2-4C05-8E78-B5421FC70C27@gmx.net> Message-ID: On 5/5/05 11:56 AM, "Peter Salomon" wrote: > hi list, > > i have a project where i can?t add method fields in one table. > perhaps you may help me to find what?s wrong. > > 1. xtra V4MD 2.0.3fc6 works. examples work, in another table of my > project i added already method field. > > 2. methodfields are of type stringfield: > > aTable.createStringField(fldName, 128, [#fNone] , methodstring) > > but also creation with type varcharfield fails > > 3. methodstring is something like: > > "IF ((fld1 + fld2 +fld3)/3*100 < 30, 'low',IF ((fld1 + fld2 +fld3)/ > 3*100 < 70, 'middle', 'high'))" > > this methodsring worked with version 1.x Well, may be you can just for test to use some simple function? e.g. Lower(fld) If simple will work then it needs check your big function. > 4. this table has more than 350 fields, when i try to add > methodfields, messagewindow tells me that job is done without errors. > but closing db and check with VStudio > > --> no methodfields. > > so has anyone an idea what is wrong here or suggestions to find a > better way? Wow, 350 fields. You sure you need so many in single table ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From snw at paradise.net.nz Thu May 5 21:46:25 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Thu May 5 04:47:39 2005 Subject: [FIXED] V4MD 2.0.3 Win Message-ID: <6.2.1.2.2.20050505213601.032ed510@pop3.paradise.net.nz> >Really, V4MD WIN 2.0.3 build was broken. > >We have fix this and upload it again. Thanks Ruslan - it works now (that is, the example file I was trying earlier works - I haven't tried all of them yet, but it's behaving *much* better!) Cheers, -Sean. From snw at paradise.net.nz Thu May 5 21:46:59 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Thu May 5 04:50:38 2005 Subject: V4MD shockwave package In-Reply-To: References: <2E7C2C1D-8070-47B9-A42C-0F794C14C1A6@gmx.net> Message-ID: <6.2.1.2.2.20050505213939.032d9740@pop3.paradise.net.nz> Just a quick note - you shouldn't need to download this file unless you're intending hosting the packages on your own server. It is intended to be auto-downloaded and installed into ShockWave from the packages Ruslan has made available. If you follow the instructions about editing your xtrainfo.txt file and uncheck/recheck the "Download if needed..." box under Modify -> Movie -> Xtras and view the published file in a browser then the Mac version (the file you're trying to download) should auto-install. I have published their Lesson-3 tutorial file and the Windows version of the package successfully auto-installs. I'm having some trouble running the file in my browser that I haven't pinned down yet (it has frozen and crashed a few times, and the times it hasn't it won't add/update any records in the DB yet, and VStudio isn't connecting through VServer - but I can open the DB created locally in VStudio so I can see that the ShockWave movie isn't adding records) -Sean. From sunshine at public.kherson.ua Thu May 5 12:59:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 04:59:51 2005 Subject: V4MD shockwave package In-Reply-To: <6.2.1.2.2.20050505213939.032d9740@pop3.paradise.net.nz> Message-ID: On 5/5/05 12:46 PM, "Sean Wilson" wrote: > Just a quick note - you shouldn't need to download this file unless you're > intending hosting the packages on your own server. Absolutely correct. And in our tutorial is said: IF you want run own web-server on local network then you need download packages to your own computer. > It is intended to be auto-downloaded and installed into ShockWave from the > packages Ruslan has made available. yes > If you follow the instructions about editing your > xtrainfo.txt file and uncheck/recheck the "Download if needed..." box under > Modify -> Movie -> Xtras and view the published file in a browser then the > Mac version (the file you're trying to download) should auto-install. -------------------- > I have published their Lesson-3 tutorial file and the Windows version of > the package successfully auto-installs. > I'm having some trouble running the > file in my browser that I haven't pinned down yet (it has frozen and > crashed a few times, and the times it hasn't it won't add/update any > records in the DB yet, and VStudio isn't connecting through VServer - but I > can open the DB created locally in VStudio so I can see that the ShockWave > movie isn't adding records) Guys, I am very sorry, but one last change for Vstudio to support RecID and OID fields have break Valentina Server. Igor now work on fixing of bug. It looks we will need make new builds for all archives Because fix go into client and server. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From snw at paradise.net.nz Thu May 5 22:05:02 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Thu May 5 05:05:12 2005 Subject: [V4MD] Win 2.0.3 - Lesson-2 Message-ID: <6.2.1.2.2.20050505215131.032d8010@pop3.paradise.net.nz> Lesson-2 (connect to VServer-hosted DB as client) is crashing Windows Director when it tries to add a record to a DB via VServer 2.0.3fc6 running on the same machine. This from the server log: 21:49:52.562000 (2776): Connection established with 'localhost:1761' (484) 21:49:52.572000 (2776): (484) Database: database1; User: sa: OK 21:50:15.114000 (2776): (484) Unknown error! 21:50:15.114000 (2776): (484) ERROR 0x8250D: Unknown connection error. 21:50:15.114000 (2776): Closing connection (484) This seems reproducible, and when I turn on debugLevel = #kLogParams the last visible message in my message window prior to crash/lockup is: * V4MD *: VDatabase.open()... I hope this info helps (somehow). -Sean. From chuck at mediamacros.com Thu May 5 08:10:58 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Thu May 5 07:08:39 2005 Subject: Problems with table. What does this mean? In-Reply-To: References: Message-ID: <427A0D52.6060707@mediamacros.com> And some blob fields fail on XML export. I have a 500 MB database with images in it and export to XML and back always destroys the picture data in some way. -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer Ruslan Zasukhin wrote: > On 5/4/05 10:35 PM, "Kem Tekinay" wrote: > > >>On 5/4/05 2:00 PM, Chuck Neal at chuck@mediamacros.com wrote: >> >> >>>I have to say this is a bit disconcerting as We have invested many hours >>>in this. >> >>I'm disconcerted too. What if you have a database with 250,000+ records in >>it and it gets corrupted. There is no option to repair it? Not even in >>VStudio? > > > Right now no. > > Usually XML dump helps. During few years developers use it. > > But as we have to see not so far, db.Clone() can be much faster solution, > because no need transform data to text and back, and parse xml format. > From info at vallemediatime.com Thu May 5 17:07:43 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu May 5 10:07:50 2005 Subject: [V4MD 2.0.3 WIN] Crash at DB_open Message-ID: <000a01c55184$30bcf530$bd091e97@paolokzjsndit5> Hi Ruslan, I get a Fatal error when I stopped my movie and re-open DB, if I use the old 2.0.2 Xtra instead of 2.0.3 the movie works fine. Have you change something about stopMovie or other commands? DIR MX 2004 / WIN XP PRO Paolo From sunshine at public.kherson.ua Thu May 5 18:19:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 10:19:45 2005 Subject: [V4MD 2.0.3 WIN] Crash at DB_open In-Reply-To: <000a01c55184$30bcf530$bd091e97@paolokzjsndit5> Message-ID: On 5/5/05 6:07 PM, "info@vallemediatime.com" wrote: > Hi Ruslan, > I get a Fatal error when I stopped my movie and re-open DB, if I use the old > 2.0.2 Xtra instead of 2.0.3 the movie works fine. > Have you change something about stopMovie or other commands? Hi Paolo, We upload new build of 2.0.3 products right now. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 5 19:42:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 11:42:27 2005 Subject: [ANN] Products 2.0.3 build 2 uploaded. Message-ID: Hi All, You can download now second build of all 2.0.3 products. Fixed client/server part. Good news: Peter Salomon already have test ShockWave feature and get success. So, Sean, Shannon, and others who need ShockWave. Now you should get success with this feature. P.S. Jochen should recompile Vstudio and give us b6. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 5 22:08:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 14:09:04 2005 Subject: Upgrading... In-Reply-To: Message-ID: On 5/5/05 9:57 PM, "Charles Cohen" wrote: Hi Charles, > Using V4RB 2.0 and RB 5.5.5 > > I have been using V4RB 1.9.7 and have spent the morning rumaging > through my code to alter the record manipulation events (open, delete, > update & add), BaseObjects to VTables and have been able to reduce the > RB compiler errors to two. > > However, I have yet to get into my database as both... > > Valentina.Init(10* 1024*1024) and Valentina.ShutDown() return the errors > * This method does not exist in App.Close line 3 and * This method does > not exist in App.Close line 3 > respectively. Hmm. > The tutorials load with the identicle code....pas problemo as does the > converting tool, > BTW I have to remove the DBVersion line to get a satisfactory > conversion...that particular line created an exception whenvever I > tried to convert my old database. Is this a problem? Take this point please: 1) I recommend at first update your project to be able work with V4RB 2.0. You should make that it compiles, runs, create new fresh db of 2.0 format. Add records, close open dbs amd so on. When you will get all this working, then there is sense add lines To convert existed dbs of 1.x format into 2.0 format. You can check example Common/Convert_1_2() for this task. 2) so you say that Valentina.Init() produce compile error ?! Strange. Try type Valentina. Does REALbasic show list of methods for Valentina class? Does it list here Init() method ? 3) I think you know you need remove V4RB 1.x plugin from plugins folder of REALBasic. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Thu May 5 22:03:15 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu May 5 15:03:34 2005 Subject: [V4MD 2.0.3 WIN] Crash at DB_open References: Message-ID: <000c01c551ad$79c4cd60$2f181e97@paolokzjsndit5> I've found the problem, it is in the SQL way, you can try your example Record_AddDeleteUpdate.. 1. add 10 record 2. stop the movie 3. play again and you get the Fatal error Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Thursday, May 05, 2005 5:19 PM Subject: Re: [V4MD 2.0.3 WIN] Crash at DB_open > On 5/5/05 6:07 PM, "info@vallemediatime.com" > wrote: > > > Hi Ruslan, > > I get a Fatal error when I stopped my movie and re-open DB, if I use the old > > 2.0.2 Xtra instead of 2.0.3 the movie works fine. > > Have you change something about stopMovie or other commands? > > Hi Paolo, > > We upload new build of 2.0.3 products right now. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 02/05/2005 > > From info at vallemediatime.com Thu May 5 22:20:20 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu May 5 15:20:24 2005 Subject: [V4MD 2.0.3 WIN] Error for unlinkRecords() Message-ID: <003b01c551af$dce97060$2f181e97@paolokzjsndit5> Hi Ruslan, I've seen that some bug are fixed in binary link, good... but I've found another issue: If I do unlinkRecords when the link it does not exist I get an alert "INDEX PAGE CORRUPTED etc." and after all unlinked command don't works. Paolo From CBishop at alfred.com Thu May 5 13:18:03 2005 From: CBishop at alfred.com (Christopher Bishop) Date: Thu May 5 15:22:41 2005 Subject: V4MD 2.0.3fc5 Message-ID: <4996E7B8A963A04E8916A67F06C83E30E6950E@apvnyexch01.alfredpub.com> I am using Windows XP Pro with a Pentium 4 computer with 512 RAM. I'm using Director MX, now using 2.0.3FC5 Server and V4MD. Your example Table_CreateDrop I changed variable gClient = true This example immediately crashes Director if gClient = true, but not if gClient = false. The commands crashing were: Valentina.logToMessageWindow = false Valentina.logToFile(true, false) So I got rid of these commands. Then when it gets to the command gDb.create(path, #kDsc_Dat_Blb_Ind) I get a Director Alert Box: ERROR: ERR_CONNECTION_ERROR() In the message window it reports: * V4MD *: Valentina.new()...done * V4MD *: Valentina.initClient()...done * V4MD *: new VDatabase...done * V4MD *: VDatabase.create()...ERROR: 532480 In the VServer_NT.exe debug box (log from server), I get nothing but the opening stuff: Thu May 5 2005 12:38:25.687000 Valentina Embedded Server (2.0, Protocol 2.0, Kernel 2.0.3fc5) Maximum number of connections: 5 12:38:25.733000 (640): Database engine inited 12:38:25.858000 (640): Server started at 15433 port ________________________________ On 5/5/05 3:31 AM, "Christopher Bishop" wrote: > I am so frustrated with Version 2. I cannot do anything in Client / > Server mode, even with the latest fc5 candidate Server and V4MD Xtra. > > All sqlselect statements are returning VOID, and when I use Valentina > Studio v5 to add any data into a table, it crashes immediately. > > I didn't have these problems with V1 client, and I wish I could go back > to using it. However, I need the functionality of fromfile and tofile! > > > I have been spending the last month just trying to get it to work with > no luck. Do you think it is installed incorrectly? I turned off my > firewall, I am getting connections to the debug window, and I can use > some of the functions, like creating tables. There has to be a problem > with how it is set up, since it works fine with your other clients, > right? Hi Christopher, We need more info from you: - platform? - have you run our examples? does they work ? - can you show log from Server? - can you show log from client ? And so on. From sunshine at public.kherson.ua Thu May 5 23:18:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 15:24:32 2005 Subject: [V4MD 2.0.3 WIN] Crash at DB_open In-Reply-To: <000c01c551ad$79c4cd60$2f181e97@paolokzjsndit5> Message-ID: On 5/5/05 11:03 PM, "info@vallemediatime.com" wrote: > I've found the problem, it is in the SQL way, > you can try your example Record_AddDeleteUpdate.. > 1. add 10 record > 2. stop the movie > 3. play again and you get the Fatal error > Paolo Aha. Igor please check this point.. Paolo, so API way works fine yes? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 5 23:24:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 15:24:58 2005 Subject: Wow, REALGetPropValue is very slow. Message-ID: Hi All, I have play with one test example, and have found that if to use Vfield.Value which is variant Instead of using the types values of each clas Vshort.Value Vlong.Value, ... Then we get almost 100 times slower work. 100 times, exactly! 98 seconds vs about 1 second. I have check by profiler, and see that problem is with REALGetPropValue(). It eats 98% of test. REAL, I think here you must improve a lots something... May be you use linear search to find property ? ATTENTION: so for all Valentina users, I will recommend NOT to use Vfield.Value as Variant. We could expect that variant will require some payment for comfort. But 100 times slow down is not acceptable IMHO. At least you should avoid it in tight loops. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 5 23:26:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 15:26:11 2005 Subject: V4MD 2.0.3fc5 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E6950E@apvnyexch01.alfredpub.com> Message-ID: On 5/5/05 11:18 PM, "Christopher Bishop" wrote: > I am using Windows XP Pro with a Pentium 4 computer with 512 RAM. > I'm using Director MX, now using 2.0.3FC5 Server and V4MD. Christopher, Can I ask you download 2.0.3 release ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 5 23:27:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 15:27:29 2005 Subject: [V4MD 2.0.3 WIN] Error for unlinkRecords() In-Reply-To: <003b01c551af$dce97060$2f181e97@paolokzjsndit5> Message-ID: On 5/5/05 11:20 PM, "info@vallemediatime.com" wrote: > Hi Ruslan, > I've seen that some bug are fixed in binary link, good... but I've found > another > issue: > If I do unlinkRecords when the link it does not exist I get an alert "INDEX > PAGE CORRUPTED etc." and after all unlinked command don't works. Why you do such bad things?! :-)) Ok, right, binary Link should protect self from such mistake. Ivan please add such test and fix this bug. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Thu May 5 22:38:03 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu May 5 15:38:09 2005 Subject: [V4MD 2.0.3 WIN] Error for unlinkRecords() References: Message-ID: <001801c551b2$563acd90$52221e97@paolokzjsndit5> ----- Original Message ----- From: "Ruslan Zasukhin" To: ; "Ivan Smahin" Sent: Thursday, May 05, 2005 10:27 PM Subject: Re: [V4MD 2.0.3 WIN] Error for unlinkRecords() > On 5/5/05 11:20 PM, "info@vallemediatime.com" > wrote: > > > Hi Ruslan, > > > I've seen that some bug are fixed in binary link, good... but I've found > > another > > > issue: > > If I do unlinkRecords when the link it does not exist I get an alert "INDEX > > PAGE CORRUPTED etc." and after all unlinked command don't works. > > Why you do such bad things?! :-)) ahaha, my users do always bad think :-) PS I want add here another little thing, now if I repeat the same linkRecord the linkCounter is not increase, right; but I think that you must add a error message also (like #Unique case). Thanks Paolo > > Ok, right, binary Link should protect self from such mistake. > Ivan please add such test and fix this bug. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.11.2 - Release Date: 02/05/2005 > > From sunshine at public.kherson.ua Thu May 5 23:41:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 15:41:55 2005 Subject: [V4MD 2.0.3 WIN] Error for unlinkRecords() In-Reply-To: <001801c551b2$563acd90$52221e97@paolokzjsndit5> Message-ID: On 5/5/05 11:38 PM, "info@vallemediatime.com" wrote: > PS I want add here another little thing, now if I repeat the same linkRecord > the linkCounter is not increase, right; but I think that you must add a > error message also (like #Unique case). Thanks Ivam, It seems we have discuss this ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From barney at custombased.com Fri May 6 09:53:59 2005 From: barney at custombased.com (Barney) Date: Thu May 5 16:53:43 2005 Subject: Creating a text field Message-ID: Hi, How do I create a TEXT field ? Bo = App.DB.Baseobject("Table1") If BO <> Nil then Fld = BO.CreateField( 17, ???, ???) //creation of text field. End if Searched doc's but can't locate this. I know I must supply segment size and language but how are these expressed ? Thank you. Barney From sunshine at public.kherson.ua Fri May 6 00:58:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 16:58:35 2005 Subject: Creating a text field In-Reply-To: Message-ID: On 5/6/05 12:53 AM, "Barney" wrote: Hi Barney, > Hi, > > How do I create a TEXT field ? > > Bo = App.DB.Baseobject("Table1") > > If BO <> Nil then > > Fld = BO.CreateField( 17, ???, ???) //creation of text field. > > End if > > Searched doc's but can't locate this. > > I know I must supply segment size and language but how are these expressed ? If we talk about v2 then Table.CreateTextField( name, segment, flags, Method ) ----------- If we talk about 1.x then in V4RB_Reference_1 page 27 For TEXT field you should specify Param1 as the size of the segment in bytes specify Param2 as Language: boPerson.CreateField( ?Notes?, kV_TypeText, 5 * 1024 ) boPerson.CreateField( ?Notes?, kV_TypeText, 5 * 1024, "German" ) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From CBishop at alfred.com Thu May 5 15:09:54 2005 From: CBishop at alfred.com (Christopher Bishop) Date: Thu May 5 17:11:00 2005 Subject: V4MD 2.0.3fc5 Message-ID: <4996E7B8A963A04E8916A67F06C83E30E6950F@apvnyexch01.alfredpub.com> I tried 2.0.3. The example Table_CreateDrop now seems to work like it did before. I was always able to create tables and databases, but I still cannot run sqlselect statements on databases. After running the Table_CreateDrop cast, I run the following: gDB.createStringField( "field1") gDB.sqlexecute("INSERT INTO Table1 (field1) VALUES ( 'teststring' )" ) --OR gDB.sqlexecute("INSERT INTO Table1 VALUES ( 'teststring' )" ) --either one works Everything is fine, but then - dbCursor = gDB.sqlSelect( "select * from Table1", #kClientSide, #kReadOnly ) -- **** VStudio Debug Area **** SQL: ; # of records: 1 put dbCursor -- put dbCursor.recordCount -- And the newest Valentina Studio for Windows will not open any server databases without freezing. (Anything with a table.) I can't open the table created by Table_CreateDrop. It will open if you have only master.vdb, but if you create a new database then create a table, the program suddenly quits, and the Server log says 14:52:17.035000 (144): (312) Creating 'Table1' table: OK 14:52:17.050000 (144): (312) TABLE(Table1): Getting record count #0: OK 14:52:17.097000 (2388): Client has been suddenly disconnected (312) 14:52:17.097000 (2388): Closing connection (312) Then if I try to open VStudio and connect to the server, the Server log gets the following: 14:52:37.816000 (144): Connection established with 'localhost:2013' (368) 14:52:37.816000 (2388): (368) Database: ; User: sa: OK 14:52:37.832000 (4084): (368) Database: untitled; User: sa: OK But VStudio is now frozen. Christopher, Can I ask you download 2.0.3 release ? -----Original Message----- From: Christopher Bishop Sent: Thursday, May 05, 2005 1:18 PM To: 'valentina@lists.macserve.net' Subject: RE: V4MD 2.0.3fc5 I am using Windows XP Pro with a Pentium 4 computer with 512 RAM. I'm using Director MX, now using 2.0.3FC5 Server and V4MD. Your example Table_CreateDrop I changed variable gClient = true This example immediately crashes Director if gClient = true, but not if gClient = false. The commands crashing were: Valentina.logToMessageWindow = false Valentina.logToFile(true, false) So I got rid of these commands. Then when it gets to the command gDb.create(path, #kDsc_Dat_Blb_Ind) I get a Director Alert Box: ERROR: ERR_CONNECTION_ERROR() In the message window it reports: * V4MD *: Valentina.new()...done * V4MD *: Valentina.initClient()...done * V4MD *: new VDatabase...done * V4MD *: VDatabase.create()...ERROR: 532480 In the VServer_NT.exe debug box (log from server), I get nothing but the opening stuff: Thu May 5 2005 12:38:25.687000 Valentina Embedded Server (2.0, Protocol 2.0, Kernel 2.0.3fc5) Maximum number of connections: 5 12:38:25.733000 (640): Database engine inited 12:38:25.858000 (640): Server started at 15433 port ________________________________ On 5/5/05 3:31 AM, "Christopher Bishop" wrote: > I am so frustrated with Version 2. I cannot do anything in Client / > Server mode, even with the latest fc5 candidate Server and V4MD Xtra. > > All sqlselect statements are returning VOID, and when I use Valentina > Studio v5 to add any data into a table, it crashes immediately. > > I didn't have these problems with V1 client, and I wish I could go back > to using it. However, I need the functionality of fromfile and tofile! > > > I have been spending the last month just trying to get it to work with > no luck. Do you think it is installed incorrectly? I turned off my > firewall, I am getting connections to the debug window, and I can use > some of the functions, like creating tables. There has to be a problem > with how it is set up, since it works fine with your other clients, > right? Hi Christopher, We need more info from you: - platform? - have you run our examples? does they work ? - can you show log from Server? - can you show log from client ? And so on. From peter.salomon at gmx.net Fri May 6 00:27:53 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Thu May 5 17:28:02 2005 Subject: [V4MD Mac Servermode] Message-ID: <1068F213-2CDE-4321-8D8F-5050F9B1BC61@gmx.net> hi ruslan, i played with the examples, because i got errors trying to run my project in Servermode. I can create my database in API way. But it seems that sql query is not possible in Server mode. VServer and V4MD crash hard on sql querys. After restarting VServer and Director a connection between them is not established. Restarting the computer lets it hang while shutting down... i tried to find out in the examples: 1. if you start lession file 3 a second time, VServer tells you that database1 already exists on the server and because of that it cannot create a new one. It seems, that "gdatabase.open()" fails. Error is 532480 but i get no string for it. 2. editing the examples to "gClient = true" i cannot use them in Servermode. I get a connection error. I did not find the differences to Lesson 3 example yet. so far - sorry that i can?t tell more details, tomorrow more... peter From sunshine at public.kherson.ua Fri May 6 01:45:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 17:45:54 2005 Subject: [V4MD Mac Servermode] In-Reply-To: <1068F213-2CDE-4321-8D8F-5050F9B1BC61@gmx.net> Message-ID: On 5/6/05 1:27 AM, "Peter Salomon" wrote: Hi Peter, > hi ruslan, > > i played with the examples, because i got errors trying to run my > project in Servermode. I can create my database in API way. But it > seems that sql query is not possible in Server mode. VServer and V4MD > crash hard on sql querys. After restarting VServer and Director a > connection between them is not established. Restarting the computer > lets it hang while shutting down... > > i tried to find out in the examples: > > 1. > if you start lession file 3 a second time, VServer tells you that > database1 already exists on the server and because of that it cannot > create a new one. > It seems, that "gdatabase.open()" fails. Error is 532480 but i get no > string for it. But this is how this example works! :-) Hmm, it needs add words to describe this. Actually I self was scary when have to see ERROR in the server log :-) If you look into logic of this example, You will see that it try at first open db with name "database1", if fail (then it create database with such name). So all right here. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From CBishop at alfred.com Thu May 5 15:47:31 2005 From: CBishop at alfred.com (Christopher Bishop) Date: Thu May 5 17:48:36 2005 Subject: V4MD 2.0.3fc5 Message-ID: <4996E7B8A963A04E8916A67F06C83E30E69510@apvnyexch01.alfredpub.com> Could you guys come up with an example for me to try that basically does the following: creates a new database creates a table creates a field inserts data into the field run a sqlselect() command report the recordcount I cannot even get this far, and I have given you the code I used, and you said to check the examples. I can't find an example that uses sqlselect with Client/Server. Chris I tried 2.0.3. The example Table_CreateDrop now seems to work like it did before. I was always able to create tables and databases, but I still cannot run sqlselect statements on databases. After running the Table_CreateDrop cast, I run the following: gDB.createStringField( "field1") gDB.sqlexecute("INSERT INTO Table1 (field1) VALUES ( 'teststring' )" ) --OR gDB.sqlexecute("INSERT INTO Table1 VALUES ( 'teststring' )" ) --either one works Everything is fine, but then - dbCursor = gDB.sqlSelect( "select * from Table1", #kClientSide, #kReadOnly ) -- **** VStudio Debug Area **** SQL: ; # of records: 1 put dbCursor -- put dbCursor.recordCount -- And the newest Valentina Studio for Windows will not open any server databases without freezing. (Anything with a table.) I can't open the table created by Table_CreateDrop. It will open if you have only master.vdb, but if you create a new database then create a table, the program suddenly quits, and the Server log says 14:52:17.035000 (144): (312) Creating 'Table1' table: OK 14:52:17.050000 (144): (312) TABLE(Table1): Getting record count #0: OK 14:52:17.097000 (2388): Client has been suddenly disconnected (312) 14:52:17.097000 (2388): Closing connection (312) Then if I try to open VStudio and connect to the server, the Server log gets the following: 14:52:37.816000 (144): Connection established with 'localhost:2013' (368) 14:52:37.816000 (2388): (368) Database: ; User: sa: OK 14:52:37.832000 (4084): (368) Database: untitled; User: sa: OK But VStudio is now frozen. Christopher, Can I ask you download 2.0.3 release ? -----Original Message----- From: Christopher Bishop Sent: Thursday, May 05, 2005 1:18 PM To: 'valentina@lists.macserve.net' Subject: RE: V4MD 2.0.3fc5 I am using Windows XP Pro with a Pentium 4 computer with 512 RAM. I'm using Director MX, now using 2.0.3FC5 Server and V4MD. Your example Table_CreateDrop I changed variable gClient = true This example immediately crashes Director if gClient = true, but not if gClient = false. The commands crashing were: Valentina.logToMessageWindow = false Valentina.logToFile(true, false) So I got rid of these commands. Then when it gets to the command gDb.create(path, #kDsc_Dat_Blb_Ind) I get a Director Alert Box: ERROR: ERR_CONNECTION_ERROR() In the message window it reports: * V4MD *: Valentina.new()...done * V4MD *: Valentina.initClient()...done * V4MD *: new VDatabase...done * V4MD *: VDatabase.create()...ERROR: 532480 In the VServer_NT.exe debug box (log from server), I get nothing but the opening stuff: Thu May 5 2005 12:38:25.687000 Valentina Embedded Server (2.0, Protocol 2.0, Kernel 2.0.3fc5) Maximum number of connections: 5 12:38:25.733000 (640): Database engine inited 12:38:25.858000 (640): Server started at 15433 port ________________________________ On 5/5/05 3:31 AM, "Christopher Bishop" wrote: > I am so frustrated with Version 2. I cannot do anything in Client / > Server mode, even with the latest fc5 candidate Server and V4MD Xtra. > > All sqlselect statements are returning VOID, and when I use Valentina > Studio v5 to add any data into a table, it crashes immediately. > > I didn't have these problems with V1 client, and I wish I could go back > to using it. However, I need the functionality of fromfile and tofile! > > > I have been spending the last month just trying to get it to work with > no luck. Do you think it is installed incorrectly? I turned off my > firewall, I am getting connections to the debug window, and I can use > some of the functions, like creating tables. There has to be a problem > with how it is set up, since it works fine with your other clients, > right? Hi Christopher, We need more info from you: - platform? - have you run our examples? does they work ? - can you show log from Server? - can you show log from client ? And so on. From sunshine at public.kherson.ua Fri May 6 01:49:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 17:49:57 2005 Subject: V4MD 2.0.3 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E6950F@apvnyexch01.alfredpub.com> Message-ID: On 5/6/05 1:09 AM, "Christopher Bishop" wrote: Hi Christopher, > I tried 2.0.3. > > The example Table_CreateDrop now seems to work like it did before. I > was always able to create tables and databases, but I still cannot run > sqlselect statements on databases. > After running the Table_CreateDrop cast, I run the following: Do you type this in the Message window of director ??? > gDB.createStringField( "field1") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ but CreateStringField() this is method of VTable. > gDB.sqlexecute("INSERT INTO Table1 (field1) VALUES ( 'teststring' )" ) > --OR > gDB.sqlexecute("INSERT INTO Table1 VALUES ( 'teststring' )" ) > --either one works > > Everything is fine, but then - > > dbCursor = gDB.sqlSelect( "select * from Table1", #kClientSide, > #kReadOnly ) > -- **** VStudio Debug Area **** SQL: ; # of records: 1 > put dbCursor > -- > put dbCursor.recordCount > -- -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 01:50:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 17:50:34 2005 Subject: V4MD 2.0.3fc5 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E69510@apvnyexch01.alfredpub.com> Message-ID: On 5/6/05 1:47 AM, "Christopher Bishop" wrote: > Could you guys come up with an example for me to try that basically does > the following: > > creates a new database > creates a table > creates a field > inserts data into the field > run a sqlselect() command > report the recordcount Please download our V4MD_Tutorial_2_en.zip > I cannot even get this far, and I have given you the code I used, and > you said to check the examples. I can't find an example that uses > sqlselect with Client/Server. > > > Chris -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 01:53:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 17:53:59 2005 Subject: V4MD 2.0.3fc5 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E69510@apvnyexch01.alfredpub.com> Message-ID: On 5/6/05 1:47 AM, "Christopher Bishop" wrote: > I cannot even get this far, and I have given you the code I used, and > you said to check the examples. I can't find an example that uses > sqlselect with Client/Server. ? EACH and ALL examples was tested in client-server mode ? I have open Examples/SQL_way/Records_AddDeleteUpdate.dir Here I see use of gCursor = gDb.sqlSelect(query, #kServer, #kReadWrite, #kRandom) To get empty cursor and add records. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 01:55:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 17:55:33 2005 Subject: V4MD 2.0.3fc5 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E69510@apvnyexch01.alfredpub.com> Message-ID: On 5/6/05 1:47 AM, "Christopher Bishop" wrote: > I cannot even get this far, and I have given you the code I used, and > you said to check the examples. I can't find an example that uses > sqlselect with Client/Server. Or look into SQL_way/Pictures Exmaple. If to set gclient = true then this example works with Vserver. It send/get picture to Valentina Server by network And it use Cursor I think...let me look inside -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 01:58:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 17:58:12 2005 Subject: V4MD 2.0.3fc5 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E69510@apvnyexch01.alfredpub.com> Message-ID: On 5/6/05 1:47 AM, "Christopher Bishop" wrote: > Could you guys come up with an example for me to try that basically does > the following: > > creates a new database > creates a table > creates a field > inserts data into the field > run a sqlselect() command > report the recordcount > > I cannot even get this far, and I have given you the code I used, and > you said to check the examples. I can't find an example that uses > sqlselect with Client/Server. Also Christopher, I will recommend you at first get everything working in LOCAL mode. Or you want to say that in LOCAL mode SQlSelect() for you works fine, But with Vserver it fails ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 02:02:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 5 18:02:14 2005 Subject: V4MD 2.0.3fc5 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E69510@apvnyexch01.alfredpub.com> Message-ID: On 5/6/05 1:47 AM, "Christopher Bishop" wrote: > I tried 2.0.3. > > The example Table_CreateDrop now seems to work like it > did before. I was always able to create tables and databases, but I > still cannot run sqlselect statements on databases. > > After running the Table_CreateDrop cast, I run the > following: > > gDB.createStringField( "field1") > gDB.sqlexecute("INSERT INTO Table1 (field1) VALUES ( > 'teststring' )" ) > --OR > gDB.sqlexecute("INSERT INTO Table1 VALUES ( 'teststring' > )" ) > --either one works > > Everything is fine, So far so good, yes? Btw, SQlExecute() returns The Number of Affected Rows. It is good idea to assign that value recs = gDB.sqlexecute( ... Also it is good idea to check error code AFTER each SQlExecute(). Because if error there was you do not see this and try work on bad objects/data > but then - > > dbCursor = gDB.sqlSelect( "select * from Table1", #kClientSide, #kReadOnly ) > -- **** VStudio Debug Area **** ^^^^^^^^^^^^^^^^^^ I do not understand, why here Vstudio words ? you talk here about Director and its message window? > SQL: ; # of records: 1 > put dbCursor > -- > put dbCursor.recordCount > -- -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From snw at paradise.net.nz Fri May 6 11:03:38 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Thu May 5 18:03:50 2005 Subject: [ANN] Products 2.0.3 build 2 uploaded. In-Reply-To: References: Message-ID: <6.2.1.2.2.20050506105357.04cd05a0@pop3.paradise.net.nz> >Good news: Peter Salomon already have test ShockWave feature > and get success. > >So, Sean, Shannon, and others who need ShockWave. >Now you should get success with this feature. I just tested (Windows versions) the Shockwave tutorial Lesson3 (and made sure the newer version of the Shockwave xtra auto-downloaded by deleting the existing copy first) and it crashes my browser when I go to add a record. The server log follows: /*************************************************************************************/ Fri May 6 2005 10:23:31.576000 Valentina Office Server (2.0, Protocol 2.0, Kernel 2.0.3fc6) Maximum number of connections: 5 10:23:31.646000 (1596): Database engine inited 10:23:32.627000 (1596): Server started at 15432 port 10:52:12.781000 (1632): Connection established with 'localhost:1133' (244) 10:52:13.622000 (1624): (244) Database: database1; User: sa: OK 10:52:40.761000 (1628): (244) Unknown error! 10:52:40.761000 (1628): (244) ERROR 0x8250D: Unknown connection error. 10:52:40.771000 (1628): Closing connection (244) It read and displayed the first record correctly (I added a record via VServer - local connection - previously), but fails on "Add". Can anyone else test and confirm? Thanks, -Sean. From erichg at mcmm.com Fri May 6 01:19:07 2005 From: erichg at mcmm.com (Erich Geiersberger) Date: Thu May 5 18:19:27 2005 Subject: [V4MD] Embedded Server, Error 10060 Message-ID: Hi when I try to open a session with opensession() I am getting an error 10060 After 60 seconds the server logs a "Client has been suddenly disconnected". This timeout seems to be windows related. Both my internal and the server timeout are 20 seconds. It behaves as if the server wasn't there at all. This happens during the last days of an update which should go gold tomorrow. The problem is related to the way I open the Xtras. I am loading them during runtime using openxlib(). The error seems to occur only when I do it that way. The strange thing is that this also happens now when I use the same code and the same Xtras I used during my last update when it worked fine. Also same Director version 8.5.1. The only thing which had been changed was that during the testing peroid we used newer versions of V4MD.32 and V4MD_Client.32. Thanks for any help Erich ----------------- Here are the details ------------------- System: Windows XP, all recent updates installed Server: 2.0a55 Kernel: 1.10 original Xtras: V4MD.x32: 1.10.0.0 V4MD_Client.x32: 2.0.0.0 a53 used during test: original Xtras: V4MD.x32: 1.11.0.0 V4MD_Client.x32: 2.0.0.0 65 ------------- here is my director debug output ------------ -- "THIS IS A SERVER UPDATE!!!" -- "is serverinstallation 1" -- "xtra: " -- "vdb closed" -- "xtra: " -- "client Xtra open" -- "xtra: M:\AromaCD\Daten\client\V4MD_Client.x32" * V4MD *: ValentinaSetDebugMode...done * V4MD *: new VServer...done -- "myserver is: " * V4MD *: ValentinaError...done -- "1" -- "2" * V4MD *: OpenSession...error 10060 -- "3" * V4MD *: ValentinaError...error 10060 * V4MD *: CloseSession...done * V4MD *: VServer_Destroy...done * V4MD *: ShutDownValetina...done --------------- here is the server log --------------------- /*************************************************************************************/ Fri May 6 2005 01:01:27.359000 Valentina Server (2.0a55, Protocol 1.1, Kernel 1.10) The maximum number of connections: 5 01:01:27.375000 (2236): Database kernel inited 01:01:27.375000 (2236): Server started at 15434 port 01:01:58.640000 (228): Connection established with 'localhost:1534' (344) 01:01:58.640000 (3136): (344) Database: ; User: sainst: OK 01:02:59.156000 (2812): Client has been suddenly disconnected (344) 01:02:59.156000 (2812): Closing connection (344) 01:05:21.156000 (564): Shutting down server... 01:05:21.156000 (564): Database 'master' closed 01:05:21.156000 (564): Database kernel terminated 01:05:21.156000 (564): Server terminated From peter.salomon at gmx.net Fri May 6 01:28:43 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Thu May 5 18:28:38 2005 Subject: [V4MD Mac Servermode] In-Reply-To: References: Message-ID: <594ea815c40e9c274181a973bbf0c2d5@gmx.net> hi ruslan, yes, i?ve seen it. but if it can open an existing db it does not need to create a new one. in my case lesson 3 tries to create a new db although db exists. it should open it simply. but it does not. Am 06.05.2005 um 00:45 schrieb Ruslan Zasukhin: > If you look into logic of this example, > You will see that it try at first open db with name "database1", > if fail (then it create database with such name). From CBishop at alfred.com Thu May 5 17:08:15 2005 From: CBishop at alfred.com (Christopher Bishop) Date: Thu May 5 19:09:22 2005 Subject: V4MD 2.0.3fc5 Message-ID: <4996E7B8A963A04E8916A67F06C83E30E69511@apvnyexch01.alfredpub.com> OK, by following that tutorial on the web site, I was able to get a little farther. dbCursor = gDB.sqlSelect( "select * from Table1", #kClientSide, #kReadOnly ) When I changed this to this: dbCursor = gDB.sqlSelect( "select * from Table1" ) I was able to get a recordcount and read the results. I cannot get any results if I use any combination of things after the selection string. What do you think could be happening? -----Original Message----- From: Christopher Bishop Sent: Thursday, May 05, 2005 3:48 PM To: Christopher Bishop; 'valentina@lists.macserve.net' Subject: RE: V4MD 2.0.3fc5 Could you guys come up with an example for me to try that basically does the following: creates a new database creates a table creates a field inserts data into the field run a sqlselect() command report the recordcount I cannot even get this far, and I have given you the code I used, and you said to check the examples. I can't find an example that uses sqlselect with Client/Server. Chris I tried 2.0.3. The example Table_CreateDrop now seems to work like it did before. I was always able to create tables and databases, but I still cannot run sqlselect statements on databases. After running the Table_CreateDrop cast, I run the following: gDB.createStringField( "field1") gDB.sqlexecute("INSERT INTO Table1 (field1) VALUES ( 'teststring' )" ) --OR gDB.sqlexecute("INSERT INTO Table1 VALUES ( 'teststring' )" ) --either one works Everything is fine, but then - dbCursor = gDB.sqlSelect( "select * from Table1", #kClientSide, #kReadOnly ) -- **** VStudio Debug Area **** SQL: ; # of records: 1 put dbCursor -- put dbCursor.recordCount -- And the newest Valentina Studio for Windows will not open any server databases without freezing. (Anything with a table.) I can't open the table created by Table_CreateDrop. It will open if you have only master.vdb, but if you create a new database then create a table, the program suddenly quits, and the Server log says 14:52:17.035000 (144): (312) Creating 'Table1' table: OK 14:52:17.050000 (144): (312) TABLE(Table1): Getting record count #0: OK 14:52:17.097000 (2388): Client has been suddenly disconnected (312) 14:52:17.097000 (2388): Closing connection (312) Then if I try to open VStudio and connect to the server, the Server log gets the following: 14:52:37.816000 (144): Connection established with 'localhost:2013' (368) 14:52:37.816000 (2388): (368) Database: ; User: sa: OK 14:52:37.832000 (4084): (368) Database: untitled; User: sa: OK But VStudio is now frozen. Christopher, Can I ask you download 2.0.3 release ? -----Original Message----- From: Christopher Bishop Sent: Thursday, May 05, 2005 1:18 PM To: 'valentina@lists.macserve.net' Subject: RE: V4MD 2.0.3fc5 I am using Windows XP Pro with a Pentium 4 computer with 512 RAM. I'm using Director MX, now using 2.0.3FC5 Server and V4MD. Your example Table_CreateDrop I changed variable gClient = true This example immediately crashes Director if gClient = true, but not if gClient = false. The commands crashing were: Valentina.logToMessageWindow = false Valentina.logToFile(true, false) So I got rid of these commands. Then when it gets to the command gDb.create(path, #kDsc_Dat_Blb_Ind) I get a Director Alert Box: ERROR: ERR_CONNECTION_ERROR() In the message window it reports: * V4MD *: Valentina.new()...done * V4MD *: Valentina.initClient()...done * V4MD *: new VDatabase...done * V4MD *: VDatabase.create()...ERROR: 532480 In the VServer_NT.exe debug box (log from server), I get nothing but the opening stuff: Thu May 5 2005 12:38:25.687000 Valentina Embedded Server (2.0, Protocol 2.0, Kernel 2.0.3fc5) Maximum number of connections: 5 12:38:25.733000 (640): Database engine inited 12:38:25.858000 (640): Server started at 15433 port ________________________________ On 5/5/05 3:31 AM, "Christopher Bishop" wrote: > I am so frustrated with Version 2. I cannot do anything in Client / > Server mode, even with the latest fc5 candidate Server and V4MD Xtra. > > All sqlselect statements are returning VOID, and when I use Valentina > Studio v5 to add any data into a table, it crashes immediately. > > I didn't have these problems with V1 client, and I wish I could go back > to using it. However, I need the functionality of fromfile and tofile! > > > I have been spending the last month just trying to get it to work with > no luck. Do you think it is installed incorrectly? I turned off my > firewall, I am getting connections to the debug window, and I can use > some of the functions, like creating tables. There has to be a problem > with how it is set up, since it works fine with your other clients, > right? Hi Christopher, We need more info from you: - platform? - have you run our examples? does they work ? - can you show log from Server? - can you show log from client ? And so on. From CBishop at alfred.com Thu May 5 17:27:48 2005 From: CBishop at alfred.com (Christopher Bishop) Date: Thu May 5 19:28:52 2005 Subject: V4MD 2.0.3fc5 Message-ID: <4996E7B8A963A04E8916A67F06C83E30E69512@apvnyexch01.alfredpub.com> YES, this seems to be the case. Everything works perfectly fine in LOCAL mode, but in CLIENT/SERVER mode, the sqlselect statements fail if using any #k variables (i.e. #kClientSide, #kReadOnly, #kForwardOnly OR #kServerSide, #kReadWrite, #kRandom OR #kServerSide, #kReadWrite ) On 5/6/05 1:47 AM, "Christopher Bishop" wrote: > Could you guys come up with an example for me to try that basically does > the following: > > creates a new database > creates a table > creates a field > inserts data into the field > run a sqlselect() command > report the recordcount > > I cannot even get this far, and I have given you the code I used, and > you said to check the examples. I can't find an example that uses > sqlselect with Client/Server. Also Christopher, I will recommend you at first get everything working in LOCAL mode. Or you want to say that in LOCAL mode SQlSelect() for you works fine, But with Vserver it fails ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com From snw at paradise.net.nz Fri May 6 13:01:37 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Thu May 5 20:01:55 2005 Subject: [ANN] Products 2.0.3 build 2 uploaded. In-Reply-To: <6.2.1.2.2.20050506105357.04cd05a0@pop3.paradise.net.nz> References: <6.2.1.2.2.20050506105357.04cd05a0@pop3.paradise.net.nz> Message-ID: <6.2.1.2.2.20050506125421.0363eeb0@pop3.paradise.net.nz> >I just tested (Windows versions) the Shockwave tutorial Lesson3 (and made >sure the newer version of the Shockwave xtra auto-downloaded by deleting >the existing copy first) and it crashes my browser when I go to add a record. Please ignore my previous report. I downloaded and installed VServer again and the Shockwave movie works perfectly now. It creates a new DB if it doesn't exist on the server when the movie loads, and loads the first record if the DB exists - just like it is supposed to. Thanks, -Sean. From CBishop at alfred.com Thu May 5 19:24:37 2005 From: CBishop at alfred.com (Christopher Bishop) Date: Thu May 5 21:25:46 2005 Subject: V4MD 2.0.3fc5 Message-ID: <4996E7B8A963A04E8916A67F06C83E30E69513@apvnyexch01.alfredpub.com> One major problem has been that your example uses #kServer, #kReadWrite, #kRandom instead of #kServerSide, #kReadWrite, #kRandom like in the V4MD docs. The documents are totally throwing me off! The documents also use #kServer instead of #kClient when using new(xtra vdatabase), but #kServer does not work! Things are really starting to happen when I fix the small grammatic problems. You really have to update the documentation with correct values; otherwise you will have many unhappy people like me :( I'm able to get a cursor using #kServer instead of #kServerSide. My program is handling read operations successfully now, but writing is still an issue. I'll let you know how it goes... -----Original Message----- From: Christopher Bishop Sent: Thursday, May 05, 2005 5:28 PM To: Christopher Bishop; 'valentina@lists.macserve.net' Subject: RE: V4MD 2.0.3fc5 YES, this seems to be the case. Everything works perfectly fine in LOCAL mode, but in CLIENT/SERVER mode, the sqlselect statements fail if using any #k variables (i.e. #kClientSide, #kReadOnly, #kForwardOnly OR #kServerSide, #kReadWrite, #kRandom OR #kServerSide, #kReadWrite ) On 5/6/05 1:47 AM, "Christopher Bishop" wrote: > Could you guys come up with an example for me to try that basically does > the following: > > creates a new database > creates a table > creates a field > inserts data into the field > run a sqlselect() command > report the recordcount > > I cannot even get this far, and I have given you the code I used, and > you said to check the examples. I can't find an example that uses > sqlselect with Client/Server. Also Christopher, I will recommend you at first get everything working in LOCAL mode. Or you want to say that in LOCAL mode SQlSelect() for you works fine, But with Vserver it fails ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com From derrick at xact.co.za Fri May 6 08:16:07 2005 From: derrick at xact.co.za (Derrick Muller) Date: Fri May 6 01:20:14 2005 Subject: Off topic - Contact details Message-ID: <20050506062004.BC2DB6745@ctb-mesg1.saix.net> Hi there I cannot find a contact email address on your web site to request some pre-sales information. Please send me an email address or forward my email address to relevant person in your organisation so they can contact me. Derrick Muller From derrick at xact.co.za Fri May 6 08:17:28 2005 From: derrick at xact.co.za (Derrick Muller) Date: Fri May 6 01:21:33 2005 Subject: Auto Increment Field Message-ID: <20050506062123.DDDE66E8D@ctb-mesg5.saix.net> On 05 May 2005 08:33 AM Ruslan Zasukhin replied: >Hi Derrick, >> Is it possible to set a integer field to AUTO INCREMENT on create? >We have not yet such feature. >Usually people use RecID field. >But right, since we want support pure Relational model also, >It is good idea add auto increment also. I think it is in our bug tracking >system as feature request. Looks like I will have to create a single record control table to track document numbers (Invoice No, Job Sheet No, etc.) So, is it possible to specify a table which only allows a single record so that: SELECT * FROM ControlTable Will always return a single record to the recordset/cursor. (I am still very new to RB & Valentina and recordsets vs cursor will be subject of another mail) Thanks Derrick Muller From fb at memedia.de Fri May 6 10:07:10 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri May 6 03:07:24 2005 Subject: [V4MD] Embedded Server, Error 10060 In-Reply-To: Message-ID: Hi Erich! You should always use the newest versions. My server is a66 already. Only when you use the newest versions, they will fit. Sometimes old xtras would not work with the new server... Why don't you use the newest versions? I am using them as embedded server with no problems. I am quite sure that your problems will go away. Also check firewall settings, because 10060 is a TCP/IP error. Best regards, Florian > > The only thing which had been changed was that during the testing > peroid we used newer versions of V4MD.32 and V4MD_Client.32. > > Thanks for any help > Erich > na From sunshine at public.kherson.ua Fri May 6 11:13:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 03:13:40 2005 Subject: Off topic - Contact details In-Reply-To: <20050506062004.BC2DB6745@ctb-mesg1.saix.net> Message-ID: On 5/6/05 9:16 AM, "Derrick Muller" wrote: Hi Derrick, > Hi there > > I cannot find a contact email address on your web site to request some > pre-sales information. > > Please send me an email address or forward my email address to relevant > person in your organisation so they can contact me. Please find email of Lynn in CC. Also you can contact me on tech issues. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 11:18:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 03:20:05 2005 Subject: [V4MD] Embedded Server, Error 10060 In-Reply-To: Message-ID: On 5/6/05 11:07 AM, "Florian Bogeschdorfer" wrote: > Hi Erich! > > You should always use the newest versions. My server is a66 already. Only > when you use the newest versions, they will fit. Sometimes old xtras would > not work with the new server... > > Why don't you use the newest versions? I am using them as embedded server > with no problems. I am quite sure that your problems will go away. Also > check firewall settings, because 10060 is a TCP/IP error. Florian is right > ----------------- Here are the details ------------------- > > System: Windows XP, all recent updates installed > > Server: 2.0a55 > Kernel: 1.10 > > original Xtras: > V4MD.x32: 1.10.0.0 > V4MD_Client.x32: 2.0.0.0 a53 > > used during test: > original Xtras: > V4MD.x32: 1.11.0.0 > V4MD_Client.x32: 2.0.0.0 65 If you use Xtra a65, then you need server a65 also -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 11:40:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 03:40:34 2005 Subject: Auto Increment Field In-Reply-To: <20050506062123.DDDE66E8D@ctb-mesg5.saix.net> Message-ID: On 5/6/05 9:17 AM, "Derrick Muller" wrote: >> Hi Derrick, > >>> Is it possible to set a integer field to AUTO INCREMENT on create? > >> We have not yet such feature. > >> Usually people use RecID field. > >> But right, since we want support pure Relational model also, >> It is good idea add auto increment also. I think it is in our bug tracking >> system as feature request. > > Looks like I will have to create a single record control table to track > document numbers (Invoice No, Job Sheet No, etc.) Yes. This is common solution > So, is it possible to specify a table which only allows a single record so > that: > > SELECT * FROM ControlTable > > Will always return a single record to the recordset/cursor. No, you cannot limit number of records in table. You can do this Numbers { TableName, NextID } Now you can curs = db.SqlSelect( "SELECT NExtID FROM tblCounters WHERE TableName = 'myTable'" ) nextID = curs.Field(1).value curs.Field(1).value = nextId + 1 curs.Update > (I am still very new to RB & Valentina and recordsets vs cursor will be > subject of another mail) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From guy.jones at novaint.com Fri May 6 10:42:34 2005 From: guy.jones at novaint.com (Guy Jones) Date: Fri May 6 03:43:10 2005 Subject: [ANN} REALbasic/Valentina Training in UK Message-ID: Nova is developing a series of educational seminars to be held in the UK during the fall. At this point we are in the planning stage and would like to define the needs of developers as we intend to develop these courses based on demand. At this point we are not considering a full fledged conference. These courses would not require a stay as the courses will only be two hours to half day with only one day planned. If you are interested in participating, either as a trainer or as an attendee we would like to hear from you. We would like to know what you would like to learn, what you can teach, when you would like to have these seminars and if you can travel to London area (one proposal is to have it at Stansted airport area-home of Ryan Air) and what you would be willing to pay. We would like to know your platform and your own evaluation of your skill level. If demand is high enough we can consider local venues. We would like to know if there is an interest not only in training but also in hearing presentations of other developers work. Naturally these seminars are open to residents outside of the UK. After this first level or response, we will further define the concept via a questionnaire which results from this first communication. -- Regards, Guy Jones _____________________________________________ The Nova Group From sunshine at public.kherson.ua Fri May 6 11:44:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 03:45:00 2005 Subject: [ANN] Products 2.0.3 build 2 uploaded. In-Reply-To: <6.2.1.2.2.20050506105357.04cd05a0@pop3.paradise.net.nz> Message-ID: On 5/6/05 2:03 AM, "Sean Wilson" wrote: >> Good news: Peter Salomon already have test ShockWave feature >> and get success. >> >> So, Sean, Shannon, and others who need ShockWave. >> Now you should get success with this feature. > > I just tested (Windows versions) the Shockwave tutorial Lesson3 (and made > sure the newer version of the Shockwave xtra auto-downloaded by deleting > the existing copy first) and it crashes my browser when I go to add a > record. The server log follows: > > /***************************************************************************** > ********/ > Fri May 6 2005 10:23:31.576000 Valentina Office Server (2.0, Protocol 2.0, > Kernel 2.0.3fc6) > Maximum number of connections: 5 > > 10:23:31.646000 (1596): Database engine inited > 10:23:32.627000 (1596): Server started at 15432 port > 10:52:12.781000 (1632): Connection established with 'localhost:1133' (244) > 10:52:13.622000 (1624): (244) Database: database1; User: sa: OK > 10:52:40.761000 (1628): (244) Unknown error! > 10:52:40.761000 (1628): (244) ERROR 0x8250D: Unknown connection error. > 10:52:40.771000 (1628): Closing connection (244) > > It read and displayed the first record correctly (I added a record via > VServer - local connection - previously), but fails on "Add". Can anyone > else test and confirm? But what database you have use ??? I recommend you * stop server. Btw, you use Vserver 2.0.3 build 2, yes? * Then delete all databases (except masterdb may be) * Run vserver * Now run SW movie Moviw try open database1 on server. No such database. So we see error "db not found" Now movie creates new such database. No records in table. You add record. Then add another Now you can go to first, next prev ... You can update records and so on. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 11:47:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 03:47:37 2005 Subject: [ANN] Products 2.0.3 build 2 uploaded. - SUCCESS In-Reply-To: <6.2.1.2.2.20050506125421.0363eeb0@pop3.paradise.net.nz> Message-ID: On 5/6/05 4:01 AM, "Sean Wilson" wrote: >> I just tested (Windows versions) the Shockwave tutorial Lesson3 (and made >> sure the newer version of the Shockwave xtra auto-downloaded by deleting >> the existing copy first) and it crashes my browser when I go to add a record. > > Please ignore my previous report. I downloaded and installed VServer again > and the Shockwave movie works perfectly now. It creates a new DB if it > doesn't exist on the server when the movie loads, and loads the first > record if the DB exists - just like it is supposed to. Aha, then please ignore my answer :-)) Excellent. So we have now 2 V4MD developers which have got success with 2.0.3 and ShockWave. Peter - on MAC Sean - on Windows I am happy. :-))))))) I think we have at last of end polish very useful feature of V4MD -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 11:48:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 03:48:58 2005 Subject: [V4MD Mac Servermode] In-Reply-To: <594ea815c40e9c274181a973bbf0c2d5@gmx.net> Message-ID: On 5/6/05 2:28 AM, "Peter Salomon" wrote: > hi ruslan, > > yes, i?ve seen it. > but if it can open an existing db it does not need to create a new one. > in my case lesson 3 tries to create a new db although db exists. it > should open it simply. but it does not. Hmm, you sure Peter ? Sean describe that for him movie works correctly. Just open db if it exists and load its first record. Please check again. I think movie works correctly. > Am 06.05.2005 um 00:45 schrieb Ruslan Zasukhin: > >> If you look into logic of this example, >> You will see that it try at first open db with name "database1", >> if fail (then it create database with such name). -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 11:55:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 03:56:03 2005 Subject: [ANN} REALbasic/Valentina Training in UK In-Reply-To: Message-ID: On 5/6/05 11:42 AM, "Guy Jones" wrote: > Nova is developing a series of educational seminars to be held in the > UK during the fall. At this point we are in the planning stage and > would like to define the needs of developers as we intend to develop > these courses based on demand. At this point we are not considering > a full fledged conference. These courses would not require a stay as > the courses will only be two hours to half day with only one day > planned. > > If you are interested in participating, either as a trainer or as an > attendee we would like to hear from you. We would like to know what > you would like to learn, what you can teach, when you would like to > have these seminars and if you can travel to London area (one > proposal is to have it at Stansted airport area-home of Ryan Air) and > what you would be willing to pay. We would like to know your > platform and your own evaluation of your skill level. If demand is > high enough we can consider local venues. We would like to know if > there is an interest not only in training but also in hearing > presentations of other developers work. Naturally these seminars are > open to residents outside of the UK. > > After this first level or response, we will further define the > concept via a questionnaire which results from this first > communication. Very good step, Guy! Jochen, I think similar train can be made in Germany. Both Germany and UK have a lots of Valentina developers. Germany have many cool V4MD developers! Yes, I know that they even did have own meets where somebody have demonstrate V4MD features. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 11:58:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 03:58:54 2005 Subject: V4MD 2.0.3fc5 In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E69513@apvnyexch01.alfredpub.com> Message-ID: On 5/6/05 5:24 AM, "Christopher Bishop" wrote: > One major problem has been that your example uses #kServer, #kReadWrite, > #kRandom instead of #kServerSide, #kReadWrite, #kRandom like in the V4MD > docs. > > The documents are totally throwing me off! The documents also use > #kServer instead of #kClient when using new(xtra vdatabase), but > #kServer does not work! > > Things are really starting to happen when I fix the small grammatic > problems. You really have to update the documentation with correct > values; otherwise you will have many unhappy people like me :( > > I'm able to get a cursor using #kServer instead of #kServerSide. My > program is handling read operations successfully now, but writing is > still an issue. I'll let you know how it goes... Argh! What a bad case. Sorry Christopher... We need again made loop to synchronies V4MD V4RB and its docs. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From j.peters at valentina-db.de Fri May 6 11:00:59 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Fri May 6 04:01:19 2005 Subject: [ANN} REALbasic/Valentina Training in UK In-Reply-To: References: Message-ID: Am 06.05.2005 um 10:55 schrieb Ruslan Zasukhin: > On 5/6/05 11:42 AM, "Guy Jones" wrote: > >> Nova is developing a series of educational seminars to be held in the >> UK during the fall. At this point we are in the planning stage and >> would like to define the needs of developers as we intend to develop >> these courses based on demand. At this point we are not considering >> a full fledged conference. These courses would not require a stay as >> the courses will only be two hours to half day with only one day >> planned. >> >> If you are interested in participating, either as a trainer or as an >> attendee we would like to hear from you. We would like to know what >> you would like to learn, what you can teach, when you would like to >> have these seminars and if you can travel to London area (one >> proposal is to have it at Stansted airport area-home of Ryan Air) and >> what you would be willing to pay. We would like to know your >> platform and your own evaluation of your skill level. If demand is >> high enough we can consider local venues. We would like to know if >> there is an interest not only in training but also in hearing >> presentations of other developers work. Naturally these seminars are >> open to residents outside of the UK. >> >> After this first level or response, we will further define the >> concept via a questionnaire which results from this first >> communication. > > Very good step, Guy! > > Jochen, I think similar train can be made in Germany. Yes Ruslan, we are planning something simular in the near future. And we already have made in-House seminars for several customers. -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From j.peters at valentina-db.de Fri May 6 11:03:30 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Fri May 6 04:04:14 2005 Subject: [ANN] Valentina Studio Administrator 2.0b6 Message-ID: Hi all, you can download Valentina Studio Administrator 2.0b6 from http://www.paradigmasoft.com and http://www.valentina-db.de This version fixes a connection problem between Studio and latest Server. Please note: Connections from Mac to Mac and from Win to Win now works. Cross-Platform connections seems not to work, yet! This version of Valentina Studio works without problems on Tiger! -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From sunshine at public.kherson.ua Fri May 6 12:12:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 04:12:23 2005 Subject: [ANN] Valentina Studio Administrator 2.0b6 In-Reply-To: Message-ID: On 5/6/05 12:03 PM, "Jochen Peters" wrote: > Hi all, > > you can download Valentina Studio Administrator 2.0b6 from > http://www.paradigmasoft.com and http://www.valentina-db.de > > This version fixes a connection problem between Studio and latest > Server. > > Please note: > Connections from Mac to Mac and from Win to Win now works. > Cross-Platform connections seems not to work, yet! Hmm, we have test cross-platforms connections with Igor, And they did work. Okay we will try today again test this... > This version of Valentina Studio works without problems on Tiger! good -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From don at flisz.nl Fri May 6 11:27:27 2005 From: don at flisz.nl (D.Croes) Date: Fri May 6 04:27:44 2005 Subject: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' In-Reply-To: Message-ID: <20050506092739.E221C315D78@edison.macserve.net> Hai everyone... I have already published the Windows .exe files without any problems... During publishing there's no problem... But when I try to make a MAC projector, I get an error 'can't find the Xtra "v4md.x32" Continue?' Here are the specs and things I've checked: - I use valentina 4 MD 1.1 - All files are made on Win XP - I haven't alterd anything what so ever in de Director movie - I removed the Xtra reference (Movie > xtra) and put a ref. of the xtra back. Also that didn't worked - When I publish a Windows .exe, This goes well, and the exe works perfect and has the DB Xtra running... Who can help me with this...! Regards, Don -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 From don at flisz.nl Fri May 6 11:43:46 2005 From: don at flisz.nl (D.Croes) Date: Fri May 6 04:43:51 2005 Subject: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' In-Reply-To: <20050506092739.E221C315D78@edison.macserve.net> Message-ID: <20050506094347.BBB60315D9E@edison.macserve.net> A temporary answer that I found could be: I made the files on windows, To make a Mac project file, I have to publish them on a Mac? Is this is a correct conclusion? -----Oorspronkelijk bericht----- Van: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Namens D.Croes Verzonden: Friday, May 06, 2005 11:27 AM Aan: 'Valentina Developers' Onderwerp: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' Hai everyone... I have already published the Windows .exe files without any problems... During publishing there's no problem... But when I try to make a MAC projector, I get an error 'can't find the Xtra "v4md.x32" Continue?' Here are the specs and things I've checked: - I use valentina 4 MD 1.1 - All files are made on Win XP - I haven't alterd anything what so ever in de Director movie - I removed the Xtra reference (Movie > xtra) and put a ref. of the xtra back. Also that didn't worked - When I publish a Windows .exe, This goes well, and the exe works perfect and has the DB Xtra running... Who can help me with this...! Regards, Don -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 From wgregoire at paris.mediagerance.com Fri May 6 11:45:52 2005 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Fri May 6 04:45:54 2005 Subject: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' In-Reply-To: <20050506094347.BBB60315D9E@edison.macserve.net> Message-ID: <001201c55220$64bfce10$1d0a11ac@wgregoire1> on DM2K4, you need the crossplatform xtra (.rsrc and .data) of V4MD -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de D.Croes Envoy? : vendredi 6 mai 2005 11:44 A : 'Valentina Developers' Objet : RE: V4MD: When making MAC projector,Xtra error 'can't find the Xtra' A temporary answer that I found could be: I made the files on windows, To make a Mac project file, I have to publish them on a Mac? Is this is a correct conclusion? -----Oorspronkelijk bericht----- Van: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Namens D.Croes Verzonden: Friday, May 06, 2005 11:27 AM Aan: 'Valentina Developers' Onderwerp: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' Hai everyone... I have already published the Windows .exe files without any problems... During publishing there's no problem... But when I try to make a MAC projector, I get an error 'can't find the Xtra "v4md.x32" Continue?' Here are the specs and things I've checked: - I use valentina 4 MD 1.1 - All files are made on Win XP - I haven't alterd anything what so ever in de Director movie - I removed the Xtra reference (Movie > xtra) and put a ref. of the xtra back. Also that didn't worked - When I publish a Windows .exe, This goes well, and the exe works perfect and has the DB Xtra running... Who can help me with this...! Regards, Don -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From peter.salomon at gmx.net Fri May 6 11:48:37 2005 From: peter.salomon at gmx.net (peter salomon) Date: Fri May 6 04:48:47 2005 Subject: [V4MD Mac Servermode] In-Reply-To: References: Message-ID: <427B3D75.8020301@gmx.net> >Hmm, you sure Peter ? > >Sean describe that for him movie works correctly. >Just open db if it exists and load its first record. > >Please check again. >I think movie works correctly. > > well ok - i?ll check again. strange things happen on my machine since yesterday. i managed somehow to crash Vserver and after that i was not able to connect to restarted Vserver again without restating the computer. maybe here ist the reason why i was not able to reopen db. in any case: in my project i generate tables in API way and then import txt file. The generation of tables inclusive txt import work fine in local mode. In Server mode i cannot use txt import function because i get sql errors while generating an empty cursor to prepare import. i just read, that christopher had similar problems - i?ll first check if i still use #kServerSide From sunshine at public.kherson.ua Fri May 6 12:55:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 05:17:32 2005 Subject: [V4MD Mac Servermode] Import in Client/server mode. In-Reply-To: <427B3D75.8020301@gmx.net> Message-ID: On 5/6/05 12:48 PM, "peter salomon" wrote: > in any case: in my project i generate tables in API way and then import > txt file. The generation of tables inclusive txt import work fine in > local mode. In Server mode i cannot use txt import function because i > get sql errors while generating an empty cursor to prepare import. > i just read, that christopher had similar problems - i?ll first check if > i still use #kServerSide Please note, that to import file in client/server mode The file should be located on server computer, And you should specify path of this file as path of SERVER computer. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 16:14:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 08:14:57 2005 Subject: default values In-Reply-To: Message-ID: On 5/6/05 3:50 PM, "Robert Brenstein" wrote: > I just looked at the issue of default values for fields in V2. The > kernel doc is not consistent on that, so I am not sure whether it is > already supported or is planned to be added soon. It is supported. On both API and SQL levels. > When discussing SetBlank on page 46, there is no mention of default > values. On page 59, the discussion of SetBlank mentions using default > values, but on page 98 there is no mention of defaults again. > Confusing. We will polish this > Furthermore, SetBlank should allow me to either use or ignore > defaults, me thinks. I can think of situations requiring one or the > other. May be we should have SetDefaults to do what is described on > page 59 and keep SetBlank as described on pages 46 and 98. Or add a > parameter to SetBlank telling it whether to use defaults or not. > > I can't say what the situation is for creating new fields. The doc > mentions CreateField() method when discussing CreateTable on page 35 > but I can't find it anywhere else in that doc. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 16:45:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 08:45:43 2005 Subject: default values In-Reply-To: Message-ID: On 5/6/05 3:50 PM, "Robert Brenstein" wrote: > I just looked at the issue of default values for fields in V2. The > kernel doc is not consistent on that, so I am not sure whether it is > already supported or is planned to be added soon. > > When discussing SetBlank on page 46, there is no mention of default > values. On page 59, the discussion of SetBlank mentions using default > values, but on page 98 there is no mention of defaults again. > Confusing. > > Furthermore, SetBlank should allow me to either use or ignore > defaults, me thinks. I can think of situations requiring one or the > other. May be we should have SetDefaults to do what is described on > page 59 and keep SetBlank as described on pages 46 and 98. Or add a > parameter to SetBlank telling it whether to use defaults or not. Well, Default Value is feature which is used only when you add new record. If you not specify value for this field, then Default is used. I do not see many sense work around this mechanism... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From don at flisz.nl Fri May 6 16:34:27 2005 From: don at flisz.nl (D.Croes) Date: Fri May 6 09:34:36 2005 Subject: The V4MD *.W32 file, What, how etc... In-Reply-To: Message-ID: <20050506143429.23407316034@edison.macserve.net> Hai everybody... I was wondering... I'm rounding up my Director game with the Valentina DB... At thirst I made one *.exe with dir files.... This worked fine... Now I have one *.exe file and the rest are *.dcr files... With this I ran up into a problem... Al off the sudden a value isn't stored correct in the DB.... This value (the movie) works when I Edit /debug in Director... But when a dcr file is made it doesn't work anymore... I think I have the solution: A dcr file is shockwave file right?! Do have I to implement the Valentina Shockwave package in order to let the DCR file work correct with Valentina And the second, how do I do this! I download the *.W32 file and then? Thanks! A developer hanging on a deadline, Don -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 From don at flisz.nl Fri May 6 16:37:26 2005 From: don at flisz.nl (D.Croes) Date: Fri May 6 09:37:31 2005 Subject: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' In-Reply-To: <001201c55220$64bfce10$1d0a11ac@wgregoire1> Message-ID: <20050506143728.19E0131603B@edison.macserve.net> And let me guess... That the professional version? Right? Cause I cant seem to find it any of the latest packages for windows or mac Regards, Don -----Oorspronkelijk bericht----- Van: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Namens Gregoire William Verzonden: Friday, May 06, 2005 11:46 AM Aan: 'Valentina Developers' Onderwerp: RE: V4MD: When making MAC projector,Xtra error 'can't find the Xtra' on DM2K4, you need the crossplatform xtra (.rsrc and .data) of V4MD -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de D.Croes Envoy? : vendredi 6 mai 2005 11:44 A : 'Valentina Developers' Objet : RE: V4MD: When making MAC projector,Xtra error 'can't find the Xtra' A temporary answer that I found could be: I made the files on windows, To make a Mac project file, I have to publish them on a Mac? Is this is a correct conclusion? -----Oorspronkelijk bericht----- Van: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Namens D.Croes Verzonden: Friday, May 06, 2005 11:27 AM Aan: 'Valentina Developers' Onderwerp: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' Hai everyone... I have already published the Windows .exe files without any problems... During publishing there's no problem... But when I try to make a MAC projector, I get an error 'can't find the Xtra "v4md.x32" Continue?' Here are the specs and things I've checked: - I use valentina 4 MD 1.1 - All files are made on Win XP - I haven't alterd anything what so ever in de Director movie - I removed the Xtra reference (Movie > xtra) and put a ref. of the xtra back. Also that didn't worked - When I publish a Windows .exe, This goes well, and the exe works perfect and has the DB Xtra running... Who can help me with this...! Regards, Don -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 _______________________________________________ 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 -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 From sunshine at public.kherson.ua Fri May 6 17:41:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 09:41:35 2005 Subject: The V4MD *.W32 file, What, how etc... In-Reply-To: <20050506143429.23407316034@edison.macserve.net> Message-ID: On 5/6/05 5:34 PM, "D.Croes" wrote: Do you use v1 or v2 ? > Hai everybody... > > I was wondering... > I'm rounding up my Director game with the Valentina DB... > > At thirst I made one *.exe with dir files.... > This worked fine... > > Now I have one *.exe file and the rest are *.dcr files... > With this I ran up into a problem... > > Al off the sudden a value isn't stored correct in the DB.... > This value (the movie) works when I Edit /debug in Director... > But when a dcr file is made it doesn't work anymore... > > I think I have the solution: > > A dcr file is shockwave file right?! > Do have I to implement the Valentina Shockwave package in order to let the > DCR file work correct with Valentina > > And the second, how do I do this! I download the *.W32 file and then? > > Thanks! > > A developer hanging on a deadline, > Don -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 17:44:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 09:44:40 2005 Subject: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' In-Reply-To: <20050506143728.19E0131603B@edison.macserve.net> Message-ID: On 5/6/05 5:37 PM, "D.Croes" wrote: > And let me guess... > > That the professional version? Right? > Cause I cant seem to find it any of the latest packages for windows or mac Please ask your last question in more easy English You need archives of 1.x V4MD ? They are on site. Links from Download page -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From don at flisz.nl Fri May 6 16:50:00 2005 From: don at flisz.nl (D.Croes) Date: Fri May 6 09:50:05 2005 Subject: The V4MD *.W32 file, What, how etc... In-Reply-To: Message-ID: <20050506145002.4761531606C@edison.macserve.net> HAi Ruslan, Sorry, sorry!!!! I Doesn't have anything to do with Valentina (I ill give my self some big time bottom wooping) The solution for my problems is to simple... I grab the movie name, and then chop of the .dir But, you can't chop this of, if I have .dcr files!!!!!! Stupid me!!!!!! It's working perfect now, Valentina is running mucho fast! Thanks! Jippie! I made the deadline! -----Oorspronkelijk bericht----- Van: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Namens Ruslan Zasukhin Verzonden: Friday, May 06, 2005 4:41 PM Aan: valentina@lists.macserve.net Onderwerp: Re: The V4MD *.W32 file, What, how etc... On 5/6/05 5:34 PM, "D.Croes" wrote: Do you use v1 or v2 ? > Hai everybody... > > I was wondering... > I'm rounding up my Director game with the Valentina DB... > > At thirst I made one *.exe with dir files.... > This worked fine... > > Now I have one *.exe file and the rest are *.dcr files... > With this I ran up into a problem... > > Al off the sudden a value isn't stored correct in the DB.... > This value (the movie) works when I Edit /debug in Director... > But when a dcr file is made it doesn't work anymore... > > I think I have the solution: > > A dcr file is shockwave file right?! > Do have I to implement the Valentina Shockwave package in order to let the > DCR file work correct with Valentina > > And the second, how do I do this! I download the *.W32 file and then? > > Thanks! > > A developer hanging on a deadline, > Don -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 From don at flisz.nl Fri May 6 16:51:44 2005 From: don at flisz.nl (D.Croes) Date: Fri May 6 09:51:51 2005 Subject: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' In-Reply-To: Message-ID: <20050506145147.A747B316076@edison.macserve.net> Oeps:S Sorry Ruslan... Cause I want a crossplatform Director movie with Valentina, I have to use the .rsrc and .data files... I presume that the xtra puts these in the crossplatform folder. Or do have to download these files... I use the 1.1 version... Thanks! D. -----Oorspronkelijk bericht----- Van: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Namens Ruslan Zasukhin Verzonden: Friday, May 06, 2005 4:45 PM Aan: valentina@lists.macserve.net Onderwerp: Re: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' On 5/6/05 5:37 PM, "D.Croes" wrote: > And let me guess... > > That the professional version? Right? > Cause I cant seem to find it any of the latest packages for windows or mac Please ask your last question in more easy English You need archives of 1.x V4MD ? They are on site. Links from Download page -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005 From sunshine at public.kherson.ua Fri May 6 17:58:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 09:58:10 2005 Subject: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' In-Reply-To: <20050506145147.A747B316076@edison.macserve.net> Message-ID: On 5/6/05 5:51 PM, "D.Croes" wrote: > Oeps:S > > Sorry Ruslan... > > Cause I want a crossplatform Director movie with Valentina, I have to use > the .rsrc and .data files... So you need V4MD mac + win You need have 2 serials on hands > I presume that the xtra puts these in the crossplatform folder. Or do have > to download these files... > > I use the 1.1 version... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rjb at robelko.com Fri May 6 16:52:44 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri May 6 10:09:50 2005 Subject: documentation (was: default values) In-Reply-To: References: Message-ID: >On 5/6/05 3:50 PM, "Robert Brenstein" wrote: > >> I can't say what the situation is for creating new fields. The doc >> mentions CreateField() method when discussing CreateTable on page 35 >> but I can't find it anywhere else in that doc. > >Page 48 - 49 > Ah, a good example of how API abstraction obfuscates things, so let me switch the threads. No wonder the Acrobat search function did not find anything. One has to either know that VTable.CreateField() is CreateStringField(), CreateVarCharField(), etc, to search for them specifcally or has to browse the doc to find "working with database structure" section and figure out that the methods discussed there mean VTable.CreateField() elsewhere. This is probably all super obvious to you, Ruslan, and other db pros but let me play a new db developer further. Now following my search for default values, I gather that they are hidden in the inFlags of each CreateXxxxField(), but searching the doc for 'inFlags' or 'EVFlag' again produces no hits outside that section. What is this EVFlag thing? Luckily, searching PDF for 'default' produces a hit in section discussing field properties, where DefaultValue is defined as "asvariant". Aha! So, are flags and properties synonyms in your API? What is this "asvariant"? I guess it should be "as variant" (typos add to confusion). Neither is defined in this doc. Another example along those lines: the description of field property "Type as EVFieldType" (what the heck is the latter BTW?) says to see also "VTable.ChangeType" (bottom of p 57). So I search for it, and... no hits. Then what am I to "see also"? So, is this API abstraction defining items in terms of undefined terms really so helpful to each Valentina developer? Wouldn't it be simpler to just explain all this in plain English? It would require only a few paragraphs instead of numerous pages. As I said elsewhere, I think this abstracted API should be an internal Paradigma doc. Or am I having a bad day? Robert From ktekinay at mactechnologies.com Fri May 6 12:15:00 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Fri May 6 11:15:23 2005 Subject: [ANN] Valentina Studio Administrator 2.0b6 In-Reply-To: Message-ID: On 5/6/05 5:03 AM, Jochen Peters at j.peters@valentina-db.de wrote: > you can download Valentina Studio Administrator 2.0b6 from FYI, The web page still says "b5" even though the download is b6. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From chuck at mediamacros.com Fri May 6 13:15:22 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Fri May 6 12:12:07 2005 Subject: Problems with table. What does this mean? In-Reply-To: <4278EB16.10000@mediamacros.com> References: <4278EB16.10000@mediamacros.com> Message-ID: <427BA62A.6020702@mediamacros.com> Ok, now I am just getting frustrated. I exported some data to lists. Then I re-create the database from that list using addRecord. Updated them all when done, flushed the database, and closed it. I open it up in studio and check it and Get this... Problems found! ************************************************************************ * BaseObject: "chart" ************************************************************************ Problems found. -----> Field: "id' of type ULong Problems found! (!) Table has 28 physical records but field has 256 -----> Field: "locked' of type Boolean Problems found! (!) Table has 28 physical records so Bool field must have length = 4 but it is = 1024 -----> Field: "name' of type String Problems found! (!) Table has 28 physical records but field has 33 -----> Field: "passkey' of type String Problems found! (!) Table has 28 physical records but field has 40 The thing is there are only 28 items in the list, all were added the exact same way like so... repeat with iItem in iData iCursor.addRecord(iItem) end repeat iCursor.updateAllRecords() No errors, everythign processes fine. It actually will even run ok, but this concerns me because my export still fails about the same place as it did before I rebuilt the database. What would cause these errors on a new clean database? Thanks. -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer Chuck Neal wrote: > I am trying to figure out why a database is not working correctly. I > ran the diagnosis from studio (on a 1.x database) and got this... > > Problems found! > > ************************************************************************ > * BaseObject: "user" > ************************************************************************ > Problems found. > > -----> Field: "id' of type ULong > Problems found! > > (!) Table has 1 physical records but field has 256 > > > -----> Field: "name' of type String > Problems found! > > (!) Table has 1 physical records but field has 6 > > > > What does this mean? > > -Chuck > -------------------------- > Chuck Neal > CEO, MediaMacros, Inc. > chuck@mediamacros.com > http://www.mediamacros.com > -------------------------- > Check out the Developers Mall > Your one stop shop for all your Director Xtra Needs > http://www.mediamacros.net/customer > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From peter.salomon at gmx.net Fri May 6 19:13:03 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Fri May 6 12:13:11 2005 Subject: [ANN] Valentina Studio Administrator 2.0b6 In-Reply-To: References: Message-ID: <3A74FC5F-C413-4DE8-95E5-F735B0D3659B@gmx.net> > > This version of Valentina Studio works without problems on Tiger! > hi again, Hm. somehow life doesn?t want me beeing lucky... VStudio 2.0.3b6 works on tiger, but if i connect to VServer i can see in Vservers Terminal that connection is up, but VStudio freezes. Do you have an idea? peter From peter.salomon at gmx.net Fri May 6 19:17:06 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Fri May 6 12:17:27 2005 Subject: [ANN] Valentina Studio Administrator 2.0b6 In-Reply-To: <3A74FC5F-C413-4DE8-95E5-F735B0D3659B@gmx.net> References: <3A74FC5F-C413-4DE8-95E5-F735B0D3659B@gmx.net> Message-ID: Am 06.05.2005 um 19:13 schrieb Peter Salomon: >> >> This version of Valentina Studio works without problems on Tiger! >> >> > > hi again, > Hm. somehow life doesn?t want me beeing lucky... VStudio 2.0.3b6 > works on tiger, but if i connect to VServer i can see in Vservers > Terminal that connection is up, but VStudio freezes. > > Do you have an idea? > peter > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > ok, sorry, problem found. it seems, that i had corrupted master.vdb. after shutting down server, and trashing all db?s, restarting Vserver i could connect with VStudio. From peter.salomon at gmx.net Fri May 6 19:23:13 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Fri May 6 12:23:19 2005 Subject: [V4MD Mac Servermode] Import in Client/server mode. In-Reply-To: References: Message-ID: > The file should be located on server computer, > And you should specify path of this file as path of SERVER computer. thanks for this hint ruslan. but if i work on server (localhost) there should not be a problem. or does a path with (the moviepath) && filename not work in this case? From sunshine at public.kherson.ua Fri May 6 20:44:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 12:45:05 2005 Subject: [V4MD Mac Servermode] Import in Client/server mode. In-Reply-To: Message-ID: On 5/6/05 8:23 PM, "Peter Salomon" wrote: >> The file should be located on server computer, >> And you should specify path of this file as path of SERVER computer. > > thanks for this hint ruslan. > but if i work on server (localhost) there should not be a problem. Of course > or does a path with (the moviepath) && filename not work in this case? It will. Vserver just get Absolute path. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 21:00:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 13:00:14 2005 Subject: documentation (was: default values) In-Reply-To: Message-ID: On 5/6/05 5:52 PM, "Robert Brenstein" wrote: >> On 5/6/05 3:50 PM, "Robert Brenstein" wrote: >> >>> I can't say what the situation is for creating new fields. The doc >>> mentions CreateField() method when discussing CreateTable on page 35 >>> but I can't find it anywhere else in that doc. >> >> Page 48 - 49 >> > > Ah, a good example of how API abstraction obfuscates things, so let > me switch the threads. > > No wonder the Acrobat search function did not find anything. One has > to either know that VTable.CreateField() is CreateStringField(), > CreateVarCharField(), etc, to search for them specifcally or has to > browse the doc to find "working with database structure" section and > figure out that the methods discussed there mean VTable.CreateField() > elsewhere. :-) Robert, But if you new to product then you do not know about CreateField also. You have try to find what you know from 1.x And you have fail, because we have no set of methods. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From peter.salomon at gmx.net Fri May 6 20:04:31 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Fri May 6 13:04:39 2005 Subject: [V4MD Mac Servermode] Import in Client/server mode. In-Reply-To: References: Message-ID: <1B1E281E-31DE-4E7F-B490-B631CDE95BD7@gmx.net> >> > > It will. > > Vserver just get Absolute path. > ok, i managed now to generate a db in ServerMode, preparing a cursor for importing txt file and now i get an error: Err_Feature_not_supported_export_format(). what does that mean? Peter From sunshine at public.kherson.ua Fri May 6 21:08:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 13:09:01 2005 Subject: documentation (was: default values) In-Reply-To: Message-ID: On 5/6/05 5:52 PM, "Robert Brenstein" wrote: > Now following my search for default values, I gather that they are > hidden in the inFlags of each CreateXxxxField(), but searching the > doc for 'inFlags' or 'EVFlag' again produces no hits outside that > section. What is this EVFlag thing? This is ENUM - enumereted type as exists in C, C++, Java, ... > Luckily, searching PDF for 'default' produces a hit in section > discussing field properties, where DefaultValue is defined as > "asvariant". Aha! So, are flags and properties synonyms in your API? Yes. Each OO abstract layer have classes, object, properties methods > What is this "asvariant"? I guess it should be "as variant" (typos > add to confusion). Neither is defined in this doc. Yes typo > Another example along those lines: the description of field property > "Type as EVFieldType" (what the heck is the latter BTW?) says to see > also "VTable.ChangeType" (bottom of p 57). So I search for it, and... > no hits. Then what am I to "see also"? I think if you'd read page by page you know that EV this is prefix for all Enum Valentina > So, is this API abstraction defining items in terms of undefined > terms really so helpful to each Valentina developer? Wouldn't it be > simpler to just explain all this in plain English? It would require > only a few paragraphs instead of numerous pages. > > As I said elsewhere, I think this abstracted API should be an > internal Paradigma doc. > > Or am I having a bad day? Oh Robert... Frankly saying Vkernel is the worse document we have. It require yet a lots of polishing. We will try take into account your points. Okay, tell me please how you prefer to see explanation of Vfield.Type property ? What type it have? Now is written EVFieldType. What you suggest ? Just write Vfield.Type as integer ? This is not good. Write properties and parameters without types? Yes SCRIPT - LANGUAGE users are used to this, but this is not very good also. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 6 21:15:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 6 13:15:49 2005 Subject: [V4MD Mac Servermode] Import in Client/server mode. In-Reply-To: <1B1E281E-31DE-4E7F-B490-B631CDE95BD7@gmx.net> Message-ID: On 5/6/05 9:04 PM, "Peter Salomon" wrote: >> It will. >> >> Vserver just get Absolute path. >> > > ok, i managed now to generate a db in ServerMode, preparing a cursor > for importing txt file and now i get an error: > > Err_Feature_not_supported_export_format(). > > what does that mean? Ak! Igor have not implement this method in server 2.0 He will fix this, and next build of server will have it. For now you can use local way to produce db -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ralf at end-if.de Sat May 7 00:28:10 2005 From: ralf at end-if.de (Ralf Sander) Date: Fri May 6 17:27:45 2005 Subject: query result that depends on the count of matching field contents in one record In-Reply-To: References: Message-ID: Hi, I want to create a search where I get a result that depends on the count matching field contents in one record. But I can't get it. May be, I am thinking in the wrong direction. Lets assume, I have a table with 4 fields (vshort). Now I want to get all records where more than 2 field matches a condition. Example: if the code "field1 Between 1 and 5" would return 0 or 1, I could add all results: SELECT * FROM TABLE1 WHERE ( ( field1=2 ) + ( field2=7 ) + ( field3=10 ) + ( field4=1 ) ) >2 or SELECT * FROM TABLE1 WHERE ( ( field1 BETWEEN 1 AND 5 ) + ( field2 BETWEEN 1 AND 7 ) + ( field3 BETWEEN 2 AND 4 ) + ( field4 BETWEEN 1 AND 2 ) ) >2 Any solution for that? Thanks Ralf From IvanSmahin at public.kherson.ua Sat May 7 01:33:48 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri May 6 17:34:06 2005 Subject: query result that depends on the count of matching field contents in one record In-Reply-To: References: Message-ID: <4588892.20050507013348@public.kherson.ua> Hello Ralf, Saturday, May 7, 2005, 1:28:10 AM, you wrote: RS> Hi, RS> I want to create a search where I get a result that depends on the RS> count matching field contents in one record. But I can't get it. May RS> be, I am thinking in the wrong direction. RS> Lets assume, I have a table with 4 fields (vshort). Now I want to get RS> all records where more than 2 field matches a condition. RS> Example: RS> if the code "field1 Between 1 and 5" would return 0 or 1, I could add RS> all results: RS> SELECT * FROM TABLE1 WHERE ( ( field1=2 ) + ( field2=7 ) + ( RS> field3=10 ) + ( field4=1 ) ) >2 RS> or RS> SELECT * FROM TABLE1 WHERE ( ( field1 BETWEEN 1 AND 5 ) + ( field2 RS> BETWEEN 1 AND 7 ) + ( field3 BETWEEN 2 AND 4 ) + ( field4 BETWEEN 1 AND 2 ) ) >>2 RS> Any solution for that? RS> Thanks RS> Ralf RS> _______________________________________________ RS> Valentina mailing list RS> Valentina@lists.macserve.net RS> http://lists.macserve.net/mailman/listinfo/valentina Try it: ... WHERE field1 = 2 AND field2 = 7 AND field3 = 10 AND field4 = 1 AND (field1 + field2 + field3 + field4) > 2 -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From ktekinay at mactechnologies.com Fri May 6 19:01:21 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Fri May 6 18:01:35 2005 Subject: [ANN] Data-On-Demand ListBox 1.0 Message-ID: MacTechnologies Consulting Releases the Data-On-Demand ListBox 1.0 NEW YORK, NY (May 6, 2005) -- MacTechnologies Consulting is pleased to announce Data-On-Demand ListBox 1.0, a "virtual" ListBox replacement for REALbasic. The Data-On-Demand ListBox is a subclass of the native REALbasic ListBox and, as far as the end-user is concerned, will behave in the same way. The key difference for the programmer is that the Data-On-Demand ListBox does not store any data. Rather, it is a "virtual" ListBox that relies on you, the programmer, to provide data, row-by-row, as requested. As a result, the Data-On-Demand ListBox is much faster at populating thousands of rows and, because you maintain the data, does not require you to coordinate changes from the data in your database to the ListBox. The Data-On-Demand ListBox requires REALbasic 5.5 or later and, because it is written entirely in REALbasic, will work across platforms. It is available as an unrestricted demo (IDE only) with an extensive manual and examples from: Licenses are available for $50 per developer and allow for royalty-free inclusion of the Data-On-Demand ListBox in compiled applications. Site licenses are also available. For more information, MacTechnologies Consulting at . __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From IvanSmahin at public.kherson.ua Sat May 7 02:09:12 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri May 6 18:09:18 2005 Subject: query result that depends on the count of matching field contents in one record In-Reply-To: References: Message-ID: <381934909.20050507020912@public.kherson.ua> Hello Ralf, Saturday, May 7, 2005, 1:28:10 AM, you wrote: RS> Hi, RS> I want to create a search where I get a result that depends on the RS> count matching field contents in one record. But I can't get it. May RS> be, I am thinking in the wrong direction. RS> Lets assume, I have a table with 4 fields (vshort). Now I want to get RS> all records where more than 2 field matches a condition. Sorry for prev. post. Just misreading some parts. So - "WHERE" clause is predicate which is applied for each "candidate" record. If it calculates true - record would be included to the result. You want to have some condition like - "at least 3 fields matches..." It sounds very strange. I can't imagine what it can be for. But, actually you need to enumerate ALL field-triads in "where" clause in such a way: WHERE ( f1 = ... AND f2 = ... AND f3 = ... ) OR ( f1 = ... AND f2 = ... AND f4 = ... ) OR ( f1 = ... AND f3 = ... AND f4 = ... ) OR ( f2 = ... AND f3 = ... AND f4 = ... ) -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From ralf at end-if.de Sat May 7 01:47:33 2005 From: ralf at end-if.de (Ralf Sander) Date: Fri May 6 18:46:56 2005 Subject: query result that depends on the count of matching field contents in one record In-Reply-To: <381934909.20050507020912@public.kherson.ua> References: <381934909.20050507020912@public.kherson.ua> Message-ID: <0e25e351f15802a0cd93b441c24b8d73@end-if.de> Hi Ivan, I am thinking of an image retrieval system based on color values. I will have 3 color values for several sectors of an image. To avoid leaving out runaways, I thought it would be a good idea to have the possibility not to match all sectors. Also the sensibility should be customizable, so I need to query ranges. There could be a lot of fields (sectors * 3 colors + brightness and your suggestion would be result in a little too long query string, I think. But maybe you have another hint. Thanks, Ralf > Hello Ralf, > > Saturday, May 7, 2005, 1:28:10 AM, you wrote: > > RS> Hi, > > RS> I want to create a search where I get a result that depends on the > RS> count matching field contents in one record. But I can't get it. > May > RS> be, I am thinking in the wrong direction. > RS> Lets assume, I have a table with 4 fields (vshort). Now I want to > get > RS> all records where more than 2 field matches a condition. > > Sorry for prev. post. Just misreading some parts. > > So - "WHERE" clause is predicate which is applied for each > "candidate" record. If it calculates true - record would be included > to the > result. > > You want to have some condition like - "at least 3 fields matches..." > It sounds very strange. I can't imagine what it can be for. > > But, actually you need to enumerate ALL field-triads in "where" clause > in such a way: > > > WHERE > ( f1 = ... AND f2 = ... AND f3 = ... ) > OR ( f1 = ... AND f2 = ... AND f4 = ... ) > OR ( f1 = ... AND f3 = ... AND f4 = ... ) > OR ( f2 = ... AND f3 = ... AND f4 = ... ) > > > > > -- > Best regards, > Ivan mailto:IvanSmahin@public.kherson.ua > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From IvanSmahin at public.kherson.ua Sat May 7 03:06:40 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri May 6 19:06:48 2005 Subject: query result that depends on the count of matching field contents in one record In-Reply-To: <0e25e351f15802a0cd93b441c24b8d73@end-if.de> References: <381934909.20050507020912@public.kherson.ua> <0e25e351f15802a0cd93b441c24b8d73@end-if.de> Message-ID: <1594667879.20050507030640@public.kherson.ua> Hello Ralf, Saturday, May 7, 2005, 2:47:33 AM, you wrote: RS> Hi Ivan, RS> I am thinking of an image retrieval system based on color values. I RS> will have 3 color values for several sectors of an image. To avoid RS> leaving out runaways, I thought it would be a good idea to have the RS> possibility not to match all sectors. Also the sensibility should be RS> customizable, so I need to query ranges. RS> There could be a lot of fields (sectors * 3 colors + brightness and RS> your suggestion would be result in a little too long query string, I RS> think. RS> But maybe you have another hint. Let's discuss it using db structure you use (or planned to use). I'm afraid I don't get it yet. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From rjb at robelko.com Sat May 7 02:21:41 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri May 6 19:24:07 2005 Subject: documentation (was: default values) In-Reply-To: References: Message-ID: > > No wonder the Acrobat search function did not find anything. One has >> to either know that VTable.CreateField() is CreateStringField(), >> CreateVarCharField(), etc, to search for them specifcally or has to >> browse the doc to find "working with database structure" section and >> figure out that the methods discussed there mean VTable.CreateField() >> elsewhere. > >:-) Robert, > >But if you new to product then you do not know about CreateField also. I was looking for it, because I read about it in section about creating tables. So it is quite a likely scenario for a new user as well. Since the doc has 100 pages, using search function seems logical to locate specific items. >You have try to find what you know from 1.x >And you have fail, because we have no set of methods. I have never bothered to read kernel doc for 1.x except looking up a few specific items a couple of times. I regularly use the environment-specific doc only. All the essential info is repeated there and in a format easier for processing. Robert From ktekinay at mactechnologies.com Fri May 6 21:10:03 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Fri May 6 20:10:09 2005 Subject: [ANN] Data-On-Demand ListBox 1.0 Message-ID: MacTechnologies Consulting Releases the Data-On-Demand ListBox 1.0 NEW YORK, NY (May 6, 2005) -- MacTechnologies Consulting is pleased to announce Data-On-Demand ListBox 1.0, a "virtual" ListBox replacement for REALbasic. The Data-On-Demand ListBox is a subclass of the native REALbasic ListBox and, as far as the end-user is concerned, will behave in the same way. The key difference for the programmer is that the Data-On-Demand ListBox does not store any data. Rather, it is a "virtual" ListBox that relies on you, the programmer, to provide data, row-by-row, as requested. As a result, the Data-On-Demand ListBox is much faster at populating thousands of rows and, because you maintain the data, does not require you to coordinate changes from the data in your database to the ListBox. The Data-On-Demand ListBox requires REALbasic 5.5 or later and, because it is written entirely in REALbasic, will work across platforms. It is available as an unrestricted demo (IDE only) with an extensive manual and examples from: Licenses are available for $50 per developer and allow for royalty-free inclusion of the Data-On-Demand ListBox in compiled applications. Site licenses are also available. For more information, MacTechnologies Consulting at . __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From CBishop at alfred.com Fri May 6 18:31:59 2005 From: CBishop at alfred.com (Christopher Bishop) Date: Fri May 6 20:33:17 2005 Subject: Valentina for Win Problems Message-ID: <4996E7B8A963A04E8916A67F06C83E30E69517@apvnyexch01.alfredpub.com> I am having bad problems trying to write data into a database. Crazy things are happening, but I'll keep checking my code. I was running your Records_AddDeleteUpdate program, and although it seemed to be writing OK, after a few adds and deletes it gives errors and then crashes out. One question: Does Valentina Studio work properly with remote server databases yet? Any time I try to add a record using client/server mode, it crashes VStudio. From CBishop at alfred.com Fri May 6 18:40:06 2005 From: CBishop at alfred.com (Christopher Bishop) Date: Fri May 6 20:41:14 2005 Subject: Valentina for Win Problems Message-ID: <4996E7B8A963A04E8916A67F06C83E30E69518@apvnyexch01.alfredpub.com> By the way, I am using VStudio 2.0 b6 -----Original Message----- From: Christopher Bishop Sent: Friday, May 06, 2005 6:32 PM To: 'valentina@lists.macserve.net' Subject: Valentina for Win Problems I am having bad problems trying to write data into a database. Crazy things are happening, but I'll keep checking my code. I was running your Records_AddDeleteUpdate program, and although it seemed to be writing OK, after a few adds and deletes it gives errors and then crashes out. One question: Does Valentina Studio work properly with remote server databases yet? Any time I try to add a record using client/server mode, it crashes VStudio. From CBishop at alfred.com Fri May 6 20:08:45 2005 From: CBishop at alfred.com (Christopher Bishop) Date: Fri May 6 22:09:56 2005 Subject: Valentina for Win Problems Message-ID: <4996E7B8A963A04E8916A67F06C83E30E69519@apvnyexch01.alfredpub.com> Director is crashing when I try to add a record. Does my code look right? Example code: groupsCursor = gtheDB2.sqlSelect( "select * from grouptbl where false", #kServer, #kReadWrite, #kRandom ) groupsCursor.SetBlank() groupsCursor.field("GROUPFLD").value = "New Database Text Field" groupsCursor.field("GROUPID").value = "a440" gcResult = groupsCursor.AddRecord() -----Original Message----- From: Christopher Bishop Sent: Friday, May 06, 2005 6:40 PM To: 'valentina@lists.macserve.net' Subject: RE: Valentina for Win Problems By the way, I am using VStudio 2.0 b6 -----Original Message----- From: Christopher Bishop Sent: Friday, May 06, 2005 6:32 PM To: 'valentina@lists.macserve.net' Subject: Valentina for Win Problems I am having bad problems trying to write data into a database. Crazy things are happening, but I'll keep checking my code. I was running your Records_AddDeleteUpdate program, and although it seemed to be writing OK, after a few adds and deletes it gives errors and then crashes out. One question: Does Valentina Studio work properly with remote server databases yet? Any time I try to add a record using client/server mode, it crashes VStudio. From valentina at panamind.com Sat May 7 00:57:28 2005 From: valentina at panamind.com (Gary Edge) Date: Fri May 6 23:57:43 2005 Subject: V4RB2 questions Message-ID: <2fa4c83a3854648eb3292bb6655f8138@panamind.com> I've decided to move to V4RB 2 and I'm looking through the docs and have some initial questions. Is the 'classes way' or the 'API way' preferred to create and manage databases, table and binary links in RB project? I've been using classes but the examples and tutorial use the API way. Also, when creating several records linked using a binary link, must I search for the recid of each corresponding record in the linked table to create the binary link? -- Gary -- From ktekinay at mactechnologies.com Sat May 7 01:02:24 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sat May 7 00:02:32 2005 Subject: V4RB2 questions In-Reply-To: <2fa4c83a3854648eb3292bb6655f8138@panamind.com> Message-ID: On 5/7/05 12:57 AM, Gary Edge at valentina@panamind.com wrote: > Is the 'classes way' or the 'API way' > preferred to create and manage databases, table and binary links in RB > project? I've been using classes but the examples and tutorial use the > API way. In my own tests, I've found the class-way and API-way to be interchangeable in terms of speed. > Also, when creating several records linked using a binary link, must I > search for the recid of each corresponding record in the linked table > to create the binary link? I think you just have to tell the BinaryLink to link the records after you create them. It will do the rest. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From jules.jacquot at wanadoo.fr Sat May 7 07:30:19 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sat May 7 00:29:11 2005 Subject: speed Message-ID: <7F5FEDB2-3E3D-49E7-8349-1C5BAF76D6F0@wanadoo.fr> hi ruslan classic question i am using these code for to display 592 records on the listbox inquery=mdatabase.SQLSelect("select * from usertable order by jnumeng") assigncursor(inquery) the duration is 41 sec now go through Visql the duration is 0,01sec adapt to my app with VIsql the duration is 1,60 sec why ? and how to do for to improve the speed ? thanks very much jules --------------------------------------------------------- Ne vous mettez pas en avant, mais ne restez pas en arri?re From sunshine at public.kherson.ua Sat May 7 09:05:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 01:05:42 2005 Subject: speed In-Reply-To: <7F5FEDB2-3E3D-49E7-8349-1C5BAF76D6F0@wanadoo.fr> Message-ID: On 5/7/05 8:30 AM, "Jules Jacquot" wrote: Hi Jules, Asnwer is next: * Listbox of REALBasic is not intended to show records of database. when you work with listbox you must read from db each field of cursor and each record. * viSQL do more smart work I think. It ask only values which must be shown right now. I.e. You can have 100 fields In cursor, but window can show only 5, so what sense read rest 95 fields ? DataGrid of Einhugur also is able do this. I have hear that Frank have made new version of listbox which is smart, and Kem also work on such version of listbox. > hi ruslan > > classic question > > i am using these code for to display 592 records on the listbox > > inquery=mdatabase.SQLSelect("select * from usertable order by jnumeng") > assigncursor(inquery) > > the duration is 41 sec > > now go through Visql > > the duration is 0,01sec > > adapt to my app with VIsql > > the duration is 1,60 sec > > why ? and how to do for to improve the speed ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fred.stephenson at communication-unltd.com Sat May 7 08:11:57 2005 From: fred.stephenson at communication-unltd.com (Fred Stephenson) Date: Sat May 7 01:13:33 2005 Subject: speed In-Reply-To: <7F5FEDB2-3E3D-49E7-8349-1C5BAF76D6F0@wanadoo.fr> References: <7F5FEDB2-3E3D-49E7-8349-1C5BAF76D6F0@wanadoo.fr> Message-ID: Jules, > > i am using these code for to display 592 records on the listbox > > inquery=mdatabase.SQLSelect("select * from usertable order by jnumeng") > assigncursor(inquery) > I suppose the above line fills your list. This is probably where things are slow. What's the code for that? a+ Fred ps en francais si vous voulez - je peut aussi repondre en franglais ;?) > the duration is 41 sec > > now go through Visql > > the duration is 0,01sec > > adapt to my app with VIsql > > the duration is 1,60 sec > > why ? and how to do for to improve the speed ? > > thanks very much > > jules > > --------------------------------------------------------- > Ne vous mettez pas en avant, mais ne restez pas en arri?re > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From vidal_olivier at yahoo.fr Sat May 7 08:17:47 2005 From: vidal_olivier at yahoo.fr (Olivier Vidal) Date: Sat May 7 01:19:01 2005 Subject: speed In-Reply-To: <7F5FEDB2-3E3D-49E7-8349-1C5BAF76D6F0@wanadoo.fr> References: <7F5FEDB2-3E3D-49E7-8349-1C5BAF76D6F0@wanadoo.fr> Message-ID: <48e12a292c6e13fd6f58a3996421dc7d@yahoo.fr> Hi list, I try at present Datagrid of Einhugur for my program and it is effectively very fast! But it is only a container of data. If you want for example to modify a line of the datagrid, it is impossible, in theory. It is thus very fast, but a little more complicated to program and less flexible. Franck, Kem, what are the differences between your listboxs and the datagrid? thank you olivier j'essaye actuellement Datagrid d'Einhugur pour mon programme et il est effectivement tr?s rapide ! mais c'est seulement un conteneur (un afficheur uniquement) de donn?es. Si vous voulez par exemple modifier une ligne du datagrid, c'est, th?oriquement, impossible. C'est donc tr?s rapide, mais un peu plus compliqu? ? programmer et moins souple. Franck, Kem, quelles sont les diff?rences entre vos listboxs et le datagrid ? Le 7 mai 05, ? 07:30, Jules Jacquot a ?crit : > hi ruslan > > classic question > > i am using these code for to display 592 records on the listbox > > inquery=mdatabase.SQLSelect("select * from usertable order by jnumeng") > assigncursor(inquery) > > the duration is 41 sec > > now go through Visql > > the duration is 0,01sec > > adapt to my app with VIsql > > the duration is 1,60 sec > > why ? and how to do for to improve the speed ? > > thanks very much > > > jules > > --------------------------------------------------------- > Ne vous mettez pas en avant, mais ne restez pas en arri?re > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sat May 7 09:27:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 01:27:21 2005 Subject: speed In-Reply-To: <48e12a292c6e13fd6f58a3996421dc7d@yahoo.fr> Message-ID: On 5/7/05 9:17 AM, "Olivier Vidal" wrote: > Hi list, > > I try at present Datagrid of Einhugur for my program and it is > effectively very fast! > But it is only a container of data. > If you want for example to modify a line of the datagrid, it is > impossible, in theory. Strange. I do not see problems. May be we need talk to Bjorn, and if it is really cannot edit cells then he should improve this. Bjorn ? > It is thus very fast, but a little more complicated to program and less > flexible. > > Franck, Kem, what are the differences between your listboxs and the > datagrid? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Sat May 7 02:27:34 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sat May 7 01:27:40 2005 Subject: speed In-Reply-To: <48e12a292c6e13fd6f58a3996421dc7d@yahoo.fr> Message-ID: On 5/7/05 2:17 AM, Olivier Vidal at vidal_olivier@yahoo.fr wrote: > Franck, Kem, what are the differences between your listboxs and the > datagrid? Mine works just like the standard ListBox, except that it requests data for every row that it will display rather than making you load it all at once. It also handles non-contiguous selections and drag and drop, something that DataGrid does not currently handle. Editing data works just like the standard ListBox, except that all interaction uses your database index. In fact, because the Data-On-Demand ListBox is a ListBox subclass, you can drop it into your project with little modification. I have an example in my project specifically for V4RB2: __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Sat May 7 09:37:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 01:37:31 2005 Subject: speed In-Reply-To: Message-ID: On 5/7/05 9:27 AM, "Kem Tekinay" wrote: > On 5/7/05 2:17 AM, Olivier Vidal at vidal_olivier@yahoo.fr wrote: > >> Franck, Kem, what are the differences between your listboxs and the >> datagrid? > > Mine works just like the standard ListBox, except that it requests data for > every row that it will display rather than making you load it all at once. > It also handles non-contiguous selections and drag and drop, something that > DataGrid does not currently handle. Editing data works just like the > standard ListBox, except that all interaction uses your database index. > > In fact, because the Data-On-Demand ListBox is a ListBox subclass, you can > drop it into your project with little modification. > > I have an example in my project specifically for V4RB2: > > Kem, I will recommend to load only required fields also, As I have describe in example 5 from 100 fields. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat May 7 09:41:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 01:41:34 2005 Subject: [ANN] Data-On-Demand ListBox 1.0 In-Reply-To: Message-ID: On 5/7/05 2:01 AM, "Kem Tekinay" wrote: > MacTechnologies Consulting Releases the Data-On-Demand ListBox 1.0 > > NEW YORK, NY (May 6, 2005) -- MacTechnologies Consulting is pleased to > announce Data-On-Demand ListBox 1.0, a "virtual" ListBox replacement for > REALbasic. > > The Data-On-Demand ListBox is a subclass of the native REALbasic ListBox > and, as far as the end-user is concerned, will behave in the same way. The > key difference for the programmer is that the Data-On-Demand ListBox does > not store any data. Rather, it is a "virtual" ListBox that relies on you, Such lists are named as Active List > the programmer, to provide data, row-by-row, as requested. As a result, the > Data-On-Demand ListBox is much faster at populating thousands of rows and, > because you maintain the data, does not require you to coordinate changes > from the data in your database to the ListBox. > > The Data-On-Demand ListBox requires REALbasic 5.5 or later and, because it > is written entirely in REALbasic, will work across platforms. It is > available as an unrestricted demo (IDE only) with an extensive manual and > examples from: > > > > Licenses are available for $50 per developer and allow for royalty-free > inclusion of the Data-On-Demand ListBox in compiled applications. Site > licenses are also available. > > For more information, MacTechnologies Consulting at > . -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From snw at paradise.net.nz Sat May 7 18:41:42 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Sat May 7 01:41:54 2005 Subject: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' In-Reply-To: References: <20050506145147.A747B316076@edison.macserve.net> Message-ID: <6.2.1.2.2.20050507183841.03966eb0@pop3.paradise.net.nz> >So you need V4MD mac + win >You need have 2 serials on hands As well as serial numbers, he needs a "split" xtra so that he can publish for Mac from Windows. There's a utility at updatestage for creating the split xtra, but it has to be done on a Mac and Ruslan, as the developer, should do this and make them available for download to Director MX2004 users. Publishing to Windows from Mac doesn't suffer this problem. -Sean. From sunshine at public.kherson.ua Sat May 7 09:53:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 01:53:16 2005 Subject: [FAQ/DOC] V4RB2 questions In-Reply-To: <2fa4c83a3854648eb3292bb6655f8138@panamind.com> Message-ID: On 5/7/05 7:57 AM, "Gary Edge" wrote: > I've decided to move to V4RB 2 and I'm looking through the docs and > have some initial questions. Is the 'classes way' or the 'API way' > preferred to create and manage databases, table and binary links in RB > project? I've been using classes but the examples and tutorial use the > API way. > > Also, when creating several records linked using a binary link, must I > search for the recid of each corresponding record in the linked table > to create the binary link? Hi Gary, I want to say one point which it seems I never express yet: * Class way -- this is the same API way just wrapped into Classes. * So Class way is NOT alternative to API way. It is just its modification. * Class way should be preferred for such applications which have stable and fixed data structure. * pure API way should be used for general-DBMS kind applications, for example viSQL or example XML Load/Dump. * Class way if you looks with attention, just give you pointer to each table and each field. So you do not need ask each time in your code db.Table( "T1" ) tbl.Field( "Name" ) Thanks to having pointers you may get faster speed. --------------------- If talk about alternatives then the main choice you should do is SQL WAY or API Way. SQL Way MUST MUST MUST be used if you going use Valentina Server, Because API way will not effective on network traffic. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat May 7 09:55:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 01:55:31 2005 Subject: V4RB2 questions In-Reply-To: Message-ID: On 5/7/05 8:02 AM, "Kem Tekinay" wrote: >> Also, when creating several records linked using a binary link, must I >> search for the recid of each corresponding record in the linked table >> to create the binary link? > > I think you just have to tell the BinaryLink to link the records after you > create them. It will do the rest. But to say to Link what to link you need know RecIDs. So Yes, Gary, you should know 2 RecIDs of records you want to link. Here there is no nothing special in fact. If you link records in RDBMS you also need know 2 records: one of them is your current from second you need obtain KEY VALUE to store in FOREIGN KEY field. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat May 7 09:56:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 01:56:43 2005 Subject: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' In-Reply-To: <6.2.1.2.2.20050507183841.03966eb0@pop3.paradise.net.nz> Message-ID: On 5/7/05 9:41 AM, "Sean Wilson" wrote: >> So you need V4MD mac + win >> You need have 2 serials on hands > > As well as serial numbers, he needs a "split" xtra so that he can publish > for Mac from Windows. There's a utility at updatestage for creating the > split xtra, but it has to be done on a Mac and Ruslan, as the developer, > should do this and make them available for download to Director MX2004 > users. Publishing to Windows from Mac doesn't suffer this problem. > Ah, he try create MAC projector on Widows. We already have discuss that better to use MAC for this. In any case you need test your mac projector. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Sat May 7 08:58:37 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat May 7 01:58:58 2005 Subject: speed In-Reply-To: References: Message-ID: <72F4D8D3-0268-471A-A7DC-B133D559C429@sailer-online.de> Am 07. Mai 2005 um 08:27 Uhr schrieb Kem Tekinay: > On 5/7/05 2:17 AM, Olivier Vidal at vidal_olivier@yahoo.fr wrote: > > >> Franck, Kem, what are the differences between your listboxs and the >> datagrid? >> > > Mine works just like the standard ListBox, except that it requests > data for > every row that it will display rather than making you load it all > at once. > It also handles non-contiguous selections and drag and drop, > something that > DataGrid does not currently handle. Editing data works just like the > standard ListBox, except that all interaction uses your database > index. > > In fact, because the Data-On-Demand ListBox is a ListBox subclass, > you can > drop it into your project with little modification. > > I have an example in my project specifically for V4RB2: > > The reason why I have to use RB-ListBox is, that I have a column that shows the result from cell one row higher + - values from actual row. This is what I have to do for every row. Is this functionality also supported from your solution? I also use backgroundcoloring of every second row ;-)) Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.3 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sat May 7 10:02:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 02:02:27 2005 Subject: Valentina for Win Problems In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E69517@apvnyexch01.alfredpub.com> Message-ID: On 5/7/05 4:31 AM, "Christopher Bishop" wrote: > I am having bad problems trying to write data into a database. Crazy > things are happening, but I'll keep checking my code. > > I was running your Records_AddDeleteUpdate program, and although it > seemed to be writing OK, after a few adds and deletes it gives errors > and then crashes out. Our example crashes ? Then please please please add into Mantis bug report and write exact steps how to crash it. Ok Christopher? > One question: Does Valentina Studio work properly with remote server > databases yet? Jochen says that b6 works. > Any time I try to add a record using client/server mode, it crashes VStudio. Strange, we self test here and it works. Christopher, may be you have some very special database? Please send to us your empty database. We will put it under vserver. And tell us EXACT STEPS you do: what table, what fields, what data you try to add. Christopher, we need know how to reproduce bug to fix it. So please give us examples, steps, info. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat May 7 10:04:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 02:04:31 2005 Subject: Valentina for Win Problems In-Reply-To: <4996E7B8A963A04E8916A67F06C83E30E69519@apvnyexch01.alfredpub.com> Message-ID: On 5/7/05 6:08 AM, "Christopher Bishop" wrote: > Director is crashing when I try to add a record. Does my code look > right? This is for local or server database ? > Example code: > > groupsCursor = gtheDB2.sqlSelect( "select * from grouptbl where false", > #kServer, #kReadWrite, #kRandom ) > groupsCursor.SetBlank() > groupsCursor.field("GROUPFLD").value = "New Database Text Field" > groupsCursor.field("GROUPID").value = "a440" > gcResult = groupsCursor.AddRecord() Code looks correct ... Christopher, I worry that you have so many troubles. Please contact me off list. I will give you my and Igor's ICQ. We need faster way of communication to resolve this problems. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From vidal_olivier at yahoo.fr Sat May 7 09:11:06 2005 From: vidal_olivier at yahoo.fr (Olivier Vidal) Date: Sat May 7 02:12:21 2005 Subject: speed In-Reply-To: References: Message-ID: <8d9101bba2d2aa95478246a009c2a844@yahoo.fr> ok thank you kem ! olivier Le 7 mai 05, ? 08:27, Kem Tekinay a ?crit : > On 5/7/05 2:17 AM, Olivier Vidal at vidal_olivier@yahoo.fr wrote: > >> Franck, Kem, what are the differences between your listboxs and the >> datagrid? > > Mine works just like the standard ListBox, except that it requests > data for > every row that it will display rather than making you load it all at > once. > It also handles non-contiguous selections and drag and drop, something > that > DataGrid does not currently handle. Editing data works just like the > standard ListBox, except that all interaction uses your database index. > > In fact, because the Data-On-Demand ListBox is a ListBox subclass, you > can > drop it into your project with little modification. > > I have an example in my project specifically for V4RB2: > > > > _______________________________________________________________________ > ___ > Kem Tekinay (212) > 201-1465 > MacTechnologies Consulting Fax (914) > 242-7294 > 545 Eighth Avenue, Suite 401 Pager (917) > 491-5546 > New York, New York 10018 > http://www.mactechnologies.com > > To join the MacTechnologies Consulting mailing list, send an e-mail to: > mactechnologies_consulting-subscribe@yahoogroups.com > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From vidal_olivier at yahoo.fr Sat May 7 09:16:08 2005 From: vidal_olivier at yahoo.fr (Olivier Vidal) Date: Sat May 7 02:17:19 2005 Subject: speed In-Reply-To: References: Message-ID: <323020c7df60a4429ab90dd64af11f13@yahoo.fr> > > I will recommend to load only required fields also, > As I have describe in example 5 from 100 fields. > Only if we use SQL... With the API (V4RB), we cannot always load that some fields. olivier From vidal_olivier at yahoo.fr Sat May 7 09:24:20 2005 From: vidal_olivier at yahoo.fr (Olivier Vidal) Date: Sat May 7 02:25:29 2005 Subject: UTF8 Message-ID: <8f20b391cc0e2a1595be9a3f194646db@yahoo.fr> Hi Ruslan, I saw that there were fewer problems now on the mantis. Good work ! Do you think you can now begin the optimization of the speed and the implementation of UTF8 in V4RB2? thank you olivier From sunshine at public.kherson.ua Sat May 7 10:26:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 02:26:29 2005 Subject: speed In-Reply-To: <323020c7df60a4429ab90dd64af11f13@yahoo.fr> Message-ID: On 5/7/05 10:16 AM, "Olivier Vidal" wrote: >> I will recommend to load only required fields also, >> As I have describe in example 5 from 100 fields. >> > > Only if we use SQL... > With the API (V4RB), we cannot always load that some fields. This can change. We plan optimization to load only required fields.. Not sure if we will be able implement this... Here many BUTS and ORs. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Sat May 7 03:31:28 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sat May 7 02:31:34 2005 Subject: speed In-Reply-To: <72F4D8D3-0268-471A-A7DC-B133D559C429@sailer-online.de> Message-ID: On 5/7/05 2:58 AM, Claudius Sailer at Claudius@sailer-online.de wrote: > Is this functionality also > supported from your solution? Sure. The Data-On-Demand ListBox asks you to fill in the cells of a row, but doesn't really care where you get that data from. It's up to you to manage that. For example, in the RequestRowData(dataRow) event, you can fill in data from dataRow +1 or dataRow -1. It's up to you to make sure that the index is still within a valid range. > I also use backgroundcoloring of every second row ;-)) The included examples do too. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From vidal_olivier at yahoo.fr Sat May 7 09:32:52 2005 From: vidal_olivier at yahoo.fr (Olivier Vidal) Date: Sat May 7 02:34:03 2005 Subject: speed In-Reply-To: References: Message-ID: <795f8fcbe5a79d48ff347f4655cae9f7@yahoo.fr> We hope A LOT that you will can Ruslan! thank you olivier Le 7 mai 05, ? 09:26, Ruslan Zasukhin a ?crit : > This can change. > > We plan optimization to load only required fields.. > Not sure if we will be able implement this... > Here many BUTS and ORs. From sunshine at public.kherson.ua Sat May 7 10:52:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 02:52:49 2005 Subject: UTF8 In-Reply-To: <8f20b391cc0e2a1595be9a3f194646db@yahoo.fr> Message-ID: On 5/7/05 10:24 AM, "Olivier Vidal" wrote: Hi Oliver, > I saw that there were fewer problems now on the mantis. Good work ! > Do you think you can now begin the optimization of the speed and the > implementation of UTF8 in V4RB2? Yes, on Monday we will start new optimization. We need put our FAT on cache. It was bad lack, we have miss this area. So it is not cached now and touch disk each time. This slow down a lots. Also right today I start develop Valentina for Revolution. And we will start prepare "Valentina C++ SDK" Igor will need implement this month SQL load dump and encryption. Also we plan to add asynchronous talk for client/server, like Postgre have. This is main points for May. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From vidal_olivier at yahoo.fr Sat May 7 10:17:13 2005 From: vidal_olivier at yahoo.fr (Olivier Vidal) Date: Sat May 7 03:18:31 2005 Subject: UTF8 In-Reply-To: References: Message-ID: Le 7 mai 05, ? 09:52, Ruslan Zasukhin a ?crit : > Yes, on Monday we will start new optimization. > We need put our FAT on cache. > > It was bad lack, we have miss this area. So it is not cached now and > touch > disk each time. This slow down a lots. OK, very good ! But it is pity that the implementation of the UTF8 is not still priority... I think that that would boost Valentina a lot (90 % of the needs of speed are on texts) for a lot of people (it has to have 50 to 70 % of the customers of Valentina there who need the UTF8 I think ?). Furthermore, the size of databases would be strongly decreased (the majority of databases consist largely of texts). thank you olivier From sunshine at public.kherson.ua Sat May 7 12:30:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 04:31:01 2005 Subject: UTF8 In-Reply-To: Message-ID: On 5/7/05 11:17 AM, "Olivier Vidal" wrote: > >> Yes, on Monday we will start new optimization. >> We need put our FAT on cache. >> >> It was bad lack, we have miss this area. So it is not cached now and >> touch >> disk each time. This slow down a lots. > > OK, very good ! > > But it is pity that the implementation of the UTF8 is not still > priority... I think this will happens in June Btw. I have made small test SQL Lite vs Valentina. Just one string field and few numeric. Add 100k and 1M of records. Size of Valentina database is 30% less, even although Valentina Store data as UTF16. This was without indexes. Indexes even more add diference. > I think that that would boost Valentina a lot (90 % of the needs of > speed are on texts) for a lot of people (it has to have 50 to 70 % of > the customers of Valentina there who need the UTF8 I think ?). Probably. > Furthermore, the size of databases would be strongly decreased (the > majority of databases consist largely of texts). -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jules.jacquot at wanadoo.fr Sat May 7 11:48:02 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sat May 7 04:47:07 2005 Subject: speed In-Reply-To: References: Message-ID: <09DF4C97-01BE-4C69-84EC-0C715A3E8A12@wanadoo.fr> Le 7 mai 05 ? 08:05, Ruslan Zasukhin a ?crit : > On 5/7/05 8:30 AM, "Jules Jacquot" wrote: > > Hi Jules, > > Asnwer is next: > > * Listbox of REALBasic is not intended to show records of database. > > when you work with listbox you must read from db each field of > cursor > and each record. I know and i undertand it > > * viSQL do more smart work I think. It ask only values which must > be shown > right now. I.e. You can have 100 fields In cursor, but window can > show only > 5, so what sense read rest 95 fields ? sorry to show 26 records and 11 fields in cursor , viSQL set 0,01 sec and my app 1,6 sec same listboxs of RB 5.5.5 i'm trying why jules > -------------------------------------------------------------------- Il faut faire vite ce qui ne presse pas pour pouvoir faire lentement ce qui presse From Claudius at sailer-online.de Sat May 7 12:07:02 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat May 7 05:07:12 2005 Subject: speed In-Reply-To: <09DF4C97-01BE-4C69-84EC-0C715A3E8A12@wanadoo.fr> References: <09DF4C97-01BE-4C69-84EC-0C715A3E8A12@wanadoo.fr> Message-ID: Am 07. Mai 2005 um 11:48 Uhr schrieb Jules Jacquot: > sorry > > to show 26 records and 11 fields in cursor , > > viSQL set 0,01 sec and my app 1,6 sec > > same listboxs of RB 5.5.5 this seems to be extremely worse. I have 8 columns and 3000 rows from cursor to ListBox in RB 5.5.3 and it takes 0,5sec with V4RB1.x and 2-3sec with V4RB2. Could you post some code? I believe this coding is not really optimized. A really good thing is e.g. CurBuchungen=V4RBSQLSelect(meineDatenbank,SQLString) Ende=CurBuchungen.RecordCount //ListBox f?llen L=ListBox1 L.DeleteAllRows //Cursordefinitionen fuer Performance string1=CurBuchungen.StringField(2) //BDatum string2=CurBuchungen.StringField(3) //Gegenkonto string3=CurBuchungen.StringField(4) //Kategorie string4=CurBuchungen.StringField(7) // Kommentar Ein=CurBuchungen.LongField(6) //Einnahme Aus=CurBuchungen.LongField(5) //Ausgabe //ListBox fuellen For i=1 to Ende CurBuchungen.Position=i L.addrow string1.GetString NeueZeile=L.LastIndex L.cell(NeueZeile,1)=string2.GetString'ZielKonto next this speeds up. And I have 2 Listboxes. One of PagePanel 1 and second of OPagePanel 2. When I fill ListBox 1 I change to pagepanel where nothing is happen. This speed up too. bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.3 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From rbarber at yhb.att.ne.jp Sat May 7 19:33:04 2005 From: rbarber at yhb.att.ne.jp (ron barber) Date: Sat May 7 05:33:14 2005 Subject: UTF8 In-Reply-To: References: Message-ID: <7d031c9c51f32061515484ee1fea56f7@yhb.att.ne.jp> HURRAY!!!! (as in yea! not hurry ; ) Can't wait. Thanks Ruslan Ron On May 7, 2005, at 4:52 PM, Ruslan Zasukhin wrote: > > Also right today I start develop Valentina for Revolution. > This is main points for May. From sunshine at public.kherson.ua Sat May 7 13:54:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 05:54:37 2005 Subject: UTF8 In-Reply-To: <7d031c9c51f32061515484ee1fea56f7@yhb.att.ne.jp> Message-ID: On 5/7/05 1:33 PM, "ron barber" wrote: > HURRAY!!!! (as in yea! not hurry ; ) > > Can't wait. :-) First question: Revolution support Unicode ? UTF8 or UTF16 internally? If you know of course .... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rbarber at yhb.att.ne.jp Sat May 7 20:26:35 2005 From: rbarber at yhb.att.ne.jp (ron barber) Date: Sat May 7 06:26:43 2005 Subject: UTF8 In-Reply-To: References: Message-ID: <779c1d649ab5c25557a1f42c6cf4ec76@yhb.att.ne.jp> UTF16 next question On May 7, 2005, at 7:54 PM, Ruslan Zasukhin wrote: > On 5/7/05 1:33 PM, "ron barber" wrote: > >> HURRAY!!!! (as in yea! not hurry ; ) >> >> Can't wait. > > :-) > > First question: > > Revolution support Unicode ? > > UTF8 or UTF16 internally? > If you know of course .... > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sat May 7 14:41:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 06:41:28 2005 Subject: UTF8 In-Reply-To: <779c1d649ab5c25557a1f42c6cf4ec76@yhb.att.ne.jp> Message-ID: On 5/7/05 2:26 PM, "ron barber" wrote: > UTF16 > > next question In REALbasic we have syntax class.proeprty = 5 As I understand, Revolution (even in native format) do not have sych syntax? All we have in only methods, right ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat May 7 07:56:59 2005 From: jda at his.com (jda) Date: Sat May 7 06:57:13 2005 Subject: UTF8 In-Reply-To: References: Message-ID: >Yes, on Monday we will start new optimization. >We need put our FAT on cache. > >It was bad lack, we have miss this area. So it is not cached now and touch >disk each time. This slow down a lots. > > >Also right today I start develop Valentina for Revolution. >And we will start prepare "Valentina C++ SDK" > >Igor will need implement this month SQL load dump and encryption. > >Also we plan to add asynchronous talk for client/server, like Postgre have. > >This is main points for May. > Hi Ruslan, It's great you are getting to these, but there are still bugs in 2.0.3 that affect me (and I assume others). These are all filed on Mantis (some for many months). These include SQL assertion failures, unicode pathnames, and inability to sort on temporary fields. I ask that you clean these up as soon as possible so that the basic functions of Valentina work as they should. Thanks, Jon From rbarber at yhb.att.ne.jp Sat May 7 21:26:08 2005 From: rbarber at yhb.att.ne.jp (ron barber) Date: Sat May 7 07:26:15 2005 Subject: UTF8 In-Reply-To: References: Message-ID: <0c444df830d6ee5a79d80cfe8324ec57@yhb.att.ne.jp> > In REALbasic we have syntax > > class.proeprty = 5 > > As I understand, Revolution (even in native format) do not have sych > syntax? > > All we have in only methods, right ? Sorry, I'm not sure what the RB notation means so I can't compare it with Rev. I agree with Jon however, as I'm sure you do, that we need to get the "basic functions of Valentina" working fully. From sunshine at public.kherson.ua Sat May 7 15:29:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 07:29:23 2005 Subject: UTF8 In-Reply-To: Message-ID: On 5/7/05 2:56 PM, "jda" wrote: > Hi Ruslan, > > It's great you are getting to these, but there are still bugs in > 2.0.3 that affect me (and I assume others). These are all filed on > Mantis (some for many months). These include SQL assertion failures, > unicode pathnames, and inability to sort on temporary fields. I ask > that you clean these up as soon as possible so that the basic > functions of Valentina work as they should. Do not worry, bugs are also high priority -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jules.jacquot at wanadoo.fr Sat May 7 14:45:36 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sat May 7 07:44:39 2005 Subject: speed In-Reply-To: References: <09DF4C97-01BE-4C69-84EC-0C715A3E8A12@wanadoo.fr> Message-ID: <167F9F23-046D-406B-817E-E486A2088F14@wanadoo.fr> hi, claudius Le 7 mai 05 ? 12:07, Claudius Sailer a ?crit : > > this seems to be extremely worse. I have 8 columns and 3000 rows > from cursor to ListBox in RB 5.5.3 and it takes 0,5sec with V4RB1.x > and 2-3sec with V4RB2. Could you post some code? I believe this > coding is not really optimized. > I don't know if we are talking about the same thing I have 596 rows and 11 columns per row The total of rows is not meaningful only the number of rows which is displaying ( 26 in my case ) each time thanks jules ------------------ L'homme vulgaire accuse les autres Le sage n'accuse que lui-m?me BOUDHA l'?veill? From bjorn at einhugur.com Sat May 7 12:54:16 2005 From: bjorn at einhugur.com (=?ISO-8859-1?Q?Bj=F6rn_Eir=EDksson?=) Date: Sat May 7 08:06:52 2005 Subject: speed In-Reply-To: References: Message-ID: On 7.5.2005, at 06:27, Ruslan Zasukhin wrote: > On 5/7/05 9:17 AM, "Olivier Vidal" wrote: > >> Hi list, >> >> I try at present Datagrid of Einhugur for my program and it is >> effectively very fast! >> But it is only a container of data. >> If you want for example to modify a line of the datagrid, it is >> impossible, in theory. > > Strange. I do not see problems. > > May be we need talk to Bjorn, and if it is really cannot edit cells > then he > should improve this. > I may be misunderstanding what he is asking, but he can convert the row to static row if he wants to modify something and let it be remembered. -- ______________________________________________________________________ Bj?rn Eir?ksson bjorn@einhugur.com Einhugur Software http://www.einhugur.com/ ______________________________________________________________________ Einhugur Software has sold its products in 47 countries world wide. ______________________________________________________________________ For support: support@einhugur.com To post on the maillist: einhugur@yahoogroups.com From fred.stephenson at communication-unltd.com Sat May 7 15:18:16 2005 From: fred.stephenson at communication-unltd.com (Fred Stephenson) Date: Sat May 7 08:19:36 2005 Subject: speed In-Reply-To: <167F9F23-046D-406B-817E-E486A2088F14@wanadoo.fr> References: <09DF4C97-01BE-4C69-84EC-0C715A3E8A12@wanadoo.fr> <167F9F23-046D-406B-817E-E486A2088F14@wanadoo.fr> Message-ID: <78BC6624-BEFA-11D9-AE00-0030658FC540@communication-unltd.com> On May 7, 2005, at 2:45 PM, Jules Jacquot wrote: > hi, claudius > > Le 7 mai 05 ? 12:07, Claudius Sailer a ?crit : > >> >> this seems to be extremely worse. I have 8 columns and 3000 rows from >> cursor to ListBox in RB 5.5.3 and it takes 0,5sec with V4RB1.x and >> 2-3sec with V4RB2. Could you post some code? I believe this coding is >> not really optimized. >> > > I don't know if we are talking about the same thing > > I have 596 rows and 11 columns per row > > The total of rows is not meaningful Of course it is meaningful. How are you filling your rows? Are you filling them as you display them? are you filling them all in "assigncursor" > > only the number of rows which is displaying ( 26 in my case ) each time so are you saying that you only fill 26 rows at a time or that your list is only displaying 26 rows but that all in all you have 596 rows filled. > > thanks > > jules > > ------------------ > L'homme vulgaire accuse les autres > Le sage n'accuse que lui-m?me > > BOUDHA l'?veill? > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sat May 7 17:05:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 09:05:29 2005 Subject: [INFO] Autoincrement In-Reply-To: <1828202890.20050507164549@public.kherson.ua> Message-ID: On 5/7/05 4:45 PM, "Ivan Smahin" wrote: > Hello All, > > Some database have such feature as autoincremental fields. > Oracle has sequences. This object can be used just for getting > unique value for a number purposes (including storing this value in > any field). > > Common features of autoincremental fields: > > 1. It can be INTEGER field only. > 2. Usually it is denied to write value to such field directly, but > many DBMS allow this on your own risk (global DB parameter) > 3. Table may have only single autoincremental field. This is not > strict requirement but it is no sense to have more. > 4. Usually only uniqueness is guaranteed. It can be gaps due to the > delete operations. Some DB trying to reuse such gaps, but most of > them just increase max value. > 5. If there is overflow - error generated. > > THE HUGE COMMON PROBLEM: > > Assume we have some dump - never mind in which format - xml or > another. AutoIncremental field values also presented here as usual > fields values. > > If we plan to continue using IDENTITY field we must notice LoadDump > algorithm about this field. Its values must be recalculated very > similar to the ObjectPtr values. ( Found all "ptrs" which use this > autoincremental field and correct their values. And this task is described by all: mySQL, Oracle, SQL Lite ? They all can resolve this task of import ? > Specifics: > > SQLite: > > They have ROWID service field ( analogy of our RecID ). > Autoincrement can be applied only as part of PRIMARY KEY clause. > (Actually any INTEGER PRIMARY KEY is an alias of ROWID field. > They even allow to use both field names to point one.) > > No values reusing. Generate SQLITE_FULL on overflow. > Last used autoincrement values keeps in service table > SQLITE_SEQUENCE. > > > MySQL: > > Allows to use start autoincrement value. > > > Oracle: > > A lot of differences - there is no such terms as autoincrement > (identity) at all. Sequences are used instead. > It is special kind of object which main purpose is returning new value > of some sequence. This value can be used for imitation of identity > field functionality. > > > > Valentina: > > First possible approach: > -------------------------- > > We have reserved already schema table-property Last_AutoID. So we > can store in schema identity for each table if needed. > Also we need to have some method like > > I_TableEx::get_AutoID(). Each call will increase Last_AutoID after > return one and store new value to the schema. If max_ullong is > reached - some appropriate exception must be thrown. > > > Also we need new flag - fIdentity ( similar to fNullable and others > ). This flag must be marked in ALWAYSOFF method for all fields > except ullong. why only ullong. I think ulong also can used for this. > Field which is marked by such flag must be read only in some way. > Such field must be registered in the table as identity field. > > So if Table::AddRecord() called - Table put incremented value self > to this field - just before WriteRecord(). > > > Second possible approach: > -------------------------- > I don't see any reason to introduce identity fields. We have the > structure very similar to Oracle - RecID. It is always unique and > autogenerated. It's even reusable. > > The only one thing which can't be done in Oracle is make its ROWID > pseudo-field as Primary key. So you can't use it in this way. > > But it seems we can use our RecID in such a way. A lot of tests is > all that we need. > > And this approach is only for those who want to use RDB link instead of > more natural ObjectPtr in this situation. > > The common tip must be next: Use ObjectPtr wherever you need some > IDENTITY. Ivan, so you claim that Valentina's RecID is more than enough ? And you say that user can in Relational model to use RecID field as KEY field to be used by some FOREIGN KEY? I.e. This will work for 2.0: CREATE TABLE T2( T1_PTR ULONG FOREIGN KEY T1(recID) ) Okay, taking this into account may be we really even do not need this AutoPtr fields. Just use our cool RecID? Guys, what you think? Anybody want to play with such combination: RecID as key field, and FOREIGN KEY as link -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From macsforever2000 at goodeast.com Sat May 7 08:45:40 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Sat May 7 09:45:57 2005 Subject: speed In-Reply-To: <48e12a292c6e13fd6f58a3996421dc7d@yahoo.fr> References: <7F5FEDB2-3E3D-49E7-8349-1C5BAF76D6F0@wanadoo.fr> <48e12a292c6e13fd6f58a3996421dc7d@yahoo.fr> Message-ID: Hi olivier, On May 7, 2005, at 12:17 AM, Olivier Vidal wrote: > I try at present Datagrid of Einhugur for my program and it is > effectively very fast! > But it is only a container of data. > If you want for example to modify a line of the datagrid, it is > impossible, in theory. > It is thus very fast, but a little more complicated to program and > less flexible. > > Franck, Kem, what are the differences between your listboxs and the > datagrid? I really have 2 dynamic listboxes. The first one is used in ViSQL. I modified an open source one and used that. The second one is much newer, I needed one that worked better without the visual glitches (and occasional out of bounds exceptions) of the first one as well as has more features I needed. This one has not been made public yet in any form. I am currently only planning to use it in my also unreleased financial application. Both use the same basic principal. Bind a VCursor to a listbox with a separate scrollbar. They are very fast because they only retrieve data from the visible cells. Scrolling is essentially instantaneous. I have not used the Einhugur Datagrid so I cannot say what the differences are. Best regards, Frank Schima From macsforever2000 at goodeast.com Sat May 7 08:52:54 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Sat May 7 09:53:03 2005 Subject: speed In-Reply-To: <72F4D8D3-0268-471A-A7DC-B133D559C429@sailer-online.de> References: <72F4D8D3-0268-471A-A7DC-B133D559C429@sailer-online.de> Message-ID: <62F3677D-1043-4569-A51D-9027D0C0B72F@goodeast.com> Hi Claudius, On May 7, 2005, at 12:58 AM, Claudius Sailer wrote: > The reason why I have to use RB-ListBox is, that I have a column > that shows the result from cell one row higher + - values from > actual row. This is what I have to do for every row. Is this > functionality also supported from your solution? So you want something like a running total column? Mine cannot directly handle that. The problem is that the total must be calculated starting from the first row and so you cannot simply read, for example, rows 1000-1050 and know what should have been in row 999. The workaround would be to create a temp table with a running total field and then create a VCursor from that temp table. > I also use backgroundcoloring of every second row ;-)) My new one does that. :^) Best regards, Frank From macsforever2000 at goodeast.com Sat May 7 08:59:22 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Sat May 7 09:59:32 2005 Subject: speed In-Reply-To: <09DF4C97-01BE-4C69-84EC-0C715A3E8A12@wanadoo.fr> References: <09DF4C97-01BE-4C69-84EC-0C715A3E8A12@wanadoo.fr> Message-ID: On May 7, 2005, at 3:48 AM, Jules Jacquot wrote: > to show 26 records and 11 fields in cursor , > > viSQL set 0,01 sec and my app 1,6 sec > > same listboxs of RB 5.5.5 > > i'm trying why That is much too slow. It should be an instant to display that little information. There must be a bottleneck in your code. As suggested before, maybe post some code. Best regards, Frank Schima From IvanSmahin at public.kherson.ua Sat May 7 17:46:05 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sat May 7 10:11:21 2005 Subject: [INFO] Autoincrement In-Reply-To: References: <1828202890.20050507164549@public.kherson.ua> Message-ID: Hello Ruslan, Saturday, May 7, 2005, 5:05:22 PM, you wrote: RZ> On 5/7/05 4:45 PM, "Ivan Smahin" RZ> wrote: >> Hello All, >> >> Some database have such feature as autoincremental fields. >> Oracle has sequences. This object can be used just for getting >> unique value for a number purposes (including storing this value in >> any field). >> >> Common features of autoincremental fields: >> >> 1. It can be INTEGER field only. >> 2. Usually it is denied to write value to such field directly, but >> many DBMS allow this on your own risk (global DB parameter) >> 3. Table may have only single autoincremental field. This is not >> strict requirement but it is no sense to have more. >> 4. Usually only uniqueness is guaranteed. It can be gaps due to the >> delete operations. Some DB trying to reuse such gaps, but most of >> them just increase max value. >> 5. If there is overflow - error generated. >> >> THE HUGE COMMON PROBLEM: >> >> Assume we have some dump - never mind in which format - xml or >> another. AutoIncremental field values also presented here as usual >> fields values. >> >> If we plan to continue using IDENTITY field we must notice LoadDump >> algorithm about this field. Its values must be recalculated very >> similar to the ObjectPtr values. ( Found all "ptrs" which use this >> autoincremental field and correct their values. RZ> And this task is described by all: mySQL, Oracle, SQL Lite ? RZ> They all can resolve this task of import ? As a rule there is no automation. Just some tips and tricks for proper load such dump. The same is true for replication purpose. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua _______________________________________________ Vdevelopers mailing list Vdevelopers@paradigma.ukrcom.kherson.ua http://192.168.2.1/mailman/listinfo/vdevelopers From sunshine at public.kherson.ua Sat May 7 18:24:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 10:24:40 2005 Subject: [ALL] PLEASE INFORM ME about any showstopers in your projects Message-ID: Hi All, I want ask you again drop message to Valentina Beta list about what show stopper bugs you have with 2.0.3. If some issue do have workaround please not report it. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Sat May 7 17:59:09 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat May 7 10:59:18 2005 Subject: [ALL] PLEASE INFORM ME about any showstopers in your projects In-Reply-To: References: Message-ID: <4A7BD2F0-7E79-455C-8A4B-57F250714B3F@sailer-online.de> Am 07. Mai 2005 um 17:24 Uhr schrieb Ruslan Zasukhin: > Hi All, > > I want ask you again drop message to Valentina Beta list > about what show stopper bugs you have with 2.0.3. > > If some issue do have workaround please not report it. #619 #725 Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.3 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sat May 7 19:02:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 11:03:04 2005 Subject: V4RB 2.0.3 and REALbasic2005b7 actually works Message-ID: Hi All, I have test it, and this is what I have found 1) if I open Example_1_x/SingleTable then it works absolutely good. Only glitches I see here that menu items are in the wrong menus. 2) if I try to open other V4RB examples, which have dependency on our shared external modules, then RB b7 on open of project show dialog: Unable to open external file: G5:Applications:REALBasic2005b7 MacOS X: Although external itself is locates absolutely in other location. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat May 7 19:15:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 11:15:14 2005 Subject: V4RB 2.0.3 and REALbasic2005b7 actually works In-Reply-To: Message-ID: On 5/7/05 7:03 PM, "Ruslan Zasukhin" wrote: I have submit bug on this hrpgvdxd http://www.realsoftware.com/feedback/viewreport.php?reportid=hrpgvdxd -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From lists at mangomultimedia.com Sat May 7 10:14:07 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat May 7 12:14:14 2005 Subject: UTF8 In-Reply-To: References: Message-ID: On May 7, 2005, at 4:41 AM, Ruslan Zasukhin wrote: > On 5/7/05 2:26 PM, "ron barber" wrote: > >> UTF16 >> >> next question > > In REALbasic we have syntax > > class.proeprty = 5 > > As I understand, Revolution (even in native format) do not have sych > syntax? > > All we have in only methods, right ? This is correct. Also, in the Revolution version this time it would be great if you could add SQL binding (UPDATE MYTABLE SET Name = :1, myNameVar). This was missing from version 1. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From sunshine at public.kherson.ua Sat May 7 21:24:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 7 13:24:57 2005 Subject: UTF8 In-Reply-To: Message-ID: On 5/7/05 8:14 PM, "Trevor DeVore" wrote: >> All we have in only methods, right ? > > This is correct. Also, in the Revolution version this time it would be > great if you could add SQL binding (UPDATE MYTABLE SET Name = :1, > myNameVar). This was missing from version 1. Really? Many products did have this, of course in 2.0 we will add binding, Because now it works much better. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From snw at paradise.net.nz Sun May 8 10:36:34 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Sat May 7 17:42:02 2005 Subject: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' In-Reply-To: References: <6.2.1.2.2.20050507183841.03966eb0@pop3.paradise.net.nz> Message-ID: <6.2.1.2.2.20050508102547.03a4f180@pop3.paradise.net.nz> >Ah, he try create MAC projector on Widows. > >We already have discuss that better to use MAC for this. Of course it better to use a Mac to create a Mac projector. But the fact remains that with Director MX2004 it is /possible/ to create a Mac projector from a PC. This is useful for developers who may not have a Mac, or access to one, or (more importantly) who don't want/need to stump up for a separate licence for Director Mac. If you look in the %Director MX 2004%\Configuration\Cross Platform Resources\ folder of your Windows copy of Director, you find split xtras for (most) of the Macromedia xtras that ship with the product. It is these xtras in this folder (along with the xtrainfo.txt file for name resolution) that permits Windows Director to publish projectors for Macintosh. As you know, however, the Windows file system can't touch a Mac file without damaging it - so the xtras are provided split into the resource and data forks and are recombined at publish time *into* the projector. Again, in order to publish a Mac projector from Windows, a developer needs split copies of all the xtras the projector requires. If he/she is using Valentina then they'll need a split copy of the Mac xtra for the above mentioned folder. I think it is incumbent on Paradigma to provide this split xtra to its user base. It isn't a difficult process - I already posted a link to a utility that will do it for you; but it *must* be done on a Mac. >In any case you need test your mac projector. But as you know, you can get your end users to do this for you ;-) Cheers, -Sean. From jules.jacquot at wanadoo.fr Sun May 8 06:51:16 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sat May 7 23:50:11 2005 Subject: speed In-Reply-To: <78BC6624-BEFA-11D9-AE00-0030658FC540@communication-unltd.com> References: <09DF4C97-01BE-4C69-84EC-0C715A3E8A12@wanadoo.fr> <167F9F23-046D-406B-817E-E486A2088F14@wanadoo.fr> <78BC6624-BEFA-11D9-AE00-0030658FC540@communication-unltd.com> Message-ID: <4C3C087F-A196-47EA-9890-62E65090BDF4@wanadoo.fr> Le 7 mai 05 ? 15:18, Fred Stephenson a ?crit : > > On May 7, 2005, at 2:45 PM, Jules Jacquot wrote: > > >> hi, claudius >> >> Le 7 mai 05 ? 12:07, Claudius Sailer a ?crit : >> >> >>> >>> this seems to be extremely worse. I have 8 columns and 3000 rows >>> from cursor to ListBox in RB 5.5.3 and it takes 0,5sec with >>> V4RB1.x and 2-3sec with V4RB2. Could you post some code? I >>> believe this coding is not really optimized. >>> >>> >> >> I don't know if we are talking about the same thing >> >> I have 596 rows and 11 columns per row >> >> The total of rows is not meaningful >> > > Of course it is meaningful. > How are you filling your rows? Are you filling them as you display > them? yes > > >> >> only the number of rows which is displaying ( 26 in my case ) each >> time >> > > > so are you saying that you only fill 26 rows at a time or that your > list is only displaying 26 rows but that all in all you have 596 > rows filled. my list is only displaying 26 rows at a time and the rest is empty ( rows="") thanks jules >> _______________________________________________ >> 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 > > O? passeras-tu l'Eternit? ? From jules.jacquot at wanadoo.fr Sun May 8 06:51:32 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sat May 7 23:50:19 2005 Subject: speed In-Reply-To: <167F9F23-046D-406B-817E-E486A2088F14@wanadoo.fr> References: <09DF4C97-01BE-4C69-84EC-0C715A3E8A12@wanadoo.fr> <167F9F23-046D-406B-817E-E486A2088F14@wanadoo.fr> Message-ID: <8F036454-A5B5-4B63-B0D6-7600B7DA8362@wanadoo.fr> My problem is solved the duration is 0,02 sec i'm happy thanks for all replies jules --------------------------------------------------------------------- Il faut faire vite ce qui ne presse pas pour pouvoir faire lentement ce qui presse From Claudius at sailer-online.de Sun May 8 08:20:43 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun May 8 01:20:50 2005 Subject: speed In-Reply-To: <8F036454-A5B5-4B63-B0D6-7600B7DA8362@wanadoo.fr> References: <09DF4C97-01BE-4C69-84EC-0C715A3E8A12@wanadoo.fr> <167F9F23-046D-406B-817E-E486A2088F14@wanadoo.fr> <8F036454-A5B5-4B63-B0D6-7600B7DA8362@wanadoo.fr> Message-ID: <9BFA9CF2-52A3-4BFD-AEC6-4E18CE4106F1@sailer-online.de> Am 08. Mai 2005 um 06:51 Uhr schrieb Jules Jacquot: > > My problem is solved > > the duration is 0,02 sec > > i'm happy > > thanks for all replies and what was the solution? how do you fixed it? Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.3 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sun May 8 09:36:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 8 01:36:38 2005 Subject: V4RB - Compound index In-Reply-To: <19242713.1115529910531.JavaMail.root@statler.psp.pas.earthlink.net> Message-ID: On 5/8/05 8:25 AM, "Anna Kritselis" wrote: Hi Anna, > I need to build a unique, compound index using three vulong fields (actually > they could be ObjectPtrs). I read a post from June 2003 and you suggest using > vullong data type and method using shiftleft - > > I tried testing with just one field and the application just hangs - > > mCompoundIndex = new vullong("CIndex", EVFlag.Unique, > "bitwise.shiftleft(f1,20)") "bitwise.shiftleft(f1,20)" -- what is this ? I think you have use REALbasic syntax. Valentina syntax is "f1 << 20" Ivan, please check why it hangs with Anna code. Anna, Also note, since you need 3 fields, I think only way to make Method as string and concate values of ObjectPtr fields mCompoundIndex = new VString("CIndex", 11 * 3, EVFlag.Unique, "concat(f1,f2,f3)") May be better to use VarChar, because ID will not always be 11 chars. So String will waste space -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun May 8 09:45:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 8 01:46:05 2005 Subject: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' In-Reply-To: <6.2.1.2.2.20050508102547.03a4f180@pop3.paradise.net.nz> Message-ID: On 5/8/05 1:36 AM, "Sean Wilson" wrote: Hi Sean, > Again, in order to publish a Mac projector from Windows, a developer needs > split copies of all the xtras the projector requires. If he/she is using > Valentina then they'll need a split copy of the Mac xtra for the above > mentioned folder. I think it is incumbent on Paradigma to provide this > split xtra to its user base. It isn't a difficult process - I already > posted a link to a utility that will do it for you; but it *must* be done > on a Mac. And this should be on our FTP as separate archive ? Just I never have see this e.g. on V12 site. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jules.jacquot at wanadoo.fr Sun May 8 10:53:42 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sun May 8 03:52:42 2005 Subject: speed In-Reply-To: <9BFA9CF2-52A3-4BFD-AEC6-4E18CE4106F1@sailer-online.de> References: <09DF4C97-01BE-4C69-84EC-0C715A3E8A12@wanadoo.fr> <167F9F23-046D-406B-817E-E486A2088F14@wanadoo.fr> <8F036454-A5B5-4B63-B0D6-7600B7DA8362@wanadoo.fr> <9BFA9CF2-52A3-4BFD-AEC6-4E18CE4106F1@sailer-online.de> Message-ID: <5BDE9342-810B-4AFB-9A28-EEA62C6E9303@wanadoo.fr> Le 8 mai 05 ? 08:20, Claudius Sailer a ?crit : > > Am 08. Mai 2005 um 06:51 Uhr schrieb Jules Jacquot: > > >> >> My problem is solved >> >> the duration is 0,02 sec >> >> i'm happy >> >> thanks for all replies >> > > and what was the solution? > how do you fixed it? nothing i was sure that my code was correct and i didn't undestood why it didn't work. when subito, all become clear i'm running under OS 10.4 ruslan, maybe the tiger doesn't like Valentina ? :-)) now, that is the UpdateRecord which doesn't work. :-(( i'm going to train this wild animal. best jules > > Claudius > > -- > G4/733 QS / MacOS X 10.4de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.3 > Homepage http://www.ClaSai.de > iChat ryhoruk > RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > O? passeras-tu l'Eternit? ? From sunshine at public.kherson.ua Sun May 8 13:11:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 8 05:11:48 2005 Subject: speed In-Reply-To: <5BDE9342-810B-4AFB-9A28-EEA62C6E9303@wanadoo.fr> Message-ID: On 5/8/05 11:53 AM, "Jules Jacquot" wrote: >>> My problem is solved >>> >>> the duration is 0,02 sec >>> >>> i'm happy >>> >>> thanks for all replies >>> >> >> and what was the solution? >> how do you fixed it? > nothing > > i was sure that my code was correct and i didn't undestood why it > didn't work. > > when subito, all become clear > > i'm running under OS 10.4 > > ruslan, maybe the tiger doesn't like Valentina ? :-)) > > now, that is the UpdateRecord which doesn't work. :-(( > > i'm going to train this wild animal. You mean that Tiger works slower than 10.3 ? Time 0.02 second -- where you have got it and how ??? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jules.jacquot at wanadoo.fr Sun May 8 17:03:58 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sun May 8 10:02:57 2005 Subject: speed In-Reply-To: References: Message-ID: Le 8 mai 05 ? 12:11, Ruslan Zasukhin a ?crit : > > You mean that Tiger works slower than 10.3 ? No. I assume that there is something which prevent the good progress of my app what ? i don't know. Needless, it has vanished ( i hope ) now, maybe it is coming from RB ? Who knows ? i have noticed that under Tiger, RB take a long time for to read the printersetup > > Time 0.02 second -- where you have got it and how ??? adapt ViSQL best jules > ------------------------------------------------------ R?ussir dans la vie, c'est ?chouer au bon endroit Jean-Baptiste de Foucauld From sunshine at public.kherson.ua Sun May 8 22:26:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 8 14:26:27 2005 Subject: VXCMD 1.x and Revolution 2.1 Message-ID: Hi All, Hi Tuviah, I have start develop Valentina for Revolution 2.0 But still cannot even make it work. So I have decide try to run latest VXCMD. Revolution 2.1 already contains inside VXCMD_Macho. So I have just open our example, Correct external to point that VXCMD_Macho. Run and it not works. What I do not correctly ? As I understand many VXCMD developers use Revolution 2.1. Please advice, I do not see what is going on and where is problem. ------------- 2) Tuviah, I have to see that Rev 2.1 comes with very old version of VXCMD. Something as 1.9 beta. When I have try remove VXCMD_Classic shared library from rev folder, Revolution just stop to start. IMHO this is not good, you should use weak linking to shared libs, Than more to Valentina. I now wonder, how people are able to use VXCMD of newer versions? * You drop newer VXCMD into REV folder and in the stack point it ? * This do not cause conflict of 2 shared libs ? REALbasic in this case become crazy. ------------- 3) Tuviah, One more question. I do not see how external do get unicode strings. I see that comes Mcstring, it is of char*. And I assume this is not UTF8 So how Revolution talk to externals with unicode ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From diskot123 at juno.com Sun May 8 19:59:11 2005 From: diskot123 at juno.com (diskot123@juno.com) Date: Sun May 8 15:02:01 2005 Subject: VXCMD 1.x and Revolution 2.1 Message-ID: <20050508.130003.28795.138041@webmail18.lax.untd.com> I haven't worked for Revolution for months and don't anymore. Suggest you contact support@runrev.com -- Ruslan Zasukhin wrote: Return-Path: Received: from mx20.lax.untd.com (mx20.lax.untd.com [10.130.24.80]) by maildeliver31.lax.untd.com with SMTP id AABBH6389AJ9V4Q2 for (sender ); Sun, 8 May 2005 12:26:23 -0700 (PDT) Received: from main.ukrcom.kherson.ua (ns.ukrcom.kherson.ua [193.109.128.34]) by mx20.lax.untd.com with SMTP id AABBH6388A4DA6MS for (sender ); Sun, 8 May 2005 12:26:22 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by main.ukrcom.kherson.ua (Postfix) with ESMTP id 8EB9F3E7C3; Sun, 8 May 2005 22:26:20 +0300 (EEST) Received: from main.ukrcom.kherson.ua ([127.0.0.1]) by localhost (smtp.ukrcom.kherson.ua [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28427-04; Sun, 8 May 2005 22:26:20 +0300 (EEST) Received: from [192.168.2.4] (paradigma.ukrcom.kherson.ua [193.109.129.236]) by main.ukrcom.kherson.ua (Postfix) with ESMTP id 5A83C3E7BF; Sun, 8 May 2005 22:26:20 +0300 (EEST) User-Agent: Microsoft-Entourage/11.0.0.040405 Date: Sun, 08 May 2005 22:26:19 +0300 Subject: VXCMD 1.x and Revolution 2.1 From: Ruslan Zasukhin To: "valentina@lists.macserve.net" , Tuviah M Snyder Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Scanned: by amavisd-new using ClamAV at ukrcom.kherson.ua X-ContentStamp: 14:7:1291713180 X-MAIL-INFO:0389a441b454ed4041d43919c43484c48511a1adad0091a0e4e5008d59006170 X-UNTD-Peer-Info: 193.109.128.34|ns.ukrcom.kherson.ua|main.ukrcom.kherson.ua|sunshine@public.kherson.ua X-UNTD-UBE:-1 Hi All, Hi Tuviah, I have start develop Valentina for Revolution 2.0 But still cannot even make it work. So I have decide try to run latest VXCMD. Revolution 2.1 already contains inside VXCMD_Macho. So I have just open our example, Correct external to point that VXCMD_Macho. Run and it not works. What I do not correctly ? As I understand many VXCMD developers use Revolution 2.1. Please advice, I do not see what is going on and where is problem. ------------- 2) Tuviah, I have to see that Rev 2.1 comes with very old version of VXCMD. Something as 1.9 beta. When I have try remove VXCMD_Classic shared library from rev folder, Revolution just stop to start. IMHO this is not good, you should use weak linking to shared libs, Than more to Valentina. I now wonder, how people are able to use VXCMD of newer versions? * You drop newer VXCMD into REV folder and in the stack point it ? * This do not cause conflict of 2 shared libs ? REALbasic in this case become crazy. ------------- 3) Tuviah, One more question. I do not see how external do get unicode strings. I see that comes Mcstring, it is of char*. And I assume this is not UTF8 So how Revolution talk to externals with unicode ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From lists at mangomultimedia.com Sun May 8 14:48:34 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun May 8 16:48:48 2005 Subject: VXCMD 1.x and Revolution 2.1 In-Reply-To: References: Message-ID: <6E3AE9B0-DBB7-4542-BFF8-B662FB04A443@mangomultimedia.com> On May 8, 2005, at 12:26 PM, Ruslan Zasukhin wrote: > > I have start develop Valentina for Revolution 2.0 > But still cannot even make it work. > > So I have decide try to run latest VXCMD. > Revolution 2.1 already contains inside VXCMD_Macho. > So I have just open our example, > Correct external to point that VXCMD_Macho. > Run and it not works. > > What I do not correctly ? > > As I understand many VXCMD developers use Revolution 2.1. > > Please advice, I do not see what is going on and where is problem. Ruslan, Revolution has two ways of using Valentina. The VXCMD_Macho that you see included with Revolution is for use with revDB (db abstraction layer in Revolution). Looking at the package contents it appears that they use the C or C++ API rather than the VXCMD in order to work with revDB. This means you can't use the Valentina VXCMD call. To test the using the VXMD just put the VXCMD in your Revolution folder and set the externals property of your stack: set the externals of stack "MyStack" to "VXCMD_Macho_MC" Quit Revolution and restart so the externals are properly loaded (there are others ways to do this, this is the simplest). Now if you type: put the externalPackages of stack "MyStack" in the message box you should see "Valentina XCMD" or something like that. You can now use the Valentina VXCMD calls in your stack with the latest version. > ------------- > 3) Tuviah, > > One more question. I do not see how external do get unicode strings. > I see that comes Mcstring, it is of char*. > And I assume this is not UTF8 > > So how Revolution talk to externals with unicode ? As Tuviah mentioned, you will have to talk to the support guys at Revolution about this. The revDB database layer does support unicode but as for externals I'm not sure. I haven't had to use Unicode in programming externals. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From snw at paradise.net.nz Mon May 9 10:16:40 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Sun May 8 17:18:01 2005 Subject: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' In-Reply-To: References: <6.2.1.2.2.20050508102547.03a4f180@pop3.paradise.net.nz> Message-ID: <6.2.1.2.2.20050509095641.035f7520@pop3.paradise.net.nz> > > I think it is incumbent on Paradigma to provide this > > split xtra to its user base. > >And this should be on our FTP as separate archive ? > >Just I never have see this e.g. on V12 site. I can't speak for INM (or any other xtra publisher) but if you download the Arca DB Xtra from Tabuleiro, their Windows archive contains split versions of the same xtra for Classic and OSX. As far as /service/ goes, for Director developers this is in the arena of "icing on the cake" :-) - though I guess I'd rather it wasn't in the Windows archive by default, but available as a separate download. Cheers, -Sean. From sunshine at public.kherson.ua Mon May 9 01:37:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 8 17:37:42 2005 Subject: V4MD: When making MAC projector, Xtra error 'can't find the Xtra' In-Reply-To: <6.2.1.2.2.20050509095641.035f7520@pop3.paradise.net.nz> Message-ID: On 5/9/05 1:16 AM, "Sean Wilson" wrote: >>> I think it is incumbent on Paradigma to provide this >>> split xtra to its user base. >> >> And this should be on our FTP as separate archive ? >> >> Just I never have see this e.g. on V12 site. > > I can't speak for INM (or any other xtra publisher) but if you download the > Arca DB Xtra from Tabuleiro, their Windows archive contains split versions > of the same xtra for Classic and OSX. > As far as /service/ goes, for Director developers this is in the arena of > "icing on the cake" :-) - though I guess I'd rather it wasn't in the > Windows archive by default, but available as a separate download. Okay. Well, with V4MD2 the Xtr itself is small. So this will not add big size to archive. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 9 02:17:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 8 18:17:56 2005 Subject: VXCMD 1.x and Revolution 2.1 In-Reply-To: <6E3AE9B0-DBB7-4542-BFF8-B662FB04A443@mangomultimedia.com> Message-ID: On 5/9/05 12:48 AM, "Trevor DeVore" wrote: Hi Trevor, > On May 8, 2005, at 12:26 PM, Ruslan Zasukhin wrote: >> >> I have start develop Valentina for Revolution 2.0 >> But still cannot even make it work. >> >> So I have decide try to run latest VXCMD. >> Revolution 2.1 already contains inside VXCMD_Macho. >> So I have just open our example, >> Correct external to point that VXCMD_Macho. >> Run and it not works. >> >> What I do not correctly ? >> >> As I understand many VXCMD developers use Revolution 2.1. >> >> Please advice, I do not see what is going on and where is problem. > > Ruslan, > > Revolution has two ways of using Valentina. The VXCMD_Macho that you > see included with Revolution is for use with revDB (db abstraction > layer in Revolution). Looking at the package contents it appears > that they use the C or C++ API rather than the VXCMD in order to work > with revDB. This means you can't use the Valentina VXCMD call. Actually VXCMD which we produce also should work as RevDB, We have together develop API with Revolution guys. And VXCMD which Revolution have on default also should support standard VXCMD 1.x functions. Strange... > To test the using the VXMD just put the VXCMD in your Revolution folder > and set the externals property of your stack: > > set the externals of stack "MyStack" to "VXCMD_Macho_MC" > > Quit Revolution and restart so the externals are properly loaded > (there are others ways to do this, this is the simplest). > > Now if you type: > > put the externalPackages of stack "MyStack" > > in the message box you should see "Valentina XCMD" or something like > that. You can now use the Valentina VXCMD calls in your stack with > the latest version. Ok thank you, I will try. >> ------------- >> 3) Tuviah, >> >> One more question. I do not see how external do get unicode strings. >> I see that comes Mcstring, it is of char*. >> And I assume this is not UTF8 >> >> So how Revolution talk to externals with unicode ? > > As Tuviah mentioned, you will have to talk to the support guys at > Revolution about this. The revDB database layer does support unicode > but as for externals I'm not sure. I haven't had to use Unicode in > programming externals. Ok, -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rjb at robelko.com Mon May 9 01:45:37 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sun May 8 18:57:07 2005 Subject: VXCMD 1.x and Revolution 2.1 In-Reply-To: References: Message-ID: > >Actually VXCMD which we produce also should work as RevDB, >We have together develop API with Revolution guys. It does. It is possible to replace the version distributed with Rev with a newer one but one has to dig into bundles. >And VXCMD which Revolution have on default also should support standard >VXCMD 1.x functions. It does but only within the range of functions supported by RevDB. Its goal is to be compatible with a broad range of databases, so naturally not all what Val offers is supported. People using Val fully go the vxcmd not revdb way. You do not really need to worry about revdb IMHO. RR will just have to add support for val2 in revdb at some point. Robert From lists at mangomultimedia.com Sun May 8 17:00:30 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun May 8 19:00:45 2005 Subject: VXCMD 1.x and Revolution 2.1 In-Reply-To: References: Message-ID: On May 8, 2005, at 4:17 PM, Ruslan Zasukhin wrote: > > Actually VXCMD which we produce also should work as RevDB, > We have together develop API with Revolution guys. Hmm, I have never been able to swap the VXCMD_macho I downloaded from the Valentina site with the one in the revdb driver folder. I tried updating the version once and couldn't get it to work. When looking at the package contents of the VXCMD from the Paradigma website it doesn't match the revdb VXCMD_macho folder (which has the VSDK.framekwork). Are you sure they can be swapped? > And VXCMD which Revolution have on default also should support > standard > VXCMD 1.x functions. > > Strange... I'm using 2.5.1 so this may have changed since 2.1 but Valentina isn't on by default in Revolution. You have to use revdb. To access the Valentina() calls directly you have to assign the VXCMD external. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From lists at mangomultimedia.com Sun May 8 17:03:19 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun May 8 19:03:27 2005 Subject: VXCMD 1.x and Revolution 2.1 In-Reply-To: References: Message-ID: <2A31C728-4CF0-40D0-935F-8D5BBBDEE882@mangomultimedia.com> On May 8, 2005, at 4:45 PM, Robert Brenstein wrote: >> >> Actually VXCMD which we produce also should work as RevDB, >> We have together develop API with Revolution guys. >> > > It does. It is possible to replace the version distributed with Rev > with a newer one but one has to dig into bundles. Ahh, the MacOS folder. I hadn't noticed that before. Sorry about the misinformation. >> And VXCMD which Revolution have on default also should support >> standard >> VXCMD 1.x functions. >> > > It does but only within the range of functions supported by RevDB. > Its goal is to be compatible with a broad range of databases, so > naturally not all what Val offers is supported. People using Val > fully go the vxcmd not revdb way. > > You do not really need to worry about revdb IMHO. RR will just have > to add support for val2 in revdb at some point. Yes, I don't use revdb with Valentina because it doesn't have a documented way of connecting to encrypted Valentina databases, etc. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From rjb at robelko.com Mon May 9 03:10:25 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sun May 8 20:17:04 2005 Subject: documentation (was: default values) In-Reply-To: References: Message-ID: > >This is ENUM - enumereted type as exists in C, C++, Java, ... But it is not a standard type in those languages, is it? So it should be defined to avoid ambiguities and guessing. >Okay, tell me please how you prefer to see explanation of > Vfield.Type property ? > >What type it have? Now is written EVFieldType. What you suggest ? >Just write > > Vfield.Type as integer ? > >This is not good. >Write properties and parameters without types? >Yes SCRIPT - LANGUAGE users are used to this, but this is not very good >also. Can you list specific definitions for field type in each environment (product). Just to see the actual differences in syntax. This will make this discussion more concrete. My point about not using formal declarations but plain English has nothing to do with script languages. I am just not convinced that kernel doc can't be written in plain english and the syntax / formal declarations left for product docs (they are defined/used there anyway). As aside: I don't think Transcript qualifies as a scripting language, although I give it is a matter of perspective. I happen to use Valentina with Transcript but I program or programmed in a variety of languages including C/C++, Pascal, Fortran, and a multitude of scripting languages, so the syntax you use does not scare me per se. The point I was trying to make is that the declarations you give may provide some info but also introduce new problems, like your telling me to see something that does not exist as such or defining things using undefined terms. And they often obscure the clarity of presenting general concepts. Robert From sunshine at public.kherson.ua Mon May 9 11:31:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 9 03:32:25 2005 Subject: #619 In-Reply-To: Message-ID: On 5/9/05 7:21 AM, "Claudius Sailer" wrote: Hi Claudius, > Hello Again :-)) > > I believe I found problem of #619. I didn't set Cursor=NIL before I > reuse it for new SQLSelect. Could you please verify that? Please tell me again, So you have not delete cursor and what happens: - next cursor cause crash? - or some error ? - or ... ? Expected behavior is error as: cursor cannot be built because record(s) are locked > Problem for me is now, why I have only problem with thos SQL, is it > possible because it is at the moment biggest SQL-Result. Do I really > need all the time to set Cursor to NIL? YES. It is VERY VERY recommended kill cursors as only as you do not need them. Because cursors may eat a lots of resources in RAM and disk, And the main they lock records. > When you say now YES I will have a lot of work to set all cursors to > NIL in my coding. Note, if you create cursor inside of function, then on exit of function cursor will be deleted automatically by REALbasic. func foo() dim curs as VCursor curs = db.SqlSelect() // work curs = nil // optional end But if you create several cursors inside of single function, Or if you keep pointer to cursor in some class or global variables then keep your eye. > Thanks for help > > > Claudius -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 9 11:46:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 9 03:46:47 2005 Subject: VXCMD 1.x and Revolution 2.1 In-Reply-To: Message-ID: On 5/9/05 2:45 AM, "Robert Brenstein" wrote: >> Actually VXCMD which we produce also should work as RevDB, >> We have together develop API with Revolution guys. > > It does. It is possible to replace the version distributed with Rev > with a newer one but one has to dig into bundles. > >> And VXCMD which Revolution have on default also should support standard >> VXCMD 1.x functions. > > It does but only within the range of functions supported by RevDB. > Its goal is to be compatible with a broad range of databases, so > naturally not all what Val offers is supported. People using Val > fully go the vxcmd not revdb way. Hmm, I think here some misunderstanding. VXCMD 1.11 support BOTH ways. REVDB and standard Valentina API. Revolution guys cannot disable Valentina way I think. Can you call Valentina() function ? Then you must have access to all functions of VXCMD. > You do not really need to worry about revdb IMHO. RR will just have > to add support for val2 in revdb at some point. Please note, that we have work together. We have made C++ sources then I have compile them. So VXCMD have both ways. You can see that there is NO a) VXCMD from Paradigma which have only Valentina way b) VXCMD_rebdb from Revolution, which have only RevDB way. Exists single library, it contains both. And compile it can only Paradigma, because Rev do not have full access to our sources. P.S. Kevin, I continue CC to you in hope that you will redirect this letters to your engineers that will help us. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From totte at code66.se Mon May 9 10:51:23 2005 From: totte at code66.se (Totte Alm) Date: Mon May 9 03:51:56 2005 Subject: [VSDK 1.x] Hint for VSDK Macho Framework & XCode 2.0 Message-ID: <48A32682-810C-4110-BA0D-EF42D6AE5338@code66.se> Hello folks, I finally got my Valentian 1.x based stuff to compile and link corectly under XCode 2.0 using gcc 3.3. This is Carbon c++ btw. Before, I used the framework from /Library/Frameworks, but under XCode 2.0 this failed. By making a copy of the framework to the project folder, and use that copy in the project, it all worked, Hope this helps someone. // Totte ------------------------------------------------------------- I never expected the Spanish Inquisition! From sunshine at public.kherson.ua Mon May 9 11:52:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 9 03:52:42 2005 Subject: VXCMD 1.x and Revolution 2.1 In-Reply-To: Message-ID: On 5/9/05 3:00 AM, "Trevor DeVore" wrote: > On May 8, 2005, at 4:17 PM, Ruslan Zasukhin wrote: >> >> Actually VXCMD which we produce also should work as RevDB, >> We have together develop API with Revolution guys. > > Hmm, I have never been able to swap the VXCMD_macho I downloaded from > the Valentina site with the one in the revdb driver folder. I tried > updating the version once and couldn't get it to work. When looking > at the package contents of the VXCMD from the Paradigma website it > doesn't match the revdb VXCMD_macho folder (which has the > VSDK.framekwork). > > Are you sure they can be swapped? I am NOT sure now... Hmm, it seems Revolution guys have take our C++ SDK for ProjectBuilder and have compile self version of VXCMD which support REV DB only. And they did not inform us about this... Now have sense words that it not support Valentina way. Although why they point old 1.9.7beta version then ? They was need recompile with 1.11 version of VSDK. I think this is bad, because this also may break existed RevDB API which has VXCMD that Paradigma Compile. Kevin, I think we need workout this technical issues and do not produce 2 different VXCMD, than more with the same name... >> And VXCMD which Revolution have on default also should support >> standard VXCMD 1.x functions. >> >> Strange... > > I'm using 2.5.1 so this may have changed since 2.1 but Valentina > isn't on by default in Revolution. You have to use revdb. To access > the Valentina() calls directly you have to assign the VXCMD external. And it needs assign not VXCMD lib which is in installation, but download and install from Paradigma, right ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 9 11:54:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 9 03:55:01 2005 Subject: VXCMD 1.x and Revolution 2.1 In-Reply-To: <2A31C728-4CF0-40D0-935F-8D5BBBDEE882@mangomultimedia.com> Message-ID: On 5/9/05 3:03 AM, "Trevor DeVore" wrote: >>> >>> Actually VXCMD which we produce also should work as RevDB, >>> We have together develop API with Revolution guys. >>> >> >> It does. It is possible to replace the version distributed with Rev >> with a newer one but one has to dig into bundles. > > Ahh, the MacOS folder. I hadn't noticed that before. Sorry about > the misinformation. Please explain. Newer Version of VXCMD_macho from Paradigma.com can be placed into Rev/.../vxcmd_macho/contents/macos ? And then it works ? Hacker tricks ... >>> And VXCMD which Revolution have on default also should support >>> standard >>> VXCMD 1.x functions. >>> >> >> It does but only within the range of functions supported by RevDB. >> Its goal is to be compatible with a broad range of databases, so >> naturally not all what Val offers is supported. People using Val >> fully go the vxcmd not revdb way. >> >> You do not really need to worry about revdb IMHO. RR will just have >> to add support for val2 in revdb at some point. > > Yes, I don't use revdb with Valentina because it doesn't have a > documented way of connecting to encrypted Valentina databases, etc. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rjb at robelko.com Mon May 9 12:30:14 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon May 9 05:31:06 2005 Subject: VXCMD 1.x and Revolution 2.1 In-Reply-To: References: Message-ID: > >Hmm, I think here some misunderstanding. > >VXCMD 1.11 support BOTH ways. REVDB and standard Valentina API. Yes, it is misunderstanding... by you :) >Revolution guys cannot disable Valentina way I think. >Can you call Valentina() function ? >Then you must have access to all functions of VXCMD. When using vxcmd way, all works. When using revdb way, only what revdb has preprogrammed works. > > You do not really need to worry about revdb IMHO. RR will just have >> to add support for val2 in revdb at some point. > >Please note, that we have work together. We have made C++ sources then I >have compile them. So VXCMD have both ways. I meant that V2 will have some changes in the functions calls which will need to be accommodated by revdb, so they will probably need to support both V1 and V2 versions vxcmd at the same time. I wonder whether the issue with replacing vxcmd inside rev now has to do with differences between 1.9.8b4 and 1.9.10. Which version added additional parameters related to locking? The swap worked at some point in the past but haven't tried it for a long time since all I do currently with Rev/Val combo must work in OS9 only and there is no problem with swapping there. But I will be dealing with this under OSX real soon now. >P.S. Kevin, I continue CC to you in hope that you will redirect this letters >to your engineers that will help us. This should probably me added to Bugzilla, their bug tracking system, and possibly mailed to support@runrev.com for faster attention. Kevin may not the optimal "entry point" although getting his attention would clear things faster. Robert From derrick at xact.co.za Mon May 9 12:48:55 2005 From: derrick at xact.co.za (Derrick Muller) Date: Mon May 9 06:56:02 2005 Subject: Archive Search Message-ID: <20050509104855.B64F92CDA8@ctb-mesg7.saix.net> Is there away I can search the archives before requesting information on this list. For example using RB 5.5.5 and Valentina I am having a problem with the examples and tutorial with VException Derrick Muller From sunshine at public.kherson.ua Mon May 9 16:53:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 9 08:53:25 2005 Subject: Archive Search In-Reply-To: <20050509104855.B64F92CDA8@ctb-mesg7.saix.net> Message-ID: On 5/9/05 1:48 PM, "Derrick Muller" wrote: Hi Derrick, > Is there away I can search the archives before requesting information on > this list. > > For example using RB 5.5.5 and Valentina I am having a problem with the > examples and tutorial with VException Probably you can access archives of list directly here. http://lists.macserve.net/mailman/listinfo/valentina In the past was more comfortable way of search of archives. So what problem do you have with this example ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Mon May 9 17:53:49 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon May 9 10:54:11 2005 Subject: #619 In-Reply-To: References: Message-ID: Am 09. Mai 2005 um 10:31 Uhr schrieb Ruslan Zasukhin: > On 5/9/05 7:21 AM, "Claudius Sailer" > wrote: > > Hi Claudius, > > >> Hello Again :-)) >> >> I believe I found problem of #619. I didn't set Cursor=NIL before I >> reuse it for new SQLSelect. Could you please verify that? >> > > Please tell me again, > > So you have not delete cursor and what happens: > - next cursor cause crash? > - or some error ? > - or ... ? > > Expected behavior is error as: > cursor cannot be built because record(s) are locked From PopupMenu I can choose accounts. This accounts are stored in a cursor made in this window as global, because I am using this cursor from several Events and methods. In one method I fill ListBox. You can see coding. When I have choosen Accounts with more then 3000 records application crashes after 3rd call of LisfboxFilling method at this moment where cursor (CurBuchungen=V4RBSQLSelect (meineDatenbank,SQLString) is build. When I choose smaller accounts it takes much more time until application crashes. Now I inserted one new row of code CurBuchungen=NIL and the problem is gone. In V4RB 1.x I never had this problem. don't aks me why, but now it is fixed and everything is fine. SQLString=SQLBuilder(33,false,cstr(AktuellesKonto)) CurBuchungen=V4RBSQLSelect(meineDatenbank,SQLString) Ende=CurBuchungen.RecordCount L=ListBox1 PagePanel1.value=1 ListBox1.FillingProzess=true L.DeleteAllRows L.addrow "" NeueZeile=L.LastIndex L.cell(NeueZeile,1)="Anfangssaldo" SaldoCalc=HauptKontoStartBetrag L.cell(NeueZeile,5)=format(SaldoCalc,FormatZahlNegativ) //Cursordefinitionen fuer Performance string1=CurBuchungen.StringField(2) //BDatum string2=CurBuchungen.StringField(3) //Gegenkonto string3=CurBuchungen.StringField(4) //Kategorie string4=CurBuchungen.StringField(7) // Kommentar Ein=CurBuchungen.LongField(6) //Einnahme Aus=CurBuchungen.LongField(5) //Ausgabe //ListBox fuellen For i=1 to Ende CurBuchungen.Position=i L.addrow string1.GetString NeueZeile=L.LastIndex L.cell(NeueZeile,1)=string2.GetString'ZielKonto L.cell(NeueZeile,2)=string3.GetString if Aus.value<>0 then Betrag=Aus.value/100 L.cell(NeueZeile,3)=format(Betrag,FormatZahlNegativ) SaldoCalc=SaldoCalc-Betrag else Betrag=Ein.value/100 L.cell(NeueZeile,4)=format(Betrag,FormatZahlNegativ) SaldoCalc=SaldoCalc+Betrag end if L.cell(NeueZeile,5)=format(SaldoCalc,FormatZahlNegativ) L.cell(NeueZeile,6)=string4.GetString if i mod Teiler = 0 then ProgressBar1.value=ProgressBar1.value+Teiler end if next >> When you say now YES I will have a lot of work to set all cursors to >> NIL in my coding. > > Note, if you create cursor inside of function, then on exit of > function > cursor will be deleted automatically by REALbasic. > > func foo() > dim curs as VCursor > > curs = db.SqlSelect() > > // work > > curs = nil // optional > end > > But if you create several cursors inside of single function, > Or if you keep pointer to cursor in some class or global variables > then keep > your eye. normally Corsur are only created window wide because this window is only open and closed and cursor is only used one time, or I use cursor in functions. so I only have this problem at one time where I need a global Cursor. thanks for help Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.3 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From chuck at mediamacros.com Mon May 9 13:07:07 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Mon May 9 12:04:48 2005 Subject: Copy raw image data from one DB to another Message-ID: <427F98BB.1060101@mediamacros.com> I am still struggling with my export feature with Valentina 1.x I have a field that contains picture data that is compressed. I am trying to avoid extracting it, then reinserting it into another database. This is slow, it takes up a lot of RAM if I don't immediately delete the image, it double compresses the image which could degrade the quality, and it seems to throw random errors if I have both databases open at once. Is there a way to actually grab the content of the field and insert it into another database as a raw value (via Director) without having to re-compress? -- -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer From lists at mangomultimedia.com Mon May 9 10:07:25 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon May 9 12:07:31 2005 Subject: VXCMD 1.x and Revolution 2.1 In-Reply-To: References: Message-ID: <1fb86a7c8282e8f9c433a0da97f78e5c@mangomultimedia.com> On May 9, 2005, at 1:52 AM, Ruslan Zasukhin wrote: > I am NOT sure now... > > Hmm, it seems Revolution guys have take our C++ SDK for ProjectBuilder > and > have compile self version of VXCMD which support REV DB only. > And they did not inform us about this... > > Now have sense words that it not support Valentina way. > Although why they point old 1.9.7beta version then ? > They was need recompile with 1.11 version of VSDK. > > I think this is bad, because this also may break existed RevDB API > which has > VXCMD that Paradigma Compile. > > Kevin, I think we need workout this technical issues and do not > produce 2 > different VXCMD, than more with the same name... I think you are right. On OS X you can't swap out the included Valentina version. Rev does not come with the VXCMD bundle so there isn't a way to swap a new one in. >> I'm using 2.5.1 so this may have changed since 2.1 but Valentina >> isn't on by default in Revolution. You have to use revdb. To access >> the Valentina() calls directly you have to assign the VXCMD external. > > And it needs assign not VXCMD lib which is in installation, > but download and install from Paradigma, right ? I just tested this and if I set the externals property of a stack to the VXCMD_macho contained in the MacOS folder of the VXCMD_Macho driver that comes with Revolution 2.5.1 it DOES NOT work. The VXCMD_macho file that comes with Rev is an executable file, not a bundle. If I set the externals property of the stack to the VXCMD_Macho_MC file I downloaded from the paradigma website then it DOES work. So I think I was correct initially when I said you couldn't update the valentina driver that is used by revdb (on OS X at least). They are not the same type of file. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From sunshine at public.kherson.ua Mon May 9 20:09:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 9 12:09:19 2005 Subject: Copy raw image data from one DB to another In-Reply-To: <427F98BB.1060101@mediamacros.com> Message-ID: On 5/9/05 8:07 PM, "Chuck Neal" wrote: > I am still struggling with my export feature with Valentina 1.x > > I have a field that contains picture data that is compressed. I am > trying to avoid extracting it, then reinserting it into another > database. This is slow, it takes up a lot of RAM if I don't immediately > delete the image, it double compresses the image which could degrade the > quality, and it seems to throw random errors if I have both databases > open at once. > > Is there a way to actually grab the content of the field and insert it > into another database as a raw value (via Director) without having to > re-compress? You ask about moving picture from 1.x db to 1.x db? Or to 2.0 db ? In C++ such ways exists. But V4MD developers are not so advanced, And the main Director itself do not allow you easy work with RAM. In 2.0 we can have SaveToFile() LoadToFile() functions. Which read/write BLOB as is. 1.x do not have such methods. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 9 20:23:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 9 12:24:02 2005 Subject: VXCMD 1.x and Revolution 2.1 In-Reply-To: <1fb86a7c8282e8f9c433a0da97f78e5c@mangomultimedia.com> Message-ID: On 5/9/05 8:07 PM, "Trevor DeVore" wrote: >>> I'm using 2.5.1 so this may have changed since 2.1 but Valentina >>> isn't on by default in Revolution. You have to use revdb. To access >>> the Valentina() calls directly you have to assign the VXCMD external. >> >> And it needs assign not VXCMD lib which is in installation, >> but download and install from Paradigma, right ? > > I just tested this and if I set the externals property of a stack to > the VXCMD_macho contained in the MacOS folder of the VXCMD_Macho driver > that comes with Revolution 2.5.1 it DOES NOT work. The VXCMD_macho > file that comes with Rev is an executable file, not a bundle. > > If I set the externals property of the stack to the VXCMD_Macho_MC file > I downloaded from the paradigma website then it DOES work. So I think > I was correct initially when I said you couldn't update the valentina > driver that is used by revdb (on OS X at least). They are not the same > type of file. Trevor, Rev 2.5.1 really install VXCMD produced NOT by Paradigma. Rev guys self have take our C++ SDK and produce VXCMD_macho (it is bad that they use our name!!!) which support only REV DB way. Now I think that in theory it is possible to have 2 driver. But again IMHO this is not best way. If we keep all in one, then you can mix both ways I think. For example database Ref from REVDB ca be used with Valentina API. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From lists at mangomultimedia.com Mon May 9 10:36:23 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon May 9 12:37:12 2005 Subject: VXCMD 1.x and Revolution 2.1 In-Reply-To: References: Message-ID: On May 9, 2005, at 10:23 AM, Ruslan Zasukhin wrote: > > Trevor, > > Rev 2.5.1 really install VXCMD produced NOT by Paradigma. > > Rev guys self have take our C++ SDK and produce > VXCMD_macho (it is bad that they use our name!!!) > which support only REV DB way. > > Now I think that in theory it is possible to have 2 driver. > But again IMHO this is not best way. Agreed. Having to wait for Revolution to be updated in order to get the latest version of Valentina running with it under revdb is not ideal. > If we keep all in one, then you can mix both ways I think. > For example database Ref from REVDB ca be used with Valentina API. There are calls in revdb for accessing valentina database refs though they are not documented. I have talked about this with the person who deals with RevDB and he is going to get me some information on it when he has some time. It would be great to use the revdb calls for everything that wasn't Valentina specific and still be able to call Valentina() when the need arises. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From chuck at mediamacros.com Mon May 9 14:41:10 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Mon May 9 13:37:50 2005 Subject: Copy raw image data from one DB to another In-Reply-To: References: Message-ID: <427FAEC6.8060807@mediamacros.com> Valentina 1.11 Director MX 2004 Windows XP Ok, I am digging back through my code trying to find out why building this database is destroying my file. Here is what I am using to add images... on addImage me, vImage, Id if ilk(vImage) <> #member then return 0 if vImage.type <> #bitmap then return 0 c = vImage.image.getPixel(1,0) iSQL = "SELECT * FROM image" iCursor = Xtra("VCursor").new(GetRef(pDb), iSQL, 1, 3, 1) if valentinaerror() <> 0 then put "Error" && valentinaError() && valentinaErrorString() end if SetBlank(iCursor) if valentinaerror() <> 0 then put "Error blank" && valentinaError() && valentinaErrorString() end if SetField(iCursor, "id", id) if valentinaerror() <> 0 then put "Error Field" && valentinaError() && valentinaErrorString() end if SetPicture( iCursor, "image", vImage, 90) if valentinaerror() <> 0 then put "Error Picture" && valentinaError() && valentinaErrorString() end if AddREcord(iCursor) if valentinaerror() <> 0 then put "Error Add" && valentinaError() && valentinaErrorString() end if pdb.flush() if valentinaerror() <> 0 then put "Error Flush" && valentinaError() && valentinaErrorString() end if iCursor = void return id end I am going through a list of files, loading the member and then calling this function. It works fine for the first 295-300 images. Then I start getting this... -- "Error Flush -39 No error" After that, every single call to the add gives me the same error. The strange part is that it happens on flush and not on any of the other items. First is there something in my code that is wrong? I can do small record sets with no problems, but once it passes that "magic" number then the file is not longer able to be opened by the Xtra or Studio. I have tried about 10 different methods to get this to work and it is consistently failing here no matter what I try. Any insight? -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer Ruslan Zasukhin wrote: > On 5/9/05 8:07 PM, "Chuck Neal" wrote: > > >>I am still struggling with my export feature with Valentina 1.x >> >>I have a field that contains picture data that is compressed. I am >>trying to avoid extracting it, then reinserting it into another >>database. This is slow, it takes up a lot of RAM if I don't immediately >>delete the image, it double compresses the image which could degrade the >>quality, and it seems to throw random errors if I have both databases >>open at once. >> >>Is there a way to actually grab the content of the field and insert it >>into another database as a raw value (via Director) without having to >>re-compress? > > > You ask about moving picture from 1.x db to 1.x db? > Or to 2.0 db ? > > In C++ such ways exists. But V4MD developers are not so advanced, > And the main Director itself do not allow you easy work with RAM. > > > In 2.0 we can have SaveToFile() LoadToFile() functions. > Which read/write BLOB as is. > > 1.x do not have such methods. > > From sunshine at public.kherson.ua Mon May 9 22:00:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 9 14:00:38 2005 Subject: Copy raw image data from one DB to another In-Reply-To: <427FAEC6.8060807@mediamacros.com> Message-ID: On 5/9/05 9:41 PM, "Chuck Neal" wrote: > Valentina 1.11 > Director MX 2004 > Windows XP > > Ok, I am digging back through my code trying to find out why building > this database is destroying my file. Here is what I am using to add > images... > > > on addImage me, vImage, Id > if ilk(vImage) <> #member then return 0 > if vImage.type <> #bitmap then return 0 > c = vImage.image.getPixel(1,0) > > iSQL = "SELECT * FROM image" > iCursor = Xtra("VCursor").new(GetRef(pDb), iSQL, 1, 3, 1) > if valentinaerror() <> 0 then > put "Error" && valentinaError() && valentinaErrorString() > end if > SetBlank(iCursor) > if valentinaerror() <> 0 then > put "Error blank" && valentinaError() && valentinaErrorString() > end if > SetField(iCursor, "id", id) > if valentinaerror() <> 0 then > put "Error Field" && valentinaError() && valentinaErrorString() > end if > SetPicture( iCursor, "image", vImage, 90) > if valentinaerror() <> 0 then > put "Error Picture" && valentinaError() && valentinaErrorString() > end if > AddREcord(iCursor) > if valentinaerror() <> 0 then > put "Error Add" && valentinaError() && valentinaErrorString() > end if > pdb.flush() > if valentinaerror() <> 0 then > put "Error Flush" && valentinaError() && valentinaErrorString() > end if > iCursor = void > return id > end > > I am going through a list of files, loading the member and then calling > this function. It works fine for the first 295-300 images. Then I > start getting this... > > -- "Error Flush -39 No error" > > After that, every single call to the add gives me the same error. The > strange part is that it happens on flush and not on any of the other items. > > First is there something in my code that is wrong? I can do small > record sets with no problems, but once it passes that "magic" number > then the file is not longer able to be opened by the Xtra or Studio. > > I have tried about 10 different methods to get this to work and it is > consistently failing here no matter what I try. Any insight? Code looks correct. Reproducible? 100% ? Then send me something easy to reproduce. I will debug -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From chuck at mediamacros.com Mon May 9 15:08:31 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Mon May 9 14:05:00 2005 Subject: Copy raw image data from one DB to another In-Reply-To: References: Message-ID: <427FB52F.7020806@mediamacros.com> Trying to figure a way to do that. The database (source) is 600 MB. The program is another 50+. It consistent with this database, even after running a script to rebuild it from scratch. I'll test a bit more to see if I can narrow it down before I ask you to download a huge file. :) -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer Ruslan Zasukhin wrote: > On 5/9/05 9:41 PM, "Chuck Neal" wrote: > > >>Valentina 1.11 >>Director MX 2004 >>Windows XP >> >>Ok, I am digging back through my code trying to find out why building >>this database is destroying my file. Here is what I am using to add >>images... >> >> >>on addImage me, vImage, Id >> if ilk(vImage) <> #member then return 0 >> if vImage.type <> #bitmap then return 0 >> c = vImage.image.getPixel(1,0) >> >> iSQL = "SELECT * FROM image" >> iCursor = Xtra("VCursor").new(GetRef(pDb), iSQL, 1, 3, 1) >> if valentinaerror() <> 0 then >> put "Error" && valentinaError() && valentinaErrorString() >> end if >> SetBlank(iCursor) >> if valentinaerror() <> 0 then >> put "Error blank" && valentinaError() && valentinaErrorString() >> end if >> SetField(iCursor, "id", id) >> if valentinaerror() <> 0 then >> put "Error Field" && valentinaError() && valentinaErrorString() >> end if >> SetPicture( iCursor, "image", vImage, 90) >> if valentinaerror() <> 0 then >> put "Error Picture" && valentinaError() && valentinaErrorString() >> end if >> AddREcord(iCursor) >> if valentinaerror() <> 0 then >> put "Error Add" && valentinaError() && valentinaErrorString() >> end if >> pdb.flush() >> if valentinaerror() <> 0 then >> put "Error Flush" && valentinaError() && valentinaErrorString() >> end if >> iCursor = void >> return id >>end >> >>I am going through a list of files, loading the member and then calling >>this function. It works fine for the first 295-300 images. Then I >>start getting this... >> >>-- "Error Flush -39 No error" >> >>After that, every single call to the add gives me the same error. The >>strange part is that it happens on flush and not on any of the other items. >> >>First is there something in my code that is wrong? I can do small >>record sets with no problems, but once it passes that "magic" number >>then the file is not longer able to be opened by the Xtra or Studio. >> >>I have tried about 10 different methods to get this to work and it is >>consistently failing here no matter what I try. Any insight? > > > Code looks correct. > > Reproducible? 100% ? > > Then send me something easy to reproduce. > I will debug > From sunshine at public.kherson.ua Mon May 9 22:11:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 9 14:11:36 2005 Subject: Copy raw image data from one DB to another In-Reply-To: <427FB52F.7020806@mediamacros.com> Message-ID: On 5/9/05 10:08 PM, "Chuck Neal" wrote: > Trying to figure a way to do that. The database (source) is 600 MB. > The program is another 50+. It consistent with this database, even > after running a script to rebuild it from scratch. I'll test a bit more > to see if I can narrow it down before I ask you to download a huge file. :) As I understand it needs to put on disk 50-100 images. And make small new project which do load them. 2-3 functions. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From chuck at mediamacros.com Mon May 9 15:27:48 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Mon May 9 14:25:30 2005 Subject: Copy raw image data from one DB to another In-Reply-To: References: Message-ID: <427FB9B4.60106@mediamacros.com> No, that is the problem. Smaller exports are not an issue. It seems that it fails, around 297 every time. I am trying to determine if something is wrong with a file, etc but everything exports step by step with no problems individually, but in the whole export script is just dies and corrupts the database every time. -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer Ruslan Zasukhin wrote: > On 5/9/05 10:08 PM, "Chuck Neal" wrote: > > >>Trying to figure a way to do that. The database (source) is 600 MB. >>The program is another 50+. It consistent with this database, even >>after running a script to rebuild it from scratch. I'll test a bit more >>to see if I can narrow it down before I ask you to download a huge file. :) > > > As I understand it needs to put on disk 50-100 images. > And make small new project which do load them. > 2-3 functions. > From valentina at panamind.com Mon May 9 22:06:46 2005 From: valentina at panamind.com (Gary Edge) Date: Mon May 9 21:07:07 2005 Subject: V4RB2 questions In-Reply-To: References: Message-ID: <6068a27bfb687dae083f98bd893797a9@panamind.com> On May 7, 2005, at 2:55 AM, Ruslan Zasukhin wrote: > On 5/7/05 8:02 AM, "Kem Tekinay" wrote: > >>> Also, when creating several records linked using a binary link, must >>> I >>> search for the recid of each corresponding record in the linked table >>> to create the binary link? >> >> I think you just have to tell the BinaryLink to link the records >> after you >> create them. It will do the rest. > > But to say to Link what to link you need know RecIDs. > > So Yes, Gary, you should know 2 RecIDs of records you want to link. > > Here there is no nothing special in fact. > If you link records in RDBMS you also need know 2 records: > one of them is your current > from second you need obtain KEY VALUE to store in FOREIGN KEY > field. > > Thanks, I figured as much. Being that I haven't gone complete through the docs I just wanted to make sure there wasn't a feature I was missing to eliminate the search. Gary From sunshine at public.kherson.ua Tue May 10 09:46:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 10 01:46:47 2005 Subject: VStudio Inport/Export problems In-Reply-To: <59502.62.154.199.179.1115701561.squirrel@webmail3.server-einstellung.de> Message-ID: On 5/10/05 8:06 AM, "J. Peters" wrote: > There are two issues left: > 1) You have a field called "0rd" in your access database. When vStudio > tries to create this field it gets error "bad field name" from the > Valentina kernel - i guess this is because the field name starts with a > zero. Ruslan? Absolutely correct. SQL92 standard require that field/table names start with Letter or _ -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue May 10 09:47:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 10 01:47:31 2005 Subject: VStudio Inport/Export problems In-Reply-To: <59502.62.154.199.179.1115701561.squirrel@webmail3.server-einstellung.de> Message-ID: On 5/10/05 8:06 AM, "J. Peters" wrote: > 2) You have two fields called "min" and "dec" in the access database. Both > names are reserved SQL keywords. vStudio tries to use these fieldnames > in the SQL statement for preparing the import cursor and gets an error > from the Valentina kernel. Ruslan? Again this is required by SQL92 > Riccardo - it is always a good idea NOT to use reserved words as field or > table names. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue May 10 10:07:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 10 02:07:32 2005 Subject: [ANN] Products 2.0.3 build 2 uploaded. -- (Shockwave not working yet) In-Reply-To: <5.1.0.14.0.20050509150055.02603668@mail.shamanicvision.org> Message-ID: On 5/10/05 1:08 AM, "Shannon Bailey" wrote: > Ruslan, > > Thanks for the new release and more documentation. > > :-( I still cannot make shockwave valentina work with a local database. With a local ?! But V4MD SW can work only and only with Valentina Server!!! Look on its size. It is small because it not contains the whole db engine. It must be small to be loaded fast by inet. > I tried your tutorials and my own director project and can make perfect > projector files, but shockwave versions do not work. On different machines, > (2000 and XP). > > It might work to a valentina server (which I do not have), but to a local > machines database, this does not work. You can download and install Valentina Server. In DEMO mode you will be able work 24 hours the whole month. At 1 day of next month just download new demo license file from our site and work again the whole month. > I need to know what files, paths, dll's are required to make shockwave > valentina tutorials work on a new machine with no Paradigma software > installed. NOTHING is required! > Thanks, > > Shannon Bailey > > CTO Simmunity Corp > San Francisco, California -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue May 10 10:13:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 10 02:13:46 2005 Subject: Copy raw image data from one DB to another In-Reply-To: <427FB9B4.60106@mediamacros.com> Message-ID: On 5/9/05 10:27 PM, "Chuck Neal" wrote: > No, that is the problem. Smaller exports are not an issue. It seems > that it fails, around 297 every time. I am trying to determine if > something is wrong with a file, etc but everything exports step by step > with no problems individually, but in the whole export script is just > dies and corrupts the database every time. Hi Chuck, but 3000-400 first records with pictures do not eat many space I think ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue May 10 12:40:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 10 04:41:17 2005 Subject: [ANN] Products 2.0.3 build 2 uploaded. -- (Shockwave not working yet) In-Reply-To: <5.1.0.14.0.20050510022702.027827c8@mail.shamanicvision.org> Message-ID: On 5/10/05 12:34 PM, "Shannon Bailey" wrote: Hi Shannon, > Ruslan, > > Okay, now this makes sense... V4MD Shockwave only works with Valentina > Server... > > The projector version works with a local installation... No, project version can work with both: LOCAL and REMOTE dbs. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Tue May 10 11:58:17 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Tue May 10 04:58:26 2005 Subject: [ANN] Products 2.0.3 build 2 uploaded. -- (Shockwave not working yet) References: Message-ID: <000801c55546$ca9d5f30$851e1e97@paolokzjsndit5> Have you upload a V4MD WIN 2.0.3 build 2 also? Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: "Shannon Bailey" ; Sent: Tuesday, May 10, 2005 11:40 AM Subject: Re: [ANN] Products 2.0.3 build 2 uploaded. -- (Shockwave not working yet) > On 5/10/05 12:34 PM, "Shannon Bailey" wrote: > > Hi Shannon, > > > Ruslan, > > > > Okay, now this makes sense... V4MD Shockwave only works with Valentina > > Server... > > > > The projector version works with a local installation... > > No, project version can work with both: > LOCAL and REMOTE dbs. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 06/05/2005 > > From sunshine at public.kherson.ua Tue May 10 13:00:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 10 05:00:08 2005 Subject: [ANN] Products 2.0.3 build 2 uploaded. -- (Shockwave not working yet) In-Reply-To: <000801c55546$ca9d5f30$851e1e97@paolokzjsndit5> Message-ID: On 5/10/05 12:58 PM, "info@vallemediatime.com" wrote: > Have you upload a V4MD WIN 2.0.3 build 2 also? Yes, few days ago, when was announce -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Tue May 10 12:16:15 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Tue May 10 05:21:19 2005 Subject: [ANN] Products 2.0.3 build 2 uploaded. -- (Shockwave not working yet) References: Message-ID: <001701c55549$4cd861f0$851e1e97@paolokzjsndit5> Yes you have upload three different build on May 5, but in that version the SQL command make Fatal Error (in the Mantis I've seen that it is fixed), I want understand if the actually version is #740 bug fixed, if no I wait for next upload. Thanks Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Tuesday, May 10, 2005 12:00 PM Subject: Re: [ANN] Products 2.0.3 build 2 uploaded. -- (Shockwave not working yet) > On 5/10/05 12:58 PM, "info@vallemediatime.com" > wrote: > > > Have you upload a V4MD WIN 2.0.3 build 2 also? > > Yes, few days ago, when was announce > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 06/05/2005 > > From sunshine at public.kherson.ua Tue May 10 14:02:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 10 06:03:05 2005 Subject: [ANN] Products 2.0.3 build 2 uploaded. -- (Shockwave not working yet) In-Reply-To: <001701c55549$4cd861f0$851e1e97@paolokzjsndit5> Message-ID: On 5/10/05 1:16 PM, "info@vallemediatime.com" wrote: > Yes you have upload three different build on May 5, but in that version the > SQL command make Fatal Error (in the Mantis I've seen that it is fixed), I > want understand if the actually version is #740 bug fixed, if no I wait for > next upload. > Thanks Paolo This fix is not yet uploaded. Yes next build will contain it. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From silversoft at skynet.be Tue May 10 14:59:00 2005 From: silversoft at skynet.be (Silversoft) Date: Tue May 10 08:00:14 2005 Subject: Docs for V4MD 1.1 In-Reply-To: Message-ID: <200505101259.j4ACxwaN009524@outmx025.isp.belgacom.be> Hello all, Are the docs for V4MD 1.1 available online? In particular, I could not find the files V4MDReference.pdf, ValentinaKernel.pdf and ValentinaSQL.pdf Even though I am starting on a new project with valentina and director, I can not (need not) switch to version 2, as version 1 covers all the needs for this project. But it would be nice to have the latest docs when I actually start developing with valentina again next week. I still got some older docs (1.9.8). Has much changed in the docs? Greeting, Steven Ophalvens From sunshine at public.kherson.ua Tue May 10 19:33:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 10 11:33:59 2005 Subject: Docs for V4MD 1.1 In-Reply-To: <200505101259.j4ACxwaN009524@outmx025.isp.belgacom.be> Message-ID: On 5/10/05 3:59 PM, "Silversoft" wrote: > Hello all, > > Are the docs for V4MD 1.1 available online? Yes, go to page products. On left sidebar you can see link to Docs 1.x > In particular, I could not find the files > V4MDReference.pdf, ValentinaKernel.pdf and ValentinaSQL.pdf > > Even though I am starting on a new project with > valentina and director, I can not (need not) > switch to version 2, as version 1 covers all the > needs for this project. But it would be nice to > have the latest docs when I actually start > developing with valentina again next week. > > I still got some older docs (1.9.8). > Has much changed in the docs? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From peter.salomon at gmx.net Tue May 10 18:37:42 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Tue May 10 11:37:29 2005 Subject: [V4MD] cursor ram Message-ID: hi, does anybody know how to get the ram used by a cursor in Director? peter From sunshine at public.kherson.ua Tue May 10 19:46:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 10 11:47:04 2005 Subject: [V4MD] cursor ram In-Reply-To: Message-ID: On 5/10/05 7:37 PM, "Peter Salomon" wrote: > hi, > > does anybody know how to get the ram used by a cursor in Director? You mean how to get info how much in Kb cursor use of RAM ? I have think about such feature for all kinds of objects: Database Table Field Link Cursor Sometimes it can be useful and interesting to see this. We need some algs for this task -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From peter.salomon at gmx.net Tue May 10 19:05:57 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Tue May 10 12:05:44 2005 Subject: [V4MD] cursor ram In-Reply-To: References: Message-ID: hi ruslan, > You mean how to get info how much in Kb cursor use of RAM ? > yes, exactly. it would interest me either. so there are no director own possibilities to check in minimum cursorsize right now? From sunshine at public.kherson.ua Tue May 10 20:17:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 10 12:17:11 2005 Subject: [V4MD] cursor ram In-Reply-To: Message-ID: On 5/10/05 8:05 PM, "Peter Salomon" wrote: > hi ruslan, > >> You mean how to get info how much in Kb cursor use of RAM ? >> > > yes, exactly. it would interest me either. > so there are no director own possibilities to check in minimum > cursorsize right now? Of course no. Director cannot know size of Valentina internal c++ structures. You can estimate 4 bytes per selected record. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From silversoft at skynet.be Tue May 10 23:56:28 2005 From: silversoft at skynet.be (Silversoft) Date: Tue May 10 16:56:49 2005 Subject: Docs for V4MD 1.1 In-Reply-To: Message-ID: <200505102156.j4ALuYMu003785@outmx021.isp.belgacom.be> >> Hello all, >> >> Are the docs for V4MD 1.1 available online? > >Yes, go to page products. >On left sidebar you can see link to Docs 1.x Thanks Ruslan ! As allways, you are a great help, even if only to show a blind mole where he should have looked in the first place :s From ktekinay at mactechnologies.com Tue May 10 19:11:53 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Tue May 10 18:12:00 2005 Subject: [ANN] Data-On-Demand ListBox 1.1 Message-ID: MacTechnologies Consulting Releases the Data-On-Demand ListBox 1.1; mimics standard ListBox better; SQLite example; general bug fixes. NEW YORK, NY (May 10, 2005) -- MacTechnologies Consulting is pleased to announce Data-On-Demand ListBox 1.1, an update to the "virtual" ListBox replacement for REALbasic. This new version mimics the functions of the standard ListBox even better, including drag-selection of multiple rows without using the shift key. It also includes updated examples, a new example that uses the SQLitePlugin, soon to be included with REALbasic, and corrects some bugs. ABOUT THE DATA-ON-DEMAND LISTBOX: The Data-On-Demand ListBox is a subclass of the native REALbasic ListBox and, as far as the end-user is concerned, will behave in the same way. The key difference for the programmer is that the Data-On-Demand ListBox does not store any data. Rather, it is a "virtual" ListBox that relies on you, the programmer, to provide data, row-by-row, as requested. As a result, the Data-On-Demand ListBox is much faster at populating thousands of rows and, because you maintain the data, does not require you to coordinate changes from the data in your database to the ListBox. The Data-On-Demand ListBox requires REALbasic 5.5 or later and, because it is written entirely in REALbasic, will work across platforms. It is available as an unrestricted demo (IDE only) with an extensive manual and examples from: Licenses are available for $50 per developer and allow for royalty-free inclusion of the Data-On-Demand ListBox in compiled applications. Site licenses are also available. For more information, MacTechnologies Consulting at . __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From jasondonahue at lycos.com Wed May 11 11:53:04 2005 From: jasondonahue at lycos.com (Jason Donahue) Date: Wed May 11 06:53:16 2005 Subject: v4md access server Message-ID: <20050511115304.428703384B@ws7-3.us4.outblaze.com> Tried out Valentina for the first time yesterday. Installed the embedded server and wrote the following: valentina = new(xtra "valentina") Valentina.Init( 4 * 1024 * 1024) valentina.debuglevel = #kLogParams server = new( Xtra "VServer", "localhost", "sa", "sa", 15433, 5) server.opensession() sysCatalog = server.databasecount() Get this result: * V4MD *: Valentina.new()...done * V4MD *: Valentina.init()...done * V4MD *: VServer.new()...done * V4MD *: VServer.openSession()...ERROR: 394506 and the last line gives handler not found in object error. -- _______________________________________________ NEW! Lycos Dating Search. The only place to search multiple dating sites at once. http://datingsearch.lycos.com From sunshine at public.kherson.ua Wed May 11 14:58:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 11 06:58:27 2005 Subject: v4md access server In-Reply-To: <20050511115304.428703384B@ws7-3.us4.outblaze.com> Message-ID: On 5/11/05 2:53 PM, "Jason Donahue" wrote: Hi Jason, > Tried out Valentina for the first time yesterday. > Installed the embedded server and wrote the following: > > valentina = new(xtra "valentina") > Valentina.Init( 4 * 1024 * 1024) > valentina.debuglevel = #kLogParams > server = new( Xtra "VServer", "localhost", "sa", "sa", 15433, 5) > server.opensession() > sysCatalog = server.databasecount() > > Get this result: > * V4MD *: Valentina.new()...done > * V4MD *: Valentina.init()...done > * V4MD *: VServer.new()...done > * V4MD *: VServer.openSession()...ERROR: 394506 > > and the last line gives handler not found in object error. Please check examples. In the client/server mode you should call Valentina.InitClient() -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From chuck at mediamacros.com Wed May 11 08:06:57 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Wed May 11 07:04:30 2005 Subject: Copy raw image data from one DB to another - Update In-Reply-To: References: Message-ID: <4281F561.2070601@mediamacros.com> Much more testing. It seems the error never happens (same code) if I let the database make 4 files instead of just 1. This may be my work around for now, though not ideal in this case. Thanks. -Chuck -------------------------- Chuck Neal CEO, MediaMacros, Inc. chuck@mediamacros.com http://www.mediamacros.com -------------------------- Check out the Developers Mall Your one stop shop for all your Director Xtra Needs http://www.mediamacros.net/customer Ruslan Zasukhin wrote: > On 5/9/05 10:27 PM, "Chuck Neal" wrote: > > >>No, that is the problem. Smaller exports are not an issue. It seems >>that it fails, around 297 every time. I am trying to determine if >>something is wrong with a file, etc but everything exports step by step >>with no problems individually, but in the whole export script is just >>dies and corrupts the database every time. > > > Hi Chuck, > > but 3000-400 first records with pictures do not eat many space I think ? > From heinrichruoff at gmail.com Wed May 11 15:03:13 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Wed May 11 08:03:19 2005 Subject: [V4MD] UTF-8 Text from MySql Message-ID: Hello to all, I'm new to Valentina and I just try to figure out if it is possible to import utf-8 encoded text from MySql to Valentina and use it in Director. thx in advance for all hints Heinrich From sunshine at public.kherson.ua Wed May 11 16:18:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 11 08:18:16 2005 Subject: [V4MD] UTF-8 Text from MySql In-Reply-To: Message-ID: On 5/11/05 4:03 PM, "Heinrich Ruoff" wrote: > Hello to all, > > I'm new to Valentina and I just try to figure out if it is possible to > import utf-8 encoded text from MySql to Valentina and use it in Director. way1: You can export from mySQL into text file Coma-separated, UTF8 Then use Vcursor.ImportText() function. You should specify for this function encoding of import file to be UTF8 I think exists example Example/VSQL/ImportExport -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Wed May 11 09:25:32 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Wed May 11 08:26:21 2005 Subject: Compressor bug (688) Message-ID: Report 688 states that the compressor bug was fixed in v.2.0.3, but I just tried the project I had sent to Ruslan and it still doesn't work. Shall I reopen the report, or have I missed something? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Wed May 11 16:34:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 11 08:34:09 2005 Subject: Compressor bug (688) In-Reply-To: Message-ID: On 5/11/05 4:25 PM, "Kem Tekinay" wrote: > Report 688 states that the compressor bug was fixed in v.2.0.3, but I just > tried the project I had sent to Ruslan and it still doesn't work. Shall I > reopen the report, or have I missed something? Yes, you should reopen it. Igor, check again this project. Follow steps as described in Mantis -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Wed May 11 15:42:59 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Wed May 11 08:43:05 2005 Subject: [V4MD] UTF-8 Text from MySql In-Reply-To: References: Message-ID: tried way2: Installed odbc driver for mysql and imported data to Valentina using Valentina Studio. Everything seems nice so far, but how can I use the utf-8 encoded text from Valentina in Director? On 5/11/05, Ruslan Zasukhin wrote: > On 5/11/05 4:03 PM, "Heinrich Ruoff" wrote: > > > Hello to all, > > > > I'm new to Valentina and I just try to figure out if it is possible to > > import utf-8 encoded text from MySql to Valentina and use it in Director. > > way1: > > You can export from mySQL into text file Coma-separated, UTF8 > > Then use Vcursor.ImportText() function. > You should specify for this function encoding of import file to be UTF8 > > I think exists example Example/VSQL/ImportExport > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From wgregoire at paris.mediagerance.com Wed May 11 15:47:01 2005 From: wgregoire at paris.mediagerance.com (Gregoire William) Date: Wed May 11 08:47:01 2005 Subject: [V4MD] UTF-8 Text from MySql In-Reply-To: Message-ID: <001b01c5562f$e915d160$1d0a11ac@wgregoire1> you can't Director isn't utf8 compliant try with Flash sprites but I doubt it will work since Director is between the FLash sprite and the DB -----Message d'origine----- De : valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net]De la part de Heinrich Ruoff Envoy? : mercredi 11 mai 2005 15:43 ? : Valentina Developers Objet : Re: [V4MD] UTF-8 Text from MySql tried way2: Installed odbc driver for mysql and imported data to Valentina using Valentina Studio. Everything seems nice so far, but how can I use the utf-8 encoded text from Valentina in Director? On 5/11/05, Ruslan Zasukhin wrote: > On 5/11/05 4:03 PM, "Heinrich Ruoff" wrote: > > > Hello to all, > > > > I'm new to Valentina and I just try to figure out if it is possible to > > import utf-8 encoded text from MySql to Valentina and use it in Director. > > way1: > > You can export from mySQL into text file Coma-separated, UTF8 > > Then use Vcursor.ImportText() function. > You should specify for this function encoding of import file to be UTF8 > > I think exists example Example/VSQL/ImportExport > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed May 11 16:53:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 11 08:53:41 2005 Subject: [V4MD] UTF-8 Text from MySql In-Reply-To: Message-ID: On 5/11/05 4:42 PM, "Heinrich Ruoff" wrote: > tried way2: > Installed odbc driver for mysql and imported data to Valentina using > Valentina Studio. > > Everything seems nice so far, but how can I use the utf-8 encoded text > from Valentina in Director? Look. Question was how to import mySQL UTF8 => Valentina UTF16 Later during work Valentina UTF16 <=> Director ASCII -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Wed May 11 15:55:40 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Wed May 11 08:55:46 2005 Subject: [V4MD] UTF-8 Text from MySql In-Reply-To: <001b01c5562f$e915d160$1d0a11ac@wgregoire1> References: <001b01c5562f$e915d160$1d0a11ac@wgregoire1> Message-ID: Flash is what i thougt of as well. Is there no chance to pass the text from Valentina to Flash? Maybe by building an XML String and parsing in to a XML Object Flash? Or is it maybe possible to unencode the utf-8 text when reading from Valentina? On 5/11/05, Gregoire William wrote: > you can't > Director isn't utf8 compliant > try with Flash sprites but I doubt it will work since Director is between > the FLash sprite and the DB > > -----Message d'origine----- > De : valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net]De la part de Heinrich > Ruoff > Envoy? : mercredi 11 mai 2005 15:43 > ? : Valentina Developers > Objet : Re: [V4MD] UTF-8 Text from MySql > > > tried way2: > Installed odbc driver for mysql and imported data to Valentina using > Valentina Studio. > > Everything seems nice so far, but how can I use the utf-8 encoded text > from Valentina in Director? > > On 5/11/05, Ruslan Zasukhin wrote: > > On 5/11/05 4:03 PM, "Heinrich Ruoff" wrote: > > > > > Hello to all, > > > > > > I'm new to Valentina and I just try to figure out if it is possible to > > > import utf-8 encoded text from MySql to Valentina and use it in > Director. > > > > way1: > > > > You can export from mySQL into text file Coma-separated, UTF8 > > > > Then use Vcursor.ImportText() function. > > You should specify for this function encoding of import file to be UTF8 > > > > I think exists example Example/VSQL/ImportExport > > > > -- > > Best regards, > > > > Ruslan Zasukhin > > VP Engineering and New Technology > > Paradigma Software, Inc > > > > Valentina - Joining Worlds of Information > > http://www.paradigmasoft.com > > > > [I feel the need: the need for speed] > > > > _______________________________________________ > > Valentina mailing list > > Valentina@lists.macserve.net > > http://lists.macserve.net/mailman/listinfo/valentina > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From vidal_olivier at yahoo.fr Wed May 11 16:23:30 2005 From: vidal_olivier at yahoo.fr (Olivier Vidal) Date: Wed May 11 09:24:56 2005 Subject: =?iso-8859-1?q?feature_request_V4RB2_N=B0366?= Message-ID: Hi Ruslan and list, I know that bugs are priority but please, do not forget the feature request 366 (V4RB2), asked on February 2nd and allocated to Ivan. I think that for those who use binary links, it is an important function. Below the copied query : ------------ Feature Request 366 ------------------------- It would maybe be interesting to have for the binary links an equivalent function of vfield.valueExist (). It would be useful to know if a binary link already exists for a record: E.g. Boolean=link1.linkExist (recId, tbA, tbB) For example, for tables M:M. Before binary linking two records of two tables, it is sometimes necessary to know if there is already no link between these two records. ------------------------------------------------------------------- thank you olivier From sunshine at public.kherson.ua Wed May 11 17:31:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 11 09:32:04 2005 Subject: [V4MD] UTF-8 Text from MySql In-Reply-To: Message-ID: On 5/11/05 4:55 PM, "Heinrich Ruoff" wrote: > Flash is what i thougt of as well. > Is there no chance to pass the text from Valentina to Flash? > Maybe by building an XML String and parsing in to a XML Object Flash? > > Or is it maybe possible to unencode the utf-8 text when reading from > Valentina? Well, we plan add to Valentina Server support of XML specially to better communicate with flash. This will take yet 2-4 months yet. Actually this is new big feature, so may be it should go into 2.5 or 3.0 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed May 11 17:32:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 11 09:32:47 2005 Subject: feature request V4RB2 N =?iso-8859-1?q?=B0?= 366 In-Reply-To: Message-ID: On 5/11/05 5:23 PM, "Olivier Vidal" wrote: > Hi Ruslan and list, > > I know that bugs are priority but please, do not forget the feature > request 366 (V4RB2), asked on February 2nd and allocated to Ivan. > > I think that for those who use binary links, it is an important > function. > > > Below the copied query : > > ------------ Feature Request 366 ------------------------- > It would maybe be interesting to have for the binary links an > equivalent function of vfield.valueExist (). > It would be useful to know if a binary link already exists for a record: > > E.g. > > Boolean=link1.linkExist (recId, tbA, tbB) > > For example, for tables M:M. Before binary linking two records of two > tables, it is sometimes necessary to know if there is already no link > between these two records. > ------------------------------------------------------------------- Hmm, it seems Ivan already have made this. Ivan ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Wed May 11 18:04:42 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed May 11 11:05:01 2005 Subject: =?iso-8859-1?q?Re=3A_feature_request_V4RB2_N=B0366?= References: Message-ID: <003b01c55643$2571a6d0$af171e97@paolokzjsndit5> Hi Oliver and list I have report to Mantis some similar bugs (on V4MD) about binary-link and now seems that they are fixed :-) We can wait for next update for test it. Paolo ----- Original Message ----- From: "Olivier Vidal" To: "Valentina Developers" Sent: Wednesday, May 11, 2005 4:23 PM Subject: feature request V4RB2 N?366 > Hi Ruslan and list, > > I know that bugs are priority but please, do not forget the feature > request 366 (V4RB2), asked on February 2nd and allocated to Ivan. > > I think that for those who use binary links, it is an important > function. > > > Below the copied query : > > ------------ Feature Request 366 ------------------------- > It would maybe be interesting to have for the binary links an > equivalent function of vfield.valueExist (). > It would be useful to know if a binary link already exists for a record: > > E.g. > > Boolean=link1.linkExist (recId, tbA, tbB) > > For example, for tables M:M. Before binary linking two records of two > tables, it is sometimes necessary to know if there is already no link > between these two records. > ------------------------------------------------------------------- > > thank you > > olivier > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 06/05/2005 > > From sunshine at public.kherson.ua Wed May 11 19:48:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 11 11:49:05 2005 Subject: feature request V4RB2 N =?iso-8859-1?q?=B0?= 366 In-Reply-To: <003b01c55643$2571a6d0$af171e97@paolokzjsndit5> Message-ID: On 5/11/05 7:04 PM, "info@vallemediatime.com" wrote: > Hi Oliver and list > I have report to Mantis some similar bugs (on V4MD) about binary-link and > now seems that they are fixed :-) > We can wait for next update for test it. > Paolo Oliver want to have special function which can test if such link exists > ----- Original Message ----- > From: "Olivier Vidal" > To: "Valentina Developers" > Sent: Wednesday, May 11, 2005 4:23 PM > Subject: feature request V4RB2 N?366 > > >> Hi Ruslan and list, >> >> I know that bugs are priority but please, do not forget the feature >> request 366 (V4RB2), asked on February 2nd and allocated to Ivan. >> >> I think that for those who use binary links, it is an important >> function. >> >> >> Below the copied query : >> >> ------------ Feature Request 366 ------------------------- >> It would maybe be interesting to have for the binary links an >> equivalent function of vfield.valueExist (). >> It would be useful to know if a binary link already exists for a record: >> >> E.g. >> >> Boolean=link1.linkExist (recId, tbA, tbB) >> >> For example, for tables M:M. Before binary linking two records of two >> tables, it is sometimes necessary to know if there is already no link >> between these two records. >> ------------------------------------------------------------------- -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Wed May 11 18:58:52 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Wed May 11 11:58:59 2005 Subject: =?iso-8859-1?q?Re=3A_feature_request_V4RB2_N_=B0_366?= References: Message-ID: <000a01c5564a$b625daf0$af171e97@paolokzjsndit5> >> Oliver want to have special function which can test if such link exists Yes and I agree with this request, it's useful for my project also. Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Wednesday, May 11, 2005 6:48 PM Subject: Re: feature request V4RB2 N ? 366 On 5/11/05 7:04 PM, "info@vallemediatime.com" wrote: > Hi Oliver and list > I have report to Mantis some similar bugs (on V4MD) about binary-link and > now seems that they are fixed :-) > We can wait for next update for test it. > Paolo Oliver want to have special function which can test if such link exists > ----- Original Message ----- > From: "Olivier Vidal" > To: "Valentina Developers" > Sent: Wednesday, May 11, 2005 4:23 PM > Subject: feature request V4RB2 N?366 > > >> Hi Ruslan and list, >> >> I know that bugs are priority but please, do not forget the feature >> request 366 (V4RB2), asked on February 2nd and allocated to Ivan. >> >> I think that for those who use binary links, it is an important >> function. >> >> >> Below the copied query : >> >> ------------ Feature Request 366 ------------------------- >> It would maybe be interesting to have for the binary links an >> equivalent function of vfield.valueExist (). >> It would be useful to know if a binary link already exists for a record: >> >> E.g. >> >> Boolean=link1.linkExist (recId, tbA, tbB) >> >> For example, for tables M:M. Before binary linking two records of two >> tables, it is sometimes necessary to know if there is already no link >> between these two records. >> ------------------------------------------------------------------- -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 06/05/2005 From rbgeek at yahoo.com Wed May 11 10:51:18 2005 From: rbgeek at yahoo.com (RB Geek) Date: Wed May 11 12:51:28 2005 Subject: Field name limitations Message-ID: <20050511175118.65154.qmail@web41626.mail.yahoo.com> Can anyone tell me what, if any, limitations there are on the length for field names in Valentina 1.1. The documentation that I have notes a 32 byte limit, but I have already exceeded that without any problems. I need to let my customers know what the limit is, though, to ensure a smooth turnaround on the regular projects they send our way (they specify the field names, for a variety of reasons). I suspect that any limit is far beyond anything they might require, but I would like to have a firm, accurate number to offer them. Thanks, Jon Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html From sunshine at public.kherson.ua Wed May 11 21:26:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 11 13:26:55 2005 Subject: Field name limitations In-Reply-To: <20050511175118.65154.qmail@web41626.mail.yahoo.com> Message-ID: On 5/11/05 8:51 PM, "RB Geek" wrote: > Can anyone tell me what, if any, limitations there are on the length for field > names in Valentina 1.1. The documentation that I have notes a 32 byte limit, > but I have already exceeded that without any problems. > I need to let my customers know what the limit is, though, to ensure a smooth > turnaround on the regular projects they send our way (they specify the field > names, for a variety of reasons). > I suspect that any limit is far beyond anything they might require, but I > would like to have a firm, accurate number to offer them. IT SEEMS that in reality both 1.x and 2.0 do not have limits here. We MAY BE have try set some value, but it is artificial. What sense create too long field names ? Then you will need type them each time in SQL query... And they will not fit into GUI tables. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed May 11 21:32:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 11 13:32:21 2005 Subject: [V4REV] Advice please on constants. Message-ID: Hi Revolution developers, I have try implement in V4REV set of symbolic constants as we have them in V4RB and V4MD. This is what works now ------------------------------------------------------- on mouseUp global EVDebugLevel_kLogParams get valentina( "Init", 8 * 1024 * 1024 ) get Valentina( "DebugLevel", EVDebugLevel_kLogParams ) -- get some parameters to display them: put Valentina( "Version" ) into field efVersion put Valentina( "CacheSize" ) into field efCacheSize put Valentina( "DebugLevel" ) into field efDebugLevel end mouseUp ------------------------------------------------------- As you know external can get/set GLOBAL and LOCAL variables. So on start V4REV can produce about 50-100 such constants with correct values. As you see only problem, that in Transcript, you must declare it as global On start of function to access it. Annoying as for me. But IMHO still better then just get Valentina( "DebugLevel", 3 ) What you think? Note, at least you are NOT forced to use these symbol names. you still can use numeric constants. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From snw at paradise.net.nz Thu May 12 06:38:48 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Wed May 11 13:39:00 2005 Subject: [V4MD] UTF-8 Text from MySql In-Reply-To: References: <001b01c5562f$e915d160$1d0a11ac@wgregoire1> Message-ID: <6.2.1.2.2.20050512063530.03392020@pop3.paradise.net.nz> >Flash is what i thougt of as well. >Is there no chance to pass the text from Valentina to Flash? >Maybe by building an XML String and parsing in to a XML Object Flash? > >Or is it maybe possible to unencode the utf-8 text when reading from >Valentina? If you're using Director MX 2004, you could try using JavaScript functions to retrieve UTF-8 from Valentina and pass them to Flash for display. The SpiderMonkey JS engine is unicode savvy. As long as the lingo engine doesn't touch them they *may* stay intact - I haven't tried it but it's worth a shot (unless someone has tried it and knows it doesn't work) Cheers, -Sean. From sunshine at public.kherson.ua Wed May 11 21:42:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 11 13:42:42 2005 Subject: [V4REV] Advice 2 about func names Message-ID: Hi Revolution developers, In VXCMD 1.x we have get Valentina( "FuncName", param1, param2, ... ) Now, since we drop xCards support, I see possibility that each function will be registered to Revolution. So we can get e.g. get Valentina_FuncName( param1, param2, ... ) For example: get Valentina_Init( 8 * 1024 * 1024 ) get Valentina_ShutDown() Instead of get Valentina( "Init", 8 * 1024 * 1024 ) get Valentina( "ShutDown" ) ---------------- Also we can have in 2.x not only Valentina prefix but put VDatabase_CreateTable( "person" ) into personRef put VTable_CreateStringField( personRef, "Name", 50, fIndex + fUnique ) into fldRef Instead of put Valentina( "VDatabase_CreateTable", "person" ) into personRef put Valentina( "VTable_CreateStringField", personRef, "Name", 50, fIndex + fUnique ) into fldRef Do you like new syntax ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cmsheffield at gmail.com Wed May 11 12:52:58 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Wed May 11 13:59:17 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: References: Message-ID: Yes! Thank you, thank you. :-) Chris Sheffield Read Naturally On May 11, 2005, at 12:42 PM, Ruslan Zasukhin wrote: > Hi Revolution developers, > > In VXCMD 1.x we have > > get Valentina( "FuncName", param1, param2, ... ) > > Now, since we drop xCards support, I see possibility that each > function will > be registered to Revolution. So we can get e.g. > > get Valentina_FuncName( param1, param2, ... ) > > For example: > > get Valentina_Init( 8 * 1024 * 1024 ) > get Valentina_ShutDown() > > Instead of > > get Valentina( "Init", 8 * 1024 * 1024 ) > get Valentina( "ShutDown" ) > > > > ---------------- > Also we can have in 2.x not only Valentina prefix but > > put VDatabase_CreateTable( "person" ) into personRef > > put VTable_CreateStringField( personRef, "Name", 50, fIndex + > fUnique ) > into fldRef > > > Instead of > > put Valentina( "VDatabase_CreateTable", "person" ) into personRef > > put Valentina( "VTable_CreateStringField", personRef, "Name", 50, > fIndex + fUnique ) into fldRef > > > Do you like new syntax ? > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From lists at mangomultimedia.com Wed May 11 12:06:52 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed May 11 14:06:59 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: References: Message-ID: On May 11, 2005, at 11:42 AM, Ruslan Zasukhin wrote: > ... > Do you like new syntax ? Yes. Less typing :) -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From IvanSmahin at public.kherson.ua Thu May 12 00:02:39 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Wed May 11 16:02:42 2005 Subject: =?iso-8859-1?q?Re=5B2=5D=3A_feature_request_V4RB2_N_=B0_366?= In-Reply-To: <000a01c5564a$b625daf0$af171e97@paolokzjsndit5> References: <000a01c5564a$b625daf0$af171e97@paolokzjsndit5> Message-ID: <442407551.20050512000239@public.kherson.ua> Hello info, Wednesday, May 11, 2005, 7:58:52 PM, you wrote: >>> Oliver want to have special function which can test if such link exists ivc> Yes and I agree with this request, it's useful for my project also. ivc> Paolo But we have already similar method - CountLinked. If record is not linked it returns zero. Maybe I've missed something important, but it seems to be the same. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From heinrichruoff at gmail.com Wed May 11 23:11:47 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Wed May 11 16:11:52 2005 Subject: [V4MD] UTF-8 Text from MySql In-Reply-To: <6.2.1.2.2.20050512063530.03392020@pop3.paradise.net.nz> References: <001b01c5562f$e915d160$1d0a11ac@wgregoire1> <6.2.1.2.2.20050512063530.03392020@pop3.paradise.net.nz> Message-ID: I'll try to figure that Flash SpiderMonkey thing out. If there is any success I'll let you know. My problem so far is that there is already something wrong with the utf-8 encoding in mySQL. So it won't work in Director ;-) Normally utf encoded characters would be automatically transformed to ANSI when passed from Valentina to Director - or am I wrong? On 5/11/05, Sean Wilson wrote: > > >Flash is what i thougt of as well. > >Is there no chance to pass the text from Valentina to Flash? > >Maybe by building an XML String and parsing in to a XML Object Flash? > > > >Or is it maybe possible to unencode the utf-8 text when reading from > >Valentina? > > If you're using Director MX 2004, you could try using JavaScript functions > to retrieve UTF-8 from Valentina and pass them to Flash for display. The > SpiderMonkey JS engine is unicode savvy. As long as the lingo engine > doesn't touch them they *may* stay intact - I haven't tried it but it's > worth a shot (unless someone has tried it and knows it doesn't work) > > Cheers, > -Sean. > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From peter.salomon at gmx.net Thu May 12 00:05:57 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Wed May 11 17:06:04 2005 Subject: [V4MD Mac Servermode] Import in Client/server mode. In-Reply-To: References: Message-ID: Am 06.05.2005 um 20:15 schrieb Ruslan Zasukhin: > Ak! > > Igor have not implement this method in server 2.0 > He will fix this, and next build of server will have it. > > For now you can use local way to produce db hi ruslan, is this already fixed or should i report it into mantis? peter From kray at sonsothunder.com Wed May 11 22:15:28 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed May 11 22:15:43 2005 Subject: VXCMD 1.x and Revolution 2.1 In-Reply-To: Message-ID: On 5/9/05 12:23 PM, "Ruslan Zasukhin" wrote: > Rev guys self have take our C++ SDK and produce > VXCMD_macho (it is bad that they use our name!!!) > which support only REV DB way. This is why I have never used the Rev DB wrappers, but have always attached to the Valentina XCMD and called it directly using Valentina calls. > Now I think that in theory it is possible to have 2 driver. > But again IMHO this is not best way. > > If we keep all in one, then you can mix both ways I think. > For example database Ref from REVDB ca be used with Valentina API. Makes sense to me, but until that time comes, I'll continue to stick with the direct calls to Valentina. :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray@sonsothunder.com From sunshine at public.kherson.ua Thu May 12 07:41:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 11 23:41:29 2005 Subject: [V4MD] UTF-8 Text from MySql In-Reply-To: Message-ID: On 5/12/05 12:11 AM, "Heinrich Ruoff" wrote: Hi Heinrich, > I'll try to figure that Flash SpiderMonkey thing out. > If there is any success I'll let you know. > > My problem so far is that there is already something wrong with the > utf-8 encoding in mySQL. So it won't work in Director ;-) > Normally utf encoded characters would be automatically transformed to > ANSI when passed from Valentina to Director - or am I wrong? I already have write. There are 2 steps here: 1) import of UTF8 mySQL files into Valentina's UTF16 db. after this step you should get good Valentina db. you should be able browse its records with e.g. Vstudio. 2) when you use this Valentina db with V4MD then V4MD will convert UTF16 strings into ANSI strings and give them to director -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 12 07:42:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 11 23:42:13 2005 Subject: [V4MD Mac Servermode] Import in Client/server mode. In-Reply-To: Message-ID: On 5/12/05 1:05 AM, "Peter Salomon" wrote: > > Am 06.05.2005 um 20:15 schrieb Ruslan Zasukhin: > >> Ak! >> >> Igor have not implement this method in server 2.0 >> He will fix this, and next build of server will have it. >> >> For now you can use local way to produce db > > hi ruslan, > > is this already fixed or should i report it into mantis? In any case add into Mantis. Project Vserver. It seems Igor have fix this already. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From vidal_olivier at yahoo.fr Thu May 12 08:04:05 2005 From: vidal_olivier at yahoo.fr (Olivier Vidal) Date: Thu May 12 01:05:46 2005 Subject: =?iso-8859-1?q?Re=3A_Re=5B2=5D=3A_feature_request_V4RB2_N_=B0_36?= =?iso-8859-1?q?6?= In-Reply-To: <442407551.20050512000239@public.kherson.ua> References: <000a01c5564a$b625daf0$af171e97@paolokzjsndit5> <442407551.20050512000239@public.kherson.ua> Message-ID: Hi Ivan, > > But we have already similar method - CountLinked. > If record is not linked it returns zero. > > Maybe I've missed something important, but it seems to be the > same. > I badly expressed myself. I meant that it would be useful to have a function which would allow to verify if TWO records are binary linked. E.g. Boolean=link1.linkexist (recId1, recId2) olivier From info at vallemediatime.com Thu May 12 12:09:40 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu May 12 05:09:44 2005 Subject: API binary-link help Message-ID: <008201c556da$b6479150$85251e97@paolokzjsndit5> Hi Ruslan, I need to create (and check) a link STUDENTS <---> PARENTS Every student can have only two linked record on PARENTS table: one for father and one for mother. The link is 1:M type but if I want limited M to 2 value like max value.... how can I do it? Thanks Paolo From sunshine at public.kherson.ua Thu May 12 13:46:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 12 05:46:37 2005 Subject: API binary-link help In-Reply-To: <008201c556da$b6479150$85251e97@paolokzjsndit5> Message-ID: On 5/12/05 1:09 PM, "info@vallemediatime.com" wrote: > Hi Ruslan, > I need to create (and check) a link STUDENTS <---> PARENTS > Every student can have only two linked record on PARENTS table: one for father > and one for mother. > The link is 1:M type but if I want limited M to 2 value like max value.... how > can I do it? We have no such feature yet, but we plan it. In theory exists link 2 : M I.e. Developer point that can be 0, 1 or 2 linked objects of left side. Right now you need write your own code that will check number of links for some student to parents table. You have this function LinkCount(). -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Thu May 12 15:42:18 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Thu May 12 08:42:27 2005 Subject: V2 Organization of database files Message-ID: <001201c556f8$6afc1270$5c1c1e97@paolokzjsndit5> Hi Ruslan, The Valentina DB default files are (4): .vdb .dat .blb .ind I need to understand what number of files is better for my project. e.g. I'm working on a DB with 19 table and 12 binary-link. All data are string (or number stored like string) When I launch my DB I automatically create a copy of folder with 4 files. ... You suggets what to me? Thanks Paolo From rbgeek at yahoo.com Thu May 12 07:27:15 2005 From: rbgeek at yahoo.com (RB Geek) Date: Thu May 12 09:27:24 2005 Subject: Field name limitations In-Reply-To: Message-ID: <20050512142715.51800.qmail@web41621.mail.yahoo.com> Ruslan, Thank you for the info. I was coming to the same conclusion from my own testing. I was able to create tables with absurdly long field names without trouble. It's nice to know that Valentina is that flexible. I can just make up my own limit for my customer, as long as I don't have to worry about exceeding any internal limits in Valentina. For what it's worth, I'm really looking forward to upgrading the projects to Valentina 2.0 - hopefully soon. Thanks again, Jon --- Ruslan Zasukhin wrote: > > IT SEEMS that in reality both 1.x and 2.0 do not > have limits here. > > We MAY BE have try set some value, but it is > artificial. > > What sense create too long field names ? > Then you will need type them each time in SQL > query... > And they will not fit into GUI tables. > __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail From sunshine at public.kherson.ua Thu May 12 23:11:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 12 15:12:02 2005 Subject: V2 Organization of database files In-Reply-To: <001201c556f8$6afc1270$5c1c1e97@paolokzjsndit5> Message-ID: On 5/12/05 4:42 PM, "info@vallemediatime.com" wrote: > Hi Ruslan, > The Valentina DB default files are (4): .vdb .dat .blb .ind > > I need to understand what number of files is better for my project. > e.g. > I'm working on a DB with 19 table and 12 binary-link. > All data are string (or number stored like string) > When I launch my DB I automatically create a copy of folder with 4 files. > ... > You suggets what to me? Paolo, In the ValentinaKernel.pdf are described advantages of each mode. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rjb at robelko.com Fri May 13 01:23:16 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu May 12 19:08:07 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: References: Message-ID: >Hi Revolution developers, > >In VXCMD 1.x we have > > get Valentina( "FuncName", param1, param2, ... ) > >Now, since we drop xCards support, I see possibility that each function will >be registered to Revolution. So we can get e.g. > > get Valentina_FuncName( param1, param2, ... ) > >For example: > > get Valentina_Init( 8 * 1024 * 1024 ) > get Valentina_ShutDown() > >Instead of > > get Valentina( "Init", 8 * 1024 * 1024 ) > get Valentina( "ShutDown" ) > I am ambivalent about this, personally. On one hand, it will make Valentina appear more integrated with Rev and may be a tad less typing, but on the other hand, it will reduce flexibility for factoring code since these new functions will have to be hard coded. In some of my projects I am using adaptor (wrapper) functions, and being able to pass Valentina functions as parameters is quite handy. >---------------- >Also we can have in 2.x not only Valentina prefix but > > put VDatabase_CreateTable( "person" ) into personRef > > put VTable_CreateStringField( personRef, "Name", 50, fIndex + fUnique ) > into fldRef > > >Instead of > > put Valentina( "VDatabase_CreateTable", "person" ) into personRef > > put Valentina( "VTable_CreateStringField", personRef, "Name", 50, > fIndex + fUnique ) into fldRef > > >Do you like new syntax ? Not to rain on the parade but IMHO this increases chances of name conflicts beyond comfortable and makes the code less self-documenting. I rather type a few chars more. I sure hope you will let us to continue using Valentina("function",...) as it is now even if you go ahead with these new calls. Aside the above points, having to recode some of my bigger and older projects would be a big job. I also wonder about increased effort for you to maintain those new functions, particularly when adding new functions. Won't you need to have a series of externals instead of a single one? Or are you planning to have a Valentina library that defines those as passthru functions to the external? Robert Brenstein From rjb at robelko.com Fri May 13 01:52:29 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu May 12 19:08:17 2005 Subject: [V4REV] symbolic constants Message-ID: >Hi Revolution developers, > >I have try implement in V4REV set of symbolic constants as we have them in >V4RB and V4MD. > >This is what works now > >------------------------------------------------------- >on mouseUp > global EVDebugLevel_kLogParams > > get valentina( "Init", 8 * 1024 * 1024 ) > > get Valentina( "DebugLevel", EVDebugLevel_kLogParams ) > I don't get how do I choose the debugging level I want to set if EVDebugLevel_kLogParams is assigned by Valentina. Or do I misunderstand something? > -- get some parameters to display them: > put Valentina( "Version" ) into field efVersion > put Valentina( "CacheSize" ) into field efCacheSize > put Valentina( "DebugLevel" ) into field efDebugLevel > >end mouseUp >------------------------------------------------------- How will Valentina distinguish these two: get Valentina( "DebugLevel", EVDebugLevel_kLogParams ) put Valentina( "DebugLevel" ) into field efDebugLevel I mean how Valentina knows which one is get and which one is set? > >As you know external can get/set GLOBAL and LOCAL variables. >So on start V4REV can produce about 50-100 such constants with correct >values. > >As you see only problem, that in Transcript, you must declare it as > global > >On start of function to access it. Annoying as for me. >But IMHO still better then just > > get Valentina( "DebugLevel", 3 ) > > >What you think? > >Note, at least you are NOT forced to use these symbol names. > you still can use numeric constants. a) I wonder about memory by you declaring hundred of constant behind our back and possibly us not even using any of them. Not mentioning that we would need to have all of them documented. I don't see that as much of help. b) declaring a globals by us is not a problem per se. However, if I have to declare over and over a series of constants with names like EVDebugLevel_kLogParams, it will be more effort than it is worth it. Lots of typing with plenty of chances for typos whereas typing a constant will be always simpler and less error prone. c) instead of creating a hundred of variables, it may be better to create a single array variable, so there is only a single name to declare as global. Surely more user-friendly and more self-documenting. And we can get a list of all declared values in a single call, using the keys() function. d) may be such a global should not be assigned automatically when Valentina external is called, if I follow your suggestion correctly, but there is be a function we call specifying the name of the array we want to be filled. First, you can't know whether we call debuglevel or init or version first. Second, we may want a different name for the global. Or we may prefer it to be local rather than global. Robert Brenstein From lists at mangomultimedia.com Thu May 12 19:30:22 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu May 12 21:30:35 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: References: Message-ID: <736814FE-2DEB-47F7-BB75-6C2B7E728567@mangomultimedia.com> On May 12, 2005, at 4:23 PM, Robert Brenstein wrote: > Not to rain on the parade but IMHO this increases chances of name > conflicts beyond comfortable and makes the code less self- > documenting. I rather type a few chars more. It is really only a two character difference between the two variants. I was just joking around about having to type less. I do like the proposed syntax more than the Valentina("") stuff (just because it seems "right") but I could see how that could create problems for someone who has the code sprinkled all over their projects. It really isn't a big deal either way for me. > I sure hope you will let us to continue using Valentina > ("function",...) as it is now even if you go ahead with these new > calls. Aside the above points, having to recode some of my bigger > and older projects would be a big job. > > I also wonder about increased effort for you to maintain those new > functions, particularly when adding new functions. Won't you need > to have a series of externals instead of a single one? Or are you > planning to have a Valentina library that defines those as passthru > functions to the external? In the code for an external you simply add a line of text that maps a function in your external to a transcript handler. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From rjb at robelko.com Fri May 13 05:05:29 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu May 12 22:15:05 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: <736814FE-2DEB-47F7-BB75-6C2B7E728567@mangomultimedia.com> References: <736814FE-2DEB-47F7-BB75-6C2B7E728567@mangomultimedia.com> Message-ID: >>Not to rain on the parade but IMHO this increases chances of name >>conflicts beyond comfortable and makes the code less >>self-documenting. I rather type a few chars more. > >It is really only a two character difference between the two >variants. I was just joking around about having to type less. I do >like the proposed syntax more than the Valentina("") stuff (just >because it seems "right") but I could see how that could create >problems for someone who has the code sprinkled all over their >projects. It really isn't a big deal either way for me. The first variant proposed by Ruslan had Valentina_ as prefix for all calls, so at least it was painfully clear where they are coming from. The second variant has only V up front that is common and that makes me uncomfortable. >>I also wonder about increased effort for you to maintain those new >>functions, particularly when adding new functions. Won't you need >>to have a series of externals instead of a single one? Or are you >>planning to have a Valentina library that defines those as passthru >>functions to the external? > >In the code for an external you simply add a line of text that maps >a function in your external to a transcript handler. Will that work same for Win, OSX, and OS9? I was not aware that a single external can have multiple entry points. Oh, wait, what is that about mapping an external to a transcript handler? Robert From sunshine at public.kherson.ua Fri May 13 08:34:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 13 00:35:07 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: Message-ID: On 5/13/05 2:23 AM, "Robert Brenstein" wrote: >> For example: >> >> get Valentina_Init( 8 * 1024 * 1024 ) >> get Valentina_ShutDown() >> >> Instead of >> >> get Valentina( "Init", 8 * 1024 * 1024 ) >> get Valentina( "ShutDown" ) >> > > I am ambivalent about this, personally. On one hand, it will make > Valentina appear more integrated with Rev and may be a tad less > typing, but on the other hand, it will reduce flexibility for > factoring code since these new functions will have to be hard coded. > In some of my projects I am using adaptor (wrapper) functions, and > being able to pass Valentina functions as parameters is quite handy. > > >> ---------------- >> Also we can have in 2.x not only Valentina prefix but >> >> put VDatabase_CreateTable( "person" ) into personRef >> >> put VTable_CreateStringField( personRef, "Name", 50, fIndex + fUnique ) >> into fldRef >> >> >> Instead of >> >> put Valentina( "VDatabase_CreateTable", "person" ) into personRef >> >> put Valentina( "VTable_CreateStringField", personRef, "Name", 50, >> fIndex + fUnique ) into fldRef >> >> >> Do you like new syntax ? > > Not to rain on the parade but IMHO this increases chances of name > conflicts beyond comfortable and makes the code less > self-documenting. I rather type a few chars more. How this can raise name conflicts ??? All our funcs will start with V and have db specific words database, table, field, ... > I sure hope you will let us to continue using > Valentina("function",...) as it is now even if you go ahead with > these new calls. Aside the above points, having to recode some of my > bigger and older projects would be a big job. > > I also wonder about increased effort for you to maintain those new > functions, particularly when adding new functions. Won't you need to > have a series of externals instead of a single one? Or are you > planning to have a Valentina library that defines those as passthru > functions to the external? Robert, to use new style, we have NO efforts. We remove then some overhead code of 1.x which was here to make it compatiable to xCards. New functions also will make it faster, because now I remove own layer of mapping of function names. I should not do nothing special. This is supported by Revolution SDK. I wonder why before I was pointed into single name direction... May be xCards cannot do this in other way ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 13 08:35:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 13 00:36:00 2005 Subject: [V4REV] symbolic constants In-Reply-To: Message-ID: On 5/13/05 2:52 AM, "Robert Brenstein" wrote: >> Hi Revolution developers, >> >> I have try implement in V4REV set of symbolic constants as we have them in >> V4RB and V4MD. >> >> This is what works now >> >> ------------------------------------------------------- >> on mouseUp >> global EVDebugLevel_kLogParams >> >> get valentina( "Init", 8 * 1024 * 1024 ) >> >> get Valentina( "DebugLevel", EVDebugLevel_kLogParams ) >> > > I don't get how do I choose the debugging level I want to set if > EVDebugLevel_kLogParams is assigned by Valentina. Or do I > misunderstand something? Yes, Valentina on start can create 100 global constants. Which you later can use -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 13 08:38:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 13 00:39:04 2005 Subject: [V4REV] symbolic constants In-Reply-To: Message-ID: On 5/13/05 2:52 AM, "Robert Brenstein" wrote: >> -- get some parameters to display them: >> put Valentina( "Version" ) into field efVersion >> put Valentina( "CacheSize" ) into field efCacheSize >> put Valentina( "DebugLevel" ) into field efDebugLevel >> >> end mouseUp >> ------------------------------------------------------- > > How will Valentina distinguish these two: > > get Valentina( "DebugLevel", EVDebugLevel_kLogParams ) > put Valentina( "DebugLevel" ) into field efDebugLevel By number of arguments. IMHO this is another good idea for V4REV 2.0 Because this give Rev developers way similar to other languages: you have PROPERTY and you have 2 form to GET and SET it. In REALbasic they write Valentina.CacheSize = 500 s = Valentina.CacheSize In procedural language we write Valentina.SetCacheSize( 500 ) s = Valentina.GetCacheSize() -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 13 08:39:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 13 00:40:03 2005 Subject: [V4REV] symbolic constants In-Reply-To: Message-ID: On 5/13/05 2:52 AM, "Robert Brenstein" wrote: >> Note, at least you are NOT forced to use these symbol names. >> you still can use numeric constants. > > a) I wonder about memory by you declaring hundred of constant behind > our back and possibly us not even using any of them. Not mentioning > that we would need to have all of them documented. I don't see that > as much of help. This will eat 100 * 4 bytes = 400 bytes No problems -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 13 08:46:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 13 00:46:39 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: <736814FE-2DEB-47F7-BB75-6C2B7E728567@mangomultimedia.com> Message-ID: On 5/13/05 5:30 AM, "Trevor DeVore" wrote: > On May 12, 2005, at 4:23 PM, Robert Brenstein wrote: >> Not to rain on the parade but IMHO this increases chances of name >> conflicts beyond comfortable and makes the code less self- >> documenting. I rather type a few chars more. > > It is really only a two character difference between the two > variants. I was just joking around about having to type less. I do > like the proposed syntax more than the Valentina("") stuff (just > because it seems "right") but I could see how that could create > problems for someone who has the code sprinkled all over their > projects. It really isn't a big deal either way for me. Hmm, I have think that Revolution can easy SEARCH and REPLACE something inside of own projects ? I was going to offer you, to write small utility, I think in 10 lines of code, Which can open existed REV project and change Valentina( "FooName", ... ) To Valentina_FooName( ... ) Simple REGEX search.... Where you see problems? Guys, I really want go with new API. * It make Valentina for Revolution similar to our other procedural syntax * it make calls faster * it simplify our own work, because we should not spend time to support own table of function calls. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 13 08:49:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 13 00:49:58 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: Message-ID: On 5/13/05 6:05 AM, "Robert Brenstein" wrote: >>> Not to rain on the parade but IMHO this increases chances of name >>> conflicts beyond comfortable and makes the code less >>> self-documenting. I rather type a few chars more. >> >> It is really only a two character difference between the two >> variants. I was just joking around about having to type less. I do >> like the proposed syntax more than the Valentina("") stuff (just >> because it seems "right") but I could see how that could create >> problems for someone who has the code sprinkled all over their >> projects. It really isn't a big deal either way for me. > > The first variant proposed by Ruslan had Valentina_ as prefix for all > calls, so at least it was painfully clear where they are coming from. > The second variant has only V up front that is common and that makes > me uncomfortable. We will have: Valentina_ Vdatabase_ Vtable_ VLink_ VSet VServer PLUS another action word. You think this can conflict to somebody? I doubt. In this way live all procedural languages, and for now was no conflicts. >>> I also wonder about increased effort for you to maintain those new >>> functions, particularly when adding new functions. Won't you need >>> to have a series of externals instead of a single one? Or are you >>> planning to have a Valentina library that defines those as passthru >>> functions to the external? >> >> In the code for an external you simply add a line of text that maps >> a function in your external to a transcript handler. > > Will that work same for Win, OSX, and OS9? yes > I was not aware that a > single external can have multiple entry points. It can > Oh, wait, what is > that about mapping an external to a transcript handler? ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 13 08:59:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 13 01:00:08 2005 Subject: [V4REV] symbolic constants In-Reply-To: Message-ID: On 5/13/05 2:52 AM, "Robert Brenstein" wrote: > b) declaring a globals by us is not a problem per se. However, if I > have to declare over and over a series of constants with names like > EVDebugLevel_kLogParams, it will be more effort than it is worth it. > Lots of typing with plenty of chances for typos whereas typing a > constant will be always simpler and less error prone. Wait, but what alternatives are ?!!! look 1) you can just write get Valentina( "DebugLevel", 3 ) VDatabase_SqlSelect( query, 1, 2, 2 ) -- do you remember what means 1, 2, 2 ?! I never remember this when I get project for test I always must go to docs to see what his means and may be here wrong values? 2) so if you agree that numeric values are devil, then you will start SELF define symbolic variable in the same way in EACH function where you need it on event kClientSide = 1 kReadOnly = 2 kRandom = 2 VDatabase_SqlSelect( query, kClientSide, kReadOnly, kRandom ) end But how this differ from on event global kClientSide, kReadOnly, kRandom VDatabase_SqlSelect( query, kClientSide, kReadOnly, kRandom ) end I think that first way even worse, because you AGAIN must remember actual numeric values. Actually Transcript itself is very weak here. No constants... 3) btw, way with globals have trap that if you use global var, but forget declare it inside of function as global you get zero value. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 13 09:01:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 13 01:01:50 2005 Subject: [V4REV] symbolic constants In-Reply-To: Message-ID: On 5/13/05 2:52 AM, "Robert Brenstein" wrote: > c) instead of creating a hundred of variables, it may be better to > create a single array variable, so there is only a single name to > declare as global. Surely more user-friendly and more > self-documenting. And we can get a list of all declared values in a > single call, using the keys() function. Interesting! please show me in transcript itself how this can looks > d) may be such a global should not be assigned automatically when > Valentina external is called, if I follow your suggestion correctly, > but there is be a function we call specifying the name of the array > we want to be filled. First, you can't know whether we call > debuglevel or init or version first. Second, we may want a different > name for the global. Or we may prefer it to be local rather than > global. Wait, 100 vars are create ONLY ONCE on Valentina Init call. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rbarber at yhb.att.ne.jp Fri May 13 15:15:19 2005 From: rbarber at yhb.att.ne.jp (ron barber) Date: Fri May 13 01:15:48 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: References: Message-ID: Ruslan, all, I don't want to minimize the cost of updating legacy apps but 1) I think search and replace can do this as Ruslan suggested, 2) more importantly, it means V4REV can be more quickly updated rather than being the odd man out that requires special processing to keep it up to date. So I am in favor of the new syntax my 2 yen, Ron On May 13, 2005, at 2:46 PM, Ruslan Zasukhin wrote: > On 5/13/05 5:30 AM, "Trevor DeVore" wrote: > >> On May 12, 2005, at 4:23 PM, Robert Brenstein wrote: >>> Not to rain on the parade but IMHO this increases chances of name >>> conflicts beyond comfortable and makes the code less self- >>> documenting. I rather type a few chars more. >> >> It is really only a two character difference between the two >> variants. I was just joking around about having to type less. I do >> like the proposed syntax more than the Valentina("") stuff (just >> because it seems "right") but I could see how that could create >> problems for someone who has the code sprinkled all over their >> projects. It really isn't a big deal either way for me. > > Hmm, I have think that Revolution can easy > > SEARCH and REPLACE something inside of own projects ? > > I was going to offer you, to write small utility, > I think in 10 lines of code, > Which can open existed REV project and change > > Valentina( "FooName", ... ) > > To > Valentina_FooName( ... ) > > Simple REGEX search.... > Where you see problems? > > > Guys, I really want go with new API. > > * It make Valentina for Revolution similar to our other procedural > syntax > > * it make calls faster > > * it simplify our own work, because we should not spend time to > support own > table of function calls. > > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From lists at mangomultimedia.com Thu May 12 23:42:18 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri May 13 01:42:30 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: References: <736814FE-2DEB-47F7-BB75-6C2B7E728567@mangomultimedia.com> Message-ID: On May 12, 2005, at 8:05 PM, Robert Brenstein wrote: > Oh, wait, what is that about mapping an external to a transcript > handler? I should clarify. What I meant was you map a function in the external to a handler that becomes available in transcript when your external is loaded, not remapping a current built-in transcript handler to an external. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From lists at mangomultimedia.com Thu May 12 23:47:28 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri May 13 01:47:31 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: References: Message-ID: On May 12, 2005, at 10:46 PM, Ruslan Zasukhin wrote: > > Hmm, I have think that Revolution can easy > > SEARCH and REPLACE something inside of own projects ? > > I was going to offer you, to write small utility, > I think in 10 lines of code, > Which can open existed REV project and change > > Valentina( "FooName", ... ) > > To > Valentina_FooName( ... ) > > Simple REGEX search.... > Where you see problems? This wouldn't be a problem at all. You could easily create a little stack that could search scripts of all open stacks (stack script, card script any object scripts) and do the replace. Just make sure you don't touch any of the Revolution IDE stacks. > Guys, I really want go with new API. > > * It make Valentina for Revolution similar to our other procedural > syntax > > * it make calls faster > > * it simplify our own work, because we should not spend time to > support own > table of function calls. These sound like excellent reasons for making the change. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From lists at mangomultimedia.com Thu May 12 23:51:23 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri May 13 01:51:27 2005 Subject: [V4REV] symbolic constants In-Reply-To: References: Message-ID: <0800FBE6-5258-4D01-A8AC-56B1C2A34CD0@mangomultimedia.com> On May 12, 2005, at 10:59 PM, Ruslan Zasukhin wrote: > > Actually Transcript itself is very weak here. No constants... There are constants. They just aren't like any other constants I've seen before. They are script specific. > 3) btw, way with globals have trap that if you use global var, but > forget > declare it inside of function as global you get zero value. You actually just need to declare your globals or constants outside of any handlers in the script. constant kDebugLevel = 3 global gMyGlobal on doSomething put "test" into gMyGlobal end doSomething on showSomething answer gMyGlobal &cr& kDebugLevel end showSomething -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From rjb at robelko.com Fri May 13 11:00:53 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri May 13 04:14:05 2005 Subject: [V4REV] symbolic constants In-Reply-To: References: Message-ID: >On 5/13/05 2:52 AM, "Robert Brenstein" wrote: > >>> Hi Revolution developers, >>> >>> I have try implement in V4REV set of symbolic constants as we have them in >>> V4RB and V4MD. >>> >>> This is what works now >>> >>> ------------------------------------------------------- >>> on mouseUp >>> global EVDebugLevel_kLogParams >>> >>> get valentina( "Init", 8 * 1024 * 1024 ) >>> >>> get Valentina( "DebugLevel", EVDebugLevel_kLogParams ) >>> >> >> I don't get how do I choose the debugging level I want to set if >> EVDebugLevel_kLogParams is assigned by Valentina. Or do I >> misunderstand something? > >Yes, Valentina on start can create 100 global constants. >Which you later can use But init must not be the first call as far as I know. We can call version and debuglevel before calling init. Or will that change in VRev2? Robert From rjb at robelko.com Fri May 13 11:27:39 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri May 13 04:34:09 2005 Subject: [V4REV] symbolic constants In-Reply-To: References: Message-ID: > > Lots of typing with plenty of chances for typos whereas typing a >> constant will be always simpler and less error prone. > >Wait, but what alternatives are ?!!! >look > >1) you can just write > get Valentina( "DebugLevel", 3 ) > > VDatabase_SqlSelect( query, 1, 2, 2 ) > > -- do you remember what means 1, 2, 2 ?! > I never remember this > when I get project for test I always must go to docs to see > what his means and may be here wrong values? Well, unless I memorize all of your 100 constants, I will have to look their names up just as I am looking up the constants. Agreed that with symbolic names the code is more readable. Not agreed that numeric values are evil per se. >2) so if you agree that numeric values are devil, then you will start SELF >define symbolic variable in the same way in EACH function where you need it > > on event > kClientSide = 1 > kReadOnly = 2 > kRandom = 2 > > VDatabase_SqlSelect( query, kClientSide, kReadOnly, kRandom ) > end a) Such names would not be, however, acceptable IMHO. They must be prefixed with gValentina_ for example to avoid name conflicts. The names you are suggesting are just too generic. Somebody else looking at my code might see kRandom not used for whatever reason and wonder what it is and where it is coming from. Using "g" to prefix a global var is quite common. See the following article http://www.fourthworld.com/embassy/articles/scriptstyle.html b) I can just put your symbolic names and their numeric values as a comment when needed. Those entered as constant usually do not change during development anyway. If they need to change, then I use a variable or code like if the hilited of btn "debug" then put 3 into vDebugLevel else put 0 into vDebugLevel end if > >Actually Transcript itself is very weak here. No constants... Transcript has constants. Local to function or to an object. It does not have constant globals. There are technical reason for not having them. But agreed that there are no constants that are useful for you. >3) btw, way with globals have trap that if you use global var, but forget >declare it inside of function as global you get zero value. a) Actually, such a variable should initialize to its own name normally (that is it becomes a constant string not a variable), although Transcript compiler makes exception when it recognizes it must be a variable with a numeric value. True, it is a trap but we are used to having to redeclare these. b) What you said is true but for an object not function. We can declare a global either inside a function to keep its scope within that function or we can declare a global at top of script's object (before any handlers or functions) so its scope is the whole script (it is possible to declare it in between as well, to reduce the scope, but this is bad practice IMHO). Robert From rjb at robelko.com Fri May 13 11:48:26 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri May 13 04:54:03 2005 Subject: [V4REV] symbolic constants In-Reply-To: References: Message-ID: >On 5/13/05 2:52 AM, "Robert Brenstein" wrote: > >> c) instead of creating a hundred of variables, it may be better to >> create a single array variable, so there is only a single name to >> declare as global. Surely more user-friendly and more >> self-documenting. And we can get a list of all declared values in a >> single call, using the keys() function. > >Interesting! >please show me in transcript itself how this can looks Valentina has associative arrays: put 3 into myArray["item1Name"] add 1 to myArray["item1Name"] to see what elements an array has defined answer the keys of myArray We can also use split and combine to convert between normal vars and arrays. > > d) may be such a global should not be assigned automatically when >> Valentina external is called, if I follow your suggestion correctly, >> but there is be a function we call specifying the name of the array >> we want to be filled. First, you can't know whether we call >> debuglevel or init or version first. Second, we may want a different >> name for the global. Or we may prefer it to be local rather than >> global. > >Wait, 100 vars are create ONLY ONCE on Valentina Init call. > It does not matter that it is a single call. *I* want to control when and where (and if) you create it. Nothing personal :) I just don't like you doing things behind my back. Particularly with globals which can really be a source of conflicts or errors. I may want global gMyValConstants put Valentina("Constants") into gMyValConstants put Valentina("DebugLevel", gMyValConstants["kLogParam"]) or I may want local cVal put Valentina("Constants") into cVal put Valentina("DebugLevel", cVal["kLogParam"]) or just put Valentina("DebugLevel", 3) -- LogParam With a single global, having your symbolic names identical as in RB will work just fine. Recalling any name which is not defined Yes, using arrays require more typing but having a single global related to Valentina is a big plus IMHO. And what you propose is put Valentina("DebugLevel", gValentina_kLogParam) which is not any shorter to type. Robert From rjb at robelko.com Fri May 13 12:16:01 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri May 13 05:33:06 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: References: Message-ID: > > Not to rain on the parade but IMHO this increases chances of name >> conflicts beyond comfortable and makes the code less >> self-documenting. I rather type a few chars more. > >How this can raise name conflicts ??? >All our funcs will start with V and have db specific words > database, table, field, ... Valentina has quite a few functions and with a single-letter prefix, there is more potential for conflict than with a longer prefix. Even if only optically (I mean misreading). Many people startying with Val may be converting some old programs using other db or stack-based storage and you never know what names they are using. It must not be but there is potential. Personally, I would prefer val instead of just V as prefix. Like all IDE calls are prefixed with rev or revDB calls are prefixed with revdb_. 'val' is more mnemonic and easier to pronounce. I know that with your C/RB background, you have tendency to create short names, but longer names is quite common in Transcript. Call it verbose or call it self-documenting. For example revSetDatabaseDriverPath > > I sure hope you will let us to continue using >> Valentina("function",...) as it is now even if you go ahead with >> these new calls. Aside the above points, having to recode some of my >> bigger and older projects would be a big job. >> >> I also wonder about increased effort for you to maintain those new >> functions, particularly when adding new functions. Won't you need to >> have a series of externals instead of a single one? Or are you >> planning to have a Valentina library that defines those as passthru >> functions to the external? > >Robert, to use new style, we have NO efforts. >We remove then some overhead code of 1.x which was here to make it >compatiable to xCards. > >New functions also will make it faster, because now I remove own layer of >mapping of function names. But if we want wrappers in our programs, we have to do it in our code then, and transcript is slower than C in that respect. So give some, take some. >I should not do nothing special. This is supported by Revolution SDK. >I wonder why before I was pointed into single name direction... >May be xCards cannot do this in other way ... Gee, I must catch up on the Rev SDK then. I am particularly curious how that works under OS9. Until recently the SDK was quite badly documented and truly Transcript is so rich I have no need to write externals anymore. HyperCard's xcmd's and xfcn's could have only a single entry point AFAIK. Trevor is up to date with the SDK, so I trust what he says about it. Robert From rjb at robelko.com Fri May 13 12:45:47 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri May 13 05:53:09 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: References: Message-ID: > > The first variant proposed by Ruslan had Valentina_ as prefix for all >> calls, so at least it was painfully clear where they are coming from. >> The second variant has only V up front that is common and that makes >> me uncomfortable. > >We will have: > > Valentina_ > Vdatabase_ > Vtable_ > VLink_ > VSet > VServer > >PLUS another action word. >You think this can conflict to somebody? I doubt. In some projects, I use 'v' as prefix to denote local variables. I may not be the only one. There may be no direct name conflicts by certainly a confusion as to what is what is possible. As I said in the other email, I would prefer val valDatabase valTable valLink valSet valServer That makes them all very clearly associated with Valentina without anyone having to think about it. Or am I the only one who cares? Robert From rjb at robelko.com Fri May 13 12:50:45 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri May 13 05:53:17 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: References: Message-ID: >On 5/13/05 5:30 AM, "Trevor DeVore" wrote: > >> On May 12, 2005, at 4:23 PM, Robert Brenstein wrote: >>> Not to rain on the parade but IMHO this increases chances of name >>> conflicts beyond comfortable and makes the code less self- >>> documenting. I rather type a few chars more. >> >> It is really only a two character difference between the two >> variants. I was just joking around about having to type less. I do >> like the proposed syntax more than the Valentina("") stuff (just >> because it seems "right") but I could see how that could create >> problems for someone who has the code sprinkled all over their >> projects. It really isn't a big deal either way for me. > >Hmm, I have think that Revolution can easy > > SEARCH and REPLACE something inside of own projects ? > >I was going to offer you, to write small utility, >I think in 10 lines of code, >Which can open existed REV project and change > > Valentina( "FooName", ... ) > >To > Valentina_FooName( ... ) > >Simple REGEX search.... >Where you see problems? Simple within a single object, but you need to traverse all objects in a stack, which is a tad less trivial. But then many projects span multiple stacks and substacks, so this has to be accomodated as well. Such a function might be quite useful for simpler projects. I would suggest to provide it as a function taking stack name as a parameter, so we need to call it for each stack being converted. This way, there is no guessing what should and what should not be converted. For complex projects, we can just create our own "Valentina" function with a switch on FooName to call Valentina_FooName while converting the code otherwise. I may be wrong, but switching to V2 may involve a tad more than simply swapping Valentina("FooName",...) for Valentina_FooName, although this might be the first step. Heck, my biggest project is still running in 1.9.6 so it does not even have params for locking :( >Guys, I really want go with new API. > >* It make Valentina for Revolution similar to our other procedural syntax > >* it make calls faster > >* it simplify our own work, because we should not spend time to support own >table of function calls. I don't think anyone is really objecting. Sorry if it seems that I am. That is not quite correct ;) I am just arguing some implementation issues and raising potential pitfalls or alternative ways to handle things. Rather safe than sorry later. Robert From rjb at robelko.com Fri May 13 13:04:25 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri May 13 06:13:05 2005 Subject: [V4REV] symbolic constants In-Reply-To: References: Message-ID: >> >>Actually Transcript itself is very weak here. No constants... > >Transcript has constants. Local to function or to an object. It does >not have constant globals. There are technical reason for not having >them. But agreed that there are no constants that are useful for you. > One trap which you mentioned is that gobals have to be redeclared at least once in each object. Another trap is that since a global is not constant, users can change the value. Calling a function to set those constants as I suggested has a plus that it can be called as often as desired, like to reset them when needed. Further, when the number of those constants goes up, a parameter can be added to set only a subset in a given call. Robert From lists at mangomultimedia.com Fri May 13 09:51:42 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri May 13 11:51:52 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: References: Message-ID: <02c2fdef8c463683e154b03caade0ec0@mangomultimedia.com> On May 13, 2005, at 3:45 AM, Robert Brenstein wrote: > In some projects, I use 'v' as prefix to denote local variables. I may > not be the only one. There may be no direct name conflicts by > certainly a confusion as to what is what is possible. > > As I said in the other email, I would prefer > > val > valDatabase > valTable > valLink > valSet > valServer > > That makes them all very clearly associated with Valentina without > anyone having to think about it. Or am I the only one who cares? I think Robert has a good suggestion here. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From lists at mangomultimedia.com Fri May 13 09:51:48 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri May 13 11:52:02 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: References: Message-ID: <422a1cf8f39abc8d0cce8c691150eb5f@mangomultimedia.com> On May 13, 2005, at 3:16 AM, Robert Brenstein wrote: >> Robert, to use new style, we have NO efforts. >> We remove then some overhead code of 1.x which was here to make it >> compatiable to xCards. >> >> New functions also will make it faster, because now I remove own >> layer of >> mapping of function names. > > But if we want wrappers in our programs, we have to do it in our code > then, and transcript is slower than C in that respect. So give some, > take some. Robert, What kind of wrappers are you thinking about? For my libraries I am usually wrapping a concept (get table rows, update table, add to table, etc.) so there is no branching in what Valentina function is being called. In this case a speed bump in the external would be great and I wouldn't lose anything on the transcript side. Are you using wrappers that take the function name and any additional parameters as needed? If so I'm curious as to why. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From Claudius at sailer-online.de Fri May 13 21:13:39 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Fri May 13 14:14:01 2005 Subject: V4RB2: DATEDIFF and DATEADD Message-ID: <28319D99-B6C0-4992-BE4D-F74E2FD737F3@sailer-online.de> Hi, can I do following DATEDIFF(date'31.08.2005',date'20.12.2005','day') or DATEDIFF('31.08.2005','20.12.2005','day') thanks Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.3 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From rjb at robelko.com Sat May 14 00:43:17 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri May 13 17:52:06 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: <422a1cf8f39abc8d0cce8c691150eb5f@mangomultimedia.com> References: <422a1cf8f39abc8d0cce8c691150eb5f@mangomultimedia.com> Message-ID: >What kind of wrappers are you thinking about? For my libraries I am >usually wrapping a concept (get table rows, update table, add to >table, etc.) so there is no branching in what Valentina function is >being called. In this case a speed bump in the external would be >great and I wouldn't lose anything on the transcript side. Are you >using wrappers that take the function name and any additional >parameters as needed? If so I'm curious as to why. Trevor, In my oldest project, which started with Valentina 1.5 or even 1.3, I use wrappers passing function and parameters since this allowed me to handle multiple databases dynamically in parallel. This project is essentially a content management system with a bunch of stacks doing work on specific tasks upon web-based requests from users. With the forthcoming Valentina changes, I will have to change the logic and refactor the code differently. A total rewrite in other words. It probably be for better, just a lot of work. On general level, I agree that passing functions is seldom an optimal solution. However, I like having flexibility to choose what's optimal for a given project. It seems, though, that the benefits of loosing this outweigh the loss, so be it. You guys convinced me :) Robert From macsforever2000 at goodeast.com Fri May 13 19:42:58 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Fri May 13 20:43:11 2005 Subject: V4RB2: DATEDIFF and DATEADD In-Reply-To: <28319D99-B6C0-4992-BE4D-F74E2FD737F3@sailer-online.de> References: <28319D99-B6C0-4992-BE4D-F74E2FD737F3@sailer-online.de> Message-ID: Hi Claudius, On May 13, 2005, at 1:13 PM, Claudius Sailer wrote: > can I do following > > DATEDIFF(date'31.08.2005',date'20.12.2005','day') Almost... > DATEDIFF('31.08.2005','20.12.2005','day') Yes. Best regards, Frank Schima From jules.jacquot at wanadoo.fr Sat May 14 18:36:46 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sat May 14 11:35:41 2005 Subject: to fill a canvas Message-ID: <5E6F984E-EBBD-459B-AC74-381E45A4BFFE@wanadoo.fr> hi, ruslan V4RB_2 how to fill a canvas with data text ? any example ? thanks jules ----------------------------------------- O? passeras-tu l'Eternit? ? From yeomans at desuetude.com Sat May 14 12:55:42 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat May 14 11:55:54 2005 Subject: to fill a canvas In-Reply-To: <5E6F984E-EBBD-459B-AC74-381E45A4BFFE@wanadoo.fr> References: <5E6F984E-EBBD-459B-AC74-381E45A4BFFE@wanadoo.fr> Message-ID: On May 14, 2005, at 12:36 PM, Jules Jacquot wrote: > hi, ruslan > > V4RB_2 > > how to fill a canvas with data text ? > > any example ? In general, you simply use Graphics.DrawString to draw text in a Canvas. The text can certainly come from a VCursor. -------------- Charles Yeomans From IvanSmahin at public.kherson.ua Sat May 14 21:37:29 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sat May 14 13:37:34 2005 Subject: [TIP] Extracting some part of date, time and datetime values. In-Reply-To: References: <4996E7B8A963A04E8916A67F06C83E30E6952C@apvnyexch01.alfredpub.com> Message-ID: <588656270.20050514213729@public.kherson.ua> Hello All, Don't use such code: >> db.sqlExecute("update students set logged_in = substr(curdate(), 1, 4) where >> (ID = '4')"); Because of: 1. We have a number of DateTime based SQL functions like YEAR(), MONTH()... 2. The string representation for such values may differ depending on current DateTime format. So it's just unsafe. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From Claudius at sailer-online.de Sat May 14 21:32:57 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat May 14 14:33:07 2005 Subject: [TIP] Extracting some part of date, time and datetime values. In-Reply-To: <588656270.20050514213729@public.kherson.ua> References: <4996E7B8A963A04E8916A67F06C83E30E6952C@apvnyexch01.alfredpub.com> <588656270.20050514213729@public.kherson.ua> Message-ID: <9DF460C3-FBED-4E1D-9B8B-38C3367666E6@sailer-online.de> Hi, Am 14. Mai 2005 um 20:37 Uhr schrieb Ivan Smahin: > Hello All, > > Don't use such code: > > >>> db.sqlExecute("update students set logged_in = substr(curdate(), >>> 1, 4) where >>> (ID = '4')"); >>> > > Because of: > > 1. We have a number of DateTime based SQL functions like YEAR(), > MONTH()... > 2. The string representation for such values may differ depending on > current DateTime format. So it's just unsafe. but no possibility to get only date from CURDATE()!! This is very strong needed :-)) bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.3 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sun May 15 01:06:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 14 17:07:06 2005 Subject: [TIP] Extracting some part of date, time and datetime values. In-Reply-To: <9DF460C3-FBED-4E1D-9B8B-38C3367666E6@sailer-online.de> Message-ID: On 5/14/05 10:32 PM, "Claudius Sailer" wrote: >> Don't use such code: >> >> >>>> db.sqlExecute("update students set logged_in = substr(curdate(), >>>> 1, 4) where >>>> (ID = '4')"); >>>> >> >> Because of: >> >> 1. We have a number of DateTime based SQL functions like YEAR(), >> MONTH()... >> 2. The string representation for such values may differ depending on >> current DateTime format. So it's just unsafe. > > but no possibility to get only date from CURDATE()!! > This is very strong needed :-)) Why you think so ??? Ivan says exactly that we HAVE such possibility. As I understand this should work: Year( now() ) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From billmounce at comcast.net Sat May 14 17:24:27 2005 From: billmounce at comcast.net (Bill Mounce) Date: Sat May 14 19:24:34 2005 Subject: Two cursors accessing one database Message-ID: <4636ce9e4186e629b2d327a04277527d@comcast.net> I have frequently had this problem and it is time now to figure out why. I have one cursor that has loaded all the records from the database: "select * from TABLE" Then I create a second cursor and issue the same command, and the cursor responds with a nil. tCursor = mDataBase.SQLselect( "select * from TABLE", kV_Server, kV_ReadWrite, kV_Random ) if(tCursor <> nil) then r = tCursor.FirstRecord else msgbox "There are no records in this database." end if Generally, the first cursor is a property and the second is dimensioned in the method (if that matters). Any suggestions? Thanks. BIll From macsforever2000 at goodeast.com Sat May 14 20:24:56 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Sat May 14 21:25:13 2005 Subject: Two cursors accessing one database In-Reply-To: <4636ce9e4186e629b2d327a04277527d@comcast.net> References: <4636ce9e4186e629b2d327a04277527d@comcast.net> Message-ID: <1d23e277dd2f5a390b2261c8cefbd87c@goodeast.com> Hi Bill, On May 14, 2005, at 6:24 PM, Bill Mounce wrote: > I have frequently had this problem and it is time now to figure out > why. > > I have one cursor that has loaded all the records from the database: > "select * from TABLE" > > Then I create a second cursor and issue the same command, and the > cursor responds with a nil. > > > tCursor = mDataBase.SQLselect( "select * from TABLE", kV_Server, > kV_ReadWrite, kV_Random ) > if(tCursor <> nil) then > r = tCursor.FirstRecord > else > msgbox "There are no records in this database." > end if > > > Generally, the first cursor is a property and the second is > dimensioned in the method (if that matters). > > Any suggestions? Thanks. The first cursor is ReadWrite and has locked all the records in the table. This is why the second attempt fails. Best regards, Frank Schima From jules.jacquot at wanadoo.fr Sun May 15 07:32:40 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sun May 15 00:31:39 2005 Subject: to fill a canvas In-Reply-To: References: <5E6F984E-EBBD-459B-AC74-381E45A4BFFE@wanadoo.fr> Message-ID: <5BB7D477-CF3A-4841-BBA5-0DE0D19DFF10@wanadoo.fr> Le 14 mai 05 ? 18:55, Charles Yeomans a ?crit : > > On May 14, 2005, at 12:36 PM, Jules Jacquot wrote: > > >> hi, ruslan >> >> V4RB_2 >> >> how to fill a canvas with data text ? >> >> any example ? >> > > In general, you simply use Graphics.DrawString to draw text in a > Canvas. The text can certainly come from a VCursor. right. I'm sorry seem to be a newbie i haven't problem with REaldatabase simply i don't know to translate it in Valentina to create what before Graphics.Drawstring ? here is my code (window "prevue" with canvas1) dim BbD(-1),Bb as picture dim g as graphics g=Prevue.canvas1.Graphics // <- exception Bb=NewPicture(580,800,16) g=Bb.Graphics g.drawstring ............... write what instead canvas1.graphics ? Thanks Charles jules > > -------------- > Charles Yeomans > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > O? passeras-tu l'Eternit? ? From Claudius at sailer-online.de Sun May 15 09:01:22 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun May 15 02:01:32 2005 Subject: [TIP] Extracting some part of date, time and datetime values. In-Reply-To: References: Message-ID: <408B4C88-BEC2-4646-8EF4-1674887CF301@sailer-online.de> Am 15. Mai 2005 um 00:06 Uhr schrieb Ruslan Zasukhin: > On 5/14/05 10:32 PM, "Claudius Sailer" > wrote: > > >>> Don't use such code: >>> >>> >>> >>>>> db.sqlExecute("update students set logged_in = substr(curdate(), >>>>> 1, 4) where >>>>> (ID = '4')"); >>>>> >>>>> >>> >>> Because of: >>> >>> 1. We have a number of DateTime based SQL functions like YEAR(), >>> MONTH()... >>> 2. The string representation for such values may differ depending on >>> current DateTime format. So it's just unsafe. >>> >> >> but no possibility to get only date from CURDATE()!! >> This is very strong needed :-)) >> > > Why you think so ??? > > Ivan says exactly that we HAVE such possibility. > > As I understand this should work: > > Year( now() ) Sorry this is a missunderstanding. What I want is not YEAR or MONTH. I want the DATE I have 15.05.2005 20:11:10.564 I want 15.05.2005 IMHO I can only solve this by using RB XXX.nthfield(" ",1) not inside V4RB2-SQL or did I missed something? bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.3 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From IvanSmahin at public.kherson.ua Sun May 15 11:01:44 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sun May 15 03:01:53 2005 Subject: [TIP] Extracting some part of date, time and datetime values. In-Reply-To: <408B4C88-BEC2-4646-8EF4-1674887CF301@sailer-online.de> References: <408B4C88-BEC2-4646-8EF4-1674887CF301@sailer-online.de> Message-ID: <1486512379.20050515110144@public.kherson.ua> Hello Claudius, Sunday, May 15, 2005, 10:01:22 AM, you wrote: CS> Am 15. Mai 2005 um 00:06 Uhr schrieb Ruslan Zasukhin: >> On 5/14/05 10:32 PM, "Claudius Sailer" >> wrote: >> >> >>>> Don't use such code: >>>> >>>> >>>> >>>>>> db.sqlExecute("update students set logged_in = substr(curdate(), >>>>>> 1, 4) where >>>>>> (ID = '4')"); >>>>>> >>>>>> >>>> >>>> Because of: >>>> >>>> 1. We have a number of DateTime based SQL functions like YEAR(), >>>> MONTH()... >>>> 2. The string representation for such values may differ depending on >>>> current DateTime format. So it's just unsafe. >>>> >>> >>> but no possibility to get only date from CURDATE()!! >>> This is very strong needed :-)) >>> Actually we have 3 functions to work with current date-time: CURDATE() - returns DATE CURTIME() - returns TIME NOW() - returns DATETIME -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From sunshine at public.kherson.ua Sun May 15 11:05:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 15 03:05:09 2005 Subject: [TIP] Extracting some part of date, time and datetime values. In-Reply-To: <408B4C88-BEC2-4646-8EF4-1674887CF301@sailer-online.de> Message-ID: On 5/15/05 10:01 AM, "Claudius Sailer" wrote: > > Sorry this is a missunderstanding. What I want is not YEAR or MONTH. > I want the DATE > > I have > 15.05.2005 20:11:10.564 > > I want > 15.05.2005 > > IMHO I can only solve this by using RB XXX.nthfield(" ",1) > not inside V4RB2-SQL or did I missed something? Ok, Ivan will add for next build date GETDATE( datetime ) time GETTIME( datetime ) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Sun May 15 11:45:14 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun May 15 04:45:23 2005 Subject: [TIP] Extracting some part of date, time and datetime values. In-Reply-To: References: Message-ID: <8D99A946-0203-4EEE-A1A3-3E02ECD70D09@sailer-online.de> Am 15. Mai 2005 um 10:05 Uhr schrieb Ruslan Zasukhin: >> Sorry this is a missunderstanding. What I want is not YEAR or MONTH. >> I want the DATE >> >> I have >> 15.05.2005 20:11:10.564 >> >> I want >> 15.05.2005 >> >> IMHO I can only solve this by using RB XXX.nthfield(" ",1) >> not inside V4RB2-SQL or did I missed something? >> > > Ok, Ivan will add for next build > > date GETDATE( datetime ) > time GETTIME( datetime ) Great. Thanks a lot. Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.3 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From yeomans at desuetude.com Sun May 15 10:59:38 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sun May 15 09:59:49 2005 Subject: to fill a canvas In-Reply-To: <5BB7D477-CF3A-4841-BBA5-0DE0D19DFF10@wanadoo.fr> References: <5E6F984E-EBBD-459B-AC74-381E45A4BFFE@wanadoo.fr> <5BB7D477-CF3A-4841-BBA5-0DE0D19DFF10@wanadoo.fr> Message-ID: <3334b43945ff000807ccffc4fa26aa23@desuetude.com> On May 15, 2005, at 1:32 AM, Jules Jacquot wrote: > > Le 14 mai 05 ? 18:55, Charles Yeomans a ?crit : > >> >> On May 14, 2005, at 12:36 PM, Jules Jacquot wrote: >> >> >>> hi, ruslan >>> >>> V4RB_2 >>> >>> how to fill a canvas with data text ? >>> >>> any example ? >>> >> >> In general, you simply use Graphics.DrawString to draw text in a >> Canvas. The text can certainly come from a VCursor. > > right. > I'm sorry seem to be a newbie > i haven't problem with REaldatabase > simply i don't know to translate it in Valentina > to create what before Graphics.Drawstring ? > > here is my code > > (window "prevue" with canvas1) > > dim BbD(-1),Bb as picture > dim g as graphics > > g=Prevue.canvas1.Graphics // <- exception > Bb=NewPicture(580,800,16) > g=Bb.Graphics > > g.drawstring ............... > > write what instead canvas1.graphics ? > > Thanks Charles Probably you should be drawing the text in the Canvas1.Paint event handler. Sub Paint(g as Graphics) g.DrawString ... End Sub What kind of exception is occurring? -------------- Charles Yeomans From yeomans at desuetude.com Sun May 15 11:24:43 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sun May 15 10:24:51 2005 Subject: [ANN] Valentina Studio Administrator 2.0b6 In-Reply-To: References: Message-ID: <8b18bc46e8e54a0364a9fec0dd6de8ac@desuetude.com> On May 6, 2005, at 5:03 AM, Jochen Peters wrote: > Hi all, > > you can download Valentina Studio Administrator 2.0b6 from > http://www.paradigmasoft.com and http://www.valentina-db.de > > This version fixes a connection problem between Studio and latest > Server. > > Please note: > Connections from Mac to Mac and from Win to Win now works. > Cross-Platform connections seems not to work, yet! > > > This version of Valentina Studio works without problems on Tiger! > It certainly seems to have a lot of problems in Panther. Aside from the crashes, I cannot use it to work with VServer. When I can connect, I cannot register a database. After the latest crash, I cannot even connect to VServer; attempts to do so result in error &h82000, a generic connection error. I'm willing to accept that it's beta software, but to actually get anything done I am going to have to write my own administration tools in REALbasic. Charles Yeomans From sunshine at public.kherson.ua Sun May 15 18:35:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 15 10:35:37 2005 Subject: [ANN] Valentina Studio Administrator 2.0b6 In-Reply-To: <8b18bc46e8e54a0364a9fec0dd6de8ac@desuetude.com> Message-ID: On 5/15/05 6:24 PM, "Charles Yeomans" wrote: > It certainly seems to have a lot of problems in Panther. Aside from > the crashes, I cannot use it to work with VServer. When I can connect, > I cannot register a database. After the latest crash, I cannot even > connect to VServer; attempts to do so result in error &h82000, a > generic connection error. I'm willing to accept that it's beta > software, but to actually get anything done I am going to have to write > my own administration tools in REALbasic. Charles, Look into Examples/Advanced folder Some utility present here -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Sun May 15 21:23:37 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun May 15 14:23:51 2005 Subject: V4RB2: Question about Cursor Message-ID: <357AB54E-913D-476A-9281-E72F73168230@sailer-online.de> Hi, at the moment I do following. With SQL I build Cursor and publish it to ListBox. When I update or insert something I do it in a routine with mydatabase.Table1.Field1.value=XXXX or something similar. Then I build new cursor with same SQL and publish it ahain to ListBox. Now my question. My Cursor is a cursor ORDER BY table.date when I now wants to Update database during Cursor. I have to Update cursor. But when I change table.date is ORDER BY from Cursor still alive and new record or updated record is in correct ORDER BY or is it at the same place where old record was with old ORDER BY? I think it is difficult to describe I want to make an example: Cursor has following Place in Cursor - Date - other datas 1 - 15.05.2004 - .......... 2 - 15.08.2004 - .......... 3 - 01.02.2005 - ........... 4 - 05.04.2005 - ........... when I now Update record at place 3 from 01.02.2005 - ........... to 01.02.2004 - ........... how does Cursor looks like 1 - 15.05.2004 - .......... 2 - 01.02.2004 - ........... 3 - 15.08.2004 - .......... 4 - 05.04.2005 - ........... or 1 - 15.05.2004 - .......... 2 - 15.08.2004 - .......... 3 - 01.02.2004 - ........... 4 - 05.04.2005 - ........... Thanks for help bye bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.3 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Mon May 16 09:11:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 01:12:07 2005 Subject: V4RB2: Question about Cursor In-Reply-To: <357AB54E-913D-476A-9281-E72F73168230@sailer-online.de> Message-ID: On 5/15/05 10:23 PM, "Claudius Sailer" wrote: > Hi, > > at the moment I do following. > > With SQL I build Cursor and publish it to ListBox. When I update or > insert something I do it in a routine with > > mydatabase.Table1.Field1.value=XXXX > > or something similar. > Then I build new cursor with same SQL and publish it ahain to ListBox. > > Now my question. > My Cursor is a cursor ORDER BY table.date > > when I now wants to Update database during Cursor. I have to Update > cursor. But when I change table.date is ORDER BY from Cursor still > alive and new record or updated record is in correct ORDER BY or is > it at the same place where old record was with old ORDER BY? Order of records is NOT corrected after changes. I think any db do not do this. Why? Because cursor already do not have indexes and so on. > I think it is difficult to describe I want to make an example: > > Cursor has following > > Place in Cursor - Date - other datas > 1 - 15.05.2004 - .......... > 2 - 15.08.2004 - .......... > 3 - 01.02.2005 - ........... > 4 - 05.04.2005 - ........... > > when I now Update record at place 3 > from 01.02.2005 - ........... > to 01.02.2004 - ........... > > how does Cursor looks like > 1 - 15.05.2004 - .......... > 2 - 01.02.2004 - ........... > 3 - 15.08.2004 - .......... > 4 - 05.04.2005 - ........... > > or > > 1 - 15.05.2004 - .......... > 2 - 15.08.2004 - .......... > 3 - 01.02.2004 - ........... > 4 - 05.04.2005 - ........... > > Thanks for help -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Mon May 16 08:51:13 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon May 16 01:51:29 2005 Subject: V4RB2: Question about Cursor In-Reply-To: References: Message-ID: <414592E2-F446-4A38-9CF2-9461DC6A2530@sailer-online.de> Hi Ruslan, Am 16. Mai 2005 um 08:11 Uhr schrieb Ruslan Zasukhin: > Order of records is NOT corrected after changes. > I think any db do not do this. > > Why? Because cursor already do not have indexes and so on. I didn't expect anything, but before I change my complete programming I want to ask and know how it works. So I know that it is not neccessary to change my coding. In other database? I don't know how cursor works there because I never used cursor there. My experiences with other databases are only getting data and publish result. Only reporting no other usage. But I would expect that other databases are working in the same way as V4RB2, I never heard something different from sybase. Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.3de/ Valentina 1.10.0 & 2.0.3 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From giv at tlc.kherson.ua Mon May 16 10:19:35 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon May 16 02:19:42 2005 Subject: VStudio for Win References: <4996E7B8A963A04E8916A67F06C83E30E69526@apvnyexch01.alfredpub.com> Message-ID: <007801c559e7$9cd26a00$3b04a8c0@giv> Hi Christopher, > Why does your ToFromDiskFile example have a variable for gClient? > > Are you planning to implement "todisk" and "fromdisk" in Client/Server > mode, or is there some strange reason why this cannot work? This feature is already implemented (will be available in the next version) In both cases "to" and "from"-file is located on server side for now. But we also going to implement connection-level flag that will allows you to control this behaviour. By changing this flag you can control whether file will be uploaded from "client" to "server" via socket connection or whether it will be loaded from the local server's path to "server". But what is the scenario in which you would use this functionality in Client-Server mode (I mean to/fromFile)? -- 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 jules.jacquot at wanadoo.fr Mon May 16 10:27:10 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Mon May 16 03:26:02 2005 Subject: to fill a canvas In-Reply-To: <3334b43945ff000807ccffc4fa26aa23@desuetude.com> References: <5E6F984E-EBBD-459B-AC74-381E45A4BFFE@wanadoo.fr> <5BB7D477-CF3A-4841-BBA5-0DE0D19DFF10@wanadoo.fr> <3334b43945ff000807ccffc4fa26aa23@desuetude.com> Message-ID: <5C10EDA8-80D1-414F-A3E9-C7D3ED9F5380@wanadoo.fr> Thanks very much Charles i think that is my error i'll figure out this bug best jules Le 15 mai 05 ? 16:59, Charles Yeomans a ?crit : > > On May 15, 2005, at 1:32 AM, Jules Jacquot wrote: > > >> >> Le 14 mai 05 ? 18:55, Charles Yeomans a ?crit : >> >> >>> >>> On May 14, 2005, at 12:36 PM, Jules Jacquot wrote: >>> >>> >>> >>>> hi, ruslan >>>> >>>> V4RB_2 >>>> >>>> how to fill a canvas with data text ? >>>> >>>> any example ? >>>> >>>> >>> >>> In general, you simply use Graphics.DrawString to draw text in a >>> Canvas. The text can certainly come from a VCursor. >>> >> >> right. >> I'm sorry seem to be a newbie >> i haven't problem with REaldatabase >> simply i don't know to translate it in Valentina >> to create what before Graphics.Drawstring ? >> >> here is my code >> >> (window "prevue" with canvas1) >> >> dim BbD(-1),Bb as picture >> dim g as graphics >> >> g=Prevue.canvas1.Graphics // <- exception >> Bb=NewPicture(580,800,16) >> g=Bb.Graphics >> >> g.drawstring ............... >> >> write what instead canvas1.graphics ? >> >> Thanks Charles >> > > Probably you should be drawing the text in the Canvas1.Paint event > handler. > > Sub Paint(g as Graphics) > > g.DrawString ... > > End Sub > > What kind of exception is occurring? > > > -------------- > Charles Yeomans > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > une longue route commence par un petit pas. proverbe chinois From sunshine at public.kherson.ua Mon May 16 11:56:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 03:56:13 2005 Subject: [V4REV] symbolic constants In-Reply-To: Message-ID: On 5/13/05 12:00 PM, "Robert Brenstein" wrote: >> Yes, Valentina on start can create 100 global constants. >> Which you later can use > > But init must not be the first call as far as I know. We can call > version and debuglevel before calling init. Or will that change in > VRev2? In 2.0 this changes, Because any work with strings already require ICU library to be inited. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 16 11:58:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 03:58:53 2005 Subject: [V4REV] symbolic constants In-Reply-To: Message-ID: On 5/13/05 12:27 PM, "Robert Brenstein" wrote: >> 2) so if you agree that numeric values are devil, then you will start SELF >> define symbolic variable in the same way in EACH function where you need it >> >> on event >> kClientSide = 1 >> kReadOnly = 2 >> kRandom = 2 >> >> VDatabase_SqlSelect( query, kClientSide, kReadOnly, kRandom ) >> end > > a) Such names would not be, however, acceptable IMHO. They must be > prefixed with gValentina_ for example to avoid name conflicts. The > names you are suggesting are just too generic. Somebody else looking In the example above I have write them inside of FUNCTION, So no conflicts > at my code might see kRandom not used for whatever reason and wonder > what it is and where it is coming from. Using "g" to prefix a global > var is quite common. See the following article > > http://www.fourthworld.com/embassy/articles/scriptstyle.html -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 16 12:16:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 04:17:06 2005 Subject: [V4REV] symbolic constants // Based on Assoc Array In-Reply-To: Message-ID: On 5/13/05 12:48 PM, "Robert Brenstein" wrote: >> On 5/13/05 2:52 AM, "Robert Brenstein" wrote: >> >>> c) instead of creating a hundred of variables, it may be better to >>> create a single array variable, so there is only a single name to >>> declare as global. Surely more user-friendly and more >>> self-documenting. And we can get a list of all declared values in a >>> single call, using the keys() function. >> >> Interesting! >> please show me in transcript itself how this can looks > > Valentina has associative arrays: > > put 3 into myArray["item1Name"] > add 1 to myArray["item1Name"] > > to see what elements an array has defined > > answer the keys of myArray > > We can also use split and combine to convert between normal vars and arrays. Okay Robert. Then what about next solution: 1) Valentina define several global assoc array, to simulate enums of other languages. Names will be again similar: EVDebugLevel EVDbMode EVFlags ... And Now you can write SqlSelect( query, EVCursorLocation["kServerSide"], EVAccess["kReadWrite"] ) Only problem, I think this way will have slower access to constant values. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 16 12:20:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 04:20:54 2005 Subject: [V4REV] symbolic constants In-Reply-To: Message-ID: On 5/13/05 12:48 PM, "Robert Brenstein" wrote: > It does not matter that it is a single call. *I* want to control when > and where (and if) you create it. Nothing personal :) I just don't > like you doing things behind my back. Particularly with globals which > can really be a source of conflicts or errors. > > I may want > > global gMyValConstants > put Valentina("Constants") into gMyValConstants > put Valentina("DebugLevel", gMyValConstants["kLogParam"]) > > or I may want > > local cVal > put Valentina("Constants") into cVal > put Valentina("DebugLevel", cVal["kLogParam"]) > > or just > > put Valentina("DebugLevel", 3) -- LogParam > > With a single global, having your symbolic names identical as in RB > will work just fine. Recalling any name which is not defined > > Yes, using arrays require more typing but having a single global > related to Valentina is a big plus IMHO. And what you propose is > > put Valentina("DebugLevel", gValentina_kLogParam) > > which is not any shorter to type. Good points Robert! We can consider this way. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From paolo.sala at ff3d.com Mon May 16 11:21:29 2005 From: paolo.sala at ff3d.com (Paolo Sala) Date: Mon May 16 04:22:42 2005 Subject: Question about .NET and PDA... Message-ID: <00e001c559f8$a4f55470$1400000a@Paolo> Hi! i've worked with Valentina for Director and VB6. Now i have to develop a software for PC and Pocket PC with VB.NET. I know there's a version for .NET platform, but it works also on a PDA Machine (with pocket PC or Windows CE) ? Thanks Paolo From sunshine at public.kherson.ua Mon May 16 12:30:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 04:30:59 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: Message-ID: On 5/13/05 1:45 PM, "Robert Brenstein" wrote: >>> The first variant proposed by Ruslan had Valentina_ as prefix for all >>> calls, so at least it was painfully clear where they are coming from. >>> The second variant has only V up front that is common and that makes >>> me uncomfortable. >> >> We will have: >> >> Valentina_ >> Vdatabase_ >> Vtable_ >> VLink_ >> VSet >> VServer >> >> PLUS another action word. >> You think this can conflict to somebody? I doubt. > > In some projects, I use 'v' as prefix to denote local variables. I > may not be the only one. There may be no direct name conflicts by > certainly a confusion as to what is what is possible. > > As I said in the other email, I would prefer > > val > valDatabase > valTable > valLink > valSet > valServer > > That makes them all very clearly associated with Valentina without > anyone having to think about it. Or am I the only one who cares? Problem with such way is that it will differ from REALbasic: VDatabase Director VDatabase Java VDatabase And so on... If others agree to have Vdatabase names I think we will go with such names... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 16 12:34:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 04:34:08 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: Message-ID: On 5/13/05 1:50 PM, "Robert Brenstein" wrote: > >> Guys, I really want go with new API. >> >> * It make Valentina for Revolution similar to our other procedural syntax >> >> * it make calls faster >> >> * it simplify our own work, because we should not spend time to support own >> table of function calls. > > I don't think anyone is really objecting. Sorry if it seems that I > am. That is not quite correct ;) I am just arguing some > implementation issues and raising potential pitfalls or alternative > ways to handle things. Rather safe than sorry later. This is why I start discuss all on start :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rjb at robelko.com Mon May 16 12:13:24 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon May 16 05:33:07 2005 Subject: [V4REV] Advice 2 about func names In-Reply-To: References: Message-ID: >On 5/13/05 1:45 PM, "Robert Brenstein" wrote: > >>>> The first variant proposed by Ruslan had Valentina_ as prefix for all >>>> calls, so at least it was painfully clear where they are coming from. >>>> The second variant has only V up front that is common and that makes >>>> me uncomfortable. >>> >>> We will have: >>> >>> Valentina_ >>> Vdatabase_ >>> Vtable_ >>> VLink_ >>> VSet >>> VServer >>> >>> PLUS another action word. >>> You think this can conflict to somebody? I doubt. >> > > In some projects, I use 'v' as prefix to denote local variables. I >> may not be the only one. There may be no direct name conflicts by >> certainly a confusion as to what is what is possible. >> >> As I said in the other email, I would prefer >> >> val >> valDatabase >> valTable >> valLink >> valSet >> valServer >> >> That makes them all very clearly associated with Valentina without >> anyone having to think about it. Or am I the only one who cares? > >Problem with such way is that it will differ from > >REALbasic: > VDatabase > >Director > VDatabase > >Java > VDatabase > >And so on... > >If others agree to have Vdatabase names I think we will go with such >names... > >-- >Best regards, > >Ruslan Zasukhin By pure coincidence, there are discussions on re-use list about databases and you must have noticed that the prefix for database handlers was revdb and then extended to revDatabase -- yes, even longer and more explicit. Yes, transcript is more verbose than other environments. revDatabase clearly tells us that it is database call from rev IDE. And that is why I think valDatabase would be clearer than vDatabase by associating the name more explicitely with Val'entina and thus matching the environment and user expectations better. Yes, Ruslan, we realize that it would be simpler for you to have same names in all environments, but... you are just producing it and we have to use it. And I doubt that Rev developers care much about how those functions are called in RealBasic or Director. I mean, interally, you can call them whatever, but public interfaces (which it seems you would not be changing that often) would be better with longer prefix. Of course, we can live with V only and get used to it, but I think setting it longer is in your own interest. 'nough said. Robert From rjb at robelko.com Mon May 16 12:15:41 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon May 16 05:33:17 2005 Subject: [V4REV] symbolic constants In-Reply-To: References: Message-ID: >On 5/13/05 12:27 PM, "Robert Brenstein" wrote: > >>> 2) so if you agree that numeric values are devil, then you will start SELF >>> define symbolic variable in the same way in EACH function where you need it >>> >>> on event >>> kClientSide = 1 >>> kReadOnly = 2 >>> kRandom = 2 >>> >>> VDatabase_SqlSelect( query, kClientSide, kReadOnly, kRandom ) >>> end >> >> a) Such names would not be, however, acceptable IMHO. They must be >> prefixed with gValentina_ for example to avoid name conflicts. The >> names you are suggesting are just too generic. Somebody else looking > >In the example above I have write them inside of FUNCTION, >So no conflicts > >> at my code might see kRandom not used for whatever reason and wonder >> what it is and where it is coming from. Using "g" to prefix a global >> var is quite common. See the following article >> > > http://www.fourthworld.com/embassy/articles/scriptstyle.html > Yes, but I thought the discussion was about having them as globals. That is a big difference. Robert From sunshine at public.kherson.ua Mon May 16 13:43:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 05:43:31 2005 Subject: Question about .NET and PDA... In-Reply-To: <00e001c559f8$a4f55470$1400000a@Paolo> Message-ID: On 5/16/05 12:21 PM, "Paolo Sala" wrote: > Hi! > i've worked with Valentina for Director and VB6. > Now i have to develop a software for PC and Pocket PC with VB.NET. > I know there's a version for .NET platform, but it works also on a PDA Machine > (with pocket PC or Windows CE) ? Hi Paolo, I have no ideas if it works with PDA -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rjb at robelko.com Mon May 16 12:53:51 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon May 16 06:13:08 2005 Subject: [V4REV] symbolic constants // Based on Assoc Array In-Reply-To: References: Message-ID: >On 5/13/05 12:48 PM, "Robert Brenstein" wrote: > >>> On 5/13/05 2:52 AM, "Robert Brenstein" wrote: >>> >>>> c) instead of creating a hundred of variables, it may be better to >>>> create a single array variable, so there is only a single name to >>>> declare as global. Surely more user-friendly and more >>>> self-documenting. And we can get a list of all declared values in a >>>> single call, using the keys() function. >>> >>> Interesting! >>> please show me in transcript itself how this can looks >> >> Valentina has associative arrays: >> >> put 3 into myArray["item1Name"] >> add 1 to myArray["item1Name"] >> >> to see what elements an array has defined >> >> answer the keys of myArray >> >> We can also use split and combine to convert between normal vars and arrays. > >Okay Robert. >Then what about next solution: > >1) Valentina define several global assoc array, to simulate enums of other >languages. Names will be again similar: > > EVDebugLevel > EVDbMode > EVFlags > ... > >And Now you can write > > SqlSelect( > query, EVCursorLocation["kServerSide"], EVAccess["kReadWrite"] ) > >Only problem, I think this way will have slower access to constant values. > You seem to be back to defining globals behind our backs :) Associative arrays are fast, so they won't affect performance. Having multiple globals IMHO is not beneficial. Actually, more trouble than benefit. As user, I have to remember not only the name of constant but also the name of global. I would rather have a single global. On the other hand, as I suggested earlier (as option for future), you could offer an optional parameter, so we can get either the all 100+ constants (if no param given) or just a subset corresponding to an enum. put Valentina("Constants",[enum]) into var put Valentina_Constants([enum]) into var put valConstants([enum]) into var Please consider seriously to let us decide what the variables are rather than presetting them for us. Sometimes doing less is better -- more in the spirit of Transcript or xTalks in general. I know this is contrary to what you do (have to do) for others. But Transcript is not Lingo or Java. With this approach, you can at least have the names of actual constants same as in other environments. Robert From fb at memedia.de Mon May 16 15:15:17 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon May 16 08:15:23 2005 Subject: Question about .NET and PDA... In-Reply-To: Message-ID: <0ML25U-1DXfRB0wyD-0000q5@mrelayeu.kundenserver.de> What about the .NET client/server version anyway? When will it be available? Best regards, Florian From rwc1717 at shaw.ca Mon May 16 06:39:32 2005 From: rwc1717 at shaw.ca (Charles Cohen) Date: Mon May 16 08:39:39 2005 Subject: Creating on-the-fly-table Message-ID: <6f8f03cb873ee1101957d671049e3541@shaw.ca> I have an exisiting database and I want to add a temporary table After creating a new temporary table for my database MyADB (already opened with two tables on disk of its own.) The purpose is to copy selected records to this temporary table and then dump it an xml file and then drop the table.leaving the original database intact. I coded it as follows dim v as VTable dim vf as VField dim s() as String dim rsxml as VCursor v = new MyADB.CreateTable("xmlTmp",EVTableKind.kTblTemporary) vf = v.CreateStringField("DescriptA", 100) vf = v.CreateStringField("HighA",15) vf = v.CreateStringField("LowA",15) vf = v.CreateStringField("TargA",15) vf = v.CreateStringField("DivdA",15) vf = v.CreateStringField("PerfA",20) vf = v.CreateStringField("equityIDA",25,EVFlag.fIndexed) vf = v.CreateStringField("BuyA",15) for i = 0 to ArchLB.Listcount-1 if ArchLB.cellcheck(i,1) then rs = Nil rs = aDb.SQLSelect("select * from aEquity where equityIDA = '"+archLB.cell(i,2)+"'",EVCursorLocation.kClientSide) s.append rs.Field("DescriptA").GetString() s.append rs.Field("HighA").GetString() s.append rs.Field("LowA").GetString() s.append rs.Field("TargA").GetString() s.append rs.Field("DivdA").GetString() s.append rs.Field("BuyA").GetString() s.append rs.Field("PerfA").GetString() s.append rs.Field("equityIDA").GetString() v.SetBlank() v.StringField("DescriptA").SetString(s(0)) v.StringField("DescriptA").Value = s(0) v.StringField("HighA").Value = s(1) v.StringField("LowA").Value = s(2) v.StringField("TargA").Value = s(3) v.StringField("DivdA").Value = s(4) v.StringField("BuyA").Value = s(5) v.StringField("PerfA").Value = s(6) v.StringField("equityIDA").Value = s(7) call v.Addrecord() //rsxml = aDB.SqlSelect("Select * from xmlTmp WHERE false",EVCursorLocation.kServerSide, EVLockType.kReadWrite) //rsxml.StringField("DescriptA").Value = s(0) //rsxml.StringField("HighA").Value = s(1) //rsxml.StringField("LowA").Value = s(2) //rsxml.StringField("TargA").Value = s(3) //rsxml.StringField("DivdA").Value = s(4) //rsxml.StringField("BuyA").Value = s(5) //rsxml.StringField("PerfA").Value = s(6) //rsxml.StringField("equityIDA").Value = s(7) //call rsxml.Addrecord() v.flush redim s(7) rs = Nil end if next fiXML = GetFolderItem("charts.xml") indumpformat = true v.Dump( fiXML, 2, 2,indumpformat) MyADB.DropTable("xmlTmp") msgbox "XML File" I retreive the record but I get NilObjectEception for any of attempts at writing the data to the new table whether trying to use a cursor or trying to use a table, as well as, the MyADB doesn't drop it when I ask. My first attempt at creating the xml file, I tried to remove the records I didn't want from the already existing tables...dumping the balance to the xml file but not flushing.... The records got deleted anyways? What is my problem? Rik, Harry, Wendy, & Chuck From lfredricks at proactive-intl.com Mon May 16 06:47:19 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon May 16 08:47:37 2005 Subject: Question about .NET and PDA... In-Reply-To: <0ML25U-1DXfRB0wyD-0000q5@mrelayeu.kundenserver.de> Message-ID: <20050516134723.B1B42111D92@ladle.dreamhost.com> > What about the .NET client/server version anyway? When will > it be available? Core Windows versions will be available with Valentina 2, but we don't want to announce or discuss until we have a good idea how long it will take for them to be available. There will be both .net and COM Valentina 2 products. As for PDAs...yes, in time. I strongly feel we need a solution for the most common smartphone OS's. We have a couple of components that need to go on a diet first. Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com From lfredricks at proactive-intl.com Mon May 16 06:51:15 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon May 16 08:51:24 2005 Subject: Question about .NET and PDA... In-Reply-To: <00e001c559f8$a4f55470$1400000a@Paolo> Message-ID: <20050516135119.0C31E111D92@ladle.dreamhost.com> > i've worked with Valentina for Director and VB6. > Now i have to develop a software for PC and Pocket PC with VB.NET. > I know there's a version for .NET platform, but it works also > on a PDA Machine (with pocket PC or Windows CE) ? Valentina 1.11 for .net hasn't been tested or approved for the runtimes on pdas, but we'd be interested in your feedback on your experience in trying it. We will specifically address the pda space once we get some other priority items out of the way. Developer interest will help us to prioritize what gets done and when. Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com From sunshine at public.kherson.ua Mon May 16 17:31:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 09:31:38 2005 Subject: [V4REV] symbolic constants // Based on Assoc Array In-Reply-To: Message-ID: On 5/16/05 1:53 PM, "Robert Brenstein" wrote: >> Okay Robert. >> Then what about next solution: >> >> 1) Valentina define several global assoc array, to simulate enums of other >> languages. Names will be again similar: >> >> EVDebugLevel >> EVDbMode >> EVFlags >> ... >> >> And Now you can write >> >> SqlSelect( >> query, EVCursorLocation["kServerSide"], EVAccess["kReadWrite"] ) >> >> Only problem, I think this way will have slower access to constant values. >> > > You seem to be back to defining globals behind our backs :) This was before I have read you letter > Associative arrays are fast, so they won't affect performance. In fact they always bring some overhead because they act with strings. > Having multiple globals IMHO is not beneficial. Actually, more > trouble than benefit. As user, I have to remember not only the name > of constant but also the name of global. I would rather have a single > global. > > On the other hand, as I suggested earlier (as option for future), you > could offer an optional parameter, so we can get either the all 100+ > constants (if no param given) or just a subset corresponding to an > enum. > > put Valentina("Constants",[enum]) into var > put Valentina_Constants([enum]) into var > put valConstants([enum]) into var > > Please consider seriously to let us decide what the variables are > rather than presetting them for us. Sometimes doing less is better -- > more in the spirit of Transcript or xTalks in general. I know this is > contrary to what you do (have to do) for others. But Transcript is > not Lingo or Java. > > With this approach, you can at least have the names of actual > constants same as in other environments. Yes, we will try this way Robert. Only what I not like -- all constant values are in the same array -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 16 17:32:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 09:32:38 2005 Subject: Question about .NET and PDA... In-Reply-To: <20050516134723.B1B42111D92@ladle.dreamhost.com> Message-ID: On 5/16/05 4:47 PM, "Lynn Fredricks" wrote: > There will be both .net and COM Valentina 2 products. As for PDAs...yes, in > time. I strongly feel we need a solution for the most common smartphone > OS's. We have a couple of components that need to go on a diet first. It looks to me that there is sense port here only client. Because no sense port the big engine into small PDAs -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 16 17:33:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 09:33:59 2005 Subject: Creating on-the-fly-table In-Reply-To: <6f8f03cb873ee1101957d671049e3541@shaw.ca> Message-ID: On 5/16/05 4:39 PM, "Charles Cohen" wrote: Hi Charles, > I have an exisiting database and I want to add a temporary table > > After creating a new temporary table for my database MyADB (already > opened with two tables on disk of its own.) The purpose is to copy > selected records to this temporary table and then dump it an xml file > and then drop the table.leaving the original database intact. Point one: you can use RAM based table for this task, if it is not huge. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 16 17:35:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 09:35:20 2005 Subject: Creating on-the-fly-table In-Reply-To: <6f8f03cb873ee1101957d671049e3541@shaw.ca> Message-ID: On 5/16/05 4:39 PM, "Charles Cohen" wrote: > I have an exisiting database and I want to add a temporary table > > After creating a new temporary table for my database MyADB (already > opened with two tables on disk of its own.) The purpose is to copy > selected records to this temporary table and then dump it an xml file > and then drop the table.leaving the original database intact. Also please tell me, why you cannot generate XML file directly from cursor? Why you want create TMP table and only after that generate XML ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 16 17:43:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 09:44:19 2005 Subject: Creating on-the-fly-table In-Reply-To: <6f8f03cb873ee1101957d671049e3541@shaw.ca> Message-ID: On 5/16/05 4:39 PM, "Charles Cohen" wrote: > I coded it as follows > > dim v as VTable > dim vf as VField > dim s() as String > dim rsxml as VCursor > > v = new MyADB.CreateTable("xmlTmp",EVTableKind.kTblTemporary) > vf = v.CreateStringField("DescriptA", 100) > vf = v.CreateStringField("HighA",15) > vf = v.CreateStringField("LowA",15) > vf = v.CreateStringField("TargA",15) > vf = v.CreateStringField("DivdA",15) > vf = v.CreateStringField("PerfA",20) > vf = v.CreateStringField("equityIDA",25,EVFlag.fIndexed) > vf = v.CreateStringField("BuyA",15) > for i = 0 to ArchLB.Listcount-1 > if ArchLB.cellcheck(i,1) then > rs = Nil > rs = aDb.SQLSelect("select * from aEquity where equityIDA = > '"+archLB.cell(i,2)+"'",EVCursorLocation.kClientSide) > s.append rs.Field("DescriptA").GetString() > s.append rs.Field("HighA").GetString() > s.append rs.Field("LowA").GetString() > s.append rs.Field("TargA").GetString() > s.append rs.Field("DivdA").GetString() > s.append rs.Field("BuyA").GetString() > s.append rs.Field("PerfA").GetString() > s.append rs.Field("equityIDA").GetString() > v.SetBlank() > v.StringField("DescriptA").SetString(s(0)) > v.StringField("DescriptA").Value = s(0) > v.StringField("HighA").Value = s(1) > v.StringField("LowA").Value = s(2) > v.StringField("TargA").Value = s(3) > v.StringField("DivdA").Value = s(4) > v.StringField("BuyA").Value = s(5) > v.StringField("PerfA").Value = s(6) > v.StringField("equityIDA").Value = s(7) > call v.Addrecord() > //rsxml = aDB.SqlSelect("Select * from xmlTmp WHERE > false",EVCursorLocation.kServerSide, EVLockType.kReadWrite) > > //rsxml.StringField("DescriptA").Value = s(0) > //rsxml.StringField("HighA").Value = s(1) > //rsxml.StringField("LowA").Value = s(2) > //rsxml.StringField("TargA").Value = s(3) > //rsxml.StringField("DivdA").Value = s(4) > //rsxml.StringField("BuyA").Value = s(5) > //rsxml.StringField("PerfA").Value = s(6) > //rsxml.StringField("equityIDA").Value = s(7) > //call rsxml.Addrecord() > v.flush > redim s(7) > rs = Nil > end if > next > fiXML = GetFolderItem("charts.xml") > indumpformat = true > v.Dump( fiXML, 2, 2,indumpformat) > MyADB.DropTable("xmlTmp") > msgbox "XML File" > > I retreive the record but I get NilObjectEception for any of attempts > at writing the data to the new table whether trying to use a cursor or > trying to use a table, as well as, the MyADB doesn't drop it when I > ask. > > My first attempt at creating the xml file, I tried to remove the > records I didn't want from the already existing tables...dumping the > balance to the xml file but not flushing.... > The records got deleted anyways? Does this code show problem on small db also ? If yes then can you send me project for debugging ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 16 17:45:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 09:46:09 2005 Subject: Creating on-the-fly-table In-Reply-To: <6f8f03cb873ee1101957d671049e3541@shaw.ca> Message-ID: On 5/16/05 4:39 PM, "Charles Cohen" wrote: > for i = 0 to ArchLB.Listcount-1 > if ArchLB.cellcheck(i,1) then > rs = Nil > rs = aDb.SQLSelect("select * from aEquity where equityIDA = > '"+archLB.cell(i,2)+"'",EVCursorLocation.kClientSide) > s.append rs.Field("DescriptA").GetString() > s.append rs.Field("HighA").GetString() > s.append rs.Field("LowA").GetString() > s.append rs.Field("TargA").GetString() > s.append rs.Field("DivdA").GetString() > s.append rs.Field("BuyA").GetString() > s.append rs.Field("PerfA").GetString() > s.append rs.Field("equityIDA").GetString() > v.SetBlank() > v.StringField("DescriptA").SetString(s(0)) > v.StringField("DescriptA").Value = s(0) > v.StringField("HighA").Value = s(1) > v.StringField("LowA").Value = s(2) > v.StringField("TargA").Value = s(3) > v.StringField("DivdA").Value = s(4) > v.StringField("BuyA").Value = s(5) > v.StringField("PerfA").Value = s(6) > v.StringField("equityIDA").Value = s(7) > call v.Addrecord() Why you use Array of Strings here? Why not simply: v.StringField("HighA").Value = rs.Field("HighA").GetString() -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 16 17:52:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 09:53:42 2005 Subject: Creating on-the-fly-table In-Reply-To: <6f8f03cb873ee1101957d671049e3541@shaw.ca> Message-ID: On 5/16/05 4:39 PM, "Charles Cohen" wrote: > fiXML = GetFolderItem("charts.xml") > indumpformat = true > v.Dump( fiXML, 2, 2,indumpformat) > MyADB.DropTable("xmlTmp") > msgbox "XML File" > > I retreive the record but I get NilObjectEception for any of attempts > at writing the data to the new table whether trying to use a cursor or > trying to use a table, as well as, the MyADB doesn't drop it when I > ask. > > My first attempt at creating the xml file, I tried to remove the > records I didn't want from the already existing tables...dumping the > balance to the xml file but not flushing.... > The records got deleted anyways? > > What is my problem? Interesting. In fact our C++ code can dump into XML the Cursor itself. Because in C++ Vcursor inherits I_Table. Since REALbasic still have problems with interfaces we was not able implement this ideas... Well, I think we can simply add Vcursor.Dump() Vcursor.LoadDump() This will be more effective than way you try. Although we still should resolve problem on your current way. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rjb at robelko.com Mon May 16 17:39:05 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon May 16 10:52:05 2005 Subject: [V4REV] symbolic constants // Based on Assoc Array In-Reply-To: References: Message-ID: > > You seem to be back to defining globals behind our backs :) > >This was before I have read you letter > I see. I guess I got your responses in wrong order. I have noticed that in many instances, the replies to the list arrive before original inquiry. I wonder which server changes the order. > > Associative arrays are fast, so they won't affect performance. > >In fact they always bring some overhead because they act with strings. I have no worries here. They are as fast as it gets in Transcript. Remember that xTalks are string-oriented by definition, so there is no slown down for handling strings as it is in other environments. And array implementation is really fast. > > Please consider seriously to let us decide what the variables are >> rather than presetting them for us. Sometimes doing less is better -- >> more in the spirit of Transcript or xTalks in general. I know this is >> contrary to what you do (have to do) for others. But Transcript is >> not Lingo or Java. >> > > With this approach, you can at least have the names of actual >> constants same as in other environments. > >Yes, we will try this way Robert. > >Only what I not like -- all constant values are in the same array I am not sure which part bothers you. Unlike in other environments, they constants in rev are mostly for mnemonic/code readibility since they are not true enums. When I switched to MetaCard/Rev, I used to create separate global var for each global value I needed. That was the HyperCard way. Then I discovered associative arrays. So much easier to handle things like preferences or global values. Particularly nice since they couple so strongly and well with custom properties. But it is a different frame of mind than programming in RB or C/C++, so I can see why it feels odd to you. If you wanted to go all the way, instead of defining constants on our side (in our program), you could have Valentina functions accept literals instead of, or in addition to, numerical parameters and have your external converting these literals into numbers. Then the whole issue of val-related globals is out of window. And the constants are documented clearly and individually for each Valentina call. This would be a proper emulation of enums in Transcript IMHO. Robert From sunshine at public.kherson.ua Mon May 16 19:01:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 11:01:24 2005 Subject: [V4REV] symbolic constants // Based on Assoc Array In-Reply-To: Message-ID: On 5/16/05 6:39 PM, "Robert Brenstein" wrote: > I am not sure which part bothers you. Unlike in other environments, > they constants in rev are mostly for mnemonic/code readibility since > they are not true enums. > > When I switched to MetaCard/Rev, I used to create separate global var > for each global value I needed. That was the HyperCard way. Then I > discovered associative arrays. So much easier to handle things like > preferences or global values. Particularly nice since they couple so > strongly and well with custom properties. But it is a different frame > of mind than programming in RB or C/C++, so I can see why it feels > odd to you. > > If you wanted to go all the way, instead of defining constants on our > side (in our program), you could have Valentina functions accept > literals instead of, or in addition to, numerical parameters and have > your external converting these literals into numbers. Oh! Btw, this is also a way > Then the whole issue of val-related globals is out of window. And the > constants are documented clearly and individually for each Valentina call. > This would be a proper emulation of enums in Transcript IMHO. so: We can use this way: very similar to Java/RB. SQlSelect( query, "EVCursorLocation.kServerSide", "EVLocks.kReadWrite", "EVCursorDirection.kRandom" ) Of course we can also make it shorter: SQlSelect( query, "kServerSide", "kReadWrite", "kRandom" ) well, I think second way you will prefer better, right ? Only it needs to check if all constant names from different "enums" are different... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rwc1717 at shaw.ca Mon May 16 10:10:22 2005 From: rwc1717 at shaw.ca (Charles Cohen) Date: Mon May 16 12:11:01 2005 Subject: Creating on-the-fly-table In-Reply-To: References: Message-ID: Hi Ruslan: Is not the temporary table 'xmlTemp' that I create in RAM? I cannot use the cursor-to-xml as the routine. The listbox displays all available archived records. One then uses checkboxes to select which records one wants to dump from the two tables...one table has the identifying info for the equity and the other table has up to 12 records/year that contains the month/year/a string of the month's closing proces of each equity and a ID field (that I use like a ptr). I then retrieve the recordset for the particular records one wants dumped from the first table (what I posted). The code has yet to include the second search of my other table to add to the temporary vtable the particular record(s) that the user wants. ie: which year/month/daystring/priceIDA?. Then I can dump the temporary table to the xml file. Too bad about the.. > My first attempt at creating the xml file, I tried to remove the > records I didn't want from the already existing tables...dumping the > balance to the xml file but not flushing.... > The records got deleted anyways? Interesting. In fact our C++ code can dump into XML the Cursor itself. Because in C++ Vcursor inherits I_Table. Since REALbasic still have problems with interfaces we was not able implement this ideas... Well, I think we can simply add Vcursor.Dump() Vcursor.LoadDump() This will be more effective than way you try. Although we still should resolve problem on your current way. Becuase of what I explained above...I do not have one cursor that will contains all that I want to dump. The databases are very small.... the archive database has only about 15 records in 2 tables(3 if you count the one I am working with in the above problem) and another 150-200 in two tables of the main database. If I am to send you the project I must send both. Do you want the V4RB_ log.text file also? I shortened the code to reflect v.StringField("HighA").Value = rs.Field("HighA").GetString() However, the first v.Stringfield call hits the NilObjectException...vtable doesn't exist. Moreover, if I remark out the offending code and supposely dump the database structure to the xml file "charts.xml"...v.Dump( fiXML, 2, 2,indumpformat)... it ain't there:-(. And Dropping the temporary tabel still fails ie: MyADB.DropTable(v) with "this method or property does not exist...." error So what is the address to send the project to? To recreate the above.... 1) File - Archives 2) Check off first record 3) press 'Make XML File' bevelbutton Code is located in Otherwindows - ArchWindow - Controls - bva().action (index = 3) The Valentina debugger is on and is located in App.Open. I will stuff the complete directory and send it off. BTW, I do receive Andrey's emails...I simply cannot reply to them. >>Try communicate via Valentina Studio list...Is this the valentina@lists.macserve.net? Where do I find Studio 2.08b or is it available yet? I apologize for the length. Thanks Chuck From sunshine at public.kherson.ua Mon May 16 20:34:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 12:34:41 2005 Subject: Creating on-the-fly-table In-Reply-To: Message-ID: On 5/16/05 8:10 PM, "Charles Cohen" wrote: > Hi Ruslan: > Is not the temporary table 'xmlTemp' that I create in RAM? No, it is on disk by default, you need to say EVStorageType.kRam -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 16 20:35:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 12:35:47 2005 Subject: Creating on-the-fly-table In-Reply-To: Message-ID: On 5/16/05 8:10 PM, "Charles Cohen" wrote: > > BTW, I do receive Andrey's emails...I simply cannot reply to them. >>> Try communicate via Valentina Studio list...Is this the > valentina@lists.macserve.net? > Where do I find Studio 2.08b or is it available yet? > > I apologize for the length. Are you subscribe to Vstudio list ? Vstudio issues should be discussed on that list. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rwc1717 at shaw.ca Mon May 16 10:49:13 2005 From: rwc1717 at shaw.ca (Charles Cohen) Date: Mon May 16 12:49:42 2005 Subject: Creating on-the-fly-table In-Reply-To: References: Message-ID: On 16-May-05, at 10:34 AM, Ruslan Zasukhin wrote: On 5/16/05 8:10 PM, "Charles Cohen" wrote: > Hi Ruslan: > Is not the temporary table 'xmlTemp' that I create in RAM? No, it is on disk by default, you need to say EVStorageType.kRam I added that code but the problem persists. Where do I send the project so you guys can check it out. >>Are you subscribe to Vstudio list ? Yes to the valentina@lists...is this the same as Vstudio list? Chuck From sunshine at public.kherson.ua Mon May 16 20:50:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 12:50:08 2005 Subject: Creating on-the-fly-table In-Reply-To: Message-ID: On 5/16/05 8:10 PM, "Charles Cohen" wrote: > Hi Ruslan: > Is not the temporary table 'xmlTemp' that I create in RAM? > > I cannot use the cursor-to-xml as the routine. > The listbox displays all available archived records. > One then uses checkboxes to select which records one wants to dump from > the two tables...one table has the identifying info for the equity and > the other table has up to 12 records/year that contains the > month/year/a string of the month's closing proces of each equity and a > ID field (that I use like a ptr). > > I then retrieve the recordset for the particular records one wants > dumped from the first table (what I posted). The code has yet to > include the second search of my other table to add to the temporary > vtable the particular record(s) that the user wants. ie: which > year/month/daystring/priceIDA?. > Then I can dump the temporary table to the xml file. Ok, I see Charles. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rjb at robelko.com Mon May 16 19:45:33 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon May 16 12:52:06 2005 Subject: [V4REV] symbolic constants // Based on Assoc Array In-Reply-To: References: Message-ID: > > If you wanted to go all the way, instead of defining constants on our >> side (in our program), you could have Valentina functions accept >> literals instead of, or in addition to, numerical parameters and have >> your external converting these literals into numbers. > >Oh! Btw, this is also a way Yes, this is probably the most intuitive and simplest for users, I think. And possibly also for you even though your code must handle the strings. > > Then the whole issue of val-related globals is out of window. And the >> constants are documented clearly and individually for each Valentina call. >> This would be a proper emulation of enums in Transcript IMHO. > >so: > >We can use this way: very similar to Java/RB. > > SQlSelect( query, > "EVCursorLocation.kServerSide", > "EVLocks.kReadWrite", > "EVCursorDirection.kRandom" ) > >Of course we can also make it shorter: > > SQlSelect( query, "kServerSide", "kReadWrite", "kRandom" ) > >well, I think second way you will prefer better, right ? > >Only it needs to check if all constant names from different "enums" are >different... Definitely the second, shorter way. Internally, you can either ensure that each constant is different or have them enumerated by function name whatever it is easier for you to handle. In this instance, the quotes are really (at least they should be) optional, although it is a good idea to have them anyway. SQlSelect(query,kServerSide,kReadWrite,kRandom) Robert From sunshine at public.kherson.ua Mon May 16 20:52:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 12:52:20 2005 Subject: Creating on-the-fly-table In-Reply-To: Message-ID: On 5/16/05 8:10 PM, "Charles Cohen" wrote: > The databases are very small.... the archive database has only about 15 > records in 2 tables(3 if you count the one I am working with in the > above problem) and another 150-200 in two tables of the main database. > If I am to send you the project I must send both. Do you want the > V4RB_ log.text file also? Yes send me everything you think will help me. And the main: I need exact steps todo to see problem -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 16 20:54:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 12:54:19 2005 Subject: Creating on-the-fly-table In-Reply-To: Message-ID: On 5/16/05 8:10 PM, "Charles Cohen" wrote: > I shortened the code to reflect > v.StringField("HighA").Value = rs.Field("HighA").GetString() > However, the first v.Stringfield call hits the > NilObjectException...vtable doesn't exist. So you can see in RB debugger that v is Nil ?? But you did use it before to create fields as I see. > Moreover, if I remark out the offending code and supposely dump the > database structure to the xml file "charts.xml"...v.Dump( fiXML, 2, > 2,indumpformat)... > it ain't there:-(. > And Dropping the temporary tabel still fails > ie: MyADB.DropTable(v) with "this method or property does not > exist...." error > > So what is the address to send the project to? sunshine@public.kherson.ua > To recreate the above.... > 1) File - Archives > 2) Check off first record > 3) press 'Make XML File' bevelbutton > Code is located in > Otherwindows - ArchWindow - Controls - bva().action (index = 3) > > The Valentina debugger is on and is located in App.Open. > > I will stuff the complete directory and send it off. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 16 20:55:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 12:55:08 2005 Subject: Creating on-the-fly-table In-Reply-To: Message-ID: On 5/16/05 8:49 PM, "Charles Cohen" wrote: >>> Are you subscribe to Vstudio list ? > Yes to the valentina@lists...is this the same as Vstudio list? No, Look here Valentina-studio mailing list Valentina-studio@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina-studio -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 16 20:57:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 16 12:57:42 2005 Subject: [V4REV] symbolic constants // Based on Assoc Array In-Reply-To: Message-ID: On 5/16/05 8:45 PM, "Robert Brenstein" wrote: >> Only it needs to check if all constant names from different "enums" are >> different... > > Definitely the second, shorter way. Internally, you can either ensure > that each constant is different or have them enumerated by function > name whatever it is easier for you to handle. > > In this instance, the quotes are really (at least they should be) > optional, although it is a good idea to have them anyway. > > SQlSelect(query,kServerSide,kReadWrite,kRandom) And Revolution will understand this?! Then just WOW! We have found the best solution :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rwc1717 at shaw.ca Mon May 16 11:05:10 2005 From: rwc1717 at shaw.ca (Charles Cohen) Date: Mon May 16 13:05:46 2005 Subject: Creating on-the-fly-table In-Reply-To: References: Message-ID: <4c7d94effb5102738c4fbc5038c052d4@shaw.ca> On 16-May-05, at 10:54 AM, Ruslan Zasukhin wrote: On 5/16/05 8:10 PM, "Charles Cohen" wrote: > I shortened the code to reflect > v.StringField("HighA").Value = rs.Field("HighA").GetString() > However, the first v.Stringfield call hits the > NilObjectException...vtable doesn't exist. So you can see in RB debugger that v is Nil ?? You won't like this....the debugger says that v is a Vtable but if I try to open it to inpsect the variables...the program crashes...with an Apple error window appearing. But you did use it before to create fields as I see. The above is the reason why I get the NilObjectException when I try and write to the VTable. It says its created...but it seems to me it is only partially created... sunshine@public.kherson.ua I just sent it off to the above address..Good Luck Thanks Chuck From rwc1717 at shaw.ca Mon May 16 11:15:53 2005 From: rwc1717 at shaw.ca (Charles Cohen) Date: Mon May 16 13:15:58 2005 Subject: Creating on-the-fly-table In-Reply-To: References: Message-ID: <2e6cf9084b3a7ebf10dad7ba3ddbb95d@shaw.ca> On 16-May-05, at 10:55 AM, Ruslan Zasukhin wrote: On 5/16/05 8:49 PM, "Charles Cohen" wrote: >>> Are you subscribe to Vstudio list ? > Yes to the valentina@lists...is this the same as Vstudio list? No, Look here Valentina-studio mailing list Valentina-studio@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina-studio VStudio registration done! Here's an oddity that may help the email problem that Andrey is having.... Each email that I sent to you this morning is sending a copy back to me When I check the raw source it appaers to be from Chuck From rjb at robelko.com Mon May 16 23:58:19 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon May 16 17:11:07 2005 Subject: [V4REV] symbolic constants // Based on Assoc Array In-Reply-To: References: Message-ID: >On 5/16/05 8:45 PM, "Robert Brenstein" wrote: > >>> Only it needs to check if all constant names from different "enums" are >>> different... >> >> Definitely the second, shorter way. Internally, you can either ensure >> that each constant is different or have them enumerated by function >> name whatever it is easier for you to handle. >> >> In this instance, the quotes are really (at least they should be) >> optional, although it is a good idea to have them anyway. >> >> SQlSelect(query,kServerSide,kReadWrite,kRandom) > >And Revolution will understand this?! Revolution will. An uninitiated variable in this case will be treated as a literal constant. So, the names will be passed to your function as literal strings regardless whether we quote them or not. One of those things that initially puzzles people coming from other languages and confuses newbies. > >Then just WOW! We have found the best solution :-) > I guess then it was worth everyone's suffering through this thread :) Robert From yeomans at desuetude.com Mon May 16 19:35:12 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon May 16 18:35:27 2005 Subject: VServer crashes Message-ID: <841d2fc948fc14b769e8501f80f95539@desuetude.com> I seem to be crashing VServer when I attempt to register a database. Below is the most relevant bit of the crash log. Am I alone in experiencing this? Charles Yeomans Thread 2 Crashed: 0 VServer.dylib 0x01d3e5b4 0x18f4000 + 0x44a5b4 1 VServer.dylib 0x01bdf2bc fbl::Table::get_Field(unsigned short const*) const + 0x24 2 VServer.dylib 0x01cce418 0x18f4000 + 0x3da418 3 VServer.dylib 0x01bd0dbc fbl::CreateFieldInstance(fbl::smart_ptr, fbl::String const&, unsigned long, unsigned short, fbl::smart_ptr) + 0x48 4 VServer.dylib 0x01bdf480 fbl::Table::CreateField(unsigned short const*, unsigned long, unsigned short, fbl::smart_ptr) + 0x9c 5 VServer.dylib 0x01cce4bc 0x18f4000 + 0x3da4bc 6 VServer.dylib 0x01bdf888 fbl::Table::CreateField(char const*, unsigned long, unsigned short, fbl::smart_ptr) + 0x84 7 VServer.dylib 0x01bddea8 fbl::Table::MakeNewField_RecID() + 0x78 8 VServer.dylib 0x01bdde00 fbl::Table::MakeNewDefaultFields() + 0x20 9 VServer.dylib 0x019c9af4 fbl::Table::CommonInit(fbl::ETableKind, fbl::EStorageType, unsigned long) + 0x74 10 VServer.dylib 0x019c9344 fbl::Table::Table(fbl::smart_ptr, unsigned short const*, long, fbl::ETableKind, fbl::EStorageType, unsigned long) + 0x300 11 VServer.dylib 0x019e2fc4 fbl::Database::CreateTableInstance(unsigned short const*, fbl::ETableKind, fbl::EStorageType, unsigned long) + 0x188 12 VServer.dylib 0x019e1c60 fbl::Database::CreateTable(unsigned short const*, fbl::ETableKind, fbl::EStorageType, unsigned long) + 0x200 13 VServer.dylib 0x018fc864 V_Remote_Db::CreateTable() + 0xac 14 VServer.dylib 0x018fb0f4 V_Remote_Db::handle_command() + 0xc0 15 VServer.dylib 0x01906c7c VS_Client_Handler::handle_input(int) + 0xfc 16 VServer.dylib 0x01c62e74 ACE_TP_Reactor::dispatch_socket_event(ACE_EH_Dispatch_Info&) + 0x80 17 VServer.dylib 0x01c625e4 ACE_TP_Reactor::handle_socket_events(int&, ACE_TP_Token_Guard&) + 0xdc 18 VServer.dylib 0x01c62290 ACE_TP_Reactor::dispatch_i(ACE_Time_Value*, ACE_TP_Token_Guard&) + 0xa0 19 VServer.dylib 0x01c61cd0 ACE_TP_Reactor::handle_events(ACE_Time_Value*) + 0x254 20 VServer.dylib 0x01c3f540 ACE_Reactor::run_reactor_event_loop(int (*)(ACE_Reactor*)) + 0x58 21 VServer.dylib 0x01c83cd0 0x18f4000 + 0x38fcd0 22 VServer.dylib 0x01c525fc ACE_Task_Base::svc_run(void*) + 0xd8 23 VServer.dylib 0x01c64524 ACE_Thread_Adapter::invoke_i() + 0x6c 24 VServer.dylib 0x01c64490 ACE_Thread_Adapter::invoke() + 0x70 25 VServer.dylib 0x01c55b78 ace_thread_adapter + 0x1c 26 libSystem.B.dylib 0x90024910 _pthread_body + 0x28 From bkeeney at everestkc.net Mon May 16 19:18:36 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Mon May 16 19:18:49 2005 Subject: V4RB2 - Encryption Methods Working in 2.03? In-Reply-To: <20050516175220.1230F31EA09@edison.macserve.net> References: <20050516175220.1230F31EA09@edison.macserve.net> Message-ID: The documentation shows a couple of encryption methods, but I can't seem to get them to work. Are they working yet? If not, is there even a tentative version/date that they'll be incorporated? BTW, is there a searchable archive? Where is it? Thanks, Bob Keeney BKeeney Software Inc. From ed at leafe.com Mon May 16 20:42:47 2005 From: ed at leafe.com (Ed Leafe) Date: Mon May 16 19:42:56 2005 Subject: V4RB2 - Encryption Methods Working in 2.03? In-Reply-To: References: <20050516175220.1230F31EA09@edison.macserve.net> Message-ID: <8dd3f859b3e286c9ffb0fbbac2e19cd7@leafe.com> On May 16, 2005, at 8:18 PM, Bob Keeney wrote: > BTW, is there a searchable archive? Where is it? http://leafe.com/archives/search/valentina ___/ / __/ / ____/ Ed Leafe http://leafe.com/ http://dabodev.com/ From mjew at icnc.com Mon May 16 19:10:44 2005 From: mjew at icnc.com (Matthew Jew) Date: Mon May 16 21:11:05 2005 Subject: VSDK 2.x In-Reply-To: <20050509170924.474E0318C9A@edison.macserve.net> References: <20050509170924.474E0318C9A@edison.macserve.net> Message-ID: <139a3b6f7384fecfeab6691a01eaad69@icnc.com> Will there be a C++ VSDK 2.x? If so, is there any projected date for release? Or beta testing program? - Matthew From billmounce at comcast.net Mon May 16 20:45:32 2005 From: billmounce at comcast.net (Bill Mounce) Date: Mon May 16 22:45:46 2005 Subject: Encoding in Valentina 1.11 Message-ID: I am still struggling with encoding. When I save a record, and it has a character like ? (option m) or ? (option f) on the Mac, it converts it to another encoding. Is there a way to tell Valentina 1.11 that the text is MacRoman and just leave it at that? Bill From sunshine at public.kherson.ua Tue May 17 09:18:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 17 01:18:27 2005 Subject: V4RB2 - Encryption Methods Working in 2.03? In-Reply-To: Message-ID: On 5/17/05 3:18 AM, "Bob Keeney" wrote: Hi Bob, > The documentation shows a couple of encryption methods, but I can't > seem to get them to work. Are they working yet? If not, is there > even a tentative version/date that they'll be incorporated? Valentina 2.0.4 will bring us SQL Load. And Valentina 2.0.5 will bring encryption -- the last feature from 1.x which was on hold in 2.0. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue May 17 09:25:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 17 01:25:16 2005 Subject: VSDK 2.x In-Reply-To: <139a3b6f7384fecfeab6691a01eaad69@icnc.com> Message-ID: On 5/17/05 5:10 AM, "Matthew Jew" wrote: Hi Mathew, > Will there be a C++ VSDK 2.x? Yes of course. > If so, is there any projected date for release? > Or beta testing program? Actually I is very easy for us start beta testing of C++ SDK. * the same Vcomponent folders which you V4RB and V4MD * plus folder of Headers and sources. Note, we have now CodeWarrior and Visual versions. No xCode yet. ------------------------------------------------------------ FYI about C++ SDK 2.0 We introduce 3 levels of access to C++ sources: 1) basic: $299. you get so called PUBLIC folder of our sources. this contains all required Interfaces and Util which have THE SAME functionality as V4RB and V4MD. Not more not less. 2) pro (it seems $700, not remember) you get the same PUBLIC folder plus ALL HEADER of PROTECTED folder this gives you about 300 more files. you get e.g. Headers of cache, importers, and so on... This allow you define own subclasses of our interfaces and so on. 3) architect you get full sources of PUBLIC and PROTECTED folders. this is 90-95% of sources of Valentina. Only behind is PRIVATE folder which contains indexes algorithms. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue May 17 09:42:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 17 01:43:01 2005 Subject: VServer crashes In-Reply-To: <841d2fc948fc14b769e8501f80f95539@desuetude.com> Message-ID: On 5/17/05 2:35 AM, "Charles Yeomans" wrote: Hi Charles, You sure you do Register? I see that work CreateTable() > I seem to be crashing VServer when I attempt to register a database. > Below is the most relevant bit of the crash log. Am I alone in > experiencing this? > > Charles Yeomans > > > Thread 2 Crashed: > 0 VServer.dylib 0x01d3e5b4 0x18f4000 + 0x44a5b4 > 1 VServer.dylib 0x01bdf2bc fbl::Table::get_Field(unsigned short > const*) const + 0x24 > 2 VServer.dylib 0x01cce418 0x18f4000 + 0x3da418 > 3 VServer.dylib 0x01bd0dbc > fbl::CreateFieldInstance(fbl::smart_ptr, fbl::String > const&, unsigned long, unsigned short, > fbl::smart_ptr) + 0x48 > 4 VServer.dylib 0x01bdf480 fbl::Table::CreateField(unsigned > short const*, unsigned long, unsigned short, > fbl::smart_ptr) + 0x9c > 5 VServer.dylib 0x01cce4bc 0x18f4000 + 0x3da4bc > 6 VServer.dylib 0x01bdf888 fbl::Table::CreateField(char const*, > unsigned long, unsigned short, fbl::smart_ptr const>) + 0x84 > 7 VServer.dylib 0x01bddea8 fbl::Table::MakeNewField_RecID() + > 0x78 > 8 VServer.dylib 0x01bdde00 fbl::Table::MakeNewDefaultFields() + > 0x20 > 9 VServer.dylib 0x019c9af4 > fbl::Table::CommonInit(fbl::ETableKind, fbl::EStorageType, unsigned > long) + 0x74 > 10 VServer.dylib 0x019c9344 > fbl::Table::Table(fbl::smart_ptr, unsigned short > const*, long, fbl::ETableKind, fbl::EStorageType, unsigned long) + > 0x300 > 11 VServer.dylib 0x019e2fc4 > fbl::Database::CreateTableInstance(unsigned short const*, > fbl::ETableKind, fbl::EStorageType, unsigned long) + 0x188 > 12 VServer.dylib 0x019e1c60 fbl::Database::CreateTable(unsigned > short const*, fbl::ETableKind, fbl::EStorageType, unsigned long) + > 0x200 > 13 VServer.dylib 0x018fc864 V_Remote_Db::CreateTable() + 0xac -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue May 17 14:04:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 17 06:04:25 2005 Subject: Encoding in Valentina 1.11 In-Reply-To: Message-ID: On 5/17/05 6:45 AM, "Bill Mounce" wrote: > I am still struggling with encoding. When I save a record, and it has a > character like ? (option m) or ? (option f) on the Mac, it converts it > to another encoding. Is there a way to tell Valentina 1.11 that the > text is MacRoman and just leave it at that? Hi Bill, So you enter strings on MAC? And read them back on MAC ? Have you set for field language "English" -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From silversoft at skynet.be Tue May 17 15:16:27 2005 From: silversoft at skynet.be (Silversoft) Date: Tue May 17 08:16:57 2005 Subject: [V4MD] problems with importing ascii text In-Reply-To: Message-ID: <200505171316.j4HDGbNc001336@outmx024.isp.belgacom.be> Hello all, the source database I have to import from, is an access DB. The problem is that there are returns in some fields, warping any import. Besides the fact that importascii doesn't seem to work (no error message, but also no data in the database at all), this really is a problem. I got round the fact that importascii doesn't work, by manually coding the import, but I can not get round this problem right now. A possible solution would be that I could replace the return characters in access to an other character of my choice. Any idea how to do that? Greetings, Steven Ophalvens From sunshine at public.kherson.ua Tue May 17 16:20:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 17 08:20:30 2005 Subject: [V4MD] problems with importing ascii text In-Reply-To: <200505171316.j4HDGbNc001336@outmx024.isp.belgacom.be> Message-ID: On 5/17/05 4:16 PM, "Silversoft" wrote: Hi Steven. > the source database I have to import from, is an access DB. > > The problem is that there are returns in some fields, warping > any import. So you need to use COMA-separated format for export. Unfortunate Access do not allow specify Record Delimiter for export, right? This could simply your task. > Besides the fact that importascii doesn't seem to work (no error > message, but also no data in the database at all), this really > is a problem. > > I got round the fact that importascii doesn't work, by manually > coding the import, but I can not get round this problem right now. > > A possible solution would be that I could replace the return characters > in access to an other character of my choice. Any idea how to do that? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From silversoft at skynet.be Tue May 17 15:30:39 2005 From: silversoft at skynet.be (Silversoft) Date: Tue May 17 08:30:49 2005 Subject: [V4MD] problems with importing ascii text In-Reply-To: Message-ID: <200505171330.j4HDUdU6027767@outmx023.isp.belgacom.be> Hi Ruslan, thanks for your answer, but unfortunately that doesn't solve the problem. Not only does using a coma mean that I can not have any coma in the text of my fields, it doesn't prevent the returns inside the text of my fields to warp : any straight-forward method (like using vStudio's import option) will fail on the first return character inside a field, because the parser will assume that that is the end of the record, which it is not. Indeed, exporting using an other record delimiter would also solve my problem. -----Oorspronkelijk bericht----- Van: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Namens Ruslan Zasukhin Verzonden: dinsdag 17 mei 2005 15:20 Aan: valentina@lists.macserve.net Onderwerp: Re: [V4MD] problems with importing ascii text On 5/17/05 4:16 PM, "Silversoft" wrote: Hi Steven. > the source database I have to import from, is an access DB. > > The problem is that there are returns in some fields, warping > any import. So you need to use COMA-separated format for export. Unfortunate Access do not allow specify Record Delimiter for export, right? This could simply your task. > Besides the fact that importascii doesn't seem to work (no error > message, but also no data in the database at all), this really > is a problem. > > I got round the fact that importascii doesn't work, by manually > coding the import, but I can not get round this problem right now. > > A possible solution would be that I could replace the return characters > in access to an other character of my choice. Any idea how to do that? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue May 17 16:49:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 17 08:49:20 2005 Subject: [V4MD] problems with importing ascii text In-Reply-To: <200505171330.j4HDUdU6027767@outmx023.isp.belgacom.be> Message-ID: On 5/17/05 4:30 PM, "Silversoft" wrote: Hi Steven, > thanks for your answer, but unfortunately that doesn't solve the > problem. > Not only does using a coma mean that I can not have > any coma in the text of my fields, it doesn't prevent the returns > inside the text of my fields to warp : > any straight-forward > method (like using vStudio's import option) will fail on the > first return character inside a field, because the parser will > assume that that is the end of the record, which it is not. In Vstudio you have just use Import? Or you connect via ODBC ? In the Access this is MEMO fields? Or else ? > Indeed, exporting using an other record delimiter would also > solve my problem. I know that this can do mySQL and Valentina. Hmm, anybody know how to solve this problem with Access ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Tue May 17 16:09:36 2005 From: maxprog at mac.com (Stan Busk) Date: Tue May 17 09:09:45 2005 Subject: [V4RB2] Convert_1_2.rb not working anymore. Message-ID: <59013BBE-0188-44CB-97E4-0B9EDB2E0A7D@mac.com> Hi, The 'Convert_1_2.rb' example doesn't seem to work. It simply throws an exception. I use V4RB 2.0.3 on RB 5.5.5 I get a vException on the line: 's = Hex( DbVersion )'. The file to convert doesn't seem to matter. Can send sample on demand. -- ~/Stan Maxprog? From silversoft at skynet.be Tue May 17 16:22:31 2005 From: silversoft at skynet.be (Silversoft) Date: Tue May 17 09:22:47 2005 Subject: [V4MD] problems with importing ascii text In-Reply-To: Message-ID: <200505171422.j4HEMWua019052@outmx026.isp.belgacom.be> These fields are indeed memo fields. Your suggestion of mysql gave me the idea to try importing the data on an sql server and exporting it from there. In sql server, you can specify the characters you use for row and field delimiters, including a vertical bar, which helps me out as a row delimiter. It is not a nice trip, but the most important part for me is now that I can get my data into Valentina exactly as my client provides it. I am just thankful that he will only deliver his data 1 time, and not for every update he does on it :s -----Oorspronkelijk bericht----- Van: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Namens Ruslan Zasukhin Verzonden: dinsdag 17 mei 2005 15:49 Aan: valentina@lists.macserve.net; valentina-studio@lists.macserve.net Onderwerp: Re: [V4MD] problems with importing ascii text On 5/17/05 4:30 PM, "Silversoft" wrote: Hi Steven, > thanks for your answer, but unfortunately that doesn't solve the > problem. > Not only does using a coma mean that I can not have > any coma in the text of my fields, it doesn't prevent the returns > inside the text of my fields to warp : > any straight-forward > method (like using vStudio's import option) will fail on the > first return character inside a field, because the parser will > assume that that is the end of the record, which it is not. In Vstudio you have just use Import? Or you connect via ODBC ? In the Access this is MEMO fields? Or else ? > Indeed, exporting using an other record delimiter would also > solve my problem. I know that this can do mySQL and Valentina. Hmm, anybody know how to solve this problem with Access ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue May 17 17:23:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 17 09:23:12 2005 Subject: [V4RB2] Convert_1_2.rb not working anymore. In-Reply-To: <59013BBE-0188-44CB-97E4-0B9EDB2E0A7D@mac.com> Message-ID: On 5/17/05 5:09 PM, "Stan Busk" wrote: > Hi, > > The 'Convert_1_2.rb' example doesn't seem to work. It simply throws > an exception. I use V4RB 2.0.3 on RB 5.5.5 > I get a vException on the line: 's = Hex( DbVersion )'. The file to > convert doesn't seem to matter. Can send sample on demand. Yes we have fix this already. Next build will have this fix -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Tue May 17 12:27:01 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue May 17 11:27:07 2005 Subject: VServer crashes In-Reply-To: References: Message-ID: Yes. Here is what happens. I am able to connect successfully to VServer. I then call self.Server.RegisterDatabase "TimeDatabase", "/Library/VServer_Office/Databases/TimeDatabase/TimeDatabase" A VException is raised with error number &h6050a, ERR_STREAM_READ_ERROR, and VServer crashes with crash log as I sent earlier. I thought perhaps that it might be permissions-related, but it does not appear to be so. Charles Yeomans On May 17, 2005, at 2:42 AM, Ruslan Zasukhin wrote: > On 5/17/05 2:35 AM, "Charles Yeomans" wrote: > > Hi Charles, > > You sure you do Register? > I see that work CreateTable() > >> I seem to be crashing VServer when I attempt to register a database. >> Below is the most relevant bit of the crash log. Am I alone in >> experiencing this? >> >> Charles Yeomans >> >> >> Thread 2 Crashed: >> 0 VServer.dylib 0x01d3e5b4 0x18f4000 + 0x44a5b4 >> 1 VServer.dylib 0x01bdf2bc fbl::Table::get_Field(unsigned short >> const*) const + 0x24 >> 2 VServer.dylib 0x01cce418 0x18f4000 + 0x3da418 >> 3 VServer.dylib 0x01bd0dbc >> fbl::CreateFieldInstance(fbl::smart_ptr, fbl::String >> const&, unsigned long, unsigned short, >> fbl::smart_ptr) + 0x48 >> 4 VServer.dylib 0x01bdf480 fbl::Table::CreateField(unsigned >> short const*, unsigned long, unsigned short, >> fbl::smart_ptr) + 0x9c >> 5 VServer.dylib 0x01cce4bc 0x18f4000 + 0x3da4bc >> 6 VServer.dylib 0x01bdf888 fbl::Table::CreateField(char const*, >> unsigned long, unsigned short, fbl::smart_ptr> const>) + 0x84 >> 7 VServer.dylib 0x01bddea8 fbl::Table::MakeNewField_RecID() + >> 0x78 >> 8 VServer.dylib 0x01bdde00 fbl::Table::MakeNewDefaultFields() + >> 0x20 >> 9 VServer.dylib 0x019c9af4 >> fbl::Table::CommonInit(fbl::ETableKind, fbl::EStorageType, unsigned >> long) + 0x74 >> 10 VServer.dylib 0x019c9344 >> fbl::Table::Table(fbl::smart_ptr, unsigned short >> const*, long, fbl::ETableKind, fbl::EStorageType, unsigned long) + >> 0x300 >> 11 VServer.dylib 0x019e2fc4 >> fbl::Database::CreateTableInstance(unsigned short const*, >> fbl::ETableKind, fbl::EStorageType, unsigned long) + 0x188 >> 12 VServer.dylib 0x019e1c60 fbl::Database::CreateTable(unsigned >> short const*, fbl::ETableKind, fbl::EStorageType, unsigned long) + >> 0x200 >> 13 VServer.dylib 0x018fc864 V_Remote_Db::CreateTable() + 0xac > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > -------------- Charles Yeomans From giv at tlc.kherson.ua Tue May 17 19:36:55 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue May 17 11:37:08 2005 Subject: VServer crashes References: Message-ID: <017301c55afe$a37e8ce0$3b04a8c0@giv> Hi Charles, > self.Server.RegisterDatabase "TimeDatabase", > "/Library/VServer_Office/Databases/TimeDatabase/TimeDatabase" I need to check this once again. -- 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 mjew at icnc.com Tue May 17 13:56:26 2005 From: mjew at icnc.com (Matthew Jew) Date: Tue May 17 15:56:36 2005 Subject: VSDK 2.x In-Reply-To: <20050517142256.5C93231F833@edison.macserve.net> References: <20050517142256.5C93231F833@edison.macserve.net> Message-ID: <2d34c232a8b215992b34fd236bc8128b@icnc.com> Ruslan, Thank you for the quick response. I have been using XCode with VSDK 1.x very successfully for some time now. Do you know when you will begin the beta test of VSDK 2.x? And also do an XCode version? - Matthew On May 17, 2005, at 7:22 AM, valentina-request@lists.macserve.net wrote: > > On 5/17/05 5:10 AM, "Matthew Jew" wrote: > > Hi Mathew, > >> Will there be a C++ VSDK 2.x? > > Yes of course. > >> If so, is there any projected date for release? >> Or beta testing program? > > Actually I is very easy for us start beta testing of C++ SDK. > > * the same Vcomponent folders which you V4RB and V4MD > * plus folder of Headers and sources. > > Note, we have now CodeWarrior and Visual versions. > No xCode yet. > > > ------------------------------------------------------------ > FYI about C++ SDK 2.0 > > We introduce 3 levels of access to C++ sources: > > 1) basic: $299. > > you get so called PUBLIC folder of our sources. > this contains all required Interfaces and Util > which have THE SAME functionality as V4RB and V4MD. > Not more not less. > > 2) pro (it seems $700, not remember) > > you get the same PUBLIC folder plus ALL HEADER of PROTECTED folder > this gives you about 300 more files. > > you get e.g. Headers of cache, importers, and so on... > This allow you define own subclasses of our interfaces and so on. > > 3) architect > > you get full sources of PUBLIC and PROTECTED folders. > this is 90-95% of sources of Valentina. > > Only behind is PRIVATE folder which contains indexes > algorithms. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > From sunshine at public.kherson.ua Wed May 18 00:02:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 17 16:02:17 2005 Subject: VSDK 2.x In-Reply-To: <2d34c232a8b215992b34fd236bc8128b@icnc.com> Message-ID: On 5/17/05 11:56 PM, "Matthew Jew" wrote: > Ruslan, > > Thank you for the quick response. > > I have been using XCode with VSDK 1.x very successfully for some time > now. > Do you know when you will begin the beta test of VSDK 2.x? > And also do an XCode version? I think 2-4 weeks as we start port to xCode 2.0 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From gregkowalski at earthlink.net Wed May 18 09:41:53 2005 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Wed May 18 08:44:14 2005 Subject: [V4MD] problems with importing ascii text Message-ID: <0ab056e4f3c9e5955b3d307159c7b23d@earthlink.net> If you have access to a MAC computer I would suggest using File Maker Pro. Just import the file exported from Access into a newly created FMP db, then export it from there in tab delimited format.. FMP is great because returns are transformed into line breaks. Importing such files into valentina always worked for me. Greg From swensonian at yahoo.com Wed May 18 07:16:00 2005 From: swensonian at yahoo.com (Jim Swenson) Date: Wed May 18 09:16:13 2005 Subject: [V4MD] problems with importing ascii text In-Reply-To: 6667 Message-ID: <20050518141600.27562.qmail@web30405.mail.mud.yahoo.com> FWIW, We've developed many MD projects in science education using a Valentina database, and highly formatted text has always been a challenge. Yes, exporting text from Filemaker as a tab file and importing into Valentina preserves some limited formatting (basically the full ascii character set). But to handle really heavily formatted files which preserve such features as subscripts and superscripts, underlines, ital, bold, changing fonts and font sizes, we have resorted to a partially parallel structure of .RTF files which travel with the MD application or server resources. In a typical project say 80% of the text can be handled in Valentina. When we come to a document that must preserve formatting, the Valentina DB shows a flag (or actually a file name)in that record. Instead of loading the Valentina stored text, an MD function goes out to the local /resource/ folder and imports the rtf, which Director displays properly. Use Director's memberObjRef.importFileInto(fileOrUrlString) function. We've also experimented using XML, which requires a tweaking of stylesheets to sync FMP and Val formats. --Jim --- Gregory Kowalski wrote: > If you have access to a MAC computer I would suggest > using File Maker > Pro. Just import the file exported from Access into > a newly created > FMP db, then export it from there in tab delimited > format.. FMP is > great because returns are transformed into line > breaks. Importing such > files into valentina always worked for me. > > > Greg > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > Discover Yahoo! Get on-the-go sports scores, stock quotes, news and more. Check it out! http://discover.yahoo.com/mobile.html From billmounce at comcast.net Wed May 18 07:19:05 2005 From: billmounce at comcast.net (Bill Mounce) Date: Wed May 18 09:19:11 2005 Subject: Encoding in Valentina 1.11 In-Reply-To: References: Message-ID: <0de961eb9cc8ac25660f55af2b4d3751@comcast.net> Ruslan, Yes, everything is being done on a Mac, the import file is set to MacRoman, encodings set to MacRoman, and I use convertEncoding when setting the value of a field. But when I try to save it to Valentina, or take it out of Valentina and write a text file, the encoding messes everything up. I am sure it is an issue with Valentina because if I just read in a text file, process it, and write out a new text file, doing all the same things I am doing with Valentina except for saving it, everything works, I set all the fields in Valentina to "ENGLISH". I assume this means to tell Valentina to use MacRoman (or something similar). Any other suggestions? BIll P.S. Do you have the samples done for Valentina 2.0? I read through the documentation but there are enough differences that I wanted to see the single table example. On May 17, 2005, at 4:04 AM, Ruslan Zasukhin wrote: > On 5/17/05 6:45 AM, "Bill Mounce" wrote: > >> I am still struggling with encoding. When I save a record, and it has >> a >> character like ? (option m) or ? (option f) on the Mac, it converts it >> to another encoding. Is there a way to tell Valentina 1.11 that the >> text is MacRoman and just leave it at that? > > Hi Bill, > > So you enter strings on MAC? > > And read them back on MAC ? > > Have you set for field language "English" > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > Bill ------------ For the finest in online, free, evangelical teaching visit www.BiblicalTraining.org. -------------- next part -------------- From don at flisz.nl Wed May 18 16:48:26 2005 From: don at flisz.nl (D.Croes) Date: Wed May 18 09:48:39 2005 Subject: [V4MD] Automate ER modelling with DB... In-Reply-To: <0ab056e4f3c9e5955b3d307159c7b23d@earthlink.net> Message-ID: <20050518144832.DFE4B3204EF@edison.macserve.net> Hello everyone... Is was wondering... If I make a dump of my database... Is it possible to turn it into a ER model automaticly? With a tool or what so ever.... I know this is a longshot, but you never know... I have the whole DB ready, made it with Valentina Studio... And now I was wondering I'f I this is possible... To be honest... it's for my graduation rapport... I made a class diagram, but also had to make an ER model... Thanks in advance... From srunkel at hypix.com Wed May 18 09:21:46 2005 From: srunkel at hypix.com (Scott Runkel) Date: Wed May 18 11:22:09 2005 Subject: [V4MD] problems with importing ascii text References: <20050518141600.27562.qmail@web30405.mail.mud.yahoo.com> Message-ID: <05ea01c55bc5$b01c3250$0200a8c0@SCOTT3> > FWIW, We've developed many MD projects in science > education using a Valentina database, and highly > formatted text has always been a challenge. I'm finishing up a large project with about 1000 long medical journal articles and another 1300 shorter formatted text pieces using Valentina 1. I imported the RTF files into Director as #text members and stored the #text members in a blob field in Valentina. Then I can easily retrieve them in an instant when needed. For printing, I'm using PDFs of the same RTF files and Impressario, since Director won't let you print #text members properly. Works like a charm. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Wed May 18 19:58:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 18 11:58:43 2005 Subject: [V4MD] Automate ER modelling with DB... In-Reply-To: <20050518144832.DFE4B3204EF@edison.macserve.net> Message-ID: On 5/18/05 5:48 PM, "D.Croes" wrote: > Hello everyone... > > Is was wondering... > If I make a dump of my database... > Is it possible to turn it into a ER model automaticly? With a tool or what > so ever.... > > I know this is a longshot, but you never know... > > I have the whole DB ready, made it with Valentina Studio... > And now I was wondering I'f I this is possible... > > To be honest... it's for my graduation rapport... > I made a class diagram, but also had to make an ER model... What tools can do ER? For example MS Visio on Windows. Right? So it needs study what Visio can import, Then check if exists way to get such format from Valentina -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From swensonian at yahoo.com Wed May 18 12:55:58 2005 From: swensonian at yahoo.com (Jim Swenson) Date: Wed May 18 14:56:05 2005 Subject: [V4MD] problems with importing ascii text In-Reply-To: 6667 Message-ID: <20050518195558.16304.qmail@web30413.mail.mud.yahoo.com> Scott, That is a very cool solution. I assume you are using the V4MD xtra for handling. But are you using the GetMedia, SetMedia handlers or the BLOB_readdata, BLOB_writedata handlers, the latter of which scare the sh@# of me from a memory management point of view. Anyone know of another way to get .rtf text into a blob? Jim > I imported the > RTF files into Director as #text members and stored > the #text members in a blob > field in Valentina. Then I can easily retrieve them > in an instant when needed. > For printing, I'm using PDFs of the same RTF files > and Impressario, since > Director won't let you print #text members properly. > Works like a charm. > > -SR > > Scott Runkel > Director of Technology > Hypix Media, Inc. > 503-722-2123 > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail From srunkel at hypix.com Wed May 18 12:58:11 2005 From: srunkel at hypix.com (Scott Runkel) Date: Wed May 18 14:58:26 2005 Subject: [V4MD] problems with importing ascii text References: <20050518195558.16304.qmail@web30413.mail.mud.yahoo.com> Message-ID: <12a401c55be3$eb9aed30$0200a8c0@SCOTT3> > That is a very cool solution. I assume you are using > the V4MD xtra for handling. But are you using the > GetMedia, SetMedia handlers or the BLOB_readdata, > BLOB_writedata handlers, the latter of which scare the > sh@# of me from a memory management point of view. Yes, V4MD and GetMedia, SetMedia. Doesn't seem to be too bad on the memory. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From yeomans at desuetude.com Thu May 19 14:35:03 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu May 19 13:35:18 2005 Subject: [V4Rb] Valentina.ShutdownClient Message-ID: <54c438cbfe7c177134e155348bac97e7@desuetude.com> What is Valentina.ShutdownClient? It do not find it in the V4Rb documentation. Charles Yeomans From giv at tlc.kherson.ua Thu May 19 21:42:05 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Thu May 19 13:42:12 2005 Subject: [V4Rb] Valentina.ShutdownClient References: <54c438cbfe7c177134e155348bac97e7@desuetude.com> Message-ID: <002a01c55ca2$749c39e0$3b04a8c0@giv> > What is Valentina.ShutdownClient? It do not find it in the V4Rb > documentation. This method must be called after finishing work with Valentina in client-server mode. Corresponding method to initialize Valentina in client-server mode is Valentina.InitClient(). -- 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 Thu May 19 23:57:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 19 15:57:39 2005 Subject: 2.0.4 fc? In-Reply-To: Message-ID: On 5/19/05 9:41 PM, "jda" wrote: > Hi Ruslan, > > You mentioned a new build was coming soon... Hi Jon, Hi All, Status is next: * I was need spend last week debugging 1.x Vserver and engine. Ken Ray and Robert have install Vserver into company with 100 users, And how found some problems in speed and a couple of crashes. During this time I have fix 2 crash-bugs in the 1.11 And made 2 optimizations in the INDEXES, which have give speedup, believe you or not in about 10 times for that tasks we have test. I hope that today I have made the last major fix for them to be happy on that project. So tomorrow we will start with Igor polish Vserver 2.0 and clients on bugs reported by Peter in the V4MD area. * for last few days Igor have add 2 new mechanisms into client/server. a) now connection have 2 parameters as TransferMode CompressFiles -- Igor say not implemented yet b) Now such functions as Import/export, Dump/Load, ToFile/FromFile, can work with files located as on side of server, so on side of client. * Igor today have start work on caching of FAT of db files. this must speedup open of 2.0 files and work overall. * Ivan works on Valentina 2 for Revolution. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 20 00:00:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 19 16:00:14 2005 Subject: Encoding in Valentina 1.11 In-Reply-To: <0de961eb9cc8ac25660f55af2b4d3751@comcast.net> Message-ID: On 5/18/05 5:19 PM, "Bill Mounce" wrote: Hi Bill, > Yes, everything is being done on a Mac, the import file is set to > MacRoman, encodings set to MacRoman, and I use convertEncoding when > setting the value of a field. But when I try to save it to Valentina, > or take it out of Valentina and write a text file, the encoding messes > everything up. > > I am sure it is an issue with Valentina because if I just read in a > text file, process it, and write out a new text file, doing all the > same things I am doing with Valentina except for saving it, everything > works, > > I set all the fields in Valentina to "ENGLISH". I assume this means to > tell Valentina to use MacRoman (or something similar). > > Any other suggestions? I think you should convert to Roman when you WRITE to Valentina and when you READ from it. I think you have forget convert after READ. Btw, in 2.0 there is no need convert strings. > BIll > > P.S. Do you have the samples done for Valentina 2.0? Yes, more than 50 examples > I read through the documentation but there are enough differences that I > wanted to see the single table example. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cmsheffield at gmail.com Thu May 19 15:39:57 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu May 19 16:40:11 2005 Subject: 2.0.4 fc? In-Reply-To: References: Message-ID: Hi Ruslan, So is there a new version of the 1.x VServer available for download? Is it the a67 release? On May 19, 2005, at 2:57 PM, Ruslan Zasukhin wrote: > On 5/19/05 9:41 PM, "jda" wrote: > > > > Hi Jon, > Hi All, > > Status is next: > > * I was need spend last week debugging 1.x Vserver and engine. > Ken Ray and Robert have install Vserver into company with 100 users, > And how found some problems in speed and a couple of crashes. > > During this time I have fix 2 crash-bugs in the 1.11 > And made 2 optimizations in the INDEXES, which have give speedup, > believe you or not in about 10 times for that tasks we have test. ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From srunkel at hypix.com Thu May 19 16:07:17 2005 From: srunkel at hypix.com (Scott Runkel) Date: Thu May 19 18:07:38 2005 Subject: [V4MD] getMedia() error References: <001901c47409$6e8e3e40$b900a8c0@batcomputer> Message-ID: <0e4101c55cc7$81490220$0200a8c0@SCOTT3> Hi, When using getMedia() on a cursor to retrieve a Director #text member from the database, I sometimes get this error: error -2147219496 Can't find anything in the docs about this, and ValentinaErrorString() is no help either. What's weird is I'm using the same types of code throughout the project and it usually works fine. In general, getMedia() works perfectly. In the failure case, I have an existing cursor that includes some records. With that cursor, I can use getMedia() all day and it's fine. Then I'm creating a new cursor that includes some of the same records. It is at this time that it fails on getMedia(), in the same handler. I have tried every combination of Client/Server and NoLock/ReadOnly/ReadWrite when creating the cursors. Can I not use getMedia() on two different cursors, for the same record? -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From ktekinay at mactechnologies.com Thu May 19 19:19:48 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu May 19 18:20:03 2005 Subject: Compressor bug Message-ID: Any ETA on resolving the compressor bug (688)? That one is holding up one of my projects. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From srunkel at hypix.com Thu May 19 16:23:16 2005 From: srunkel at hypix.com (Scott Runkel) Date: Thu May 19 18:23:20 2005 Subject: [V4MD] getMedia() error References: <001901c47409$6e8e3e40$b900a8c0@batcomputer> <0e4101c55cc7$81490220$0200a8c0@SCOTT3> Message-ID: <0e6f01c55cc9$bca46740$0200a8c0@SCOTT3> By the way, I can retrieve all other fields using getField (varchar and text). It's only getMedia that fails. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From billmounce at comcast.net Thu May 19 17:30:37 2005 From: billmounce at comcast.net (Bill Mounce) Date: Thu May 19 19:30:45 2005 Subject: Encoding in Valentina 1.11 In-Reply-To: References: Message-ID: <5b3fa8d1a7b41a92aa1ceb0e4acaa183@comcast.net> On May 19, 2005, at 2:00 PM, Ruslan Zasukhin wrote: > I think you should convert to Roman when you WRITE to Valentina and > when you > READ from it. I think you have forget convert after READ. Thanks Ruslan, I will check the code. I bought 2.0 but I was hoping to get a 2.0 version of your basic one table example. I always found that to be the easiest example to learn from. Will you redo that example? Have you? (I can't find it in the samples if you did.) Bill From snw at paradise.net.nz Fri May 20 16:27:01 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Thu May 19 23:27:14 2005 Subject: [V4MD] getMedia() error In-Reply-To: <0e4101c55cc7$81490220$0200a8c0@SCOTT3> References: <001901c47409$6e8e3e40$b900a8c0@batcomputer> <0e4101c55cc7$81490220$0200a8c0@SCOTT3> Message-ID: <6.2.1.2.2.20050520155949.042e1020@pop3.paradise.net.nz> Hi Scott, >When using getMedia() on a cursor to retrieve a Director #text member from the >database, I sometimes get this error: > >error -2147219496 > >Can't find anything in the docs about this, and ValentinaErrorString() is no >help either. put MoaErrorToString(-2147219496) -- "Property access error: Argument out of valid range" (The method MoaErrorToString() is part of the MUI xtra) HTH, -Sean. From srunkel at hypix.com Thu May 19 22:21:39 2005 From: srunkel at hypix.com (Scott Runkel) Date: Fri May 20 00:21:49 2005 Subject: [V4MD] getMedia() error References: <001901c47409$6e8e3e40$b900a8c0@batcomputer><0e4101c55cc7$81490220$0200a8c0@SCOTT3> <6.2.1.2.2.20050520155949.042e1020@pop3.paradise.net.nz> Message-ID: <015701c55cfb$cd614da0$0200a8c0@SCOTT3> > put MoaErrorToString(-2147219496) > -- "Property access error: Argument out of valid range" Thanks! Fascinating but not helpful in this case. I know that the argument is in fact quite valid. I can get all other fields of the record, except the getMedia part. And the getMedia part works in all other cases except this particular case. So it seems there must be some restriction on getMedia depending on other cursors containing the same record. If so, this makes no sense to me. "Property access error" actually might be kind of accurate, now that I think of it. By the way, Windows XP, Director MX (not 2004). -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Fri May 20 09:09:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 20 01:09:22 2005 Subject: 2.0.4 fc? In-Reply-To: <6.2.1.2.2.20050520143519.042e0520@pop3.paradise.net.nz> Message-ID: On 5/20/05 5:36 AM, "Sean Wilson" wrote: >> And made 2 optimizations in the INDEXES, which have give speedup, >> believe you or not in about 10 times for that tasks we have test. > > Ruslan, can you give us any idea of the circumstances under which we might > see a speedup? What were the tasks you tested against? I think this speedup will see people that have big dbs. We have test on db in 500MB. * The bigger db, the bigger index files. 1) So there was one wrong-idea which have did linear check. Now it is disabled. So indexes do Find() several times faster. In test I have see 8 times speedup. But if db will be 1 Gb, I think speedup will be even more. 2) and in other place I have improve algorithm to also avoid linear iteration, this have add yet 30% speedup. So Indexes now in general 10 times faster. I think small dbs also can see this improvement if you do a lots of queries. Obviously that this speedup e.g. Joins... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From vidal_olivier at yahoo.fr Fri May 20 08:41:26 2005 From: vidal_olivier at yahoo.fr (Olivier Vidal) Date: Fri May 20 01:42:44 2005 Subject: V4RB2 - Encryption Methods Working in 2.03? In-Reply-To: References: Message-ID: Hi list, > And Valentina 2.0.5 will bring encryption -- the last feature from 1.x > which > was on hold in 2.0. > Good! I waits for this feature too. In my case the features the most waited for V4RB 2: - UTF8 - Optimization of the speed and cache - Be able to load ONLY fields required in the API (as in SQL) ( This last feature is VERY important so that the API is brilliant) - Encryption olivier > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri May 20 10:19:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 20 02:19:45 2005 Subject: [V4MD] getMedia() error In-Reply-To: <0e4101c55cc7$81490220$0200a8c0@SCOTT3> Message-ID: On 5/20/05 2:07 AM, "Scott Runkel" wrote: Hi Scott, > When using getMedia() on a cursor to retrieve a Director #text member from the > database, I sometimes get this error: > > error -2147219496 > > Can't find anything in the docs about this, and ValentinaErrorString() is no > help either. > > What's weird is I'm using the same types of code throughout the project and it > usually works fine. In general, getMedia() works perfectly. In the failure > case, > I have an existing cursor that includes some records. With that cursor, I can > use getMedia() all day and it's fine. Then I'm creating a new cursor that > includes some of the same records. It is at this time that it fails on > getMedia(), in the same handler. I have tried every combination of > Client/Server > and NoLock/ReadOnly/ReadWrite when creating the cursors. > > Can I not use getMedia() on two different cursors, for the same record? May be you have problems with Record Locks ? Try set NoLocks -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 20 10:20:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 20 02:20:37 2005 Subject: Encoding in Valentina 1.11 In-Reply-To: <5b3fa8d1a7b41a92aa1ceb0e4acaa183@comcast.net> Message-ID: On 5/20/05 3:30 AM, "Bill Mounce" wrote: > > On May 19, 2005, at 2:00 PM, Ruslan Zasukhin wrote: > >> I think you should convert to Roman when you WRITE to Valentina and >> when you >> READ from it. I think you have forget convert after READ. > > > Thanks Ruslan, I will check the code. I bought 2.0 but I was hoping to > get a 2.0 version of your basic one table example. I always found that > to be the easiest example to learn from. Will you redo that example? > Have you? (I can't find it in the samples if you did.) Do you mean SingleTable example ? It is ported to 2.0 Look into folder V4RB_2/Examples/1_x_Examples -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 20 10:21:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 20 02:21:28 2005 Subject: Compressor bug In-Reply-To: Message-ID: On 5/20/05 2:19 AM, "Kem Tekinay" wrote: > Any ETA on resolving the compressor bug (688)? That one is holding up one of > my projects. Hi Kem, Am I right that we did claim it is fixed, but you say again no ? Igor, please pay attention to this. Try reproduce -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From srunkel at hypix.com Fri May 20 00:22:07 2005 From: srunkel at hypix.com (Scott Runkel) Date: Fri May 20 02:22:18 2005 Subject: [V4MD] getMedia() error References: Message-ID: <01e501c55d0c$a1a8eb80$0200a8c0@SCOTT3> > May be you have problems with Record Locks ? > > Try set NoLocks Runlan, as I wrote in my email: > > I have tried every combination of > > Client/Server > > and NoLock/ReadOnly/ReadWrite when creating the cursors. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From srunkel at hypix.com Fri May 20 00:22:47 2005 From: srunkel at hypix.com (Scott Runkel) Date: Fri May 20 02:22:54 2005 Subject: [V4MD] getMedia() error References: Message-ID: <01ef01c55d0c$b98c5660$0200a8c0@SCOTT3> Pluswhich, it's only a problem with the media/blob field -- all the varchars and text fields can be retrieved no problem. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Fri May 20 10:55:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 20 02:55:54 2005 Subject: [V4MD] getMedia() error In-Reply-To: <01ef01c55d0c$b98c5660$0200a8c0@SCOTT3> Message-ID: On 5/20/05 10:22 AM, "Scott Runkel" wrote: > Pluswhich, it's only a problem with the media/blob field -- all the varchars > and > text fields can be retrieved no problem. Bit I think you not first time use SetMedia(). Right? I remember that sometimes Director project can be corrupt (or its cast members). And it needs fix it. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Fri May 20 07:35:06 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Fri May 20 06:35:13 2005 Subject: Compressor bug In-Reply-To: Message-ID: On 5/20/05 3:21 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Am I right that we did claim it is fixed, but you say again no ? Right, using the same project I had sent to you to test it. Do you need that project again? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From jda at his.com Fri May 20 07:40:03 2005 From: jda at his.com (jda) Date: Fri May 20 06:40:15 2005 Subject: V4RB2 - Encryption Methods Working in 2.03? In-Reply-To: References: Message-ID: > >In my case the features the most waited for V4RB 2: > >- UTF8 Yes! >- Optimization of the speed and cache Yes. And the more I think of it, the more I think that programmatic access to diagnose would be very valuable. One more example -- I would like to add automatic backup to my app, but have been reluctant to because I don't want to save a corrupted database over a good backup. If one could easily do a diagnose in the application and get the results (perhaps in an array?) then doing automated backups would be safe. Jon From sunshine at public.kherson.ua Fri May 20 14:58:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 20 06:58:52 2005 Subject: Compressor bug In-Reply-To: Message-ID: On 5/20/05 2:35 PM, "Kem Tekinay" wrote: > On 5/20/05 3:21 AM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> Am I right that we did claim it is fixed, but you say again no ? > > Right, using the same project I had sent to you to test it. Do you need that > project again? No we have it -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From srunkel at hypix.com Fri May 20 08:44:28 2005 From: srunkel at hypix.com (Scott Runkel) Date: Fri May 20 10:44:40 2005 Subject: [V4MD] getMedia() error References: Message-ID: <04e701c55d52$cec055e0$0200a8c0@SCOTT3> > Bit I think you not first time use SetMedia(). Right? I honestly don't know what this sentence means. SetMedia was used to build the database. In most cases, months ago. > I remember that sometimes Director project can be corrupt (or its cast > members). And it needs fix it. I don't think the Director project is corrupt. Let me make this as clear as I can. I can go through THOUSANDS of iterations over cursors using getMedia() to retrieve the media of a #text member from Valentina into a #text member in Director. No problems. Lots of people have tested the project. No problems. BUT if I have the following conditions, then getMedia() fails: 1. A cursor that includes record 1 (example). With this cursor, I have ALREADY used getMedia() perfectly. 2. A new cursor, OR THE SAME CURSOR, trying to use getMedia on record 1, fails. 3. It ONLY fails with getMedia. I can use getField to retrieve lots of other data. * Can you just tell me one thing: should this work?* If the answer is, "yes, it should work, you should be able to create multiple cursors that include the same records and use getMedia on those records successfully" then I will consider making a small example file. If the answer is "no, you can't use getMedia on a record when that record already exists in another cursor" then I'll do something else. Thanks. I'm sorry if I sound frustrated. I have spent hours and hours and hours trying to make this work, with no luck. It's always the same, 100% reproducible. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Fri May 20 22:27:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 20 14:27:39 2005 Subject: [V4MD] getMedia() error In-Reply-To: <04e701c55d52$cec055e0$0200a8c0@SCOTT3> Message-ID: On 5/20/05 6:44 PM, "Scott Runkel" wrote: Hi Scott, >> Bit I think you not first time use SetMedia(). Right? > > I honestly don't know what this sentence means. SetMedia was used to build the > database. In most cases, months ago. I mean that I think you have use SetMedia in other project, right? And it have work for you? Just my point was that few times developers have told about corruption of .dir file -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 20 22:31:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 20 14:32:03 2005 Subject: [V4MD] getMedia() error In-Reply-To: <04e701c55d52$cec055e0$0200a8c0@SCOTT3> Message-ID: On 5/20/05 6:44 PM, "Scott Runkel" wrote: Hi Scott, > Let me make this as clear as I can. I can go through THOUSANDS of iterations > over cursors using getMedia() to retrieve the media of a #text member from > Valentina into a #text member in Director. No problems. Lots of people have > tested the project. No problems. > > BUT if I have the following conditions, then getMedia() fails: > > 1. A cursor that includes record 1 (example). With this cursor, I have ALREADY > used getMedia() perfectly. > 2. A new cursor, OR THE SAME CURSOR, trying to use getMedia on record 1, > fails. > 3. It ONLY fails with getMedia. I can use getField to retrieve lots of other > data. > > * Can you just tell me one thing: should this work?* Do not know. I do not think this was tested as special case. I wonder that THE SAME cursor fails on the second GetMEdia()... If you move to record 2 and then back to 1 Does GetMEdia works again ? > If the answer is, "yes, it should work, you should be able to create multiple > cursors that include the same records and use getMedia on those records > successfully" then I will consider making a small example file. In theory this MUST work. If some bug exists then we need fix it. Better to make sure that this works in 2.0 > If the answer is "no, you can't use getMedia on a record when that record > already exists in another cursor" then I'll do something else. > Thanks. I'm sorry if I sound frustrated. I have spent hours and hours and > hours trying to make this work, with no luck. It's always the same, 100% > reproducible. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rjb at robelko.com Sat May 21 00:21:07 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri May 20 17:24:10 2005 Subject: one or two databases Message-ID: I am expanding my web application to store log of activities in the database. SO far log was written as a text file. I wonder whether it is more efficient to keep both data and log tables in a single database file or rather have each in its own file. Each involves multiple tables. Each involves regular reads and writes. Robert From srunkel at hypix.com Fri May 20 15:30:20 2005 From: srunkel at hypix.com (Scott Runkel) Date: Fri May 20 17:30:31 2005 Subject: [V4MD] getMedia() error References: Message-ID: <0cd901c55d8b$82026700$0200a8c0@SCOTT3> Hi Ruslan, > If you move to record 2 and then back to 1 > Does GetMEdia works again ? No. > In theory this MUST work. > If some bug exists then we need fix it. > Better to make sure that this works in 2.0 Thanks. This makes it more clear -- sounds like it should work. I'll try to create a simpler test case and see if I can keep re-creating it. If I can narrow it down enough maybe I can send some files your way. Maybe there's just some quirk in how I'm doing things. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Sat May 21 09:00:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat May 21 01:00:55 2005 Subject: one or two databases In-Reply-To: Message-ID: On 5/21/05 1:21 AM, "Robert Brenstein" wrote: Hi Robert, > I am expanding my web application to store log of activities in the > database. SO far log was written as a text file. I wonder whether it > is more efficient to keep both data and log tables in a single > database file or rather have each in its own file. Each involves > multiple tables. Each involves regular reads and writes. In theory this should not affect. Note, that with 2 dbs you can put them on different HDD, and this fact can improve your speed. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun May 22 20:17:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 22 12:18:04 2005 Subject: [ANN] V4RB 2.0.4 fc1 uploaded Message-ID: Hi All, Please note, that future letters about betas and final candidates will go to Valentina beta list. If you want participate in testing and discussion Please subscribe to beta list from our SUPPORT page. In this build pay attention to a new major feature Queries Pool. * Now Valentina have pool of queries (for SELECTs only for now). * This means that if you give to Valentina the same query then Valentina will not spend time to parse it and build execution plan, It will take existed one. * Main advantage comes if you use SQL query with bind parameters. This trick can speed up your project in many times. kernel - 2.0.4 ============== - 0000800: [SQL] [NEW] Pool of queries. (Ivan Smahin) - 0000796: [Cursors] If Cursor on join is destroyed AFTER db is closed and destoyed then crash. (Ruslan Zasukhin) - 0000788: [Feature Request] GETDATE() and GETTIME() SQL-functions. (Ivan Smahin) - 0000787: [API] Valentina.GetDatabaseVersion is broken (Ruslan Zasukhin) - 0000785: [Methods (calculated fields)] substr(curdate(), 1, 4) getting crash. (Ivan Smahin) - 0000783: [SQL] DATEFUNCTIONS returns wrong results (Ivan Smahin) - 0000775: [Error codes/classes] Errors messages with missed params. (Ivan Smahin) - 0000774: [Feature Request] IDENTITY (autoincrement) fields. (Ivan Smahin) - 0000772: [SQL Parser] AUTOINCREMENT (IDENTITY) supporting. (Serge) V4RB - 2.0.4 ============ - 0000801: [Other] Fixed typo in Valentina.EscapeString() which cause RB2005 problems. (Ruslan Zasukhin) - 0000366: [Feature Request] VLink.IsLinked(recID, tbA, tbB) function (Ivan Smahin) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun May 22 20:19:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 22 12:19:07 2005 Subject: [ANN] V4RB 2.0.4 fc1 uploaded In-Reply-To: Message-ID: On 5/22/05 8:17 PM, "Ruslan Zasukhin" wrote: URL for download is http://www.paradigmasoft.com/download/V4RB_204fc1_mac.dmg > Hi All, > > Please note, that future letters about betas and final candidates > will go to Valentina beta list. If you want participate in testing and > discussion > Please subscribe to beta list from our SUPPORT page. > > > > In this build pay attention to a new major feature Queries Pool. > > * Now Valentina have pool of queries (for SELECTs only for now). > * This means that if you give to Valentina the same query then Valentina > will not spend time to parse it and build execution plan, It will take > existed one. > * Main advantage comes if you use SQL query with bind parameters. > This trick can speed up your project in many times. > > > > kernel - 2.0.4 > ============== > - 0000800: [SQL] [NEW] Pool of queries. (Ivan Smahin) > - 0000796: [Cursors] If Cursor on join is destroyed AFTER db is closed and > destoyed then crash. (Ruslan Zasukhin) > - 0000788: [Feature Request] GETDATE() and GETTIME() SQL-functions. (Ivan > Smahin) > - 0000787: [API] Valentina.GetDatabaseVersion is broken (Ruslan Zasukhin) > - 0000785: [Methods (calculated fields)] substr(curdate(), 1, 4) getting > crash. (Ivan Smahin) > - 0000783: [SQL] DATEFUNCTIONS returns wrong results (Ivan Smahin) > - 0000775: [Error codes/classes] Errors messages with missed params. (Ivan > Smahin) > - 0000774: [Feature Request] IDENTITY (autoincrement) fields. (Ivan Smahin) > - 0000772: [SQL Parser] AUTOINCREMENT (IDENTITY) supporting. (Serge) > > > > V4RB - 2.0.4 > ============ > - 0000801: [Other] Fixed typo in Valentina.EscapeString() which cause RB2005 > problems. (Ruslan Zasukhin) > - 0000366: [Feature Request] VLink.IsLinked(recID, tbA, tbB) function (Ivan > Smahin) > -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Sun May 22 14:28:45 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun May 22 13:28:55 2005 Subject: [V4RB] ImportText not working Message-ID: ImportText is broken in 2.0.4fc1. When I use it, my app quits without so much as an exception or crash report, but the same code works in 2.0.3. This is the code, straight from the VDB example in my Data-On-Demand ListBox: curs = gDB.SQLSelect( "SELECT * FROM Zip_Codes WHERE false", EVCursorDirection.kForwardOnly, EVLockType.kReadWrite ) curs.ImportText( f, chr( 9 ), chr( 13 ), "ASCII", true ) To try it out yourself: Reporting to Mantis. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From ktekinay at mactechnologies.com Sun May 22 14:29:14 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun May 22 13:29:20 2005 Subject: [ANN] V4RB 2.0.4 fc1 uploaded In-Reply-To: Message-ID: Any word on the compressor bug? I think I mentioned that this is holding up my project. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Sun May 22 22:22:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 22 14:22:11 2005 Subject: [ANN] V4RB 2.0.4 fc1 uploaded In-Reply-To: Message-ID: On 5/22/05 9:29 PM, "Kem Tekinay" wrote: > Any word on the compressor bug? I think I mentioned that this is holding up > my project. I think Igor will be able work on this in nearest 3 days. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun May 22 22:22:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 22 14:22:48 2005 Subject: [V4RB] ImportText not working In-Reply-To: Message-ID: On 5/22/05 9:28 PM, "Kem Tekinay" wrote: Hi Kem. > ImportText is broken in 2.0.4fc1. When I use it, my app quits without so > much as an exception or crash report, but the same code works in 2.0.3. > > This is the code, straight from the VDB example in my Data-On-Demand > ListBox: > > curs = gDB.SQLSelect( "SELECT * FROM Zip_Codes WHERE false", > EVCursorDirection.kForwardOnly, EVLockType.kReadWrite ) > curs.ImportText( f, chr( 9 ), chr( 13 ), "ASCII", true ) > > To try it out yourself: > > You have forget point STEPS to see problem -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From macsforever2000 at goodeast.com Sun May 22 14:07:14 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Sun May 22 15:07:33 2005 Subject: [V4RB] ImportText not working In-Reply-To: References: Message-ID: <010463ba613ee410b36247ab16539e6b@goodeast.com> On May 22, 2005, at 12:28 PM, Kem Tekinay wrote: > ImportText is broken in 2.0.4fc1. When I use it, my app quits without > so > much as an exception or crash report, but the same code works in 2.0.3. > > This is the code, straight from the VDB example in my Data-On-Demand > ListBox: > > curs = gDB.SQLSelect( "SELECT * FROM Zip_Codes WHERE false", > EVCursorDirection.kForwardOnly, EVLockType.kReadWrite ) > curs.ImportText( f, chr( 9 ), chr( 13 ), "ASCII", true ) FYI, ImportText is working fine for me in 2.0.4fc1. My code is: theImportCursor = mDatabase.SQLSelect(theSQLString, EVCursorLocation.kServerSide, EVLockType.kReadWrite, EVCursorDirection.kRandom) theImportCursor.ImportText(theImportFile, chr(9), EndOfLine.Macintosh, "ASCII") I think the parameters in your SQLSelect statement are incorrect. But also I do not use the 5th parameter (InHasHeaderColumn which defaults to False) for ImportText. Best regards, Frank Schima From ktekinay at mactechnologies.com Sun May 22 17:06:45 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun May 22 16:06:56 2005 Subject: [V4RB] ImportText not working In-Reply-To: <010463ba613ee410b36247ab16539e6b@goodeast.com> Message-ID: On 5/22/05 4:07 PM, Frank Schima at macsforever2000@goodeast.com wrote: > FYI, ImportText is working fine for me in 2.0.4fc1. My code is: > > theImportCursor = mDatabase.SQLSelect(theSQLString, > EVCursorLocation.kServerSide, EVLockType.kReadWrite, > EVCursorDirection.kRandom) > theImportCursor.ImportText(theImportFile, chr(9), > EndOfLine.Macintosh, "ASCII") > > I think the parameters in your SQLSelect statement are incorrect. But > also I do not use the 5th parameter (InHasHeaderColumn which defaults > to False) for ImportText. You're right, I had switched the LockType and CursorDirection, and skipped CursorLocation entirely. My new code is this: curs = gDB.SQLSelect( "SELECT * FROM Zip_Codes WHERE false", EVCursorLocation.kServerSide, EVLockType.kReadWrite, EVCursorDirection.kRandom ) curs.ImportText( f, chr( 9 ), chr( 13 ), "ASCII", true ) This works. Thanks. Note that EVCursorLocation.kClientSide does not work. Should it? And, even if the answer is "no," it still shouldn't quit without at least an exception, should it? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From ktekinay at mactechnologies.com Sun May 22 17:33:01 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Sun May 22 16:33:08 2005 Subject: Speed enhancements for class-way? Message-ID: I was wondering if 2.0.4fc1 has speed enhancements that affect the class-way? I ask because I continue to be blown away by the speed of single-table queries. In my Zip Code table, with data imported 10 times for a total of 421,920 records, an OR search of three indexed fields using FindStartsWith(zip) takes 0.001 seconds (no, that's not a typo). MySQL, by comparison, takes 0.41 seconds, without a wildcard, for the same search, and that's just to get a count! FindEndsWith('5') on three fields takes 0.038 seconds while MySQL takes 0.46 seconds for the same search (again, just to get a count). In fact, if I use FindStartsWith('sfsfds'), Valentina properly returns 0 records in .001 seconds, while MySQL still takes 0.41 seconds to look through the three fields. If there have been enhancements, I will re-run all of my Valentina-MySQL comparisons, just for fun. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Mon May 23 01:15:42 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 22 17:15:52 2005 Subject: [V4RB] ImportText not working In-Reply-To: <010463ba613ee410b36247ab16539e6b@goodeast.com> Message-ID: On 5/22/05 11:07 PM, "Frank Schima" wrote: >> curs = gDB.SQLSelect( "SELECT * FROM Zip_Codes WHERE false", >> EVCursorDirection.kForwardOnly, EVLockType.kReadWrite ) > > FYI, ImportText is working fine for me in 2.0.4fc1. My code is: > > theImportCursor = mDatabase.SQLSelect(theSQLString, > EVCursorLocation.kServerSide, EVLockType.kReadWrite, > EVCursorDirection.kRandom) Kem, It seems you have mistake in code: You have second parameter EVCursorDirection.kForwardOnly But must be EVCursorLocation.kServerSide -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 23 01:17:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 22 17:17:08 2005 Subject: [V4RB] ImportText not working In-Reply-To: Message-ID: On 5/23/05 12:06 AM, "Kem Tekinay" wrote: > On 5/22/05 4:07 PM, Frank Schima at macsforever2000@goodeast.com wrote: > >> FYI, ImportText is working fine for me in 2.0.4fc1. My code is: >> >> theImportCursor = mDatabase.SQLSelect(theSQLString, >> EVCursorLocation.kServerSide, EVLockType.kReadWrite, >> EVCursorDirection.kRandom) >> theImportCursor.ImportText(theImportFile, chr(9), >> EndOfLine.Macintosh, "ASCII") >> >> I think the parameters in your SQLSelect statement are incorrect. But >> also I do not use the 5th parameter (InHasHeaderColumn which defaults >> to False) for ImportText. > > You're right, I had switched the LockType and CursorDirection, and skipped > CursorLocation entirely. My new code is this: > > curs = gDB.SQLSelect( "SELECT * FROM Zip_Codes WHERE false", > EVCursorLocation.kServerSide, EVLockType.kReadWrite, > EVCursorDirection.kRandom ) > curs.ImportText( f, chr( 9 ), chr( 13 ), "ASCII", true ) > > This works. Thanks. So I will delete your report in Mantis > Note that EVCursorLocation.kClientSide does not work. Should it? ClientSide means READ ONLY cursor So you cannot import into such cursor > And, even if the answer is "no," it still shouldn't quit without at least an > exception, should it? Right. And this should be fixed. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 23 01:22:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 22 17:22:24 2005 Subject: Speed enhancements for class-way? In-Reply-To: Message-ID: On 5/23/05 12:33 AM, "Kem Tekinay" wrote: Hi Kem, > I was wondering if 2.0.4fc1 has speed enhancements that affect the > class-way? I ask because I continue to be blown away by the speed of > single-table queries. In my Zip Code table, with data imported 10 times for > a total of 421,920 records, an OR search of three indexed fields using > FindStartsWith(zip) takes 0.001 seconds (no, that's not a typo). MySQL, by > comparison, takes 0.41 seconds, without a wildcard, for the same search, and > that's just to get a count! > > FindEndsWith('5') on three fields takes 0.038 seconds while MySQL takes 0.46 > seconds for the same search (again, just to get a count). > > In fact, if I use FindStartsWith('sfsfds'), Valentina properly returns 0 > records in .001 seconds, while MySQL still takes 0.41 seconds to look > through the three fields. > > If there have been enhancements, I will re-run all of my Valentina-MySQL > comparisons, just for fun. I do not remember serious enhancements. I plan soon add few major improvements. E.g. Not unique Indexes (the most often case) should work 10% faster. No wonder that Valentina is faster of mySQL. Valentina use not B-tree indexes, and it use other format of tables. Be sure you do not see yet full speed of Valentina 2. Few bottlenecks must be fixed. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From srunkel at hypix.com Sun May 22 20:12:16 2005 From: srunkel at hypix.com (Scott Runkel) Date: Sun May 22 22:12:30 2005 Subject: [V4MD] Mac database failure References: <04e701c55d52$cec055e0$0200a8c0@SCOTT3> Message-ID: <0b7101c55f45$3925d510$0200a8c0@SCOTT3> Hi, This is a Mac-only problem. I don't have all the details yet but I wanted to get a message posted ASAP in case anyone has seen the same thing or has any idea what direction to go. After about 10 minutes of use of my projector, on OS 10.3.8 (G5 dual processor), Valentina seems to just stop working -- sort of. I'm not sure what's really happening, but for example I have a function where if you roll over a hyperlink you get an image thumbnail. The image is stored in Valentina. Once this weirdness begins, rolling over a link causes the computer to beep and do nothing. Click the link, it beeps again and does nothing. Sometimes it seems like I can search the database still after this problem starts, but then it doesn't seem like I can retrieve the media of #text members into Director. My main question is -- does anyone know of any Mac X weirdness that might cause this? Everything is FINE on Windows, can use the program for hours without anything like this happening (aside from the GetMedia problem I'm struggling with, which I posted earlier, but which is a different issue). I'm setting the RAM cache for Valentina to 10MB. Could this make a difference? Are there other general settings I should try playing around with? I know there's nothing wrong with the database or with my program in general, since as I said it's fine on Windows. Thanks. I'll try to post more tomorrow after I can do some tests. But if anyone has ideas in the meantime.... -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From srunkel at hypix.com Sun May 22 20:27:55 2005 From: srunkel at hypix.com (Scott Runkel) Date: Sun May 22 22:28:03 2005 Subject: [V4MD] Mac database failure References: <04e701c55d52$cec055e0$0200a8c0@SCOTT3> <0b7101c55f45$3925d510$0200a8c0@SCOTT3> Message-ID: <0b7d01c55f47$692227d0$0200a8c0@SCOTT3> Hi. I recently wrote: > This is a Mac-only problem. I don't have all the details yet but I wanted to get > a message posted ASAP in case anyone has seen the same thing or has any idea > what direction to go. Forgive that last post. It's obviously some kind of Mac serial-number issue since it happens after 10 minutes. I'll check on that and get it figured out. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From peter.salomon at gmx.net Mon May 23 09:53:17 2005 From: peter.salomon at gmx.net (peter salomon) Date: Mon May 23 02:54:18 2005 Subject: [V4MD] Mac database failure In-Reply-To: <0b7d01c55f47$692227d0$0200a8c0@SCOTT3> References: <04e701c55d52$cec055e0$0200a8c0@SCOTT3> <0b7101c55f45$3925d510$0200a8c0@SCOTT3> <0b7d01c55f47$692227d0$0200a8c0@SCOTT3> Message-ID: <42918BED.4070602@gmx.net> hi. scott - this happens also in authoring mode, right? same problem as i have very often. so there should be the featrure request to ruslan: may valentina without licence run in director authoring mode without time restrictions and stop working after 10 mins only in projectors? as i remember there was this function before... peter >Forgive that last post. It's obviously some kind of Mac serial-number issue >since it happens after 10 minutes. I'll check on that and get it figured out. > > From sunshine at public.kherson.ua Mon May 23 11:28:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 23 03:28:30 2005 Subject: [V4MD] Mac database failure In-Reply-To: <42918BED.4070602@gmx.net> Message-ID: On 5/23/05 10:53 AM, "peter salomon" wrote: > hi. > scott - this happens also in authoring mode, right? same problem as i > have very often. > so there should be the featrure request to ruslan: > > may valentina without licence run in director authoring mode without > time restrictions and stop working after 10 mins only in projectors? > as i remember there was this function before... Well, good idea. We can try add this for V4MD and even V4RB in 2.0. Please add this to Mantis as feature request. Although typo in serial still will cause problems in release build. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Mon May 23 10:37:50 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon May 23 03:38:02 2005 Subject: [V4MD2] Publish Windows Projector Message-ID: When I publish a Windows Projector everything works nice on my development machine with XP. on Win 98 I get: "Valentina Xtra not found" on another XP: "Microsoft Visual C++ Runtime Library - Runtime Error!" on Win 2000: "MSVCP71.dll not found" What am I doing wrong? In the published folder is the projector.exe, all files from the folder "VComponents_Win_VC" and a xtras folder containing "V4MD.x32". The valenina.dir using the xtra iss called from projector.exe in a subfolder in a miaw. thanks Heinrich From sunshine at public.kherson.ua Mon May 23 12:20:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 23 04:20:27 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: Message-ID: On 5/23/05 11:37 AM, "Heinrich Ruoff" wrote: Hi Heinrich, > When I publish a Windows Projector everything works nice on > my development machine with XP. > on Win 98 I get: "Valentina Xtra not found" > on another XP: "Microsoft Visual C++ Runtime Library - Runtime Error!" > on Win 2000: "MSVCP71.dll not found" > What am I doing wrong? > > In the published folder is the projector.exe, all files from > the folder "VComponents_Win_VC" and a xtras folder > containing "V4MD.x32". MSVCP71.dll present here ? does it present in VComponents_Win_VC ? > The valenina.dir using the xtra iss called from projector.exe > in a subfolder in a miaw. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Mon May 23 11:58:05 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon May 23 04:58:13 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: References: Message-ID: MSVCP71.dll is not in folder "VComponents_Win_VC" nor in my application folder On 5/23/05, Ruslan Zasukhin wrote: > On 5/23/05 11:37 AM, "Heinrich Ruoff" wrote: > > Hi Heinrich, > > > When I publish a Windows Projector everything works nice on > > my development machine with XP. > > > on Win 98 I get: "Valentina Xtra not found" > > > on another XP: "Microsoft Visual C++ Runtime Library - Runtime Error!" > > on Win 2000: "MSVCP71.dll not found" > > > What am I doing wrong? > > > > In the published folder is the projector.exe, all files from > > the folder "VComponents_Win_VC" and a xtras folder > > containing "V4MD.x32". > > MSVCP71.dll present here ? > does it present in VComponents_Win_VC ? > > > The valenina.dir using the xtra iss called from projector.exe > > in a subfolder in a miaw. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Mon May 23 13:50:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 23 05:50:19 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: Message-ID: On 5/23/05 12:58 PM, "Heinrich Ruoff" wrote: > MSVCP71.dll is not in folder "VComponents_Win_VC" nor in my application folder We will check this Heinrich. You have yet time ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Mon May 23 13:09:40 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon May 23 06:09:48 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: References: Message-ID: sorry - what do you mean by "You have yet time" ? On 5/23/05, Ruslan Zasukhin wrote: > On 5/23/05 12:58 PM, "Heinrich Ruoff" wrote: > > > MSVCP71.dll is not in folder "VComponents_Win_VC" nor in my application folder > > We will check this Heinrich. > > You have yet time ? > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Mon May 23 14:12:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 23 06:12:13 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: Message-ID: On 5/23/05 2:09 PM, "Heinrich Ruoff" wrote: > sorry - what do you mean by "You have yet time" ? I will ask in other way: how fast you need to get the fix ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Mon May 23 13:17:27 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon May 23 06:17:34 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: References: Message-ID: ahhh :-) I' quite in a hurry - my client would like to get a prototype today. I just tried to install "V4MD_2_win.exe" on the XP machine with runtime error. Maybe this workaround works on my clients computer as well. On 5/23/05, Ruslan Zasukhin wrote: > On 5/23/05 2:09 PM, "Heinrich Ruoff" wrote: > > > sorry - what do you mean by "You have yet time" ? > > I will ask in other way: > > how fast you need to get the fix ? > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Mon May 23 18:06:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 23 10:06:31 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: Message-ID: On 5/23/05 2:17 PM, "Heinrich Ruoff" wrote: > ahhh :-) > > I' quite in a hurry - my client would like to get a prototype today. Ops, so fast will be hard. > I just tried to install "V4MD_2_win.exe" on the XP machine with runtime error. > Maybe this workaround works on my clients computer as well. You mean that if you install V4MD_2 on computer then it works. Hmm... Installer sets variable PATH to folder Vcomponents. But if you put DLLs into your app folder this is not required. Windows must find them here. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Mon May 23 17:43:12 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon May 23 10:43:17 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: References: Message-ID: should the MSVCP71.dll be included in the Vcomponents folder? On 5/23/05, Ruslan Zasukhin wrote: > On 5/23/05 2:17 PM, "Heinrich Ruoff" wrote: > > > ahhh :-) > > > > I' quite in a hurry - my client would like to get a prototype today. > > Ops, so fast will be hard. > > > I just tried to install "V4MD_2_win.exe" on the XP machine with runtime error. > > Maybe this workaround works on my clients computer as well. > > You mean that if you install V4MD_2 on computer then it works. > Hmm... > > Installer sets variable PATH to folder Vcomponents. > But if you put DLLs into your app folder this is not required. > Windows must find them here. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Mon May 23 18:51:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 23 10:51:43 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: Message-ID: On 5/23/05 6:43 PM, "Heinrich Ruoff" wrote: > should the MSVCP71.dll be included in the Vcomponents folder? I think yes. Igor ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Mon May 23 17:57:10 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon May 23 10:57:18 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: References: Message-ID: tried to place all MSVCP71.dll's I found on my system in the app folder but keep getting the runtime error is there a special version of the dll required? On 5/23/05, Ruslan Zasukhin wrote: > On 5/23/05 6:43 PM, "Heinrich Ruoff" wrote: > > > should the MSVCP71.dll be included in the Vcomponents folder? > > I think yes. > > Igor ? > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From giv at tlc.kherson.ua Mon May 23 18:59:17 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon May 23 10:59:30 2005 Subject: [V4MD2] Publish Windows Projector References: Message-ID: <007101c55fb0$60065e00$3b04a8c0@giv> > > should the MSVCP71.dll be included in the Vcomponents folder? > > I think yes. > > Igor ? msvcp71.dll & msvcr71.dll already come with installer. They copy to the windows system folder during installation. -- 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 Mon May 23 19:04:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 23 11:05:13 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: Message-ID: On 5/23/05 6:57 PM, "Heinrich Ruoff" wrote: > tried to place all MSVCP71.dll's I found on my system in the app folder > but keep getting the runtime error > is there a special version of the dll required? No, as Igor say that was OUR dlls. actually this is MS dlls -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From srunkel at hypix.com Mon May 23 09:06:22 2005 From: srunkel at hypix.com (Scott Runkel) Date: Mon May 23 11:06:34 2005 Subject: [V4MD] Mac database failure References: <04e701c55d52$cec055e0$0200a8c0@SCOTT3> <0b7101c55f45$3925d510$0200a8c0@SCOTT3><0b7d01c55f47$692227d0$0200a8c0@SCOTT3> <42918BED.4070602@gmx.net> Message-ID: <14c001c55fb1$5d700640$0200a8c0@SCOTT3> Hey Peter, > scott - this happens also in authoring mode, right? same problem as i > have very often. > so there should be the featrure request to ruslan: Well, I author on Windows, and it never happens because I have the right serial number there. > may valentina without licence run in director authoring mode without > time restrictions and stop working after 10 mins only in projectors? > as i remember there was this function before... Good idea. I would also suggest that maybe 1 alert come up in the projector saying it has stopped working and why? This might prevent foolish people like me from assuming there is something really wrong with my whole program. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From heinrichruoff at gmail.com Mon May 23 18:35:30 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon May 23 11:35:36 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: References: Message-ID: so the only way to get a director projector working at the moment is installing V4MD_2_win.exe? On 5/23/05, Ruslan Zasukhin wrote: > On 5/23/05 6:57 PM, "Heinrich Ruoff" wrote: > > > tried to place all MSVCP71.dll's I found on my system in the app folder > > but keep getting the runtime error > > is there a special version of the dll required? > > No, as Igor say that was OUR dlls. > > actually this is MS dlls > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Mon May 23 19:37:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 23 11:37:56 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: Message-ID: On 5/23/05 7:35 PM, "Heinrich Ruoff" wrote: > so the only way to get a director projector working at the moment is > installing V4MD_2_win.exe? And this helps ? At least do this for you user. Igor will test today your report -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Mon May 23 19:16:59 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon May 23 12:17:06 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: References: Message-ID: I tried on 2 XP machines. After installing V4MD_2_win.exe the "Microsoft Visual C++ Runtime Library - Runtime Error!" is gone. btw. - is there chance to uninstall V4MD_2_win.exe? On 5/23/05, Ruslan Zasukhin wrote: > On 5/23/05 7:35 PM, "Heinrich Ruoff" wrote: > > > so the only way to get a director projector working at the moment is > > installing V4MD_2_win.exe? > > And this helps ? > At least do this for you user. > > Igor will test today your report > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Mon May 23 21:01:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 23 13:01:59 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: Message-ID: On 5/23/05 8:16 PM, "Heinrich Ruoff" wrote: > I tried on 2 XP machines. > After installing V4MD_2_win.exe the > "Microsoft Visual C++ Runtime Library - Runtime Error!" > is gone. > btw. - is there chance to uninstall V4MD_2_win.exe? To uninstall just remove VComponents folder V4MD_2 folder Check variable PATH to remove path to VComponents folder. Also 2 MS dlls are installed into SYSTEM folder if they was not there already. So better do not touch them because you do not know if they was there -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From giv at tlc.kherson.ua Mon May 23 23:51:03 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon May 23 15:51:11 2005 Subject: [V4MD2] Publish Windows Projector References: Message-ID: <010401c55fd9$22605e10$3b04a8c0@giv> Hi Heinrich, you need to have both those dll - msvcp71.dll, msvcr71.dll - included in your projector because Valentina kernel depends on them. Please, try and tell us if this help. -- 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 heinrichruoff at gmail.com Mon May 23 23:41:30 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Mon May 23 16:41:36 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: <010401c55fd9$22605e10$3b04a8c0@giv> References: <010401c55fd9$22605e10$3b04a8c0@giv> Message-ID: what do you mean by include in projector? placing them in the same folder doesn't help thanks for your efforts Heinrich On 5/23/05, Igor Gomon wrote: > Hi Heinrich, > > you need to have both those dll - msvcp71.dll, msvcr71.dll - > included in your projector because Valentina kernel depends > on them. > > Please, try and tell us if this help. > > -- > 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 sunshine at public.kherson.ua Tue May 24 00:53:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 23 16:54:01 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: Message-ID: On 5/24/05 12:41 AM, "Heinrich Ruoff" wrote: > what do you mean by include in projector? > placing them in the same folder doesn't help You have add 2 dlls from SYSTEM folder and not helps ? strange > thanks for your efforts > Heinrich > > > On 5/23/05, Igor Gomon wrote: >> Hi Heinrich, >> >> you need to have both those dll - msvcp71.dll, msvcr71.dll - >> included in your projector because Valentina kernel depends >> on them. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue May 24 08:49:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 24 00:49:08 2005 Subject: Lists in Transcript In-Reply-To: Message-ID: On 5/24/05 1:38 AM, "Robert Brenstein" wrote: >> Sending of many parameters is not equivalent >> >> Because if you have list >> >> v = [v1, v2, ... ] >> >> This is an object, like array you have. >> You can use it many times, you can modify it and so on. >> > > Ruslan, I don't know much Lingo but I think any variable in > Transcript can be used as a list similar function-wise to linear > lists in Lingo. There is just not explicit notation for it. In a way, > Transcript vars are more flexible as any variable can hold either a > single value or a list and we can define the list delimiter character. > Lingo > > v = [3, 4, 1] --> 3, 4, 1 > v.add(2) --> 3, 4, 1, 2 > put (v.count) --> 4 > getPos(v,4) --> 2 > v.sort --> 1, 2, 3, 4 > > Transcript > > put "3, 4, 1" into v --> 3, 4, 1 > put ", 2" after v --> 3, 4, 1, 2 > put the number of items of v --> 4 > itemOffset(4,v) --> 2 > sort items of v --> 1, 2, 3, 4 > > Or are you talking about something else? But this is pure work with strings, Robert. Well, I think Revolutioners are used to work with strings. Just for me as C++ developer this looks too overhead. But I see now that Transcript have many special commands to work with strings as with lists. And coma is default delimiter as I see. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue May 24 13:37:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 24 05:37:30 2005 Subject: issue 778 In-Reply-To: <2f87bdfce5a6c71602d8b937dc216944@gmx.net> Message-ID: On 5/23/05 11:12 PM, "Peter Salomon" wrote: Hi Peter, I CC to list because this is general db design issue. > well, maybe i chose the wrong concept. and i agree - my methods ARE long... > :-) if you like, perhaps you could help thinking about another solution. > > the application is a kind of knowledge test. we have about 200 questions a > client must answer. each clients answer is stored in a table as bolean result: > 1 means answer correct, 0 answer is wrong. > my 200 questions are parts of specific topics, so i want to know the > percentage of correct and wrong answers belonging to each topic. If your next test will have 500 or 1000 questions, you will do 500 columns in table? Not good. Columns should be stable. Rows can grow. So you can Rotate your solution, and put questions and answers into rows of table. > if correct answers are more than 70% client is good, if they are less than 30% > - well - client could be better. > > so i made in valentina: one table in which all client?s answers are stored, > e.g. > > fldanswer1, fldanswer2, fldanswer3,....fldanswer200 > rcclient1 > rcclient2 > rcclient3 > > just to have an example: > to topic1 belongs answer1, answer2, answer3 > > so i used the expression to get the arithmetic middle of the fields: > (fldanswer1 + fldanswer2 + fldanswer3) / 3 * 100 > > the same methodfield compares now the expression to get a string result, as > "good" or "bad" (middle range is not of interest here) > > i used the method you know already: > "IF (fldanswer1 + fldanswer2 + fldanswer3) / 3 * 100) < 30, 'bad', > IF(fldanswer1 + fldanswer2 + fldanswer3) / 3 * 100) < 70, 'middle', 'good')) > now, as i try to explain i see some items to be done better because i let > valentina count each time twice the result, right? > so better to have one methodfield (lets say "mfldresult" which stores result > of the expression: (fldanswer1 + fldanswer2 + fldanswer3) / 3 * 100 > and then a second one which makes comparison like: > > IF mfldresult < 30, 'bad', IF mfldresult < 70, 'middle', 'good')) > > so i could reduce length of methodstrings half and maybe results are computed > faster because only one time, yes? > > or do i work blind for the obvoius? > perhaps hou have better suggestions? > > greetings - peter -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From giv at tlc.kherson.ua Tue May 24 14:34:26 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue May 24 06:34:34 2005 Subject: [INFO] Required components for Director's projector References: <010401c55fd9$22605e10$3b04a8c0@giv> Message-ID: <00cb01c56054$8a8d42c0$3b04a8c0@giv> This is the list of required components to run projector that uses Valentina 2.x (all this files and folders must be placed to the projector's folder): (this is the list of components which must be present in order to use Valentina in local mode (not client-server)): Kernel_Win32_Release.dll VShared_Win32_Release_VC.dll VDK.dll icudt30.dll icuin30.dll icuio30.dll icuuc30.dll msvcp71.dll msvcr71.dll + VResources (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 rjb at robelko.com Tue May 24 13:16:48 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue May 24 06:36:05 2005 Subject: Lists in Transcript In-Reply-To: References: Message-ID: > > Or are you talking about something else? > >But this is pure work with strings, Robert. > >Well, I think Revolutioners are used to work with strings. >Just for me as C++ developer this looks too overhead. > >But I see now that Transcript have many special commands to work with >strings as with lists. And coma is default delimiter as I see. > >-- >Best regards, > >Ruslan Zasukhin Whether we use variables as single-value variables or single- or multi-dimensional linear lists is up to us. The standard list chunks are words (space delimited strings), items (comma-delimited by default but could be any character) and lines (the delimiter can also be custom). Associative arrays add to that as non-linear lists so do speak. Handling of strings is very powerful and flexible in Transcript, although power users would like more, of course :) You need to remember, Ruslan, that in Transcript variables are typeless, so there is no formal distinction between a string and numeric value. They are all strings by default. If v = "2", I can use it as a string as in "a" & v -> "a2" or as a number as in 2*v -> 4. For C++ developer, strings indeed usually mean some overhead. In Transcript, purely math operations have some overhead since strings have to be converted into numbers. Transcript compiler is now smart enough, though, that it can avoid such conversions if it recognizes that the variable is used only in numeric context. Robert From rjb at robelko.com Tue May 24 14:29:48 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue May 24 07:36:05 2005 Subject: issue 778 In-Reply-To: References: Message-ID: >On 5/23/05 11:12 PM, "Peter Salomon" wrote: > >Hi Peter, > >I CC to list because this is general db design issue. > > >> well, maybe i chose the wrong concept. and i agree - my methods ARE long... >> :-) if you like, perhaps you could help thinking about another solution. >> >> the application is a kind of knowledge test. we have about 200 questions a >> client must answer. each clients answer is >>stored in a table as bolean result: >> 1 means answer correct, 0 answer is wrong. > >> my 200 questions are parts of specific topics, so i want to know the >> percentage of correct and wrong answers belonging to each topic. > >If your next test will have 500 or 1000 questions, you will do 500 columns >in table? Not good. > >Columns should be stable. >Rows can grow. > >So you can Rotate your solution, and put questions and answers into rows of >table. Peter, Ruslan is right, your approach is not optimal. It would be the right way in SPSS for example, but with a Valentina, you can do better and gain more flexibility. Besides, Valentina does not run efficiently with so many fields (columns) in a table. > > if correct answers are more than 70% client >is good, if they are less than 30% >> - well - client could be better. >> >> so i made in valentina: one table in which all client?s answers are stored, >> e.g. >> >> fldanswer1, fldanswer2, fldanswer3,....fldanswer200 >> rcclient1 >> rcclient2 >> rcclient3 >> The way I set up the databases for questionnaires of this sort is: +++ table1: topics: fields: topic_code, topic_title, topic_text, topic_priority if topic_code is a number then you may not need topic_priority. Otherwise, topic_code can be arbitrary number and topic_priority can be used for ordering if questionnaire has no grouping of questions, then this table is not used. +++ table2: questions fields: question_number, question_code, question_text, question_version, topic_ref, question_responses I do not use recId so I can have questions 2a, 2b, 2c and change the order at any time If I need same questions in multiple languages, I just have question_english, question_spanish instead of question_text topic_ref is a ref to topic_code question_number is used for ordering questions and tracking progress. question_code contains question number is seen by subjects. question_responses is not needed if you have only true-false responses. +++ table3: subjects fields: subject_code, subject_name, subject_group Or whatever info you store on subjects. If you do not to store any info on them, then you may not need this table and just use subject_code instead of subject_ref below. +++ table4: answers fields: subject_ref, question_ref, answer_value subject_ref is ref to subject_code question_ref is ref to question_number answer_value is the answer, as a number or text answer_value is nullable so I can check whether subject answered all questions +++ table5: feedback fields: feedback_code, feedback_text, feedback_condition, feedback_group Stuff to use for displaying responses for subjects at the end and/or during the questionnaire. feedback_condition can be percentage or an expression (if you development environment allows execution of expressions in variables). NOTE: if 'group' fields are visible to users, then you also need their definitions each in own table, just like topics and use greoup_ref in other tables. > > just to have an example: >> to topic1 belongs answer1, answer2, answer3 >> >> so i used the expression to get the arithmetic middle of the fields: >> (fldanswer1 + fldanswer2 + fldanswer3) / 3 * 100 >> >> the same methodfield compares now the expression to get a string result, as >> "good" or "bad" (middle range is not of interest here) >> >> i used the method you know already: >> "IF (fldanswer1 + fldanswer2 + fldanswer3) / 3 * 100) < 30, 'bad', > > IF(fldanswer1 + fldanswer2 + fldanswer3) / 3 >* 100) < 70, 'middle', 'good')) > The above structure might sound overly complicated at first glance but it is more flexible and can give you any statistics you need for a single subject or the whole pool of subjects without much hassle, whole questionnaire or just a single topic. And it affords a single program to deal with different types of questions without any question-specific programming. You won't be able to use the calculation fields (methods) but have to do these calcs in your program. But they are trivial. You can also easily track progress through questionnaire and provide feedback regardless whether you run as a standalone program or through web interface. Moreover, this structure can also be used if you have questions that are conditional on answers to other questions. You just add an extra field specifying condition either to topic (for a group of questions) and/or to a specific question. And validation (which any self-respecting questionnaire should include) or distractor items can be handled the same. Moreover2, you can set up a simple and nifty questionnaire editor that you can use to edit, add, move, remove, etc your questions, including checking the performance and loading of each question. Robert Brenstein From lfredricks at proactive-intl.com Tue May 24 08:29:05 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue May 24 10:29:24 2005 Subject: Nikon Clicks with Paradigma Software's Valentina Message-ID: <20050524152907.87E6D17D02F@spatula.dreamhost.com> Nikon Clicks with Paradigma Software's Valentina ALL NEW DIGITAL CAMERAS SHIP WITH VALENTINA ENABLED PICTURE PROJECT May 24, 2005. Beaverton, Oregon. Paradigma Software, Inc, makers of the incredibly fast and robust Valentina 2 database, announce the selection of Valentina as the underlying technology of Nikon Corporation's Picture Project. Picture Project is included with every new digital camera that Nikon Corporation currently manufactures, including the D2, D70, D50 and Coolpix 7600. Picture Project is Nikon Corporation's easy to use photo organization database and design software for MacOS X and Windows. More than a simple organizer, Picture Project can also share photos with TiVo, burn CDs/DVDs and share images on the Internet. Picture Project is available at http://tinyurl.com/by65y. Paradigma Software's groundbreaking technology is available in developer solutions for desktop database applications and also true, client server solutions through Valentina Developer Network. Valentina Developer Network members can distribute Valentina Embedded Server in its default configuration royalty free. A standalone server product, Valentina 2 Office Server, is available to provide for the shared data needs of any MacOS X or Windows based office network. Developer solutions begin at $199. Valentina 2 is renowned for its speed and robustness and support for requirements for international business, including XML exchange of data and schema, UTF-16, SQL 92 compliance, transparent file format exchange between operating systems, encryption and more. Desktop solutions are easily scalable to a true client-server environment. Leading developer solutions for Valentina 2 include support for Macromedia Director and REAL Software's REALbasic, with a new version under production for Runtime Revolution and DreamCard. Valentina solutions are available for all major development environments on MacOS X and Windows. About Paradigma Software, Inc Founded in 1998, Beaverton, Oregon-based Paradigma Software, Inc is the leading provider of incredibly fast and robust database solutions for business and development. Valentina 2 technology powers solutions as diverse as graphics applications from major Japanese electronics companies to solutions supporting US public schools. Paradigma Software solutions are available for every major development environment on the Windows and Macintosh platforms. For additional information, visit the Paradigma Software website at http://www.paradigmasoft.com. Contact Paradigma Software Ph. (503) 574-2776 http://www.paradigmasoft.com From cmsheffield at gmail.com Tue May 24 10:01:19 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue May 24 11:01:24 2005 Subject: new 1.x server release? Message-ID: <619B150C-9134-4182-87E1-CC0928E184FE@gmail.com> Hi Ruslan, Can you tell us when we can expect the new release for the 1.x version of VServer? I'm anxious to get my hands on it, as I'm sure others are as well. Or is it the a67 release that's available from your web site now? Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From sunshine at public.kherson.ua Tue May 24 20:44:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 24 12:44:49 2005 Subject: new 1.x server release? In-Reply-To: <619B150C-9134-4182-87E1-CC0928E184FE@gmail.com> Message-ID: On 5/24/05 7:01 PM, "Chris Sheffield" wrote: > Hi Ruslan, > > Can you tell us when we can expect the new release for the 1.x > version of VServer? I'm anxious to get my hands on it, as I'm sure > others are as well. Or is it the a67 release that's available from > your web site now? Hi Chris, We still fight with one problem that is exposed by that installation. As only we will find solution we will make new build public. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From bkeeney at everestkc.net Tue May 24 17:04:55 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Tue May 24 17:34:14 2005 Subject: [V4RB2] Like Statement Error In-Reply-To: <20050524152934.26FAA325A8A@edison.macserve.net> References: <20050524152934.26FAA325A8A@edison.macserve.net> Message-ID: <8FBDE464-1C06-4D28-B031-7A662CF099DB@everestkc.net> I have the following SQL statement: Select RecID, * FROM TranscriptDetails WHERE ptrTranscript = 1 AND (sLineText LIKE 'them' no_case) I put the sql in the following piece of code: mSearchCursor = gDB.SQLselect( s, EVCursorLocation.kClientSide, EVLockType.kNoLocks, EVCursorDirection.kRandom ) I receive the following error: Error: 462848: Line 1:1: unexpected token: them I don't see anything obvious in the SQL and this worked perfectly in 1.1. Any ideas? Thanks, Bob Keeney BKeeney Software Inc. From Claudius at sailer-online.de Wed May 25 06:29:25 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue May 24 23:29:44 2005 Subject: [V4RB2] Like Statement Error In-Reply-To: <8FBDE464-1C06-4D28-B031-7A662CF099DB@everestkc.net> References: <20050524152934.26FAA325A8A@edison.macserve.net> <8FBDE464-1C06-4D28-B031-7A662CF099DB@everestkc.net> Message-ID: <10C7D83D-85D1-4256-A134-EA4FA853E223@sailer-online.de> Hi, Am 25. Mai 2005 um 00:04 Uhr schrieb Bob Keeney: > I have the following SQL statement: > > Select RecID, * FROM TranscriptDetails WHERE ptrTranscript = 1 AND > (sLineText LIKE 'them' no_case) what do you get, when you use this Select RecID, * FROM TranscriptDetails WHERE ptrTranscript = 1 AND (sLineText LIKE 'them%' no_case) OR Select RecID, * FROM TranscriptDetails WHERE ptrTranscript = 1 AND (sLineText LIKE '%them%' no_case) OR Select RecID, * FROM TranscriptDetails WHERE ptrTranscript = 1 AND (sLineText LIKE '%them' no_case) I would say that you LIKE-Statement is wrong. Or do you realy want only records where sLineText is only upper(sLineText)='them'? bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.5/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From Claudius at sailer-online.de Wed May 25 06:35:09 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue May 24 23:35:25 2005 Subject: [V4RB2] Like Statement Error In-Reply-To: <10C7D83D-85D1-4256-A134-EA4FA853E223@sailer-online.de> References: <20050524152934.26FAA325A8A@edison.macserve.net> <8FBDE464-1C06-4D28-B031-7A662CF099DB@everestkc.net> <10C7D83D-85D1-4256-A134-EA4FA853E223@sailer-online.de> Message-ID: <11D807FC-1F0A-44DD-816A-69148CD79FCD@sailer-online.de> Am 25. Mai 2005 um 06:29 Uhr schrieb Claudius Sailer: > upper(sLineText)='them'? Sorry, the correct way is upper(sLineText)='THEM'? I am not sure whether this is also possible understanding of like. I will check today with Sybase-SQL ;-)) When you coding is correct --> Bugreport in Mantis :-)) bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.5/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From valentina at panamind.com Wed May 25 01:58:36 2005 From: valentina at panamind.com (Gary Edge) Date: Wed May 25 00:58:52 2005 Subject: V4RB2 won't create database Message-ID: <97211E27-F7E9-447D-B7DD-73D76A0AB29F@panamind.com> I just downloaded the 2.0.3 installer and still can't get valentina to create a database. Any ideas? Gary From sunshine at public.kherson.ua Wed May 25 09:45:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 25 01:46:05 2005 Subject: [V4RB2] Like Statement Error In-Reply-To: <8FBDE464-1C06-4D28-B031-7A662CF099DB@everestkc.net> Message-ID: On 5/25/05 1:04 AM, "Bob Keeney" wrote: > I have the following SQL statement: > > Select RecID, * FROM TranscriptDetails WHERE ptrTranscript = 1 AND > (sLineText LIKE 'them' no_case) Valentina 2 do not support keywrod no_case > I put the sql in the following piece of code: > mSearchCursor = gDB.SQLselect( s, EVCursorLocation.kClientSide, > EVLockType.kNoLocks, EVCursorDirection.kRandom ) > > I receive the following error: > Error: 462848: Line 1:1: unexpected token: them > > I don't see anything obvious in the SQL and this worked perfectly in > 1.1. Any ideas? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed May 25 10:08:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 25 02:08:47 2005 Subject: V4RB2 won't create database In-Reply-To: <97211E27-F7E9-447D-B7DD-73D76A0AB29F@panamind.com> Message-ID: On 5/25/05 8:58 AM, "Gary Edge" wrote: > I just downloaded the 2.0.3 installer and still can't get valentina > to create a database. Any ideas? But it works for others. Hmm. Have you try to run OUR examples? Does they work ? What means: can't get valentina to create a database? Db.Create() do not works? How it not works? Crash or some error code ? Your platform? REALbasic version ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Wed May 25 09:52:16 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Wed May 25 02:52:31 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: References: Message-ID: Hi Ruslan, Hi Igor any news on this dll problem? Could you reproduce it or am I the only one with this problem? Heinrich On 5/23/05, Ruslan Zasukhin wrote: > On 5/24/05 12:41 AM, "Heinrich Ruoff" wrote: > > > what do you mean by include in projector? > > placing them in the same folder doesn't help > > You have add 2 dlls from SYSTEM folder and not helps ? > > strange > > > thanks for your efforts > > Heinrich > > > > > > On 5/23/05, Igor Gomon wrote: > >> Hi Heinrich, > >> > >> you need to have both those dll - msvcp71.dll, msvcr71.dll - > >> included in your projector because Valentina kernel depends > >> on them. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Wed May 25 15:41:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 25 07:41:47 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: Message-ID: On 5/25/05 10:52 AM, "Heinrich Ruoff" wrote: Hi Heinrich, > Hi Ruslan, Hi Igor > > any news on this dll problem? > Could you reproduce it or am I the only one with this problem? Please check this List letters for yesterday. Igor have send letter where give list of dll he have use. And it works for him. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From heinrichruoff at gmail.com Wed May 25 16:04:19 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Wed May 25 09:04:33 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: References: Message-ID: Finally found the reason for my problem! Once the Impressario Xtra Runtime folder (including some dlls) is present in the Xtra folder, I get the Runtime Error when I call new (Xtra("Valentina")). Impressario PDFL50.dll seems to be causing the problem. On 5/25/05, Ruslan Zasukhin wrote: > On 5/25/05 10:52 AM, "Heinrich Ruoff" wrote: > > Hi Heinrich, > > > Hi Ruslan, Hi Igor > > > > any news on this dll problem? > > Could you reproduce it or am I the only one with this problem? > > Please check this List letters for yesterday. > > Igor have send letter where give list of dll he have use. > And it works for him. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From lfredricks at proactive-intl.com Wed May 25 07:38:20 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed May 25 09:36:45 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: Message-ID: <20050525143630.3702D17D031@spatula.dreamhost.com> > Once the Impressario Xtra Runtime folder (including some > dlls) is present in the Xtra folder, I get the Runtime Error > when I call new (Xtra("Valentina")). > Impressario PDFL50.dll seems to be causing the problem. Is this happening with the latest version of the Xtra? We need to figure out if this is something we introduced or they introduced. Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com From heinrichruoff at gmail.com Wed May 25 16:49:37 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Wed May 25 09:49:52 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: <20050525143630.3702D17D031@spatula.dreamhost.com> References: <20050525143630.3702D17D031@spatula.dreamhost.com> Message-ID: it happens with 2.0.3 but only if the V4MD_2_win.exe package is not installed On 5/25/05, Lynn Fredricks wrote: > > Once the Impressario Xtra Runtime folder (including some > > dlls) is present in the Xtra folder, I get the Runtime Error > > when I call new (Xtra("Valentina")). > > Impressario PDFL50.dll seems to be causing the problem. > > Is this happening with the latest version of the Xtra? We need to figure out > if this is something we introduced or they introduced. > > Best regards, > > Lynn Fredricks > President > Paradigma Software, Inc > > Joining Worlds of Information > > Deploy True Client-Server Database Solutions > Royalty Free with Valentina Developer Network > http://www.paradigmasoft.com > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From heinrichruoff at gmail.com Wed May 25 17:09:57 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Wed May 25 10:10:12 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: References: <20050525143630.3702D17D031@spatula.dreamhost.com> Message-ID: the Impressario Xtra was quite old upgraded to the latest version and the problem is gone (PDFL50.dll isn't included in this release anymore) new problem: when I launch my main.exe by another launch.exe from a different folder the "Runtime Error" occurs again. probably because the dlls should be placed inside the launch.exe folder? is there a chance to keep the dlls in the main.exe folder? wouldn't like to have all dlls in the root of the cd-rom On 5/25/05, Heinrich Ruoff wrote: > it happens with 2.0.3 > but only if the V4MD_2_win.exe package is not installed > > On 5/25/05, Lynn Fredricks wrote: > > > Once the Impressario Xtra Runtime folder (including some > > > dlls) is present in the Xtra folder, I get the Runtime Error > > > when I call new (Xtra("Valentina")). > > > Impressario PDFL50.dll seems to be causing the problem. > > > > Is this happening with the latest version of the Xtra? We need to figure out > > if this is something we introduced or they introduced. > > > > Best regards, > > > > Lynn Fredricks > > President > > Paradigma Software, Inc > > > > Joining Worlds of Information > > > > Deploy True Client-Server Database Solutions > > Royalty Free with Valentina Developer Network > > http://www.paradigmasoft.com > > > > > > > > _______________________________________________ > > Valentina mailing list > > Valentina@lists.macserve.net > > http://lists.macserve.net/mailman/listinfo/valentina > > > From sunshine at public.kherson.ua Wed May 25 18:13:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 25 10:14:40 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: Message-ID: On 5/25/05 5:04 PM, "Heinrich Ruoff" wrote: > Finally found the reason for my problem! > > Once the Impressario Xtra Runtime folder (including some dlls) is present > in the Xtra folder, I get the Runtime Error when I call new > (Xtra("Valentina")). > Impressario PDFL50.dll seems to be causing the problem. Strange...what is relation .... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed May 25 18:17:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 25 10:17:33 2005 Subject: [V4MD2] Publish Windows Projector In-Reply-To: Message-ID: On 5/25/05 5:49 PM, "Heinrich Ruoff" wrote: > it happens with 2.0.3 > but only if the V4MD_2_win.exe package is not installed But maybe Impressario Xtra also require that MS DLLs ? And if you copy them INTO projector folder, Then they do not see it ... No. they should. Igor, what else so special do installer? - installs VComponents - installs 2 MS dlls into system - set PATH variable. Nothing more.. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From valentina at panamind.com Wed May 25 12:02:13 2005 From: valentina at panamind.com (Gary Edge) Date: Wed May 25 11:02:30 2005 Subject: V4RB2 won't create database In-Reply-To: References: Message-ID: On May 25, 2005, at 3:08 AM, Ruslan Zasukhin wrote: >> I just downloaded the 2.0.3 installer and still can't get valentina >> to create a database. Any ideas? >> > > But it works for others. > Hmm. > > Have you try to run OUR examples? > Does they work ? > > What means: > can't get valentina to create a database? > > Db.Create() do not works? > How it not works? > Crash or some error code ? > > Your platform? > REALbasic version ? > > Hi Ruslan, I'm using RB 5.5.4, on a iBook G4 and PM G5 Dual 1.8, both running Tiger. I tried the one example that creates a db and it works properly. In my code the db.create() executes with no error code or crash yet doesn't create a database. This project was intially started with V4Rb 1.10 and I converted it to use V4RB 2. << After trying the 'classes way' example>> Apparently I wasn't calling VDatabase(0) in the constructor of my database class. It seems to work now. Thanks Gary From srunkel at hypix.com Wed May 25 18:21:13 2005 From: srunkel at hypix.com (Scott Runkel) Date: Wed May 25 20:21:34 2005 Subject: [V4MD] getMedia() error References: Message-ID: <0c7701c56191$34df9fb0$0200a8c0@SCOTT3> > > If the answer is, "yes, it should work, you should be able to create multiple > > cursors that include the same records and use getMedia on those records > > successfully" then I will consider making a small example file. > > In theory this MUST work. > If some bug exists then we need fix it. > Better to make sure that this works in 2.0 In case anyone is curious about what happened with this, I discovered eventually after much trial and error that if the original function call comes from a MIAW, then getMedia() doesn't work. It's true. I made the identical function call to my media object from the message window, and it worked. Then go to the MIAW, and it doesn't work. Again, this only affects getMedia(), it doesn't seem to affect getField(), which continued to work normally. The solution was to put my function call within a "tell the stage/end tell" setting. The media object is global, and the script doing the calling is in the same scripts cast as the media object script, so everything else worked fine. But this might be a gotcha for other people, or something to look at for version 2 of Valentina. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From snw at paradise.net.nz Thu May 26 14:13:35 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Wed May 25 21:14:50 2005 Subject: [V4MD] getMedia() error In-Reply-To: <0c7701c56191$34df9fb0$0200a8c0@SCOTT3> References: <0c7701c56191$34df9fb0$0200a8c0@SCOTT3> Message-ID: <6.2.1.2.2.20050526140914.03c338b0@pop3.paradise.net.nz> >In case anyone is curious about what happened with this, I discovered >eventually >after much trial and error that if the original function call comes from a >MIAW, >then getMedia() doesn't work. It's true. I made the identical function call to >my media object from the message window, and it worked. Then go to the >MIAW, and >it doesn't work. Again, this only affects getMedia(), it doesn't seem to >affect >getField(), which continued to work normally. I'd guess you're using MX2004. See the bug list entry I submitted around this issue to Gretchen for all the gory details. MM acknowledges this and will fix it in a future update (though all bets are off there) - the entry is titled "list", which is misleading as I stumbled across this storing/retrieving #media in vList files. -Sean. From srunkel at hypix.com Wed May 25 20:41:22 2005 From: srunkel at hypix.com (Scott Runkel) Date: Wed May 25 22:41:39 2005 Subject: [V4MD] getMedia() error References: <0c7701c56191$34df9fb0$0200a8c0@SCOTT3> <6.2.1.2.2.20050526140914.03c338b0@pop3.paradise.net.nz> Message-ID: <0dcb01c561a4$c92170f0$0200a8c0@SCOTT3> > I'd guess you're using MX2004. See the bug list entry I submitted around > this issue to Gretchen for all the gory details. MM acknowledges this and > will fix it in a future update (though all bets are off there) > - the entry is titled "list", > which is misleading as I stumbled across this storing/retrieving #media in > vList files. Fascinating. Hard to say if this is the same thing. I'm actually using MX (9.0) for this particular project. And I'm not really calling a handler in a MIAW, rather calling a handler from a MIAW. And the handler doesn't return a list, or return anything actually. But it could all definitely be related. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From heinrichruoff at gmail.com Thu May 26 10:17:19 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Thu May 26 03:17:31 2005 Subject: valentina odbc tool Message-ID: Is the Valentina odbc tool still available anywhere for download? From sunshine at public.kherson.ua Thu May 26 14:36:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 26 06:36:31 2005 Subject: valentina odbc tool In-Reply-To: Message-ID: On 5/26/05 11:17 AM, "Heinrich Ruoff" wrote: > Is the Valentina odbc tool still available anywhere for download? Yes on V4MD download page I think. Section deprecated products -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 26 16:14:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 26 08:14:41 2005 Subject: [ANN] V4RB 2.0.4fc2 uploaded In-Reply-To: Message-ID: On 5/26/05 3:02 PM, "Sims, John" wrote: > > kernel - 2.0.4 > ============== > - 0000754: [API] REQUEST: add a Alert when I add a linkRecord and the > same link is does exist (Ivan Smahin) > > > Hi Ruslan, > > I'm not really sure I understand the usefulness for this request/new > feature. It seems to me that if I want to link two records (we'll call > them 1 and 2) and a link already exists between 1 and 2 that Valentina > should just leave the existing link intact and ignore my request (thus > maintaining uniqueness). If this were the case, I would not really care > if they were already linked or not as, in the end, all I really care > about is that records 1 and 2 are linked. If I want to know ahead of > time if I have already linked these two records, I could just use the > new Vlink.IsLinked function. In my opinion, raising an exception forces > me to add more overhead to my application to trap this "error" thus > slowing my application down (it has been documented earlier that the > REALbasic exception handler does slow processing down). > > Perhaps I am the only one who sees it like this. Anyone else have any > comments? Frankly saying I agree with you. Just that was request from Paolo. I also do not like idea throw exception in this case. Paolo, do you agree with arguments of John ? I think we should disable back this exception. Ivan? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From SWILK at ags.com Thu May 26 09:46:39 2005 From: SWILK at ags.com (Wilk, Steven) Date: Thu May 26 08:46:52 2005 Subject: [V4MD2] Are queries case sensitive Message-ID: <065445830D7F35439CE1BBEEB0CFF2CEC8D6D5@md-admin.ags.com> Are queries case sensitive, and if they are what is the best way to make them NOT case sensitive? From ktekinay at mactechnologies.com Thu May 26 12:29:50 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu May 26 11:39:55 2005 Subject: [ANN] V4RB 2.0.4fc2 uploaded In-Reply-To: Message-ID: Is there an update that I missed? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Thu May 26 19:51:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 26 11:52:08 2005 Subject: [ANN] V4RB 2.0.4fc2 uploaded In-Reply-To: Message-ID: On 5/26/05 7:29 PM, "Kem Tekinay" wrote: > Is there an update that I missed? Kem, fc go to beta list. Please subscribe to beta list if you are not there. And today will be fc3 where is fixed your compression bug -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu May 26 19:52:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu May 26 11:52:47 2005 Subject: [V4MD2] Are queries case sensitive In-Reply-To: <065445830D7F35439CE1BBEEB0CFF2CEC8D6D5@md-admin.ags.com> Message-ID: On 5/26/05 4:46 PM, "Wilk, Steven" wrote: Hi Steven, > Are queries case sensitive, and if they are what is the best way to make > them NOT case sensitive? SQL by standard is NOT case-sensitive -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri May 27 12:23:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 27 04:24:26 2005 Subject: [V4RB 0000616]: Database takes a long time to open In-Reply-To: Message-ID: On 4/6/05 5:33 AM, "Mike Bierly" wrote: > Ruslan, > > Here's a stuffit file with the database that is taking a long time to > open. I hope that it's very apparent what the issue is. Hi Mike, At last of end we are ready to test your db. I have try to open it with 2.0.4 fc3 in viSQL It opens is less than second So I think this problem resolved. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rjb at robelko.com Fri May 27 14:18:02 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri May 27 07:26:12 2005 Subject: [vcxmd] documentation Message-ID: The vxcmd reference doc seems to be gone missing on the new web site. Robert From sunshine at public.kherson.ua Fri May 27 16:43:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 27 08:44:03 2005 Subject: [vcxmd] documentation In-Reply-To: Message-ID: On 5/27/05 3:18 PM, "Robert Brenstein" wrote: > The vxcmd reference doc seems to be gone missing on the new web site. Yes, I will fix soon, Robert. Thank you -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From SWILK at ags.com Fri May 27 16:43:31 2005 From: SWILK at ags.com (Wilk, Steven) Date: Fri May 27 15:42:53 2005 Subject: [vStudio] field lengths from import Message-ID: <065445830D7F35439CE1BBEEB0CFF2CEC8DD1D@md-admin.ags.com> I discovered that all my fields that were imported from an Access database are truncated at 20 characters. Is this because I am using the unregistered version or is there some trick to using the import function? From SWILK at ags.com Fri May 27 16:54:14 2005 From: SWILK at ags.com (Wilk, Steven) Date: Fri May 27 15:53:32 2005 Subject: [V4MD2] Are queries case sensitive Message-ID: <065445830D7F35439CE1BBEEB0CFF2CEC8DD23@md-admin.ags.com> The reason I asked this question is because my results from my SQL query would indicate otherwise. I have a WHERE clause that looks at the last name of "smith" I get no records returned, same query using "Smith" returns all of the Smiths. Can you please explain why that would be? Do I need to set the ColAttribute or something else? Thanks Steve From srunkel at hypix.com Fri May 27 14:27:43 2005 From: srunkel at hypix.com (Scott Runkel) Date: Fri May 27 16:27:53 2005 Subject: [V4MD2] Are queries case sensitive References: <065445830D7F35439CE1BBEEB0CFF2CEC8DD23@md-admin.ags.com> Message-ID: <0e6401c56302$eb73dad0$0200a8c0@SCOTT3> > The reason I asked this question is because my results from my SQL query > would indicate otherwise. I have a WHERE clause that looks at the last name > of "smith" I get no records returned, same query using "Smith" returns all > of the Smiths. Can you please explain why that would be? Do I need to set > the ColAttribute or something else? As far as I can tell, queries ARE case-sensitive in V4MD. I have to add a "NO_CASE" to my queries to get around this. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Sat May 28 00:33:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 27 16:33:21 2005 Subject: [V4MD2] Are queries case sensitive In-Reply-To: <065445830D7F35439CE1BBEEB0CFF2CEC8DD23@md-admin.ags.com> Message-ID: On 5/27/05 11:54 PM, "Wilk, Steven" wrote: > The reason I asked this question is because my results from my SQL query > would indicate otherwise. I have a WHERE clause that looks at the last name > of "smith" I get no records returned, same query using "Smith" returns all > of the Smiths. Can you please explain why that would be? Do I need to set > the ColAttribute or something else? Ah, you ask about if is case-sensitive searches? And you use V4MD2. Ok. On default yes. They are case-sensitive Yes you can do on db creation db.ColAttribute( #kStrength, #kPrimary ) To make your db case insensitive See examples -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat May 28 00:34:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri May 27 16:34:29 2005 Subject: [vStudio] field lengths from import In-Reply-To: <065445830D7F35439CE1BBEEB0CFF2CEC8DD1D@md-admin.ags.com> Message-ID: On 5/27/05 11:43 PM, "Wilk, Steven" wrote: Hi Steven, > I discovered that all my fields that were imported from an Access database > are truncated at 20 characters. Is this because I am using the unregistered > version NO > or is there some trick to using the import function? But what is real length of fields into which you try to import ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Sat May 28 13:51:02 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sat May 28 14:51:07 2005 Subject: Daisy-Chaining V4RB Database Opening Message-ID: SITUATION: I have two V4RB database that need to be opened inside of an RB project. BACKGROUND: The two databases do not interact. But both are necessary for the application. One is specific to the application. The other is general to all of my planned RB applications. Is there a way to have the general database open up the specific database? If so, what would the syntax look like? Regards, Chuck From sunshine at public.kherson.ua Sun May 29 13:42:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 29 05:42:45 2005 Subject: Daisy-Chaining V4RB Database Opening In-Reply-To: Message-ID: On 5/28/05 10:51 PM, "Chuck Pelto" wrote: Hi Chuck, > SITUATION: I have two V4RB database that need to be opened inside of > an RB project. > > BACKGROUND: The two databases do not interact. But both are necessary > for the application. One is specific to the application. The other is > general to all of my planned RB applications. > > Is there a way to have the general database open up the specific > database? If so, what would the syntax look like? Strange question. You mean that one db can open different dbs ? And this main db must have some info about one of them? Then store in the main db some name of secondary db -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Sun May 29 07:16:50 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sun May 29 08:17:01 2005 Subject: Daisy-Chaining V4RB Database Opening In-Reply-To: References: Message-ID: <194A0A8F-E0AB-4336-8D13-88D7A3670EF5@pcisys.net> Yeah.... ...not your normal everyday request. And yes, I think the main DB can have info on any other DB, held in some of it's records. I'm sure it could be done manually, but I'd like to develop something that could be used in every RB project I'm working on. Sort of a 'template' DB system/network. Can V4RB use variables to open other database systems? Regards, Chuck On May 29, 2005, at 4:42 AM, Ruslan Zasukhin wrote: > On 5/28/05 10:51 PM, "Chuck Pelto" wrote: > > Hi Chuck, > > >> SITUATION: I have two V4RB database that need to be opened inside of >> an RB project. >> >> BACKGROUND: The two databases do not interact. But both are necessary >> for the application. One is specific to the application. The other is >> general to all of my planned RB applications. >> >> Is there a way to have the general database open up the specific >> database? If so, what would the syntax look like? >> > > Strange question. You mean that one db can open different dbs ? > And this main db must have some info about one of them? > > Then store in the main db some name of secondary db > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From cbpelto at pcisys.net Sun May 29 07:22:14 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sun May 29 08:22:27 2005 Subject: One Pointer Field Fits All Message-ID: Another question. I have a table I refer to as Notes. I would like that table to be used to hold ALL notes in a given RB project. This, no matter, what other table those notes might belong to. Is there a technique to have one field act as the differentiator as to which table the notes will appear in? Something along the lines of a field in Notes to identify the other table a given note belongs to and the pointer field to identify the record in that other table the note is associated with? This was easily accomplished in FileMaker. Just set up the link in the table that the note was supposed to be related too in Notes. How can that be done in V4RB? I'd like to avoid having to put a separate pointer field in Notes for every other table that would require an ability to have Notes associated with it. Regards, Chuck From sunshine at public.kherson.ua Sun May 29 17:43:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 29 09:43:48 2005 Subject: Daisy-Chaining V4RB Database Opening In-Reply-To: <194A0A8F-E0AB-4336-8D13-88D7A3670EF5@pcisys.net> Message-ID: On 5/29/05 4:16 PM, "Chuck Pelto" wrote: > Yeah.... > > ...not your normal everyday request. And yes, I think the main DB can > have info on any other DB, held in some of it's records. I'm sure it > could be done manually, but I'd like to develop something that could > be used in every RB project I'm working on. Sort of a 'template' DB > system/network. Can V4RB use variables to open other database systems? Still do not see what problems you have, To open second db you need just path. Is path to second db is okay for you ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun May 29 17:48:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 29 09:49:05 2005 Subject: One Pointer Field Fits All In-Reply-To: Message-ID: On 5/29/05 4:22 PM, "Chuck Pelto" wrote: > Another question. > > I have a table I refer to as Notes. I would like that table to be > used to hold ALL notes in a given RB project. This, no matter, what > other table those notes might belong to. > > Is there a technique to have one field act as the differentiator as > to which table the notes will appear in? Something along the lines of > a field in Notes to identify the other table a given note belongs to > and the pointer field to identify the record in that other table the > note is associated with? > > This was easily accomplished in FileMaker. Just set up the link in > the table that the note was supposed to be related too in Notes. So this is easy? I.e. If you have 10 tables around, you need make 10 links? > How > can that be done in V4RB? I'd like to avoid having to put a separate > pointer field in Notes for every other table that would require an > ability to have Notes associated with it. Pointer field must be in each of this 10 tables, I.e. You get the same 10 links -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From gunnar at fastpro.com Sun May 29 15:07:27 2005 From: gunnar at fastpro.com (Gunnar Jacobsen) Date: Sun May 29 10:07:31 2005 Subject: Daisy-Chaining V4RB Database Opening References: Message-ID: <002d01c56460$20614210$0301a8c0@internet> Hi Ruslan. Sometimes I think that you are above everyone that you answere. I have send in some question about your product. I bought both Valentina for COM and RB for about 7 month ago. But after I try it and send you some question about how to use your product, I got strange and arrogance answere and I have never use your product again and probably never will. You have to know that you have create this product and you know this product very well but not all your user have the same knowledge that you have. My project was plan do use Valentina database and I spend some hundred of dollars to buy it but never used it, but now it have RB database that was always free with RB. You have to change your attitude. I dont know if this e-mail will be forward to all your customer or not, but I hope you will think about this. If you humiliate your customer in your answer you will not keep them! Best regards, Gunnar Jacobsen. ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Sunday, May 29, 2005 2:43 PM Subject: Re: Daisy-Chaining V4RB Database Opening > On 5/29/05 4:16 PM, "Chuck Pelto" wrote: > >> Yeah.... >> >> ...not your normal everyday request. And yes, I think the main DB can >> have info on any other DB, held in some of it's records. I'm sure it >> could be done manually, but I'd like to develop something that could >> be used in every RB project I'm working on. Sort of a 'template' DB >> system/network. Can V4RB use variables to open other database systems? > > Still do not see what problems you have, > > To open second db you need just path. > > Is path to second db is okay for you ? > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From peter.salomon at gmx.net Sun May 29 19:07:31 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Sun May 29 12:07:41 2005 Subject: [V4MD] link types Message-ID: <8731D8FC-F99F-4842-BAFA-D9F5C49C5D74@gmx.net> hi ruslan, i have not understood well the function of automatically generated link when i create an objectPtr field. Are there differences between a link created by e.g. binary link and this link type? peter From lfredricks at proactive-intl.com Sun May 29 10:10:32 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sun May 29 12:10:43 2005 Subject: Daisy-Chaining V4RB Database Opening In-Reply-To: <002d01c56460$20614210$0301a8c0@internet> Message-ID: <20050529171033.C1ED017D02D@spatula.dreamhost.com> Hello Gunnar, > Sometimes I think that you are above everyone that you > answere. I have send in some question about your product. I > bought both Valentina for COM and RB for about 7 month ago. > But after I try it and send you some question about how to > use your product, I got strange and arrogance answere and I > have never use your product again and probably never will. I think it is possible you misinterpreted Ruslan's English. Just like it is clear your second (or more) language is English, for Ruslan, it is also a second language. He answers questions very, very quickly with more concern about the technical accuracy of his message than how it is written. > You have to know that you have create this product and you > know this product very well but not all your user have the > same knowledge that you have. My project was plan do use > Valentina database and I spend some hundred of dollars to buy > it but never used it, but now it have RB database that was > always free with RB. RBDB is not free but a part of REALbasic Standard Edition. If its enough for your purpose, then you will save money by using it. People select Valentina for the outstanding benefits that it provides. > You have to change your attitude. I dont know if this e-mail > will be forward to all your customer or not, but I hope you > will think about this. > If you humiliate your customer in your answer you will not keep them! I didn't see anything humiliating in his response to Chuck. He's trying to sort out Chuck's problem and asking for more information, but perhaps he isnt exactly answering Chuck's question. I think you'll find that Ruslan is happy to answer your questions, but it is very likely that if something is explained in the V4RB reference he will direct you to that. Valentina users are among the most international, so it's a good idea to careflly consider what someone might be trying to communicate rather than the specific words they use. Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com > Best regards, > Gunnar Jacobsen. > > > ----- Original Message ----- > From: "Ruslan Zasukhin" > To: > Sent: Sunday, May 29, 2005 2:43 PM > Subject: Re: Daisy-Chaining V4RB Database Opening > > > > On 5/29/05 4:16 PM, "Chuck Pelto" wrote: > > > >> Yeah.... > >> > >> ...not your normal everyday request. And yes, I think the > main DB can > >> have info on any other DB, held in some of it's records. > I'm sure it > >> could be done manually, but I'd like to develop something > that could > >> be used in every RB project I'm working on. Sort of a 'template' DB > >> system/network. Can V4RB use variables to open other > database systems? > > > > Still do not see what problems you have, > > > > To open second db you need just path. > > > > Is path to second db is okay for you ? > > > > > > -- > > Best regards, > > > > Ruslan Zasukhin > > VP Engineering and New Technology > > Paradigma Software, Inc > > > > Valentina - Joining Worlds of Information > > http://www.paradigmasoft.com > > > > [I feel the need: the need for speed] > > > > > > _______________________________________________ > > Valentina mailing list > > Valentina@lists.macserve.net > > http://lists.macserve.net/mailman/listinfo/valentina > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sun May 29 20:36:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 29 12:36:14 2005 Subject: [V4MD] link types In-Reply-To: <8731D8FC-F99F-4842-BAFA-D9F5C49C5D74@gmx.net> Message-ID: On 5/29/05 8:07 PM, "Peter Salomon" wrote: Hi Peter, > i have not understood well the function of automatically generated > link when i create an objectPtr field. > Are there differences between a link created by e.g. binary link and > this link type? Yes this is not the same. In Valentina 2.0 exists 3 kinds of links between table: 1) Foreign Key -- come to us from Relational model people used to RDBMS as mySQL, Oracle, MS know this good it works as LINK BY VALUE. 2) ObjectPtr -- come to us from Valentina 1.x this is a field in the MANY table. it works as DIRECT POINTER. 3) BinaryLink -- totally new kind of link. any DBMS do not have it. it works as ... Additional third M : M table. but without that table. BinaryLink can handle M : M links, FK and ObjectPtr only M : 1 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From carpe_diem at mac.com Sun May 29 13:53:15 2005 From: carpe_diem at mac.com (Ricardo Rojas) Date: Sun May 29 12:53:32 2005 Subject: [ANN] V4RB 2.0.4fc2 uploaded Message-ID: <200505291753.j4THrEMJ003686@rs25s3.datacenter.cha.cantv.net> >Please subscribe to beta list if you are not there. > >And today will be fc3 where is fixed your compression bug Hi Ruslan. I'm stumped. Exactly how do you subscribe to the beta list? Thanks, >>>?<< From peter.salomon at gmx.net Sun May 29 20:04:59 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Sun May 29 13:05:10 2005 Subject: [V4MD] link types In-Reply-To: References: Message-ID: <9C2E1219-4555-4835-B5C2-1A1F5272D50C@gmx.net> hi ruslan yes - this is described also in the docs. I have understood theoretical part of linkTypes. What i have not understood is how to use the three different kinds of link. Class VLink offers a lot of tools to work with Links. Can i use every call: getIsBetween object me, integer table1Ref, integer table2Ref -- . table object me, integer index -- . findLinked object me, integer recID, object table1, object table2, * -- symbol recursionDirection = #kFromParentToChild -- . findExclusivelyLinked object me, integer recID, object table1, integer table2, * -- symbol recursionDirection = #kFromParentToChild -- . findAllLinked object me, object table1, object table2, * -- symbol recursionDirection = #kFromParentToChild -- . countLinked object me, integer recID, object table1, object table2, * -- symbol recursionDirection = #kFromParentToChild -- . linkRecords object me, integer recIDA, integer recIDB, * -- [more recID parameters] . unlinkRecords object me, integer recIDA, integer recIDB, * -- . deleteLinkedRecords object me -- . deleteAllLinkedRecords object me -- . on each of the three link types? e.g.: i?m working with ObjectPtr Type, i know this from Valentina 1.x. Val 2.x creates automaticly a link. I wanted to set the values of objectPtr field "manually" by setting the value of TableB?s RecID into ObjectPointer field of TableA using a cursor. In my debugwindow i can see that all valentinaRefernces are built correct, all values are found, but when i call cursor.updaterecord() after setting the ptr Value i get a crash on MacOS. Now i was wondering, if the link prevents me to uptate a record and if i?m forced to use linkRecords() also with a objectPtr field? peter Am 29.05.2005 um 19:36 schrieb Ruslan Zasukhin: > On 5/29/05 8:07 PM, "Peter Salomon" wrote: > > Hi Peter, > > >> i have not understood well the function of automatically generated >> link when i create an objectPtr field. >> > > >> Are there differences between a link created by e.g. binary link and >> this link type? >> > > Yes this is not the same. > > In Valentina 2.0 exists 3 kinds of links between table: > > 1) Foreign Key -- come to us from Relational model > people used to RDBMS as mySQL, Oracle, MS > know this good > > it works as LINK BY VALUE. > > > 2) ObjectPtr -- come to us from Valentina 1.x > this is a field in the MANY table. > > it works as DIRECT POINTER. > > > 3) BinaryLink -- totally new kind of link. > any DBMS do not have it. > > it works as ... Additional third M : M table. > but without that table. > > BinaryLink can handle M : M links, > FK and ObjectPtr only M : 1 > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From peter.salomon at gmx.net Sun May 29 20:24:26 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Sun May 29 13:24:43 2005 Subject: [V4MD] link types In-Reply-To: References: Message-ID: <51DCB029-37B1-4406-8141-34B1070856FB@gmx.net> hi ruslan, i have found that i can set objectptr values manually - on pc... but not on the mac with the same dir file. regards, peter From sunshine at public.kherson.ua Sun May 29 21:35:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 29 13:35:34 2005 Subject: [ANN] V4RB 2.0.4fc2 uploaded In-Reply-To: <200505291753.j4THrEMJ003686@rs25s3.datacenter.cha.cantv.net> Message-ID: On 5/29/05 8:53 PM, "Ricardo Rojas" wrote: >> Please subscribe to beta list if you are not there. >> >> And today will be fc3 where is fixed your compression bug > > Hi Ruslan. I'm stumped. Exactly how do you subscribe to the beta list? Hi Ricardo, Subscription link is on our support page. You need choose BETA list link -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun May 29 21:36:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 29 13:36:26 2005 Subject: [V4MD] link types In-Reply-To: <51DCB029-37B1-4406-8141-34B1070856FB@gmx.net> Message-ID: On 5/29/05 9:24 PM, "Peter Salomon" wrote: > hi ruslan, > > i have found that i can set objectptr values manually - on pc... > but not on the mac with the same dir file. Well, let's you will try 2.0..4 fc4 ok? If still problem then let me know -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun May 29 21:41:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 29 13:41:13 2005 Subject: [V4MD] link types In-Reply-To: <9C2E1219-4555-4835-B5C2-1A1F5272D50C@gmx.net> Message-ID: On 5/29/05 9:04 PM, "Peter Salomon" wrote: Hi Peter, > yes - this is described also in the docs. I have understood > theoretical part of linkTypes. What i have not understood is how to > use the three different kinds of link. > Class VLink offers a lot of tools to work with Links. yes > Can i use every call: > > getIsBetween object me, integer table1Ref, integer table2Ref -- . > table object me, integer index -- . > findLinked object me, integer recID, object table1, object table2, * > -- symbol recursionDirection = #kFromParentToChild -- . > findExclusivelyLinked object me, integer recID, object table1, > integer table2, * -- symbol recursionDirection = #kFromParentToChild > -- . > findAllLinked object me, object table1, object table2, * -- symbol > recursionDirection = #kFromParentToChild -- . > countLinked object me, integer recID, object table1, object table2, * > -- symbol recursionDirection = #kFromParentToChild -- . > linkRecords object me, integer recIDA, integer recIDB, * -- [more > recID parameters] . > unlinkRecords object me, integer recIDA, integer recIDB, * -- . > deleteLinkedRecords object me -- . > deleteAllLinkedRecords object me -- . > > on each of the three link types? YES of course. This is one of advantage of Vlink class. > e.g.: > i?m working with ObjectPtr Type, i know this from Valentina 1.x. Val > 2.x creates automaticly a link. right > I wanted to set the values of objectPtr field "manually" by setting > the value of TableB?s RecID into ObjectPointer field of TableA using > a cursor. Yes this is the old way that we have use in the 1.x. In fact this is the most comfortable and natural way to work with ObjectPtr - link: you work with it as with FIELD and you assign values to it. > In my debugwindow i can see that all valentinaRefernces are built > correct, all values are found, but when i call cursor.updaterecord() > after setting the ptr Value i get a crash on MacOS. In next letter you have report that this is MAC OS bugs. Although I wonder, we have 3 examples in the API folder for each link. Does they work > Now i was wondering, if the link prevents me to uptate a record and > if i?m forced to use linkRecords() also with a objectPtr field? No, you are NOT forced -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From peter.salomon at gmx.net Sun May 29 21:05:32 2005 From: peter.salomon at gmx.net (Peter Salomon) Date: Sun May 29 14:05:44 2005 Subject: [V4MD] link types In-Reply-To: References: Message-ID: <07D4CC23-0531-451E-88FE-232F51153904@gmx.net> Hi Ruslan, Aha. Ok. Thanks for answers. Yes, all three example work also on OS X. But this is API way. And moreover, in the examples only addrecord() is used. I used common way with cursor and updateRecord() which is causing my problems. If problem exists also in 2.0.fc4 i prepare an example for reproducing, ok? Will you upload a V4MD built today? regards, Peter Am 29.05.2005 um 20:41 schrieb Ruslan Zasukhin: > In next letter you have report that this is MAC OS bugs. > Although I wonder, we have 3 examples in the API folder for each link. > > Does they work From sunshine at public.kherson.ua Sun May 29 22:29:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 29 14:29:56 2005 Subject: [V4MD] link types In-Reply-To: <07D4CC23-0531-451E-88FE-232F51153904@gmx.net> Message-ID: On 5/29/05 10:05 PM, "Peter Salomon" wrote: > Hi Ruslan, > > Aha. Ok. Thanks for answers. > > Yes, all three example work also on OS X. > But this is API way. And moreover, in the examples only addrecord() > is used. > > I used common way with cursor and updateRecord() which is causing my > problems. > > If problem exists also in 2.0.fc4 i prepare an example for > reproducing, ok? > Will you upload a V4MD built today? Still not sure Peter. Working on one fix -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From srunkel at hypix.com Sun May 29 12:54:44 2005 From: srunkel at hypix.com (Scott Runkel) Date: Sun May 29 14:54:52 2005 Subject: [V4MD] search like "*" References: Message-ID: <109f01c56488$42999b20$0200a8c0@SCOTT3> Hi, How does Valentina SQL (V4MD) treat the "*" character? I'm using this SQL: SELECT *, recid FROM pir WHERE (alltext like 'hyperlipid*' NO_CASE) And it's finding lots of results even though I don't think any of them literally have "hyperlipid*" in them. I think it's finding things like "hyperlipidemia". It's not a problem, but I'd just like to know what's happening. What I really want is a way to replace the user's "*" in such a way that I can search for beginnings and endings of words. Like gastro* to search gastrointestinal, gastroenterologist, gastro-anything or *emia to search anemia, hyperlipidemia, or anything-emia. I've tried \A at the beginning of my searches and it doesn't seem to help. What am I missing? "SELECT *, recid FROM pir WHERE (alltext like '\Ahyperlip' NO_CASE)" returns no results at all. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From gunnar at fastpro.com Sun May 29 20:11:01 2005 From: gunnar at fastpro.com (Gunnar Jacobsen) Date: Sun May 29 15:10:56 2005 Subject: Daisy-Chaining V4RB Database Opening References: <20050529171033.C1ED017D02D@spatula.dreamhost.com> Message-ID: <006901c5648a$8907c760$0301a8c0@internet> Hello Lynn. I'am not saving any money on RB database because I have already bought the Valentina, but not be able to use it. That's why am not happy with this matter. If you buy some product for some hundred of dollar's you would like to use it and if you can't you would like to have some help from the seller. I also bought the V-Studio but that did not solve my problem because the Valentina did not find anything in search when I used Icelandic character's in a ecrypted database. Ruslan told me to upgrade to version 2.0 but that did not help. So I have unuseable product that I bought for 400$ and I don't bother Mr Ruslan with stupid question. Best regards, Gunnar Jacobsen. ----- Original Message ----- From: "Lynn Fredricks" To: "'Valentina Developers'" Sent: Sunday, May 29, 2005 5:10 PM Subject: RE: Daisy-Chaining V4RB Database Opening > Hello Gunnar, > >> Sometimes I think that you are above everyone that you >> answere. I have send in some question about your product. I >> bought both Valentina for COM and RB for about 7 month ago. >> But after I try it and send you some question about how to >> use your product, I got strange and arrogance answere and I >> have never use your product again and probably never will. > > I think it is possible you misinterpreted Ruslan's English. Just like it > is > clear your second (or more) language is English, for Ruslan, it is also a > second language. He answers questions very, very quickly with more concern > about the technical accuracy of his message than how it is written. > >> You have to know that you have create this product and you >> know this product very well but not all your user have the >> same knowledge that you have. My project was plan do use >> Valentina database and I spend some hundred of dollars to buy >> it but never used it, but now it have RB database that was >> always free with RB. > > RBDB is not free but a part of REALbasic Standard Edition. If its enough > for > your purpose, then you will save money by using it. People select > Valentina > for the outstanding benefits that it provides. > > >> You have to change your attitude. I dont know if this e-mail >> will be forward to all your customer or not, but I hope you >> will think about this. >> If you humiliate your customer in your answer you will not keep them! > > I didn't see anything humiliating in his response to Chuck. He's trying to > sort out Chuck's problem and asking for more information, but perhaps he > isnt exactly answering Chuck's question. > > I think you'll find that Ruslan is happy to answer your questions, but it > is > very likely that if something is explained in the V4RB reference he will > direct you to that. > > Valentina users are among the most international, so it's a good idea to > careflly consider what someone might be trying to communicate rather than > the specific words they use. > > Best regards, > > Lynn Fredricks > President > Paradigma Software, Inc > > Joining Worlds of Information > > Deploy True Client-Server Database Solutions > Royalty Free with Valentina Developer Network > http://www.paradigmasoft.com > > > > > >> Best regards, >> Gunnar Jacobsen. >> >> >> ----- Original Message ----- >> From: "Ruslan Zasukhin" >> To: >> Sent: Sunday, May 29, 2005 2:43 PM >> Subject: Re: Daisy-Chaining V4RB Database Opening >> >> >> > On 5/29/05 4:16 PM, "Chuck Pelto" wrote: >> > >> >> Yeah.... >> >> >> >> ...not your normal everyday request. And yes, I think the >> main DB can >> >> have info on any other DB, held in some of it's records. >> I'm sure it >> >> could be done manually, but I'd like to develop something >> that could >> >> be used in every RB project I'm working on. Sort of a 'template' DB >> >> system/network. Can V4RB use variables to open other >> database systems? >> > >> > Still do not see what problems you have, >> > >> > To open second db you need just path. >> > >> > Is path to second db is okay for you ? >> > >> > >> > -- >> > Best regards, >> > >> > Ruslan Zasukhin >> > VP Engineering and New Technology >> > Paradigma Software, Inc >> > >> > Valentina - Joining Worlds of Information >> > http://www.paradigmasoft.com >> > >> > [I feel the need: the need for speed] >> > >> > >> > _______________________________________________ >> > Valentina mailing list >> > Valentina@lists.macserve.net >> > http://lists.macserve.net/mailman/listinfo/valentina >> > >> >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina >> > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sun May 29 23:17:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 29 15:17:54 2005 Subject: [V4MD] search like "*" In-Reply-To: <109f01c56488$42999b20$0200a8c0@SCOTT3> Message-ID: On 5/29/05 10:54 PM, "Scott Runkel" wrote: Hi Scott, > How does Valentina SQL (V4MD) treat the "*" character? > > I'm using this SQL: > > SELECT *, recid FROM pir WHERE (alltext like 'hyperlipid*' NO_CASE) I assume you use V4MD1. And you try do REGEX search ? alltext like 'hyperlipid*' ^^^^^^^^^^^^ You want get strings that CONTAINS hyperlipid ? Then just remove STAR. > And it's finding lots of results even though I don't think any of them > literally > have "hyperlipid*" in them. I think it's finding things like "hyperlipidemia". > It's not a problem, but I'd just like to know what's happening. > > What I really want is a way to replace the user's "*" in such a way that I can > search for beginnings and endings of words. Like > > gastro* > to search gastrointestinal, gastroenterologist, gastro-anything > > or *emia > to search anemia, hyperlipidemia, or anything-emia. > > I've tried \A at the beginning of my searches and it doesn't seem to help. > What am I missing? If I am not mistake the \A is start of line. You need start of word \B (it seems) Check RegEx docs > "SELECT *, recid FROM pir WHERE (alltext like '\Ahyperlip' NO_CASE)" > > returns no results at all. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun May 29 23:25:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 29 15:25:23 2005 Subject: Daisy-Chaining V4RB Database Opening In-Reply-To: <006901c5648a$8907c760$0301a8c0@internet> Message-ID: On 5/29/05 11:11 PM, "Gunnar Jacobsen" wrote: > Hello Lynn. > > > I'am not saving any money on RB database because I have already bought the > Valentina, but not be able to use it. That's why am not happy with this > matter. If you buy some product for some hundred of dollar's you would like > to use it and if you can't you would like to have some help from the seller. > I also bought the V-Studio but that did not solve my problem because the > Valentina did not find anything in search when I used Icelandic character's > in a ecrypted database. Ruslan told me to upgrade to version 2.0 but that > did not help. > > So I have unuseable product that I bought for 400$ and I don't bother Mr > Ruslan with stupid question. Hi Gunnar, But you *should* bother me and our team with stupid questions, as you say. :-) Are you registered to our bug tracking system - Mantis? If no then please register there. After this take a look how many issues was reported (about 800) and note that almost all reported issues was resolved. So if you have meet bug on your opinion, then please report it into Mantis As many info as you can *and* send to me project which reproduce bug *and* exact steps how to reproduce problem. As project you can try to use one of our examples. Okay ? Just if you keep silent, then how we can help you ??? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From gunnar at fastpro.com Sun May 29 20:49:21 2005 From: gunnar at fastpro.com (Gunnar Jacobsen) Date: Sun May 29 15:49:15 2005 Subject: Daisy-Chaining V4RB Database Opening References: Message-ID: <011201c5648f$e42e07d0$0301a8c0@internet> Hi Ruslan. I thought I was writing to Lynn?. But how do you expect to bring another question after this: One of the first question I send to you was this: > My project use a lexicon file with over > 1.000.000 records. So what I need to do is just open the file and search > in > the database. Can you put some lines how to open this file "FPDict.vdb" > and > then make a search in one table like "english" This English table has 3 > field > "English","Icelandic" and "Abbr" and I am looking after word in Iclandic > field. Hmm, all this present in Exmaple1. What do this "Hmmm" mean?. Nest question was this: > Yes I did that when I create the file with V-Studio! What I did was that I > create and import record from Microsoft Access with V-Studio. Do I need > to > create the file with my own program? Frankly saying it is hard to comment this. You can try with simple project and simple data to see if this helps. If you think this is *silent* than I don't know what silent is. Best regards, Gunnar Jacobsen. ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Sunday, May 29, 2005 8:25 PM Subject: Re: Daisy-Chaining V4RB Database Opening > On 5/29/05 11:11 PM, "Gunnar Jacobsen" wrote: > >> Hello Lynn. >> >> >> I'am not saving any money on RB database because I have already bought >> the >> Valentina, but not be able to use it. That's why am not happy with this >> matter. If you buy some product for some hundred of dollar's you would >> like >> to use it and if you can't you would like to have some help from the >> seller. > >> I also bought the V-Studio but that did not solve my problem because the >> Valentina did not find anything in search when I used Icelandic >> character's >> in a ecrypted database. Ruslan told me to upgrade to version 2.0 but that >> did not help. >> >> So I have unuseable product that I bought for 400$ and I don't bother Mr >> Ruslan with stupid question. > > Hi Gunnar, > > But you *should* bother me and our team with stupid questions, > as you say. :-) > > Are you registered to our bug tracking system - Mantis? > If no then please register there. > > After this take a look how many issues was reported (about 800) and note > that almost all reported issues was resolved. > > So if you have meet bug on your opinion, then please report it into Mantis > As many info as you can *and* send to me project which reproduce bug *and* > exact steps how to reproduce problem. As project you can try to use one of > our examples. > > Okay ? > > Just if you keep silent, then how we can help you ??? > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From srunkel at hypix.com Sun May 29 14:01:41 2005 From: srunkel at hypix.com (Scott Runkel) Date: Sun May 29 16:01:53 2005 Subject: [V4MD] search like "*" References: Message-ID: <113101c56491$9d00ad70$0200a8c0@SCOTT3> If anyone is interested... It turns out what I needed was "\<" for start of word and "\>" for end of word. In other words, if the user types: gastro* I would search for '\' and get anemia, uremia, hyperlipidemia, etc. and if the user types *lipid* then I can just search 'lipid' and match any word that contains it anywhere (normal Valentina behavior). -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From sunshine at public.kherson.ua Mon May 30 00:04:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 29 16:05:02 2005 Subject: Daisy-Chaining V4RB Database Opening In-Reply-To: <011201c5648f$e42e07d0$0301a8c0@internet> Message-ID: On 5/29/05 11:49 PM, "Gunnar Jacobsen" wrote: > > One of the first question I send to you was this: > >> My project use a lexicon file with over 1.000.000 records. So what I need to >> do is just open the file and search in the database. Can you put some lines >> how to open this file "FPDict.vdb" and then make a search in one table like >> "english" This English table has 3 field "English","Icelandic" and "Abbr" and >> I am looking after word in Iclandic field. > > Hmm, all this present in Exmaple1. > > What do this "Hmmm" mean?. You are offended by Hmm ??? It means that answer to you question can be fond in the example1 of V4RB1 if I remember correctly. Your ask to write FEW LINES of codes to open db and make searches... Excuse me. We have examples how to open database and do searches. Why I should write again that lines? > Nest question was this: > >> Yes I did that when I create the file with V-Studio! What I did was that I >> create and import record from Microsoft Access with V-Studio. Do I need >> to create the file with my own program? > > Frankly saying it is hard to comment this. > You can try with simple project and simple data to see if this helps. > If you think this is *silent* than I don't know what silent is. Yes it is silent, which you keep AFTER this. If you still did have problems, then you should continue * press us * explain us your problem * send bug reports * send projects to reproduce. You have go away. So I assume you have resolve problem. I did not hear any more bug reports from you or any more complains. Btw, And even now, I re-read your questions.... And they are NOT detailed descriptions of problems. Sorry, I am not a God, and sometimes I do not understand a problem from 2-3 lines of description. Again. If you want play games in offences ... This have no sense IMHO. If you want collaboration and resolve problem you should follow path which I have describe in prev letter: Mantis, bug report, project that reproduce, detailed description and detailed steps. I think since you are long time on this list you could note we try to help everybody. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 30 00:10:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 29 16:10:10 2005 Subject: Daisy-Chaining V4RB Database Opening In-Reply-To: <011201c5648f$e42e07d0$0301a8c0@internet> Message-ID: On 5/29/05 11:49 PM, "Gunnar Jacobsen" wrote: >> Yes I did that when I create the file with V-Studio! What I did was that I >> create and import record from Microsoft Access with V-Studio. Btw, I remember that about 10-15 days ago Somebody from Italy have found problem with import via ODBC in Vstudio. He have send file to Jochen to reproduce, and Jochen have resolve that problem. May be this fix also will work for you. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From carpe_diem at mac.com Sun May 29 17:16:38 2005 From: carpe_diem at mac.com (Ricardo Rojas) Date: Sun May 29 16:16:44 2005 Subject: [ANN] V4RB 2.0.4fc2 uploaded Message-ID: <200505292116.j4TLGb5x009615@rs25s3.datacenter.cha.cantv.net> >Hi Ricardo, > >Subscription link is on our support page. > >You need choose BETA list link Perhaps is my IE browser (using system 9.1) In http://www.paradigmasoft.com/en/support I can click on the following: - Frequently Asked Questions - Free Discussion List - Problem Report - Review Documentation - Solution Providers - Getting Help - Activate Your Product - here but no beta. My g4 is in he shop so I can no test your page with Safari/10.3.9 Comments? >>>?<< From sunshine at public.kherson.ua Mon May 30 00:24:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun May 29 16:25:02 2005 Subject: [ANN] V4RB 2.0.4fc2 uploaded In-Reply-To: <200505292116.j4TLGb5x009615@rs25s3.datacenter.cha.cantv.net> Message-ID: On 5/30/05 12:16 AM, "Ricardo Rojas" wrote: No, it seems there is no link. Strange, we regullary get new users to beta list. Ricardo, you can find all Valentina lists here http://lists.macserve.net/mailman/listinfo And we need to fix support page > Perhaps is my IE browser (using system 9.1) > > In http://www.paradigmasoft.com/en/support I can click on the following: > > - Frequently Asked Questions > - Free Discussion List > - Problem Report > - Review Documentation > - Solution Providers > - Getting Help > - Activate Your Product > - here > > but no beta. My g4 is in he shop so I can no test your page with > Safari/10.3.9 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From carpe_diem at mac.com Sun May 29 17:44:29 2005 From: carpe_diem at mac.com (Ricardo Rojas) Date: Sun May 29 16:44:33 2005 Subject: [ANN] V4RB 2.0.4fc2 uploaded Message-ID: <200505292144.j4TLiSQi002072@rs25s3.datacenter.cha.cantv.net> >No, it seems there is no link. >Strange, we regullary get new users to beta list. > >Ricardo, you can find all Valentina lists here > > http://lists.macserve.net/mailman/listinfo > > >And we need to fix support page Once more, Ruslan to the rescue! Thanks, >>>?<< From cbpelto at pcisys.net Sun May 29 17:13:59 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sun May 29 18:14:08 2005 Subject: Daisy-Chaining V4RB Database Opening In-Reply-To: References: Message-ID: <75B2EF6F-5136-4D56-B779-555BFA46452F@pcisys.net> It's not a problem.... ...it's a request. Regards, Chuck On May 29, 2005, at 8:43 AM, Ruslan Zasukhin wrote: > On 5/29/05 4:16 PM, "Chuck Pelto" wrote: > > >> Yeah.... >> >> ...not your normal everyday request. And yes, I think the main DB can >> have info on any other DB, held in some of it's records. I'm sure it >> could be done manually, but I'd like to develop something that could >> be used in every RB project I'm working on. Sort of a 'template' DB >> system/network. Can V4RB use variables to open other database >> systems? >> > > Still do not see what problems you have, > > To open second db you need just path. > > Is path to second db is okay for you ? > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From cbpelto at pcisys.net Sun May 29 17:16:39 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Sun May 29 18:16:49 2005 Subject: One Pointer Field Fits All In-Reply-To: References: Message-ID: Yeah... ...that's sort of what I was afraid of; a separate pointer field for each of the tables that would like access to the Notes table. This, in spite of the idea of two fields, one to identify the table and one to identify the record inside of the table. Think you might be able to do that in a future edition? Regards, Chuck On May 29, 2005, at 8:48 AM, Ruslan Zasukhin wrote: > On 5/29/05 4:22 PM, "Chuck Pelto" wrote: > > >> Another question. >> >> I have a table I refer to as Notes. I would like that table to be >> used to hold ALL notes in a given RB project. This, no matter, what >> other table those notes might belong to. >> >> Is there a technique to have one field act as the differentiator as >> to which table the notes will appear in? Something along the lines of >> a field in Notes to identify the other table a given note belongs to >> and the pointer field to identify the record in that other table the >> note is associated with? >> >> This was easily accomplished in FileMaker. Just set up the link in >> the table that the note was supposed to be related too in Notes. >> > > So this is easy? > I.e. If you have 10 tables around, you need make 10 links? > > >> How >> can that be done in V4RB? I'd like to avoid having to put a separate >> pointer field in Notes for every other table that would require an >> ability to have Notes associated with it. >> > > Pointer field must be in each of this 10 tables, > I.e. You get the same 10 links > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From lfredricks at proactive-intl.com Sun May 29 19:56:33 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sun May 29 21:56:45 2005 Subject: Daisy-Chaining V4RB Database Opening In-Reply-To: <006901c5648a$8907c760$0301a8c0@internet> Message-ID: <20050530025636.A9E3A17D015@spatula.dreamhost.com> Hello Gunnar, > I'am not saving any money on RB database because I have > already bought the Valentina, but not be able to use it. > That's why am not happy with this matter. If you buy some > product for some hundred of dollar's you would like to use it > and if you can't you would like to have some help from the seller. > I also bought the V-Studio but that did not solve my problem > because the Valentina did not find anything in search when I > used Icelandic character's in a ecrypted database. Ruslan > told me to upgrade to version 2.0 but that did not help. Im certain Ruslan will help you resolve this. There are a lot of customers using "extended ASCII" type characters in their databases that are doing so successfully so Im certain there is a simple answer to this. Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com From snw at paradise.net.nz Mon May 30 16:28:17 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Sun May 29 23:28:23 2005 Subject: SQL JOIN help Message-ID: <6.2.1.2.2.20050530155359.0329ccd0@pop3.paradise.net.nz> Does anyone have a recommendation of a listserve or newsgroup dealing with general SQL questions? I've googled and haven't come up with anything that looks promising. The following is what I'm needing help with at the moment (and it isn't Valentina specific, though I'm using VStudio connected to an ODBC source): I have 4 tables - customers, locations, tasks and taskTypes - that I need to query. I have a taskTypeName that I need to filter the results on. The following works, but doesn't filter on the taskTypes.taskTypeName SELECT tblCustomers.custLName, tblCustomers.custFName, tblLocations.locRoad, tblTasks.taskArea, tblTasks.taskOrderDate, tblTasks.taskReadyDate FROM tblCustomers, tblLocations, tblTasks WHERE tblTasks.taskLocID = tblLocations.locID AND tblLocations.locCustId = tblCustomers.custID AND IsNull(tblTasks.taskCompleteDate) How do I join/sub-select the tasks table on the taskType table so that if I have a specific taskTypeName (for example "ploughing") I can select records of that type AND maintain the joins I already have. The tasks table has a taskTTypID foreign key field that points to the taskType table. I suspect my existing query could be re-worded as a JOIN, but I'm not sure what that might look like and even why/whether a JOIN might be more efficient than the existing WHERE based on foreign keys Thanks for any advice or pointers, -Sean. From sunshine at public.kherson.ua Mon May 30 08:26:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 30 00:26:52 2005 Subject: One Pointer Field Fits All In-Reply-To: Message-ID: On 5/30/05 2:16 AM, "Chuck Pelto" wrote: Hi Chuck, > Yeah... > > ...that's sort of what I was afraid of; a separate pointer field for > each of the tables that would like access to the Notes table. This, > in spite of the idea of two fields, one to identify the table and one > to identify the record inside of the table. > > Think you might be able to do that in a future edition? But this is correct solution IMHO from all points of view. It seems to me you think about contrast way: - putting into table Notes pair of field {TableId, RecID} Right ? Well, Valentina 2.0 introduce new field "OID" for each table. Values of this field is exactly what you want. It is {TableId, RecID}. So you can use OID values to store them into Notes.ULLong field. Having this you will need self extract from Notes.ULLong field value the part of pointed TableID and its RecID. Also you will meet problem that REALbasic do not support ULLONG. Also you can at last of end to make own 2 fields and keep there TableID + RecID > Regards, > > Chuck > > > On May 29, 2005, at 8:48 AM, Ruslan Zasukhin wrote: > >> On 5/29/05 4:22 PM, "Chuck Pelto" wrote: >> >> >>> Another question. >>> >>> I have a table I refer to as Notes. I would like that table to be >>> used to hold ALL notes in a given RB project. This, no matter, what >>> other table those notes might belong to. >>> >>> Is there a technique to have one field act as the differentiator as >>> to which table the notes will appear in? Something along the lines of >>> a field in Notes to identify the other table a given note belongs to >>> and the pointer field to identify the record in that other table the >>> note is associated with? >>> >>> This was easily accomplished in FileMaker. Just set up the link in >>> the table that the note was supposed to be related too in Notes. >>> >> >> So this is easy? >> I.e. If you have 10 tables around, you need make 10 links? >> >> >>> How >>> can that be done in V4RB? I'd like to avoid having to put a separate >>> pointer field in Notes for every other table that would require an >>> ability to have Notes associated with it. >>> >> >> Pointer field must be in each of this 10 tables, >> I.e. You get the same 10 links -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon May 30 08:29:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 30 00:29:12 2005 Subject: Daisy-Chaining V4RB Database Opening In-Reply-To: <75B2EF6F-5136-4D56-B779-555BFA46452F@pcisys.net> Message-ID: On 5/30/05 2:13 AM, "Chuck Pelto" wrote: Hi Chuck, > It's not a problem.... > ...it's a request. Then I just do not understand it. Can you try formulate your idea/dream in the few lines of RB code ? Something as: I want this .................... And I want that . ........................ But note, into engine should be added ONLY features which can be common for a lots of projects. No sense add something which will be used only in your project and you self can program that >>> ...not your normal everyday request. And yes, I think the main DB can >>> have info on any other DB, held in some of it's records. I'm sure it >>> could be done manually, but I'd like to develop something that could >>> be used in every RB project I'm working on. Sort of a 'template' DB >>> system/network. Can V4RB use variables to open other database >>> systems? >>> >> >> Still do not see what problems you have, >> >> To open second db you need just path. >> >> Is path to second db is okay for you ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From peter.salomon at gmx.net Mon May 30 10:30:19 2005 From: peter.salomon at gmx.net (peter salomon) Date: Mon May 30 03:32:00 2005 Subject: [V4MD] .vdb files cross platform Message-ID: <429ACF1B.6040805@gmx.net> Hi Ruslan and all, because of bugs in Mac version ( almost resolved :-) ) i worked on my project on windows. A new strange effect is that i cannot open my database which i created on windows on the mac. It seems that not every vdb file is affected. But as i remember cross platform feature was fixed in 2.0.2 or 2.0.3 Right now it seems that i can open vdb?s created on MacOS in windows but not the other way round. Before i figure out under which circumstances i can or cannot open vdb files i wanted to ask here in the list if somebody has recognized the same effect. My .vdb is not corrupted, has 8 tables, 3 links and some methodfields. I have the impression that links or methodfields ( ruslan - dont worry: i rotated my table - only 5 fields now with very simple and short methodstring ) cause cross opening problems... best regards, Peter From sunshine at public.kherson.ua Mon May 30 16:11:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 30 08:12:08 2005 Subject: [V4MD] .vdb files cross platform In-Reply-To: <429ACF1B.6040805@gmx.net> Message-ID: On 5/30/05 11:30 AM, "peter salomon" wrote: > Hi Ruslan and all, > > because of bugs in Mac version ( almost resolved :-) ) i worked on my > project on windows. > > A new strange effect is that i cannot open my database which i created > on windows on the mac. It seems that not every vdb file is affected. But > as i remember cross platform feature was fixed in 2.0.2 or 2.0.3 > > Right now it seems that i can open vdb?s created on MacOS in windows but > not the other way round. > > Before i figure out under which circumstances i can or cannot open vdb > files i wanted to ask here in the list if somebody has recognized the > same effect. I think this is not known issue > My .vdb is not corrupted, has 8 tables, 3 links and some methodfields. I > have the impression that links or methodfields ( ruslan - dont worry: i > rotated my table - only 5 fields now with very simple and short > methodstring ) cause cross opening problems... If db is not big you can send it to me -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From IvanSmahin at public.kherson.ua Mon May 30 16:27:28 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon May 30 08:27:34 2005 Subject: SQL JOIN help In-Reply-To: <6.2.1.2.2.20050530155359.0329ccd0@pop3.paradise.net.nz> References: <6.2.1.2.2.20050530155359.0329ccd0@pop3.paradise.net.nz> Message-ID: <891382481.20050530162728@public.kherson.ua> Hello Sean, Monday, May 30, 2005, 7:28:17 AM, you wrote: SW> I have 4 tables - customers, locations, tasks and taskTypes - that I need SW> to query. I have a taskTypeName that I need to filter the results on. The SW> following works, but doesn't filter on the taskTypes.taskTypeName SW> SELECT SW> tblCustomers.custLName, tblCustomers.custFName, tblLocations.locRoad, SW> tblTasks.taskArea, tblTasks.taskOrderDate, tblTasks.taskReadyDate SW> FROM SW> tblCustomers, tblLocations, tblTasks SW> WHERE SW> tblTasks.taskLocID = tblLocations.locID AND tblLocations.locCustId = SW> tblCustomers.custID AND IsNull(tblTasks.taskCompleteDate) SW> How do I join/sub-select the tasks table on the taskType table so that if I SW> have a specific taskTypeName (for example "ploughing") I can select records SW> of that type AND maintain the joins I already have. The tasks table has a SW> taskTTypID foreign key field that points to the taskType table. I suspect SW> my existing query could be re-worded as a JOIN, but I'm not sure what that SW> might look like and even why/whether a JOIN might be more efficient than SW> the existing WHERE based on foreign keys As far as I get it You could try something like this: SELECT * FROM tblCustomers, tblLocations, tblTasks, taskTypes WHERE tblTasks.taskTypeName = taskTypes.taskTypeName AND tblTasks.taskLocID = tblLocations.locID AND tblLocations.locCustId = tblCustomers.custID AND IsNull(tblTasks.taskCompleteDate) AND tblTasks.taskTypeName = 'ploughing' or another approach (based on subquery): SELECT * FROM tblCustomers, tblLocations, tblTasks, WHERE tblTasks.taskLocID = tblLocations.locID AND tblLocations.locCustId = tblCustomers.custID AND IsNull(tblTasks.taskCompleteDate) AND tblTasks.taskTypeName IN ( select taskTypeName from taskTypes where ......) -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From billmounce at comcast.net Mon May 30 07:51:41 2005 From: billmounce at comcast.net (Bill Mounce) Date: Mon May 30 09:51:46 2005 Subject: V4RB -- 2 cursors on same data Message-ID: It is my understanding that if I have created one cursor that is read/write drawing from all the data in the database, and then try to create a second cursor that is read only on some of those records, that Valentina does not allow this because of record locking. Is this true? I would think that if the second is read only it shouldn't matter. Currently what is happening is that the SQL call used to create the second cursor always fails unless I nil the first cursor. Bill From cbpelto at pcisys.net Mon May 30 09:08:41 2005 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon May 30 10:08:56 2005 Subject: Daisy-Chaining V4RB Database Opening In-Reply-To: References: Message-ID: <76D6C670-C9E7-4DFC-895C-838C9098C3FF@pcisys.net> Hi Ruslan, It's not really a big deal. I was just trying to streamline my project development technique by looking at it from a different perspective. Keep up the good work... Chuck On May 29, 2005, at 11:29 PM, Ruslan Zasukhin wrote: > On 5/30/05 2:13 AM, "Chuck Pelto" wrote: > > Hi Chuck, > > >> It's not a problem.... >> ...it's a request. >> > > Then I just do not understand it. > > Can you try formulate your idea/dream in the few lines of RB code ? > > Something as: > > I want this > > .................... > > And I want that . > > ........................ > > But note, into engine should be added ONLY features which can be > common for > a lots of projects. No sense add something which will be used only > in your > project and you self can program that > > > >>>> ...not your normal everyday request. And yes, I think the main >>>> DB can >>>> have info on any other DB, held in some of it's records. I'm >>>> sure it >>>> could be done manually, but I'd like to develop something that >>>> could >>>> be used in every RB project I'm working on. Sort of a 'template' DB >>>> system/network. Can V4RB use variables to open other database >>>> systems? >>>> >>>> >>> >>> Still do not see what problems you have, >>> >>> To open second db you need just path. >>> >>> Is path to second db is okay for you ? >>> > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From sunshine at public.kherson.ua Mon May 30 19:34:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 30 11:34:55 2005 Subject: V4RB -- 2 cursors on same data In-Reply-To: Message-ID: On 5/30/05 5:51 PM, "Bill Mounce" wrote: Hi Bill, > It is my understanding that if I have created one cursor that is > read/write drawing from all the data in the database, and then try to > create a second cursor that is read only on some of those records, that > Valentina does not allow this because of record locking. Is this true? yes > I would think that if the second is read only it shouldn't matter. It matters, because first cursor can WRITE, So you can get problems. e.g. You read some record with cursor2 go to next, return back, but OPS, its is changed > Currently what is happening is that the SQL call used to create the > second cursor always fails unless I nil the first cursor. You can use for first cursor NO LOCKS -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Mon May 30 13:42:26 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon May 30 12:42:33 2005 Subject: Daisy-Chaining V4RB Database Opening In-Reply-To: <011201c5648f$e42e07d0$0301a8c0@internet> References: <011201c5648f$e42e07d0$0301a8c0@internet> Message-ID: <0ea0c32655013e79dcf6ce1a6cc2041f@desuetude.com> On May 29, 2005, at 4:49 PM, Gunnar Jacobsen wrote: > Hi Ruslan. > > I thought I was writing to Lynn?. But how do you expect to bring > another question after this: > > One of the first question I send to you was this: > >> My project use a lexicon file with over >> 1.000.000 records. So what I need to do is just open the file and >> search in >> the database. Can you put some lines how to open this file >> "FPDict.vdb" and >> then make a search in one table like "english" This English table has >> 3 field >> "English","Icelandic" and "Abbr" and I am looking after word in >> Iclandic >> field. > > Hmm, all this present in Exmaple1. > > What do this "Hmmm" mean?. It means that your question can be answered by studying example 1 and modifying it to solve your problem. -------------- Charles Yeomans From Claudius at sailer-online.de Mon May 30 19:57:04 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon May 30 12:57:14 2005 Subject: V4RB -- 2 cursors on same data In-Reply-To: References: Message-ID: Hi, Am 30. Mai 2005 um 18:34 Uhr schrieb Ruslan Zasukhin: >> Currently what is happening is that the SQL call used to create the >> second cursor always fails unless I nil the first cursor. >> > > You can use for first cursor NO LOCKS > I use DB.SQLSelect(SQLString, EVCursorLocation.kServerSide, EVLockType.kNoLocks, EVCursorDirection.kRandom) is it better to modify this? Using other parameters? I never make updates in Cursor. Is it faster to use kReadOnly? bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 5.5.5/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Mon May 30 21:07:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 30 13:08:00 2005 Subject: V4RB -- 2 cursors on same data In-Reply-To: Message-ID: On 5/30/05 8:57 PM, "Claudius Sailer" wrote: > Hi, > > Am 30. Mai 2005 um 18:34 Uhr schrieb Ruslan Zasukhin: > >>> Currently what is happening is that the SQL call used to create the >>> second cursor always fails unless I nil the first cursor. >>> >> >> You can use for first cursor NO LOCKS >> > > I use > > DB.SQLSelect(SQLString, EVCursorLocation.kServerSide, > EVLockType.kNoLocks, EVCursorDirection.kRandom) > > is it better to modify this? Using other parameters? > I never make updates in Cursor. Is it faster to use kReadOnly? Yes NoLocks is faster because it not spend time to set locks. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Mon May 30 14:11:59 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon May 30 13:12:09 2005 Subject: kRestrict +kCascade type link Message-ID: I am looking for a particular type of effect. I am setting up a many-to-many binary link between table1 and table2. I will only ever delete records from table1, and what I'd like is for linked records to be deleted from table2 ONLY IF that record is not linked to other records in table1. For example: t1rec1 <-> t2recA t1rec1 <-> t2recB t1rec2 <-> t2recB When I delete record t1rec1, the linked record t2recA should be deleted too, but t2recB should not because it is also linked to record t1rec2. Is there a setting for this, or do I have to do it manually? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Mon May 30 21:24:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 30 13:24:48 2005 Subject: kRestrict +kCascade type link In-Reply-To: Message-ID: On 5/30/05 9:11 PM, "Kem Tekinay" wrote: Hi Kem, > I am looking for a particular type of effect. I am setting up a many-to-many > binary link between table1 and table2. I will only ever delete records from > table1, and what I'd like is for linked records to be deleted from table2 > ONLY IF that record is not linked to other records in table1. > > For example: > > t1rec1 <-> t2recA > t1rec1 <-> t2recB > t1rec2 <-> t2recB > > When I delete record t1rec1, the linked record t2recA should be deleted too, > but t2recB should not because it is also linked to record t1rec2. > > Is there a setting for this, or do I have to do it manually? There is no such setting right now. Let me think on this ... I'd name this ExclusiveCascade :-) On the other hand ... May be you have discover new idea. and may be in fact M : M link CASCADE should work exactly as you describe?! Really, what sense delete recB in this case. Then this break/hang link t1rec2 <-> t2recB Or let's ask in other way: can be useful case when t1rec1 deletion should delete recB? and what should happens with link t1rec2 <-> t2recB ------------------ Ivan, please add TEST as describe Kem. * and tell me what happens now? what happens with t1rec2 <-> t2recB link ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Mon May 30 14:42:21 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon May 30 13:42:30 2005 Subject: kRestrict +kCascade type link In-Reply-To: Message-ID: On 5/30/05 2:24 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > On the other hand ... May be you have discover new idea. > and may be in fact M : M link CASCADE should work > exactly as you describe?! Again, using my example: > t1rec1 <-> t2recA > t1rec1 <-> t2recB > t1rec2 <-> t2recB I would think that cascade would lead to this result: delete t1rec1 -> deletes t2recA and deletes t2recB -> deletes t1rec2 In other words, deleting t1rec1 would result in an empty database. No? (I tried to test this by creating a quick database in Vstudio, but it kept crashing when I tried to create the BinaryLink.) __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Mon May 30 21:47:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 30 13:47:59 2005 Subject: kRestrict +kCascade type link In-Reply-To: Message-ID: On 5/30/05 9:42 PM, "Kem Tekinay" wrote: >> On the other hand ... May be you have discover new idea. >> and may be in fact M : M link CASCADE should work >> exactly as you describe?! > > Again, using my example: > >> t1rec1 <-> t2recA >> t1rec1 <-> t2recB >> t1rec2 <-> t2recB > > I would think that cascade would lead to this result: > > delete t1rec1 -> deletes t2recA and deletes t2recB -> deletes t1rec2 > > In other words, deleting t1rec1 would result in an empty database. No? 100% no. Here is important to think who is owner. In your example Table1 is Owner. So Table2 cannot delete records from Table1. CASCADE works into one direction only > (I tried to test this by creating a quick database in Vstudio, but it kept > crashing when I tried to create the BinaryLink.) Please report this into Mantis -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Mon May 30 15:19:04 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon May 30 14:19:10 2005 Subject: kRestrict +kCascade type link In-Reply-To: Message-ID: On 5/30/05 2:47 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Here is important to think who is owner. > > In your example Table1 is Owner. > So Table2 cannot delete records from Table1. > > CASCADE works into one direction only Well, this might be in the docs somewhere, but you cannot create a cascading many-to-many at all. My app won't even launch if I try. This works: linkT1T2 = new VBinaryLink( "linkT1T2", tblT1, tblT2, EVLinkType.kMany, EVLinkType.kMany, EVOnDelete.kDefault ) This generates a VException on launch: linkT1T2 = new VBinaryLink( "linkT1T2", tblT1, tblT2, EVLinkType.kMany, EVLinkType.kMany, EVOnDelete.kCascade ) __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Mon May 30 22:21:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 30 14:22:07 2005 Subject: kRestrict +kCascade type link In-Reply-To: Message-ID: On 5/30/05 10:19 PM, "Kem Tekinay" wrote: > > This generates a VException on launch: > > linkT1T2 = new VBinaryLink( "linkT1T2", tblT1, tblT2, EVLinkType.kMany, > EVLinkType.kMany, EVOnDelete.kCascade ) What about exception is ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Mon May 30 15:29:04 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon May 30 14:29:11 2005 Subject: kRestrict +kCascade type link In-Reply-To: Message-ID: On 5/30/05 3:21 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > What about exception is ? Exception Message: Invalid parameter value was specified in function "Binary_Link::put_OnDelete". Exception Error Number: 627987 I was making this project specifically for testing, so it's small. Would you like it? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Mon May 30 22:45:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon May 30 14:45:37 2005 Subject: kRestrict +kCascade type link In-Reply-To: Message-ID: On 5/30/05 10:29 PM, "Kem Tekinay" wrote: > On 5/30/05 3:21 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> What about exception is ? > > Exception Message: Invalid parameter value was specified in function > "Binary_Link::put_OnDelete". > Exception Error Number: 627987 > > I was making this project specifically for testing, so it's small. Would you > like it? Of course, Kem -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From IvanSmahin at public.kherson.ua Mon May 30 23:13:12 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon May 30 15:13:15 2005 Subject: kRestrict +kCascade type link In-Reply-To: References: Message-ID: <1852253336.20050530231312@public.kherson.ua> Hello Kem, Monday, May 30, 2005, 10:29:04 PM, you wrote: KT> On 5/30/05 3:21 PM, Ruslan Zasukhin at KT> sunshine@public.kherson.ua wrote: >> What about exception is ? KT> Exception Message: Invalid parameter value was specified in function KT> "Binary_Link::put_OnDelete". KT> Exception Error Number: 627987 Currently we don't support cascading deletion on M::M binary relations. So exception was thrown. The behavior on such action could be the discussion matter. And, please, put it to the "mantis" as a feature request. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From snw at paradise.net.nz Tue May 31 08:25:12 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon May 30 15:25:16 2005 Subject: SQL JOIN help In-Reply-To: <891382481.20050530162728@public.kherson.ua> References: <6.2.1.2.2.20050530155359.0329ccd0@pop3.paradise.net.nz> <891382481.20050530162728@public.kherson.ua> Message-ID: <6.2.1.2.2.20050531082436.030f07c0@pop3.paradise.net.nz> >SELECT * >FROM > tblCustomers, tblLocations, tblTasks, >WHERE > tblTasks.taskLocID = tblLocations.locID > AND tblLocations.locCustId = tblCustomers.custID > AND IsNull(tblTasks.taskCompleteDate) > > AND tblTasks.taskTypeName IN ( select taskTypeName from taskTypes > where ......) Excellent. Thanks Ivan. From ktekinay at mactechnologies.com Mon May 30 17:51:26 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Mon May 30 16:51:40 2005 Subject: kRestrict +kCascade type link In-Reply-To: <1852253336.20050530231312@public.kherson.ua> Message-ID: On 5/30/05 4:13 PM, Ivan Smahin at IvanSmahin@public.kherson.ua wrote: > Currently we don't support cascading deletion on M::M binary relations. > So exception was thrown. Understood. > The behavior on such action could be the discussion matter. > And, please, put it to the "mantis" as a feature request. Done. Report 821. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From info at vallemediatime.com Tue May 31 08:11:54 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Tue May 31 01:12:01 2005 Subject: [V4MD 2] update only one field in a loop Message-ID: <000701c565a7$a4fec130$02251e97@vmtrm4p9ipbkv2> Hi Ruslan, if I need to update only a field of DB for n records what is the better way? e.g. repeat with i = 1 to recCount gCursor.field("F1").value = member("F1").text gCursor.updateRecord() -- LOOK HERE end repeat In your docs I read the word nil I know null but nil... what means? Thanks Paolo From sunshine at public.kherson.ua Tue May 31 11:06:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 31 03:06:14 2005 Subject: [V4MD 2] update only one field in a loop In-Reply-To: <000701c565a7$a4fec130$02251e97@vmtrm4p9ipbkv2> Message-ID: On 5/31/05 9:11 AM, "info@vallemediatime.com" wrote: Hi Paolo, > Hi Ruslan, > if I need to update only a field of DB for n records what is the better way? > > e.g. > repeat with i = 1 to recCount > gCursor.field("F1").value = member("F1").text > gCursor.updateRecord() -- LOOK HERE > end repeat > > In your docs I read the word nil > I know null but nil... what means? 1) pure SQL way: UPDATE T SET ... WHERE ... 2) Cursor API way curs.Field( "F1" ).value = .. curs.UpdateAllRecords() Will be updated all records of cursor by the same value. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From peter.salomon at gmx.net Tue May 31 11:23:33 2005 From: peter.salomon at gmx.net (peter salomon) Date: Tue May 31 04:25:22 2005 Subject: [V4MD 2] update only one field in a loop In-Reply-To: <000701c565a7$a4fec130$02251e97@vmtrm4p9ipbkv2> References: <000701c565a7$a4fec130$02251e97@vmtrm4p9ipbkv2> Message-ID: <429C2D15.100@gmx.net> Hi Paolo, nil is the same as "void" in Director - not even null: nothing Peter >In your docs I read the word nil >I know null but nil... what means? > > From info at vallemediatime.com Tue May 31 11:54:18 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Tue May 31 04:54:23 2005 Subject: sql query with fieldName as variable name Message-ID: <000b01c565c6$b71d2e00$39191e97@vmtrm4p9ipbkv2> Hi Ruslan, I will keep the fieldname as global variable name, how can I write it? global fieldName query = "SELECT RecID, * from STUDENTS WHERE fieldName = '" & searchString & "'" I've tried with: query = "SELECT RecID, * from STUDENTS WHERE 'fieldName' = '" & searchString & "'" and other forms but I don't try the right way... P.S. Thank Peter for the "nil" answer :-) From peter.salomon at gmx.net Tue May 31 12:51:50 2005 From: peter.salomon at gmx.net (peter salomon) Date: Tue May 31 05:53:35 2005 Subject: sql query with fieldName as variable name In-Reply-To: <000b01c565c6$b71d2e00$39191e97@vmtrm4p9ipbkv2> References: <000b01c565c6$b71d2e00$39191e97@vmtrm4p9ipbkv2> Message-ID: <429C41C6.2000701@gmx.net> Hi Paolo, this is a lingo question i think, not valentina. i?m not sure what you want to do, of course you can store anything in global variables, also fieldnnames. You do it by defining it: global gFieldName then you put something into it: gFieldName = "fldAnyName" if you want to build an sql string you can construct it as: "SELECT RecID, * FROM students WHERE" && gFieldName && "= '" & searchString & "'" you need a field in your table named "fldAnyName" and searchstring must be a local or global variable containing a string.. is that what you wanted to know? Peter info@vallemediatime.com wrote: >Hi Ruslan, >I will keep the fieldname as global variable name, how can I write it? > >global fieldName >query = "SELECT RecID, * from STUDENTS WHERE fieldName = '" & searchString & >"'" > >I've tried with: >query = "SELECT RecID, * from STUDENTS WHERE 'fieldName' = '" & searchString >& "'" and other forms >but I don't try the right way... > >P.S. Thank Peter for the "nil" answer :-) > > > From info at vallemediatime.com Tue May 31 14:17:21 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Tue May 31 07:17:32 2005 Subject: sql query with fieldName as variable name References: <000b01c565c6$b71d2e00$39191e97@vmtrm4p9ipbkv2> <429C41C6.2000701@gmx.net> Message-ID: <001301c565da$b344e5c0$f6261e97@vmtrm4p9ipbkv2> Hi Peter, thanks again I know that it's a lingo question, but not only... I've tried with your suggestion, look at two differentet code: query = "SELECT RecID, * from Students WHERE F = '" & searchString & "'" gCursor = gDb.sqlSelect(query, #kServer, #kReadWrite, #kRandom) this is ok, the query works right if I use: global gSearchField put gSearchField -- "F" query = "SELECT RecID, * FROM Students WHERE " && gSearchField && " = '" & searchString & "'" gCursor = gDb.sqlSelect(query, #kServer, #kReadWrite, #kRandom) put gCursor -- VOID Any suggestion? I don't undestand how is possible to pass a lingo variable into a sql query, I think that "F" instead of F make error... Paolo ----- Original Message ----- From: "peter salomon" To: "Valentina Developers" Sent: Tuesday, May 31, 2005 12:51 PM Subject: Re: sql query with fieldName as variable name > Hi Paolo, > > this is a lingo question i think, not valentina. > i?m not sure what you want to do, of course you can store anything in > global variables, also fieldnnames. You do it by defining it: > > global gFieldName > then you put something into it: > > gFieldName = "fldAnyName" > if you want to build an sql string you can construct it as: > > "SELECT RecID, * FROM students WHERE" && gFieldName && "= '" & searchString & > "'" > > you need a field in your table named "fldAnyName" and > searchstring must be a local or global variable containing a string.. > > is that what you wanted to know? > Peter > > info@vallemediatime.com wrote: > > >Hi Ruslan, > >I will keep the fieldname as global variable name, how can I write it? > > > >global fieldName > >query = "SELECT RecID, * from STUDENTS WHERE fieldName = '" & searchString & > >"'" > > > >I've tried with: > >query = "SELECT RecID, * from STUDENTS WHERE 'fieldName' = '" & searchString > >& "'" and other forms > >but I don't try the right way... > > > >P.S. Thank Peter for the "nil" answer :-) > > > > > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.322 / Virus Database: 267.2.0 - Release Date: 27/05/2005 > > From ayu8 at cdc.gov Tue May 31 08:35:07 2005 From: ayu8 at cdc.gov (Sims, John) Date: Tue May 31 07:35:17 2005 Subject: One Pointer Field Fits All Message-ID: > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: Monday, May 30, 2005 1:27 AM > To: valentina@lists.macserve.net > Subject: Re: One Pointer Field Fits All > > > On 5/30/05 2:16 AM, "Chuck Pelto" wrote: > > Hi Chuck, > > > Yeah... > > > > ...that's sort of what I was afraid of; a separate pointer > field for > > each of the tables that would like access to the Notes > table. This, in > > spite of the idea of two fields, one to identify the table > and one to > > identify the record inside of the table. > > > > Think you might be able to do that in a future edition? > > But this is correct solution IMHO from all points of view. > > It seems to me you think about contrast way: > - putting into table Notes pair of field {TableId, RecID} > > Right ? > > Well, Valentina 2.0 introduce new field "OID" for each table. > Values of this field is exactly what you want. It is {TableId, RecID}. > > So you can use OID values to store them into Notes.ULLong field. > > Having this you will need self extract from Notes.ULLong > field value the part of pointed TableID and its RecID. > > Also you will meet problem that REALbasic do not support ULLONG. > > Also you can at last of end to make own 2 fields and keep there > TableID + RecID > > > > Regards, > > > > Chuck > > > > > > On May 29, 2005, at 8:48 AM, Ruslan Zasukhin wrote: > > > >> On 5/29/05 4:22 PM, "Chuck Pelto" wrote: > >> > >> > >>> Another question. > >>> > >>> I have a table I refer to as Notes. I would like that table to be > >>> used to hold ALL notes in a given RB project. This, no > matter, what > >>> other table those notes might belong to. > >>> > >>> Is there a technique to have one field act as the > differentiator as > >>> to which table the notes will appear in? Something along > the lines > >>> of a field in Notes to identify the other table a given > note belongs > >>> to and the pointer field to identify the record in that > other table > >>> the note is associated with? > >>> > >>> This was easily accomplished in FileMaker. Just set up > the link in > >>> the table that the note was supposed to be related too in Notes. > >>> > >> > >> So this is easy? > >> I.e. If you have 10 tables around, you need make 10 links? > >> > >> > >>> How > >>> can that be done in V4RB? I'd like to avoid having to put > a separate > >>> pointer field in Notes for every other table that would > require an > >>> ability to have Notes associated with it. > >>> > >> > >> Pointer field must be in each of this 10 tables, > >> I.e. You get the same 10 links > > -- > Best regards, > > Ruslan Zasukhin Hi Ruslan and Chuck. Ruslan, could Chuck also just create Binary Links between each of his tables and the Notes table? So, if he has tables... Table1 Table2 Table3 Tablen... Notes He could create the links between... Table1<-->Notes Table2<-->Notes Table3<-->Notes Tablen...<-->Notes So, he wouldn't have to create additional fields in his tables to link to Notes. Is there a downside to this that I am not thinking about? -John From sunshine at public.kherson.ua Tue May 31 16:44:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue May 31 08:44:54 2005 Subject: One Pointer Field Fits All In-Reply-To: Message-ID: On 5/31/05 3:35 PM, "Sims, John" wrote: > Hi Ruslan and Chuck. > > Ruslan, could Chuck also just create Binary Links between each of his > tables and the Notes table? So, if he has tables... > > Table1 > Table2 > Table3 > Tablen... > Notes > > He could create the links between... > > Table1<-->Notes > Table2<-->Notes > Table3<-->Notes > Tablen...<-->Notes > > So, he wouldn't have to create additional fields in his tables to link > to Notes. Is there a downside to this that I am not thinking about? Yes he can, but as I understand this is not what Chuck want. Frankly saying I have not understand good how FileMaker handle this. In any case FM is not oriented on big dbs. So they can allow self not effective design. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Tue May 31 16:34:46 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Tue May 31 09:34:50 2005 Subject: sql query with fieldName as variable name References: <000b01c565c6$b71d2e00$39191e97@vmtrm4p9ipbkv2><429C41C6.2000701@gmx.net> <001301c565da$b344e5c0$f6261e97@vmtrm4p9ipbkv2> Message-ID: <001201c565ed$e56e1ae0$ff1a1e97@vmtrm4p9ipbkv2> I've found my stupid error: the really code that I have in my movie is: query = "SELECT RecID, * FROM Students\ WHERE " && gSearchField && " = '" & searchString & "'" and finally I've see that the my mistake is at the end of first line (I forget the space after students!) Thanks to Peter for very useful help. Paolo From yeomans at desuetude.com Tue May 31 19:46:27 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue May 31 18:46:33 2005 Subject: [V4Rb 2] VDatabase.Close Message-ID: Is VDatabase.Close called somewhere in a destructor? I recall that this was a bit of an issue with V4Rb 1, at least for Windows. -------------- Charles Yeomans