From daisychain at iinet.net.au Fri Jul 1 08:11:01 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Thu Jun 30 17:11:06 2005 Subject: [V4RB2] SQL REGEX Help In-Reply-To: <423C4A4D-0F1A-4ED9-8958-517F24D905E3@noos.fr> Message-ID: <000701c57dc0$99db0df0$ae00a8c0@DamonsPC> You might have well spoke Russian as you lost me about half way down, your SQL is far above mine. Sorry I can't be of more help. Damon Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Eric Ferrer Sent: Thursday, 30 June 2005 6:34 PM To: Valentina Developers Subject: Re: Re[2]: [V4RB2] SQL REGEX Help Thank you Damon Le 30 juin 2005 ? 05:57, Damon Pillinger a ?crit : > if you do this > WHERE Name LIKE '%eme%' > You should get anything with 'eme' in it similar to REGEDIT results. Yes, that's true, I now get some records, instead of nothing. As I said, LIKE now uses SQL92, which I was not using in my tests. In v1, LIKE did not use this. But there is something that I still don't figure out. LIKE uses ICU collations, right? Both for SORT and SEARCH, as Ruslan wrote yesterday, right? So, if my field "Name" has for CollationAttribute "Strength" = Primary ?which is supposed to ignore accents and case?, I should also get records such as : 7?me Apache 16/9 EME etc. ... which I don't get... I only get records with exactly 'eme' in their name. '?me' and 'EME' are ignored... I must have missed something again... Eric _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Jul 1 04:37:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 30 20:38:10 2005 Subject: [VStudio] Editing field names In-Reply-To: Message-ID: On 7/1/05 12:40 AM, "Charles Yeomans" wrote: > The UI for VStudio leads one to think that the name of a field can be > changed, but attempts to change the name of a field appear to fail. > How should VStudio be working? It should allow changes in the property inspector. Jochen, I think this is the most request feature now. Please implement it ASAP -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 1 07:39:11 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Fri Jul 1 00:39:24 2005 Subject: [VStudio] Editing field names In-Reply-To: References: Message-ID: <40585.62.154.199.179.1120196351.squirrel@webmail3.server-einstellung.de> Hi, i am aware of this - it will be fixed in the next release! >> The UI for VStudio leads one to think that the name of a field can be >> changed, but attempts to change the name of a field appear to fail. >> How should VStudio be working? > > It should allow changes in the property inspector. > > Jochen, I think this is the most request feature now. > > Please implement it ASAP > > -- > Best regards, > > Ruslan Zasukhin > VP 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-studio mailing list > Valentina-studio@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-studio > -- Best regards, Jochen Peters PIIT GmbH -------------------------- http://www.valentina-db.de From sunshine at public.kherson.ua Fri Jul 1 09:51:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 01:51:18 2005 Subject: Flush/Delete question In-Reply-To: <0MKwh2-1Dnyzd1IbG-0005p8@mrelayeu.kundenserver.de> Message-ID: On 6/30/05 4:21 PM, "Florian Bogeschdorfer" wrote: > V4MD 1.1, Server/Client > > Hi Ruslan! > > This is basically a security question for me. > If I change a record to a set of "x", flush the DB and then delete the > record, the record will be deleted but physically it will remain in the Db > file so that I could search for it with a text editor. > That is why I overwrote all fields with "xxxxx..." before: > > For i=1 to numberOfRecordsToDelete > overwriteRecord("x") > flush() > deleteRecord() > next > > If I do this with thousands of records, Valentina will crash finally. And it > takes very long... > > Now I wonder what would happen if I do no flush in between? > That is: > > For i=1 to numberOfRecordsToDelete > overwriteRecord("x") > deleteRecord() > next > flush > > > Will it > > a) work as expected, that is records are first "x"ed out and then deleted > (only "x" remains in the DB file) or I think yes, because it will override info in the cache page, and later cache page go to disk... May be only glitch if you will delete all records of that page. Well, in 2.0 we have almost done, such feature as EraseOnDelete flag for db > b) not overwrite the record at all since it has been deleted (records stay > readable in DB 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 Jul 1 09:52:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 01:52:32 2005 Subject: Reindexing and Compressing a V1.x DB which is encrypted In-Reply-To: <41090ff1581b6c0b464101165df8a46f@startmovie.net> Message-ID: On 6/30/05 5:27 PM, "Thomas Biedorf" wrote: > Never mind. >Defragment did it! > > Regards, Thomas > > Am 30.06.2005 um 15:24 schrieb Thomas Biedorf: > >> is there a chance to reindex and Compress a Valentina DB 1.x which is >> encrpyted? I didn't found any tool which is able to do that. Maybe >> there is a SQL-Statement? The problem is I have a DB which shouldn't >> be bigger than 10MB but it suddenly "jumped" to 4GB (!!). >> Unfortunately Valentina Studio and Valentina Carbon aren't able to >> handle encrypted DBs on the Mac. Sorry for delay, so yes, on encrypted db you can do compact, defragment, reindex App exists -- 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 Fri Jul 1 09:54:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 01:54:52 2005 Subject: Kernel Errors 348 and 351 In-Reply-To: <42C4528C.2030101@learningware.com> Message-ID: On 6/30/05 11:14 PM, "Andrew Sinning" wrote: > Ruslan, > Just checking to make sure you got the email I sent with the attachment > this morning. Yes I have got it, Andrew. -- Best regards, Ruslan Zasukhin VP Engineering 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 Fri Jul 1 08:58:42 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Jul 1 01:59:13 2005 Subject: AW: Flush/Delete question In-Reply-To: Message-ID: <0ML21M-1DoFUL27YB-0008Up@mrelayeu.kundenserver.de> > > a) work as expected, that is records are first "x"ed out and then deleted > (only "x" remains in the DB file) or I think yes, because it will override info in the cache page, and later cache page go to disk... May be only glitch if you will delete all records of that page. Well, in 2.0 we have almost done, such feature as EraseOnDelete flag for db OK, thank you. Ruslan, can you tell me about .NET client? When do you expect it (realistic please :-))? Best regards, Florian From sunshine at public.kherson.ua Fri Jul 1 10:04:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 02:04:11 2005 Subject: AW: Flush/Delete question In-Reply-To: <0ML21M-1DoFUL27YB-0008Up@mrelayeu.kundenserver.de> Message-ID: On 7/1/05 9:58 AM, "Florian Bogeschdorfer" wrote: >> a) work as expected, that is records are first "x"ed out and then deleted >> (only "x" remains in the DB file) or > > I think yes, because it will override info in the cache page, and later > cache page go to disk... > > May be only glitch if you will delete all records of that page. > > Well, in 2.0 we have almost done, such feature as > > EraseOnDelete flag for db > > OK, thank you. > > Ruslan, can you tell me about .NET client? When do you expect it (realistic > please :-))? Igor will start develop this at 15-20 June, Month on development to get first beta, so about 15 August -- start of betas. And I think 1 Sept 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 fb at memedia.de Fri Jul 1 09:32:13 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Jul 1 02:32:38 2005 Subject: AW: AW: Flush/Delete question In-Reply-To: Message-ID: <0ML21M-1DoG0m27g4-0002IE@mrelayeu.kundenserver.de> Igor will start develop this at 15-20 June, Month on development to get first beta, so about 15 August -- start of betas. And I think 1 Sept release. OK, put me on the beta tester list please FLorian From thomas at startmovie.net Fri Jul 1 09:50:55 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Fri Jul 1 02:51:02 2005 Subject: Reindexing and Compressing a V1.x DB which is encrypted In-Reply-To: References: Message-ID: <36c534902a7848347c11a3f8bd4980e3@startmovie.net> Am 01.07.2005 um 08:52 schrieb Ruslan Zasukhin: > Sorry for delay, so yes, on encrypted db you can do > compact, defragment, reindex > > App exists -- Valentina Studio AFAIK I can't open an encrypted DB with Valenina Studio? Regards, Thomas From fb at memedia.de Fri Jul 1 10:06:39 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Jul 1 03:07:06 2005 Subject: Unecpected disconnect after reindex Message-ID: <0ML21M-1DoGY636Bz-00053N@mrelayeu.kundenserver.de> Hi ! After reindexing the DB, I always get a client disconnect.is this normal? x=SqlExecute (VAL_ID, "REINDEX DATABASE") 10:03:42.421000 (1776): Client has been suddenly disconnected (768) TIA, FLorian From fb at memedia.de Fri Jul 1 10:12:31 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Fri Jul 1 03:12:57 2005 Subject: AW: Unecpected disconnect after reindex In-Reply-To: <0ML21M-1DoGY636Bz-00053N@mrelayeu.kundenserver.de> Message-ID: <0ML25U-1DoGdm2i62-0002eV@mrelayeu.kundenserver.de> Sorry: V4MD 1.1 Client Hi ! After reindexing the DB, I always get a client disconnect.is this normal? x=SqlExecute (VAL_ID, "REINDEX DATABASE") 10:03:42.421000 (1776): Client has been suddenly disconnected (768) TIA, FLorian From sunshine at public.kherson.ua Fri Jul 1 11:19:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 03:19:41 2005 Subject: Unecpected disconnect after reindex In-Reply-To: <0ML21M-1DoGY636Bz-00053N@mrelayeu.kundenserver.de> Message-ID: On 7/1/05 11:06 AM, "Florian Bogeschdorfer" wrote: > Hi ! > > After reindexing the DB, I always get a client disconnect.is this normal? > > x=SqlExecute (VAL_ID, "REINDEX DATABASE") > > 10:03:42.421000 (1776): Client has been suddenly disconnected (768) In fact no. Please add into Mantis, section 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 Fri Jul 1 11:18:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 03:19:47 2005 Subject: Reindexing and Compressing a V1.x DB which is encrypted In-Reply-To: <36c534902a7848347c11a3f8bd4980e3@startmovie.net> Message-ID: On 7/1/05 10:50 AM, "Thomas Biedorf" wrote: >> Sorry for delay, so yes, on encrypted db you can do >> compact, defragment, reindex >> >> App exists -- Valentina Studio > > AFAIK I can't open an encrypted DB with Valenina Studio? You must be able do that! VAPP cannot, but Vstudio should ask you password in open -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 1 11:20:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 03:20:21 2005 Subject: AW: AW: Flush/Delete question In-Reply-To: <0ML21M-1DoG0m27g4-0002IE@mrelayeu.kundenserver.de> Message-ID: On 7/1/05 10:32 AM, "Florian Bogeschdorfer" wrote: >> Igor will start develop this at 15-20 June, >> >> Month on development to get first beta, so about 15 August >> -- start of betas. >> >> And I think 1 Sept release. > > OK, put me on the beta tester list please You can self subscribe to beta list from our SUPPORT 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 thomas at startmovie.net Fri Jul 1 11:02:00 2005 From: thomas at startmovie.net (Thomas Biedorf) Date: Fri Jul 1 04:02:09 2005 Subject: Reindexing and Compressing a V1.x DB which is encrypted In-Reply-To: References: Message-ID: Am 01.07.2005 um 10:18 schrieb Ruslan Zasukhin: > VAPP cannot, but Vstudio should ask you password in open is there another verion? I use 1.0a77 and it only responds "Unable to open Database" or it crashes (see crashlog). Regards, Thomas --- Crashlog ---- Date/Time: 2005-07-01 10:59:42 +0200 OS Version: 10.3.9 (Build 7W98) Report Version: 2 Command: Valentina Studio Path: /Volumes/HD2//Valentina Studio.app/Contents/MacOS/Valentina Studio Version: 1.0a77 (1.0a77) PID: 10248 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 Thread 0 Crashed: 0 vec.bundle 0x05a8da24 0x5959000 + 0x134a24 1 vec.bundle 0x059d068c FBL_VarCharFile::ReadRecord(unsigned long, char*, unsigned long) + 0x34 2 vec.bundle 0x059b3a40 BF_VarChar::ReadRecord(unsigned long, char*) + 0x13c 3 vec.bundle 0x0599b4d0 FBL_IndexerTask::BuildIndexByValue() + 0x250 4 vec.bundle 0x0599a9c4 FBL_IndexerTask::Run() + 0x2a8 5 vec.bundle 0x05985884 FBL_Task::DoIndexing(FBL_Task*) + 0x50 6 vec.bundle 0x059bd940 FBL_SecondaryIndex::BuildIndex() + 0x174 7 vec.bundle 0x059ce82c FBL_IndexedTable::InitIndexes() + 0xd0 8 vec.bundle 0x059ce914 FBL_IndexedTable::InitTable() + 0x2c 9 vec.bundle 0x059cc340 FBL_Table::Init() + 0x44 10 vec.bundle 0x059ec11c OBL_BaseObject::DoForEachTable(void (OBL_ObjectTable::*)(), __bool8) + 0xb0 11 vec.bundle 0x059e7b30 OBL_BaseObject::Init() + 0x2c 12 vec.bundle 0x059e8400 OBL_BaseObject::ReadSysItem(OBL_SysItem*) + 0x3b0 13 vec.bundle 0x059e8028 OBL_BaseObject::CreateFromSysTable(OBL_SysItem*, unsigned long) + 0x17c 14 vec.bundle 0x05a0b97c OBL_DataBase::ReadSysItem() + 0x444 15 vec.bundle 0x059e1f68 FBL_DataBase::ReadDomain() + 0xec 16 vec.bundle 0x059e162c FBL_DataBase::CheckFileFormat() + 0x54 17 vec.bundle 0x059df71c FBL_DataBase::Open_aux(FSSpec const*, FSSpec const*, FSSpec const*, char const*) + 0x5f4 18 vec.bundle 0x059dff70 FBL_DataBase::OpenDataBase(FSSpec const*, char const*) + 0x2cc 19 vec.bundle 0x05a210e0 VDK_DataBase::OpenDataBase(char const*, char const*, __bool8) + 0xa0 20 vec.bundle 0x0596a588 vsVDatabase::Open(wxString const&, wxString const&, wxString const&) + 0xf8 21 vec.bundle 0x0595c97c vsVEmbeddedConnection::OpenDatabase(wxString const&) + 0x12c 22 ...digmasoft.valentina.vstudio 0x000386e0 vsStdCommand::DoOpenDatabase() + 0x310 23 ...digmasoft.valentina.vstudio 0x00037a2c vsStdCommand::Do() + 0x38 24 ...digmasoft.valentina.vstudio 0x0000a730 vsCmd::Do() + 0x20 25 wx_MACH.dylib 0x0171cf04 wxCommandProcessor::DoCommand(wxCommand&) + 0x20 26 wx_MACH.dylib 0x0171cf84 wxCommandProcessor::Submit(wxCommand*, __bool8) + 0x40 27 ...digmasoft.valentina.vstudio 0x00008278 vsAppCtrl::SubmitCommand(vsI_Cmd*) + 0x54 28 ...digmasoft.valentina.vstudio 0x000134f4 vsFrame::OnOpen(wxCommandEvent&) + 0x88 29 wx_MACH.dylib 0x0172d2f8 wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const + 0x40 30 wx_MACH.dylib 0x016489e4 wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 0xb0 31 wx_MACH.dylib 0x01647e14 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 0xb4 32 wx_MACH.dylib 0x01648bbc wxEvtHandler::ProcessEvent(wxEvent&) + 0xd8 33 wx_MACH.dylib 0x01648bf8 wxEvtHandler::ProcessEvent(wxEvent&) + 0x114 34 wx_MACH.dylib 0x01648bf8 wxEvtHandler::ProcessEvent(wxEvent&) + 0x114 35 wx_MACH.dylib 0x01648bf8 wxEvtHandler::ProcessEvent(wxEvent&) + 0x114 36 wx_MACH.dylib 0x0161b960 wxMenuBase::SendEvent(int, int) + 0xb8 37 wx_MACH.dylib 0x015c1220 wxMacAppCommandEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 0x180 38 wx_MACH.dylib 0x015c13c8 wxMacAppEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 0xc8 39 com.apple.HIToolbox 0x92881fa0 DispatchEventToHandlers + 0x150 40 com.apple.HIToolbox 0x92882214 SendEventToEventTargetInternal + 0x174 41 com.apple.HIToolbox 0x928946bc SendEventToEventTarget + 0x28 42 com.apple.HIToolbox 0x928a96b4 SendHICommandEvent(unsigned long, HICommand const*, unsigned long, unsigned long, unsigned char, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 0x170 43 com.apple.HIToolbox 0x92941874 SendMenuItemSelectedEvent + 0x88 44 com.apple.HIToolbox 0x929283ac HandleKeyboardEvent(OpaqueEventRef*, unsigned char) + 0x148 45 com.apple.HIToolbox 0x92881fa0 DispatchEventToHandlers + 0x150 46 com.apple.HIToolbox 0x92882214 SendEventToEventTargetInternal + 0x174 47 com.apple.HIToolbox 0x92886694 SendEventToEventTargetWithOptions + 0x28 48 com.apple.HIToolbox 0x928bb034 HandleKeyboardEvent(OpaqueEventRef*, unsigned long) + 0x140 49 com.apple.HIToolbox 0x92892c6c ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 0x1f8 50 com.apple.HIToolbox 0x9288205c DispatchEventToHandlers + 0x20c 51 com.apple.HIToolbox 0x92882214 SendEventToEventTargetInternal + 0x174 52 com.apple.HIToolbox 0x928946bc SendEventToEventTarget + 0x28 53 wx_MACH.dylib 0x015c20a4 wxApp::MacHandleOneEvent(void*) + 0x30 54 wx_MACH.dylib 0x015c2034 wxApp::MacDoOneEvent() + 0xb4 55 wx_MACH.dylib 0x015c1c84 wxApp::MainLoop() + 0x28 56 wx_MACH.dylib 0x016047dc wxAppBase::OnRun() + 0x34 57 wx_MACH.dylib 0x0172f250 wxEntry(int&, wchar_t**) + 0x80 58 wx_MACH.dylib 0x0172f2fc wxEntry(int&, char**) + 0x3c 59 ...digmasoft.valentina.vstudio 0x0000432c main + 0x18 60 ...digmasoft.valentina.vstudio 0x00004104 _start + 0x188 61 dyld 0x8fe1a278 _dyld_start + 0x64 PPC Thread State: srr0: 0x05a8da24 srr1: 0x0200f030 vrsave: 0x00000000 cr: 0x84022282 xer: 0x00000004 lr: 0x059d129c ctr: 0x05a8da20 r0: 0x00000000 r1: 0xbfffe160 r2: 0x00000000 r3: 0x005fe810 r4: 0x00000001 r5: 0x0211ce00 r6: 0x00000801 r7: 0x00000c03 r8: 0x000000ff r9: 0x00000068 r10: 0x020d7200 r11: 0x000001a0 r12: 0x05a8da20 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000 r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000 r20: 0x00000002 r21: 0x00000000 r22: 0x43300000 r23: 0x0599b2a4 r24: 0x005fd110 r25: 0x059d1264 r26: 0x005fe810 r27: 0x00000001 r28: 0x005fe710 r29: 0x00000001 r30: 0x0211ce00 r31: 0x00000801 Binary Images Description: 0x1000 - 0x1b9fff com.paradigmasoft.valentina.vstudio 1.0a77 /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/Valentina Studio 0x40b000 - 0x40dfff com.apple.textencoding.unicode 1.6.4 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings 0x4fe000 - 0x4fefff libicudt30b_cw_bsd.dylib /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/../VComponents/libicudt30b_cw_bsd.dylib 0x15bf000 - 0x188ffff wx_MACH.dylib /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/../Frameworks/wx_MACH.dylib 0x1fc4000 - 0x1fd6fff admin.bundle /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/Plugins/admin.bundle 0x53a6000 - 0x53b6fff js.bundle /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/Plugins/js.bundle 0x5421000 - 0x5452fff odbc.bundle /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/Plugins/odbc.bundle 0x54e9000 - 0x551afff sql.bundle /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/Plugins/sql.bundle 0x55cf000 - 0x5609fff vec2.bundle /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/Plugins/vec2.bundle 0x5646000 - 0x564cfff libicuio30_cw_bsd.dylib /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/../VComponents/libicuio30_cw_bsd.dylib 0x5652000 - 0x56f3fff wxstc_Mach.dylib /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/../Frameworks/wxstc_Mach.dylib 0x5959000 - 0x5a96fff vec.bundle /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/Plugins/vec.bundle 0x6458000 - 0x64f3fff libicuu30_cw_bsd.dylib /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/../VComponents/libicuu30_cw_bsd.dylib 0x666b000 - 0x670ffff libicuin30_cw_bsd.dylib /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/../VComponents/libicuin30_cw_bsd.dylib 0x678b000 - 0x67f7fff vsc.bundle /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/Plugins/vsc.bundle 0x68e0000 - 0x68e9fff com.apple.LiveType.component 1.2 /Library/QuickTime/LiveType.component/Contents/MacOS/LiveType 0x6e51000 - 0x7126fff libKernel_Macho_BSD.dylib /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/../VComponents/libKernel_Macho_BSD.dylib 0x8000000 - 0x806bfff js_d.dylib /Volumes/HD2/Jobs/0123 - Galileo/Software/Director Ressouren/Valentina Studio.app/Contents/MacOS/../Frameworks/js_d.dylib 0x89b0000 - 0x8a88fff com.divxnetworks.DivXCodec 5.1b /Library/QuickTime/DivX 5.component/Contents/MacOS/DivX 5 0x70090000 - 0x700e6fff com.apple.LiveType.framework 1.2 /System/Library/PrivateFrameworks/LiveType.framework/Versions/A/ LiveType 0x80830000 - 0x8090efff libxml2.2.dylib /usr/lib/libxml2.2.dylib 0x82920000 - 0x82936fff libiodbc.2.1.6.dylib /usr/lib/libiodbc.2.1.6.dylib 0x88eb0000 - 0x88ebcfff com.apple.agl 2.5 (AGL-2.5) /System/Library/Frameworks/AGL.framework/Versions/A/AGL 0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld 0x90000000 - 0x9014ffff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x901c0000 - 0x9026dfff com.apple.CoreFoundation 6.3.7 (299.35) /System/Library/Frameworks/CoreFoundation.framework/Versions/ A/CoreFoundation 0x902b0000 - 0x90529fff com.apple.CoreServices.CarbonCore 10.3.7 /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x90584000 - 0x905f3fff com.apple.framework.IOKit 1.3.6 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x90610000 - 0x9069afff com.apple.CoreServices.OSServices 3.0.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/OSServices.framework/Versions/A/OSServices 0x90700000 - 0x90700fff com.apple.CoreServices 10.3 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/ CoreServices 0x90702000 - 0x90769fff com.apple.audio.CoreAudio 2.1.3 /System/Library/Frameworks/CoreAudio.framework/Versions/A/ CoreAudio 0x907c7000 - 0x907d2fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib 0x907f0000 - 0x907f9fff com.apple.DiskArbitration 2.0.5 /System/Library/PrivateFrameworks/DiskArbitration.framework/ Versions/A/DiskArbitration 0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0 (???) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/ApplicationServices 0x90830000 - 0x9089ffff libobjc.A.dylib /usr/lib/libobjc.A.dylib 0x908c5000 - 0x90915fff com.apple.HIServices 1.4.1 (0.0.1d1) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices 0x90940000 - 0x909b3fff com.apple.DesktopServices 1.2.5 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/ Versions/A/DesktopServicesPriv 0x909f0000 - 0x90a0afff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGL.dylib 0x90a20000 - 0x90b7bfff com.apple.Foundation 6.3.7 (500.59) /System/Library/Frameworks/Foundation.framework/Versions/C/ Foundation 0x90c32000 - 0x90c45fff com.apple.speech.synthesis.framework 3.2 /System/Library/Frameworks/ApplicationServices.framework/Versions/ A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x90c60000 - 0x90cc2fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ libGLU.dylib 0x90d00000 - 0x90d1bfff com.apple.SystemConfiguration 1.7.1 (???) /System/Library/Frameworks/SystemConfiguration.framework/ Versions/A/SystemConfiguration 0x90d40000 - 0x90d40fff com.apple.Carbon 10.3 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 0x90d60000 - 0x90d6bfff com.apple.opengl 1.3.8 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL 0x910b0000 - 0x91101fff com.apple.bom 1.2.5 (63.2) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom 0x912e0000 - 0x912f7fff com.apple.LangAnalysis 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis 0x91303000 - 0x9136cfff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering 0x913a0000 - 0x9145ffff ColorSync /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/ColorSync.framework/Versions/A/ColorSync 0x915e0000 - 0x91699fff com.apple.QD 3.4.67 (???) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/QD.framework/Versions/A/QD 0x916e0000 - 0x91773fff com.apple.print.framework.PrintCore 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/ A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x917b6000 - 0x917cafff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib 0x917e0000 - 0x917f0fff com.apple.speech.recognition.framework 3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ SpeechRecognition.framework/Versions/A/SpeechRecognition 0x91810000 - 0x9182afff com.apple.openscripting 1.2.1 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/OpenScripting.framework/Versions/A/OpenScripting 0x91850000 - 0x91860fff com.apple.ImageCapture 2.1.5 /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/ImageCapture.framework/Versions/A/ImageCapture 0x91890000 - 0x9189cfff com.apple.help 1.0.1 /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/Help.framework/Versions/A/Help 0x918c0000 - 0x918cdfff com.apple.CommonPanels 1.2.1 (1.0) /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/CommonPanels.framework/Versions/A/CommonPanels 0x918f0000 - 0x9193efff com.apple.print.framework.Print 3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ Print.framework/Versions/A/Print 0x91990000 - 0x9199bfff com.apple.securityhi 1.2 (90) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ SecurityHI.framework/Versions/A/SecurityHI 0x91a40000 - 0x91ab3fff com.apple.NavigationServices 3.3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/NavigationServices.framework/Versions/A/NavigationServices 0x91b10000 - 0x91b2afff libPDFRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/Resources/ libPDFRIP.A.dylib 0x91b50000 - 0x91b5ffff libPSRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib 0x91b80000 - 0x91b93fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib 0x92070000 - 0x92096fff com.apple.FindByContent 1.4 (1.2) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent 0x920c0000 - 0x922a7fff com.apple.security 2.3 (176) /System/Library/Frameworks/Security.framework/Versions/A/Security 0x923c4000 - 0x923fcfff com.apple.AE 1.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/ A/Frameworks/AE.framework/Versions/A/AE 0x92430000 - 0x92468fff com.apple.LaunchServices 10.3.5 (98.4) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/LaunchServices.framework/Versions/A/ LaunchServices 0x927b2000 - 0x927e0fff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib 0x927f0000 - 0x92827fff com.apple.CFNetwork 1.2.1 (7) /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x92880000 - 0x92c05fff com.apple.HIToolbox 1.3.6 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x939a0000 - 0x939b4fff libcups.2.dylib /usr/lib/libcups.2.dylib 0x939d0000 - 0x939d4fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib 0x93b3c000 - 0x93bf4fff com.apple.audio.toolbox.AudioToolbox 1.3.3 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/ AudioToolbox 0x942eb000 - 0x942fffff com.apple.QuartzCore 1.3 /System/Library/Frameworks/QuartzCore.framework/Versions/A/ QuartzCore 0x94500000 - 0x94518fff com.apple.WebServices 1.1.1 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore 0x945b0000 - 0x945b9fff libz.1.dylib /usr/lib/libz.1.dylib 0x94610000 - 0x9462afff libresolv.9.dylib /usr/lib/libresolv.9.dylib 0x94650000 - 0x946affff com.apple.SearchKit 1.0.2 /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/SearchKit.framework/Versions/A/SearchKit 0x954c0000 - 0x95ac6fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ vecLib.framework/Versions/A/libBLAS.dylib 0x95b20000 - 0x95df0fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ vecLib.framework/Versions/A/libLAPACK.dylib 0x95e0a000 - 0x95e27fff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ CarbonSound.framework/Versions/A/CarbonSound 0x95e40000 - 0x95eadfff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ vecLib.framework/Versions/A/libvDSP.dylib 0x95f00000 - 0x95f20fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ vecLib.framework/Versions/A/libvMisc.dylib 0x9618e000 - 0x9618efff com.apple.audio.units.AudioUnit 1.3.3 /System/Library/Frameworks/AudioUnit.framework/Versions/A/ AudioUnit 0x962e6000 - 0x965befff com.apple.CoreGraphics 1.203.30 (???) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x968d0000 - 0x969b2fff libicucore.A.dylib /usr/lib/libicucore.A.dylib 0x96a20000 - 0x96ae2fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib 0x96b2e000 - 0x96b36fff libbsm.dylib /usr/lib/libbsm.dylib 0x96b50000 - 0x96bdffff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/ATS.framework/Versions/A/ATS 0x96c00000 - 0x96c8cfff com.apple.ink.framework 101.1.4 (55.12) /System/Library/Frameworks/Carbon.framework/Versions/A/ Frameworks/Ink.framework/Versions/A/Ink 0x96cb0000 - 0x96d9efff libiconv.2.dylib /usr/lib/libiconv.2.dylib 0x96e80000 - 0x96e90fff com.apple.vecLib 3.0.3 (vecLib 3.0.3) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib 0x97ee2000 - 0x98144fff com.apple.QuickTime 7.0.1 /System/Library/Frameworks/QuickTime.framework/Versions/A/ QuickTime 0x99000000 - 0x99792fff com.apple.QuickTimeComponents.component 7.0.1 /System/Library/QuickTime/QuickTimeComponents.component/Contents/ MacOS/QuickTimeComponents From sunshine at public.kherson.ua Fri Jul 1 12:10:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 04:10:44 2005 Subject: Reindexing and Compressing a V1.x DB which is encrypted In-Reply-To: Message-ID: On 7/1/05 12:02 PM, "Thomas Biedorf" wrote: > > Am 01.07.2005 um 10:18 schrieb Ruslan Zasukhin: > >> VAPP cannot, but Vstudio should ask you password in open > > is there another verion? I use 1.0a77 and it only responds "Unable to > open Database" or it crashes (see crashlog). On our site you can find Vstudio b9 -- Best regards, Ruslan Zasukhin VP Engineering 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 Fri Jul 1 14:48:32 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Fri Jul 1 07:48:39 2005 Subject: [V4MD2] case insensitive sqlSelect Message-ID: I'm trying to do a case insensitive sqlSelect by setting the collation attributes: gDb.setCollationAttribute(#kStrength, #kPrimary) But my seach is still case sensitive??? regards Heinrich V4MD 2.0.4 fc12 Director MX 2004 10.1 Windows XP SP2 From yeomans at desuetude.com Fri Jul 1 12:09:09 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Jul 1 11:09:19 2005 Subject: case-insensitive searches In-Reply-To: References: Message-ID: <0abedd24458fe1e34aa48ae34535997a@desuetude.com> On Jun 29, 2005, at 3:36 AM, Ruslan Zasukhin wrote: > On 6/29/05 1:52 AM, "Charles Yeomans" wrote: > > Hi Charles, > >> I've got a text field that is indexed by words. In V4Rb 1, to do a >> case-insensitive search I needed to define a method field and search >> it. Is this still the case in V4Rb 2, or can I now do something like >> >> SELECT textField from ATable WHERE Lower(textField)="foo" ? > > This should work in 2.0. It turns out that it doesn't work. Here, textField is a VarChar field that is indexed by words. I tried making queries with VStudio as well. Other SQL string functions work; for instance, SELECT textField from ATable WHERE Left(textField, 3)='foo' works. But other functions do not -- SELECT textField from ATable WHERE Reverse(textField)='oof' -------------- Charles Yeomans From sunshine at public.kherson.ua Fri Jul 1 21:51:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 13:51:20 2005 Subject: case-insensitive searches In-Reply-To: <0abedd24458fe1e34aa48ae34535997a@desuetude.com> Message-ID: On 7/1/05 7:09 PM, "Charles Yeomans" wrote: > > On Jun 29, 2005, at 3:36 AM, Ruslan Zasukhin wrote: > >> On 6/29/05 1:52 AM, "Charles Yeomans" wrote: >> >> Hi Charles, >> >>> I've got a text field that is indexed by words. In V4Rb 1, to do a >>> case-insensitive search I needed to define a method field and search >>> it. Is this still the case in V4Rb 2, or can I now do something like >>> >>> SELECT textField from ATable WHERE Lower(textField)="foo" ? >> >> This should work in 2.0. > > It turns out that it doesn't work. Here, textField is a VarChar field > that is indexed by words. I tried making queries with VStudio as well. > Other SQL string functions work; for instance, > > SELECT textField from ATable WHERE Left(textField, 3)='foo' > > works. But other functions do not -- > > SELECT textField from ATable WHERE Reverse(textField)='oof' Ivan. Please check this RIGHT NOW in vstudio make small test 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 yeomans at desuetude.com Fri Jul 1 16:00:42 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Jul 1 15:00:57 2005 Subject: case-insensitive searches In-Reply-To: References: Message-ID: On Jul 1, 2005, at 2:51 PM, Ruslan Zasukhin wrote: > On 7/1/05 7:09 PM, "Charles Yeomans" wrote: > >> >> On Jun 29, 2005, at 3:36 AM, Ruslan Zasukhin wrote: >> >>> On 6/29/05 1:52 AM, "Charles Yeomans" wrote: >>> >>> Hi Charles, >>> >>>> I've got a text field that is indexed by words. In V4Rb 1, to do a >>>> case-insensitive search I needed to define a method field and search >>>> it. Is this still the case in V4Rb 2, or can I now do something >>>> like >>>> >>>> SELECT textField from ATable WHERE Lower(textField)="foo" ? >>> >>> This should work in 2.0. >> >> It turns out that it doesn't work. Here, textField is a VarChar field >> that is indexed by words. I tried making queries with VStudio as >> well. >> Other SQL string functions work; for instance, >> >> SELECT textField from ATable WHERE Left(textField, 3)='foo' >> >> works. But other functions do not -- >> >> SELECT textField from ATable WHERE Reverse(textField)='oof' > > Ivan. > > Please check this RIGHT NOW > > in vstudio make small test db I just made a small test db using VStudio, and queries of the type above didn't work. -------------- Charles Yeomans From sunshine at public.kherson.ua Sat Jul 2 01:10:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 1 17:10:55 2005 Subject: case-insensitive searches In-Reply-To: Message-ID: On 7/1/05 11:00 PM, "Charles Yeomans" wrote: >>>>> I've got a text field that is indexed by words. In V4Rb 1, to do a >>>>> case-insensitive search I needed to define a method field and search >>>>> it. Is this still the case in V4Rb 2, or can I now do something >>>>> like >>>>> >>>>> SELECT textField from ATable WHERE Lower(textField)="foo" ? >>>> >>>> This should work in 2.0. >>> >>> It turns out that it doesn't work. Here, textField is a VarChar field >>> that is indexed by words. I tried making queries with VStudio as >>> well. >>> Other SQL string functions work; for instance, >>> >>> SELECT textField from ATable WHERE Left(textField, 3)='foo' >>> >>> works. But other functions do not -- >>> >>> SELECT textField from ATable WHERE Reverse(textField)='oof' >> >> Ivan. >> >> Please check this RIGHT NOW >> >> in vstudio make small test db > > I just made a small test db using VStudio, and queries of the type > above didn't work. Well, It looks that you expect that IF field is indexed by words, than SELECT textField from ATable WHERE Lower(textField)="foo" Will find you record with "foo too roo doo" ? NO. Because Lower(textField)='foo' // by the way, single quotes will not do indexed search. it will do simple SCAN of column. and it can find only record with "foo", "FOO", "fOO" 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 yeomans at desuetude.com Fri Jul 1 18:24:14 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Jul 1 17:24:23 2005 Subject: case-insensitive searches In-Reply-To: References: Message-ID: <408314a7c2ada6363af4d321408d3a2b@desuetude.com> On Jul 1, 2005, at 6:10 PM, Ruslan Zasukhin wrote: > On 7/1/05 11:00 PM, "Charles Yeomans" wrote: > >>>>>> I've got a text field that is indexed by words. In V4Rb 1, to do >>>>>> a >>>>>> case-insensitive search I needed to define a method field and >>>>>> search >>>>>> it. Is this still the case in V4Rb 2, or can I now do something >>>>>> like >>>>>> >>>>>> SELECT textField from ATable WHERE Lower(textField)="foo" ? >>>>> >>>>> This should work in 2.0. >>>> >>>> It turns out that it doesn't work. Here, textField is a VarChar >>>> field >>>> that is indexed by words. I tried making queries with VStudio as >>>> well. >>>> Other SQL string functions work; for instance, >>>> >>>> SELECT textField from ATable WHERE Left(textField, 3)='foo' >>>> >>>> works. But other functions do not -- >>>> >>>> SELECT textField from ATable WHERE Reverse(textField)='oof' >>> >>> Ivan. >>> >>> Please check this RIGHT NOW >>> >>> in vstudio make small test db >> >> I just made a small test db using VStudio, and queries of the type >> above didn't work. > > Well, > > It looks that you expect that IF field is indexed by words, than > > SELECT textField from ATable WHERE Lower(textField)="foo" > > Will find you record with "foo too roo doo" ? > > NO. > > Because Lower(textField)='foo' // by the way, single quotes > will not do indexed search. > it will do simple SCAN of column. > > and it can find only record with "foo", "FOO", "fOO" values I expect that Valentina can do anything :) But for now I will use method fields as I have been. -------------- Charles Yeomans From daisychain at iinet.net.au Sat Jul 2 09:38:36 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Fri Jul 1 18:38:44 2005 Subject: how to convert a existing database In-Reply-To: Message-ID: <000501c57e96$00c3e700$ae00a8c0@DamonsPC> HI all, Simple question. RB 5.5.5 Val.fc12 I have a database with a table called FileDataBase and a table called map, one of the fields is called ali In the existing database the data is ALI+++X7+164' It is the ' which is the problem INSERT INTO map (ali,bgm,bsn,cnt1,cnt2,cps,cps1,dtm,loc,name,pac,pac1,qty,rff,uci,unb) VALUES ('ALI+++X7+164'','BGM+YA5::9+~1~+9'','BSN*00*~1~*~2~*~3~*001','CNT+1:~1~ '','CNT+2:~1~'','CPS+~1~+~2~+1'','CPS+1++5'','DTM+137:~1~~2~:203'','LOC+ 8+~1~::92'','Myer Grace Bros','PAC+~1~++CT'','PAC+1++CT'','QTY+12:~1~:KGM'','RFF+CN:~1~'','UCI+~ 1~+~2~:ZZ+~3~:ZZ+7'','UNB+UNOA:3+~1~:ZZ+~2~:ZZ+~3~:~4~+~5~++++1++~6~'') The above obviously does not work. I have tried valentina.escapestring(AllTheAbove,false) But this then save ALI+++X7+164\' Please tell me what to do. Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From sunshine at public.kherson.ua Sat Jul 2 09:33:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 01:33:23 2005 Subject: how to convert a existing database In-Reply-To: <000501c57e96$00c3e700$ae00a8c0@DamonsPC> Message-ID: On 7/2/05 2:38 AM, "Damon Pillinger" wrote: Hi Damon, > HI all, > Simple question. > RB 5.5.5 Val.fc12 > > I have a database with a table called FileDataBase and a table called > map, one of the fields is called ali > > In the existing database the data is > ALI+++X7+164' > > It is the ' which is the problem > > > INSERT INTO map > (ali,bgm,bsn,cnt1,cnt2,cps,cps1,dtm,loc,name,pac,pac1,qty,rff,uci,unb) > VALUES > ('ALI+++X7+164'','BGM+YA5::9+~1~+9'','BSN*00*~1~*~2~*~3~*001','CNT+1:~1~ > '','CNT+2:~1~'','CPS+~1~+~2~+1'','CPS+1++5'','DTM+137:~1~~2~:203'','LOC+ > 8+~1~::92'','Myer Grace > Bros','PAC+~1~++CT'','PAC+1++CT'','QTY+12:~1~:KGM'','RFF+CN:~1~'','UCI+~ > 1~+~2~:ZZ+~3~:ZZ+7'','UNB+UNOA:3+~1~:ZZ+~2~:ZZ+~3~:~4~+~5~++++1++~6~'') Where from comes this SQL command? A) from e.g mySQL dump ? B) you build it self by concatenation of strings ? > The above obviously does not work. I have tried > valentina.escapestring(AllTheAbove,false) As far as I see, if give to valentina.escapestring() the above command, then we will get back: VALUE( \'ALI+++X7+164\'\', But we must get VALUE( 'ALI+++X7+164\'', You see? So if you build string self, then you need call Valentina.EscapeString() For EACH value you add. And wrap escaped string by single quotes self. I think you can make simple helper function to do that > But this then save ALI+++X7+164\' > > Please tell me what to do. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 2 09:34:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 01:34:34 2005 Subject: case-insensitive searches In-Reply-To: <408314a7c2ada6363af4d321408d3a2b@desuetude.com> Message-ID: On 7/2/05 1:24 AM, "Charles Yeomans" wrote: >> Well, >> >> It looks that you expect that IF field is indexed by words, than >> >> SELECT textField from ATable WHERE Lower(textField)="foo" >> >> Will find you record with "foo too roo doo" ? >> >> NO. >> >> Because Lower(textField)='foo' // by the way, single quotes >> will not do indexed search. >> it will do simple SCAN of column. >> >> and it can find only record with "foo", "FOO", "fOO" values > > I expect that Valentina can do anything :) I need to think more on this :-)) > But for now I will use method fields as I have been. Charles, but any problems with db.collationAttribute ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 2 09:36:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 01:36:16 2005 Subject: case-insensitive searches In-Reply-To: <408314a7c2ada6363af4d321408d3a2b@desuetude.com> Message-ID: On 7/2/05 1:24 AM, "Charles Yeomans" wrote: >> Well, >> >> It looks that you expect that IF field is indexed by words, than >> >> SELECT textField from ATable WHERE Lower(textField)="foo" >> >> Will find you record with "foo too roo doo" ? >> >> NO. >> >> Because Lower(textField)='foo' // by the way, single quotes >> will not do indexed search. >> it will do simple SCAN of column. >> >> and it can find only record with "foo", "FOO", "fOO" values > > I expect that Valentina can do anything :) > But for now I will use method fields as I have been. And more: With methods it works because OTHER mechanism is used. Method => has own index with low case words later you do direct search on this index WHERE methodFF = 'foo' -- Best regards, Ruslan Zasukhin VP Engineering 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 Sat Jul 2 10:19:38 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sat Jul 2 03:19:44 2005 Subject: RealBasic VS Director opinions Message-ID: <000a01c57ede$cab20130$3b1d1e97@vmtrm4p9ipbkv2> Hi all list, I need to know the member's list opinion about the performance of RB and Director with Valentina, the future of Director is not sure... and I look for others possible applcations. It's possible use Valentina 2 in RB standard? There are some issue? Thanks Paolo From sunshine at public.kherson.ua Sat Jul 2 12:11:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 04:11:47 2005 Subject: RealBasic VS Director opinions In-Reply-To: <000a01c57ede$cab20130$3b1d1e97@vmtrm4p9ipbkv2> Message-ID: On 7/2/05 11:19 AM, "info@vallemediatime.com" wrote: > Hi all list, > I need to know the member's list opinion about the performance of RB and > Director with Valentina, > the future of Director is not sure... and I look for others possible > applcations. REALbasic is faster. SEVERAL TIMES > It's possible use Valentina 2 in RB standard? Yes > There are some 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 info at vallemediatime.com Sat Jul 2 13:00:36 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sat Jul 2 06:00:45 2005 Subject: Help for installing V2 in RB Message-ID: <000a01c57ef5$4729b490$86261e97@vmtrm4p9ipbkv2> Hi list, I've tryed to install V4RB fc12 in RB 2005 standard, but when I launch a example I get: Kernel_Win32_FinalCW.dll not found it's necessary to insert a path manually like Director? I need a help for start, I'm newbie of RB. Paolo From jda at his.com Sat Jul 2 08:11:28 2005 From: jda at his.com (jda) Date: Sat Jul 2 07:11:49 2005 Subject: how to convert a existing database In-Reply-To: References: Message-ID: >As far as I see, if give to valentina.escapestring() the above command, then >we will get back: > > VALUE( \'ALI+++X7+164\'\', > >But we must get > > VALUE( 'ALI+++X7+164\'', > >You see? > No, Ruslan, there is a bug here. I reported it as #812 (still open). REGEX search for '\' does not work! You are right about escapeString returning '\\'. And that search FAILS. But if you remove the second backslash, you get an exception. Here two searches for 'test\': select id,hit from thereferences where (allFields REGEX '(?i)test\\') order by id -> no hits select id,hit from thereferences where (allFields REGEX '(?i)test\') order by id -> exception line 1:1: unexpected end of file FWIW, searching for '/' does work! (and after escaping it is returned as a single /). Can't Serge fix this? Jon From sunshine at public.kherson.ua Sat Jul 2 15:15:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 07:15:33 2005 Subject: Help for installing V2 in RB In-Reply-To: <000a01c57ef5$4729b490$86261e97@vmtrm4p9ipbkv2> Message-ID: On 7/2/05 2:00 PM, "info@vallemediatime.com" wrote: Hi Paolo, > Hi list, > I've tryed to install V4RB fc12 in RB 2005 standard, but when I launch a > example I get: Kernel_Win32_FinalCW.dll not found > it's necessary to insert a path manually like Director? > I need a help for start, I'm newbie of RB. 1) Here problem not in RB. 2) do you see Program files/Paradigma Software/VComponents_win_cw ? 3) does this folder contains Kernel_Win32_FinalCW.dll ? 4) I think yes. then check in your MyComputer prefs the PATH variable. does it have path to that VComponents folder? may be you have a lots of paths here? It is known problem of windows that it have limit for 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 Sat Jul 2 15:16:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 07:17:03 2005 Subject: how to convert a existing database In-Reply-To: Message-ID: On 7/2/05 3:11 PM, "jda" wrote: >> As far as I see, if give to valentina.escapestring() the above command, then >> we will get back: >> >> VALUE( \'ALI+++X7+164\'\', >> >> But we must get >> >> VALUE( 'ALI+++X7+164\'', >> >> You see? >> > > No, Ruslan, there is a bug here. I reported it as #812 (still open). > > REGEX search for '\' does not work! No Jon. This man do INSERTs. Nothing else as INSERTS. So this is not a regex 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 jda at his.com Sat Jul 2 08:19:13 2005 From: jda at his.com (jda) Date: Sat Jul 2 07:19:25 2005 Subject: how to convert a existing database In-Reply-To: References: Message-ID: > > No, Ruslan, there is a bug here. I reported it as #812 (still open). >> >> REGEX search for '\' does not work! > >No Jon. > >This man do INSERTs. Nothing else as INSERTS. >So this is not a regex problem. > I'm speaking about my own searches. I gave you examples that do not work. And a bug report. Can YOU perform a REGEX search for '\' and get it to work????? Jon From sunshine at public.kherson.ua Sat Jul 2 15:25:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 07:25:24 2005 Subject: how to convert a existing database In-Reply-To: Message-ID: On 7/2/05 3:19 PM, "jda" wrote: >>> No, Ruslan, there is a bug here. I reported it as #812 (still open). >>> >>> REGEX search for '\' does not work! >> >> No Jon. >> >> This man do INSERTs. Nothing else as INSERTS. >> So this is not a regex problem. >> > > I'm speaking about my own searches. > > I gave you examples that do not work. And a bug report. > > Can YOU perform a REGEX search for '\' and get it to work????? This is one of latest bugs on our hands. FYI: I have play in mySQL with this. this is how it works: Let you have record with value aaa\bbb Now you want find this using REGEX and you want use \ inside of search pattern Must be as WHERE fld REGEX 'aaa\\\\bbb' Yes, 4 slashes. IF you TYPE this query using some mySQL GUI tool, then you must type these 4 slashes. Why? because: ** SQL parser will eat 2 of them, so value will be as aaa\\bbb ** so into c++ RegExFunction() we send RegExFunc( "aaa\\bbb" ) and REGEX itself now remove first slash and use aaa\bbb for match. -- Best regards, Ruslan Zasukhin VP Engineering 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 Sat Jul 2 11:38:57 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Jul 2 10:39:09 2005 Subject: case-insensitive searches In-Reply-To: References: Message-ID: On Jul 2, 2005, at 2:34 AM, Ruslan Zasukhin wrote: > On 7/2/05 1:24 AM, "Charles Yeomans" wrote: > >>> Well, >>> >>> It looks that you expect that IF field is indexed by words, than >>> >>> SELECT textField from ATable WHERE Lower(textField)="foo" >>> >>> Will find you record with "foo too roo doo" ? >>> >>> NO. >>> >>> Because Lower(textField)='foo' // by the way, single quotes >>> will not do indexed search. >>> it will do simple SCAN of column. >>> >>> and it can find only record with "foo", "FOO", "fOO" values >> >> I expect that Valentina can do anything :) > > I need to think more on this :-)) > >> But for now I will use method fields as I have been. > > Charles, but any problems with db.collationAttribute ? Good question; I decided to try that. I'll see how it works. -------------- Charles Yeomans From yeomans at desuetude.com Sat Jul 2 13:00:09 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Jul 2 12:00:15 2005 Subject: [V4Rb 2] converting VSet to VCursor Message-ID: <712e18d46c91c68095641eae707b3797@desuetude.com> Once I have a VSet, I'd like to then get a VCursor to get the fields I want for the found set of records. Is there a way to do it other than "SELECT * FROM Table1 WHERE recID IN (recid1, recID2, ..., recID500)"? -------------- Charles Yeomans From IvanSmahin at public.kherson.ua Sat Jul 2 20:26:40 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sat Jul 2 12:26:48 2005 Subject: [V4Rb 2] converting VSet to VCursor In-Reply-To: <712e18d46c91c68095641eae707b3797@desuetude.com> References: <712e18d46c91c68095641eae707b3797@desuetude.com> Message-ID: <355315463.20050702202640@public.kherson.ua> Hello Charles, Saturday, July 2, 2005, 8:00:09 PM, you wrote: CY> Once I have a VSet, I'd like to then get a VCursor to get the fields I CY> want for the found set of records. Is there a way to do it other than CY> "SELECT * FROM Table1 WHERE recID IN (recid1, recID2, ..., recID500)"? Why not? You can mention RecID as any other field in the "WHERE" clause. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From yeomans at desuetude.com Sat Jul 2 14:00:06 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Jul 2 13:00:14 2005 Subject: [V4Rb 2] converting VSet to VCursor In-Reply-To: <355315463.20050702202640@public.kherson.ua> References: <712e18d46c91c68095641eae707b3797@desuetude.com> <355315463.20050702202640@public.kherson.ua> Message-ID: <6fc54144c45d959dc7b1eb60be935891@desuetude.com> On Jul 2, 2005, at 1:26 PM, Ivan Smahin wrote: > Hello Charles, > > Saturday, July 2, 2005, 8:00:09 PM, you wrote: > > CY> Once I have a VSet, I'd like to then get a VCursor to get the > fields I > CY> want for the found set of records. Is there a way to do it other > than > CY> "SELECT * FROM Table1 WHERE recID IN (recid1, recID2, ..., > recID500)"? > > Why not? You can mention RecID as any other field in the "WHERE" > clause. It seems rather inelegant. Perhaps we could use a VTable method Function Cursor(fields() as String, recIDs as VSet) as VCursor. -------------- Charles Yeomans From robert at formworkdesign.com Sat Jul 2 14:29:05 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Sat Jul 2 13:29:03 2005 Subject: July vServer licenses to download? Message-ID: <6A1F0172-6930-4DA4-8D73-69135F9EB95C@formworkdesign.com> Are these items forthcoming? From sunshine at public.kherson.ua Sat Jul 2 21:31:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 13:31:32 2005 Subject: July vServer licenses to download? In-Reply-To: <6A1F0172-6930-4DA4-8D73-69135F9EB95C@formworkdesign.com> Message-ID: On 7/2/05 9:29 PM, "Robert Nichols" wrote: > Are these items forthcoming? Robert, It is on site from 1 July. Any problems with files? -- Best regards, Ruslan Zasukhin VP Engineering 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 Sat Jul 2 14:42:17 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Sat Jul 2 13:42:18 2005 Subject: July vServer licenses to download? In-Reply-To: References: Message-ID: <19F94400-A2A7-44EE-B09C-0CD59449D0C3@formworkdesign.com> The vServer download page appears to be showing a Mac license from June 1, and a Windows license for June 30. Do the links need to be updated? On Jul 2, 2005, at 2:31 PM, Ruslan Zasukhin wrote: > On 7/2/05 9:29 PM, "Robert Nichols" wrote: > > >> Are these items forthcoming? >> > > Robert, > > It is on site from 1 July. > > Any problems with files? > > -- > Best regards, > > Ruslan Zasukhin > VP 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 Jul 2 22:10:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 14:10:55 2005 Subject: July vServer licenses to download? In-Reply-To: <19F94400-A2A7-44EE-B09C-0CD59449D0C3@formworkdesign.com> Message-ID: On 7/2/05 9:42 PM, "Robert Nichols" wrote: > The vServer download page appears to be showing a Mac license from > June 1, and a Windows license for June 30. Do the links need to be > updated? Mac file FIXED. Win was 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 sunshine at public.kherson.ua Sat Jul 2 23:40:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 15:40:39 2005 Subject: [V4Rb 2] converting VSet to VCursor In-Reply-To: <6fc54144c45d959dc7b1eb60be935891@desuetude.com> Message-ID: On 7/2/05 9:00 PM, "Charles Yeomans" wrote: >> CY> Once I have a VSet, I'd like to then get a VCursor to get the >> fields I >> CY> want for the found set of records. Is there a way to do it other >> than >> CY> "SELECT * FROM Table1 WHERE recID IN (recid1, recID2, ..., >> recID500)"? >> >> Why not? You can mention RecID as any other field in the "WHERE" >> clause. > > It seems rather inelegant. Perhaps we could use a VTable method > > Function Cursor(fields() as String, recIDs as VSet) as VCursor. I see what you mean Charles. If I not mistake such feature request present in Mantis. I have see similar thing in the 4D. SetToArray ArrayToSet. 4D names a kind of cursor as Set. -- Best regards, Ruslan Zasukhin VP Engineering 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 Sat Jul 2 16:42:22 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Jul 2 15:42:29 2005 Subject: case-insensitive searches In-Reply-To: References: Message-ID: <58a3f8aa54e1c4dc3a30b76be871c8ea@desuetude.com> On Jul 2, 2005, at 11:38 AM, Charles Yeomans wrote: > > On Jul 2, 2005, at 2:34 AM, Ruslan Zasukhin wrote: > >> On 7/2/05 1:24 AM, "Charles Yeomans" wrote: >> >>>> Well, >>>> >>>> It looks that you expect that IF field is indexed by words, than >>>> >>>> SELECT textField from ATable WHERE Lower(textField)="foo" >>>> >>>> Will find you record with "foo too roo doo" ? >>>> >>>> NO. >>>> >>>> Because Lower(textField)='foo' // by the way, single quotes >>>> will not do indexed search. >>>> it will do simple SCAN of column. >>>> >>>> and it can find only record with "foo", "FOO", "fOO" values >>> >>> I expect that Valentina can do anything :) >> >> I need to think more on this :-)) >> >>> But for now I will use method fields as I have been. >> >> Charles, but any problems with db.collationAttribute ? > > Good question; I decided to try that. I'll see how it works. In fact I cannot get this to work. I set theDB.CollationAttribute(EVColAttribute.kStrength) = EVColAttributeValue.kPrimary but the next time the database file is opened, theDB.CollationAttribute(EVColAttribute.kStrength) returns 2. I also tried setting this property and reindexing the database immediately before searching using a query like SELECT textField from ATable WHERE textField="foo" and it failed as well. I'd try some tests with VStudio, but that dog of an application doesn't even show the db collation settings. -------------- Charles Yeomans From sunshine at public.kherson.ua Sat Jul 2 23:47:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 2 15:48:04 2005 Subject: case-insensitive searches In-Reply-To: <58a3f8aa54e1c4dc3a30b76be871c8ea@desuetude.com> Message-ID: On 7/2/05 11:42 PM, "Charles Yeomans" wrote: >>> Charles, but any problems with db.collationAttribute ? >> >> Good question; I decided to try that. I'll see how it works. > > In fact I cannot get this to work. I set > > theDB.CollationAttribute(EVColAttribute.kStrength) = > EVColAttributeValue.kPrimary > > but the next time the database file is opened, > theDB.CollationAttribute(EVColAttribute.kStrength) returns 2. > > I also tried setting this property and reindexing the database > immediately before searching using a query like > > SELECT textField from ATable WHERE textField="foo" > > and it failed as well. Hmm. Please check our example IndexByWords. It works correctly. Do you have records already in db/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 info at vallemediatime.com Sun Jul 3 00:50:19 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sat Jul 2 17:50:27 2005 Subject: Help for installing V2 in RB References: Message-ID: <009d01c57f58$6c840c50$a31b1e97@vmtrm4p9ipbkv2> Thanks Ruslan, I've checked path and restart my PC and now RB working with V4RB. My first impressions about your example performance in authoring mode are not good, the Director's example seem faster, but it's necessary to test it in runtime mode. Paolo ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Saturday, July 02, 2005 2:15 PM Subject: Re: Help for installing V2 in RB > On 7/2/05 2:00 PM, "info@vallemediatime.com" > wrote: > > Hi Paolo, > > > Hi list, > > I've tryed to install V4RB fc12 in RB 2005 standard, but when I launch a > > example I get: Kernel_Win32_FinalCW.dll not found > > > it's necessary to insert a path manually like Director? > > I need a help for start, I'm newbie of RB. > > 1) Here problem not in RB. > > 2) do you see > > Program files/Paradigma Software/VComponents_win_cw ? > > 3) does this folder contains Kernel_Win32_FinalCW.dll ? > > 4) I think yes. > then check in your MyComputer prefs the PATH variable. > does it have path to that VComponents folder? > > may be you have a lots of paths here? > It is known problem of windows that it have limit for 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] > > > _______________________________________________ > 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.323 / Virus Database: 267.8.8/35 - Release Date: 30/06/2005 > > From yeomans at desuetude.com Sat Jul 2 19:21:47 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Jul 2 18:22:05 2005 Subject: case-insensitive searches In-Reply-To: References: Message-ID: On Jul 2, 2005, at 4:47 PM, Ruslan Zasukhin wrote: > On 7/2/05 11:42 PM, "Charles Yeomans" wrote: > >>>> Charles, but any problems with db.collationAttribute ? >>> >>> Good question; I decided to try that. I'll see how it works. >> >> In fact I cannot get this to work. I set >> >> theDB.CollationAttribute(EVColAttribute.kStrength) = >> EVColAttributeValue.kPrimary >> >> but the next time the database file is opened, >> theDB.CollationAttribute(EVColAttribute.kStrength) returns 2. >> >> I also tried setting this property and reindexing the database >> immediately before searching using a query like >> >> SELECT textField from ATable WHERE textField="foo" >> >> and it failed as well. > > Hmm. > > Please check our example IndexByWords. > It works correctly. Confirmed. > > Do you have records already in db/tables? Yes, and that appears to be the problem. I was eventually able to create a new database file with collation set to ignore case. But it appears that changing the collation of an existing database doesn't work. I have entered it into Mantis. -------------- Charles Yeomans From sunshine at public.kherson.ua Sun Jul 3 09:21:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 3 01:21:32 2005 Subject: V4WS phenomenon In-Reply-To: <4267738E.50202@werkbank.com> Message-ID: On 4/21/05 12:34 PM, "Sven Deichmann" wrote: Hi Scven, You can make diagnose of Valentina db to see if it is ok. If problems found, then do XML rebuild of db. > we have got some strange problems here and I hope someone can give me a > clue what it could be that is going wrong. > > We experience some strange behaviour with Websiphon (2.0.9) and > Valentina for WebSiphon which run on Mac OS 9.2.2 as acgi within Webstar > 4.5. > > Apart from the fact, that you can crash the whole server by accessing > non-existing Cursors or something like that, we get Runtime errors > stating certain fields do not exist that in fact are there. > > The newest and strangest phenomenon was, that after a fresh compile a > script is executed without any problem, but if it already was compiled > in an access before, the script failed with a runtime error (valentina > error for valGetField "no such field" on a blank line) > > Today this problem seems to have vanished. But I don't want it to happen > again. > > What would you suspect is going wrong? > > Another problem we experience is, that Websiphon eats more and more RAM > while running. I have written a script that quits WebSiphon if that goes > above certain limits, but thats only a dirty workaround... -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 3 09:42:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 3 01:42:46 2005 Subject: Help for installing V2 in RB In-Reply-To: <009d01c57f58$6c840c50$a31b1e97@vmtrm4p9ipbkv2> Message-ID: On 7/3/05 1:50 AM, "info@vallemediatime.com" wrote: > Thanks Ruslan, > I've checked path and restart my PC and now RB working with V4RB. Ok! > My first impressions about your example performance in authoring mode are > not good, > the Director's example seem faster, but it's necessary to test it in runtime > mode. I do not think so. Please check Valentina.DebugLevel parameter. I think V4RB examples on default build debug level. In V4MD may be this parameter is off on default. Be sure REALbasic and V4RB are 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 info at vallemediatime.com Sun Jul 3 08:59:35 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Jul 3 01:59:42 2005 Subject: Help for installing V2 in RB References: Message-ID: <001001c57f9c$c67be040$bd1e1e97@vmtrm4p9ipbkv2> > Please check Valentina.DebugLevel parameter. > I think V4RB examples on default build debug level. Done, you are right, now is faster :-) Thanks Paolo From anomar at elitecoderz.net Sun Jul 3 11:30:08 2005 From: anomar at elitecoderz.net (Erik Scholtz) Date: Sun Jul 3 04:30:14 2005 Subject: [V4RB] - CONCAT in WHERE-clause Message-ID: <42C7B020.9040208@elitecoderz.net> Hello, I have to do a very ugly SQL-Query on a database with telephone-numbers (formated like: 030/22256489 or 0302/2256489 , ...): ********* SELECT id FROM usersdata WHERE CONCAT( LPAD(phone,LOCATE('/',phone)-1,''), SUBSTRING(phone,LOCATE('/',phone)+1) )='03022256489' ********* Since I do not know where the / in the phone-number is and if it is set correctly, I have to remove the / in the query and look for the complete number without any other chars exept the digits. Unfortunatly, Valentina seems not to understand the CONCAT-command in the where-clause or did I do something wrong? Thanks for your hints, Erik From sunshine at public.kherson.ua Sun Jul 3 12:39:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 3 04:39:57 2005 Subject: [V4RB] - CONCAT in WHERE-clause In-Reply-To: <42C7B020.9040208@elitecoderz.net> Message-ID: On 7/3/05 12:30 PM, "Erik Scholtz" wrote: Hi Erik, > I have to do a very ugly SQL-Query on a database with telephone-numbers > (formated like: 030/22256489 or 0302/2256489 , ...): > > ********* > > SELECT id > FROM usersdata > WHERE > CONCAT( > LPAD(phone,LOCATE('/',phone)-1,''), > SUBSTRING(phone,LOCATE('/',phone)+1) > )='03022256489' > ********* > > Since I do not know where the / in the phone-number is and if it is set > correctly, I have to remove the / in the query and look for the complete > number without any other chars exept the digits. > > Unfortunatly, Valentina seems not to understand the CONCAT-command in > the where-clause or did I do something wrong? I recommend you to use Table Method for this task because main advantage -- you can build index for it. So make new method field in table with formula, and mark it indexed. Then do search as where fldMEthod = '03022256489' -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From anomar at elitecoderz.net Sun Jul 3 12:38:08 2005 From: anomar at elitecoderz.net (Erik Scholtz) Date: Sun Jul 3 05:38:27 2005 Subject: [V4RB] - CONCAT in WHERE-clause In-Reply-To: References: Message-ID: <42C7C010.4030703@elitecoderz.net> > I recommend you to use Table Method for this task > because main advantage -- you can build index for it. > > So make new method field in table with formula, and mark it indexed. > > Then do search as > > where fldMEthod = '03022256489' Hi Ruslan, thanks for your advise - but I still have a problem: The method doesn't work, since the following select-statement also does not work: SELECT SUBSTR(phone,1,LOCATE('/',phone)-1) FROM usersdata I tried this query in the VStudio, but it returns an result-page with empty rows for each row in the table. It seems, that Valentina can not execute the LOCATE-statement; I get a nice result, when replacing this statement with an integer-value (which just doesn't work for me). Or did I understand something wrong again? Thanks a lot, Erik From macsforever2000 at goodeast.com Sun Jul 3 04:54:03 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Sun Jul 3 05:54:20 2005 Subject: [V4Rb 2] converting VSet to VCursor In-Reply-To: References: Message-ID: <2D855F2E-2F20-45FA-8136-C0C165354C1D@goodeast.com> Hi guys, On Jul 2, 2005, at 2:40 PM, Ruslan Zasukhin wrote: > On 7/2/05 9:00 PM, "Charles Yeomans" wrote: > >>> CY> Once I have a VSet, I'd like to then get a VCursor to get the >>> fields I >>> CY> want for the found set of records. Is there a way to do it >>> other >>> than >>> CY> "SELECT * FROM Table1 WHERE recID IN (recid1, recID2, ..., >>> recID500)"? >>> >>> Why not? You can mention RecID as any other field in the "WHERE" >>> clause. >>> >> >> It seems rather inelegant. Perhaps we could use a VTable method >> >> Function Cursor(fields() as String, recIDs as VSet) as VCursor. >> > > I see what you mean Charles. > If I not mistake such feature request present in Mantis. > > I have see similar thing in the 4D. > > SetToArray > ArrayToSet. > > 4D names a kind of cursor as Set. I could have sworn that I made *exactly* that feature request a while back but I cannot find any mention of it in Mantis. It would likely be much faster than the SQL way. Charles, would you do the honors of creating a new feature request for this? Best regards, Frank Schima From sunshine at public.kherson.ua Sun Jul 3 13:58:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 3 05:58:20 2005 Subject: [V4RB] - CONCAT in WHERE-clause In-Reply-To: <42C7C010.4030703@elitecoderz.net> Message-ID: On 7/3/05 1:38 PM, "Erik Scholtz" wrote: >> I recommend you to use Table Method for this task >> because main advantage -- you can build index for it. >> >> So make new method field in table with formula, and mark it indexed. >> >> Then do search as >> >> where fldMEthod = '03022256489' > > Hi Ruslan, > > > thanks for your advise - but I still have a problem: The method doesn't > work, since the following select-statement also does not work: > > SELECT SUBSTR(phone,1,LOCATE('/',phone)-1) FROM usersdata Wait, in the method cannot be SELECT Formula must be "CONCAT( LPAD( phone, LOCATE( '/', phone ) - 1, '' ), SUBSTRING( phone, LOCATE('/',phone) + 1 )" > I tried this query in the VStudio, but it returns an result-page with > empty rows for each row in the table. It seems, that Valentina can not > execute the LOCATE-statement; I get a nice result, when replacing this > statement with an integer-value (which just doesn't work for me). Or did > I understand something wrong again? -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 3 13:58:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 3 05:58:53 2005 Subject: [V4Rb 2] converting VSet to VCursor In-Reply-To: <2D855F2E-2F20-45FA-8136-C0C165354C1D@goodeast.com> Message-ID: On 7/3/05 1:54 PM, "Frank Schima" wrote: > I could have sworn that I made *exactly* that feature request a while > back but I cannot find any mention of it in Mantis. It would likely > be much faster than the SQL way. > > Charles, would you do the honors of creating a new feature request > for this? Frank, I have see it 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 macsforever2000 at goodeast.com Sun Jul 3 05:04:57 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Sun Jul 3 06:05:10 2005 Subject: [V4Rb 2] converting VSet to VCursor In-Reply-To: References: Message-ID: Hi Ruslan, On Jul 3, 2005, at 4:58 AM, Ruslan Zasukhin wrote: > I have see it in Mantis What bug number? Best regards, Frank From sunshine at public.kherson.ua Sun Jul 3 14:15:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 3 06:16:00 2005 Subject: [V4Rb 2] converting VSet to VCursor In-Reply-To: Message-ID: On 7/3/05 2:04 PM, "Frank Schima" wrote: > On Jul 3, 2005, at 4:58 AM, Ruslan Zasukhin wrote: > >> I have see it in Mantis > > What bug number? 498 -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 3 05:34:39 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Sun Jul 3 06:34:54 2005 Subject: [V4Rb 2] converting VSet to VCursor In-Reply-To: References: Message-ID: On Jul 3, 2005, at 5:15 AM, Ruslan Zasukhin wrote: > On 7/3/05 2:04 PM, "Frank Schima" > wrote: > > >> On Jul 3, 2005, at 4:58 AM, Ruslan Zasukhin wrote: >> >> >>> I have see it in Mantis >>> >> >> What bug number? >> > > 498 Thanks for finding it! I now realize that I had my bug reports set to "Kernel" only. But I searched for "vset vcursor" and it did not appear. -Frank Schima From anomar at elitecoderz.net Sun Jul 3 14:02:21 2005 From: anomar at elitecoderz.net (Erik Scholtz) Date: Sun Jul 3 07:02:31 2005 Subject: [V4RB] - CONCAT in WHERE-clause In-Reply-To: References: Message-ID: <42C7D3CD.4040807@elitecoderz.net> Ruslan Zasukhin wrote: >>SELECT SUBSTR(phone,1,LOCATE('/',phone)-1) FROM usersdata > > > Wait, in the method cannot be SELECT > > Formula must be > > "CONCAT( LPAD( phone, LOCATE( '/', phone ) - 1, '' ), > SUBSTRING( phone, LOCATE('/',phone) + 1 )" Yes that's true: here comes the whole story: I made this method (as you gave it here but without index, since Vstudio crashes every time I'm trying to use the Index-Option for a method) and tried the query as you discribed (on the methodfield). Vstudio did not gave a result, instead Vstudio crashed. So I run the following query on the "SQL Editor" in the Vstudio ("SELECT SUBSTR(phone,1,LOCATE('/',phone)-1) FROM usersdata"), where I expected to get a result from the database (all area-codes). Instead of getting the area-codes (the trailing numbers in front of the /), I got empty rows for each entry. So the query itself has no result and that's the reason why the method also does not work, I think. Erik From sunshine at public.kherson.ua Sun Jul 3 16:43:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 3 08:43:31 2005 Subject: [V4RB] - CONCAT in WHERE-clause In-Reply-To: <42C7D3CD.4040807@elitecoderz.net> Message-ID: On 7/3/05 3:02 PM, "Erik Scholtz" wrote: > Ruslan Zasukhin wrote: >>> SELECT SUBSTR(phone,1,LOCATE('/',phone)-1) FROM usersdata >> >> >> Wait, in the method cannot be SELECT >> >> Formula must be >> >> "CONCAT( LPAD( phone, LOCATE( '/', phone ) - 1, '' ), >> SUBSTRING( phone, LOCATE('/',phone) + 1 )" > > > Yes that's true: here comes the whole story: > I made this method (as you gave it here but without index, since Vstudio > crashes every time I'm trying to use the Index-Option for a method) and > tried the query as you discribed (on the methodfield). Vstudio did not > gave a result, instead Vstudio crashed. > > So I run the following query on the "SQL Editor" in the Vstudio ("SELECT > SUBSTR(phone,1,LOCATE('/',phone)-1) FROM usersdata"), where I expected > to get a result from the database (all area-codes). Jochen, it needs to check this. > Instead of getting the area-codes (the trailing numbers in front of the > /), I got empty rows for each entry. So the query itself has no result > and that's the reason why the method also does not work, I think. Erik, you can also use viSQL utility from V4RB Examples/Adcanced -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From anomar at elitecoderz.net Sun Jul 3 16:08:48 2005 From: anomar at elitecoderz.net (Erik Scholtz) Date: Sun Jul 3 09:08:59 2005 Subject: [V4RB] - CONCAT in WHERE-clause In-Reply-To: References: Message-ID: <42C7F170.3060105@elitecoderz.net> Ruslan Zasukhin wrote: > On 7/3/05 3:02 PM, "Erik Scholtz" wrote: > > >>Ruslan Zasukhin wrote: >> >>>>SELECT SUBSTR(phone,1,LOCATE('/',phone)-1) FROM usersdata >>> >>> >>>Wait, in the method cannot be SELECT >>> >>>Formula must be >>> >>> "CONCAT( LPAD( phone, LOCATE( '/', phone ) - 1, '' ), >>> SUBSTRING( phone, LOCATE('/',phone) + 1 )" >> >> >>Yes that's true: here comes the whole story: >>I made this method (as you gave it here but without index, since Vstudio >>crashes every time I'm trying to use the Index-Option for a method) and >>tried the query as you discribed (on the methodfield). Vstudio did not >>gave a result, instead Vstudio crashed. >> >>So I run the following query on the "SQL Editor" in the Vstudio ("SELECT >>SUBSTR(phone,1,LOCATE('/',phone)-1) FROM usersdata"), where I expected >>to get a result from the database (all area-codes). > > > Jochen, it needs to check this. > > >>Instead of getting the area-codes (the trailing numbers in front of the >>/), I got empty rows for each entry. So the query itself has no result >>and that's the reason why the method also does not work, I think. > > > Erik, you can also use viSQL utility from V4RB Examples/Adcanced I checked this with viSQL too, just a view moments ago. Nearly the same result as in VStudio: I get a list with NULL-Values. So I modified the query a little bit: SELECT SUBSTR(phone,1,LOCATE('/',phone)-1),LOCATE('/',phone) FROM usersdata With this query viSQL returns a list like this: --------- NULL 5 NULL 7 NULL 5 NULL 6 --------- VStudio returns a list like this one: --------- No_name2 5 7 5 6 --------- The first column is dropped by Vstudio and not displayed. The LOCATE-Command works fine if it is used "standalone" - but it does not work, when used in the SUBSTR-command. Best regards, Erik From ernestogiannotta at tiscalinet.it Sun Jul 3 17:09:43 2005 From: ernestogiannotta at tiscalinet.it (Erne) Date: Sun Jul 3 12:09:45 2005 Subject: Date Difference Function Message-ID: <1FA8BC49-292C-4822-A6FC-EFC93E1554CD@tiscalinet.it> Hello list, I have a task but can't figure out how to accomplish it easily, maybe somebody has idea I need to know how many days separate a recurrence (stored as DateField) from today e.g. DateFormat is kMDY Separatore is / the recurrence is 01/03/1958 and today is 12/03/2005 the DateDiff(day) function returns -17501 which is correct but it's not what I'm looking for I need the days that separate us from the recurrence on a yearly basis so I set up a method LongField: // this part will return a date with the same moth and day of stored recurrence but with current year RecurrenceDate ="Concat(DatePart(DateField, 'month', '/',_ DatePart(DateField, 'day', '/',_ DatePart(GetDate(CurDate()), 'year'))" // here we get the difference in days DiffMethod = "DateDiff(" + RecurrenceDate + "GetDate(CurDate()), 'day')" this will return -334 and it's still correct, but not yet what I want I need 31 and here's how I get it: // this part will return a date with the same moth and day of stored recurrence but with current year RecurrenceDate ="Concat(DatePart(DateField, 'month', '/',_ DatePart(DateField, 'day', '/',_ DatePart(GetDate(CurDate()), 'year')_ + if(DatePart(DateField, 'month') > DatePart(GetDate (CurDate()), 'month'), 0, 1))" <--- add 1 year if needed // here we get the difference in days DiffMethod = "DateDiff(" + RecurrenceDate + "GetDate(CurDate()), 'day')" but still this won't work well in case we are in same month, so it must be: RecurrenceDate = "Concat(DatePart(DateField, 'month', '/'," +_ "', DatePart(DateField, 'day', '/'," +_ "', DatePart(GetDate(CurDate()), 'year')" +_ ") + if(DatePart(DateField, 'month') > DatePart (GetDate(CurDate()), 'month'), " +_ "0, if(DatePart(DateField, 'month') = DatePart (GetDate(CurDate()), 'month'), " +_ "if(DatePart(DateField, 'day') >= DatePart(GetDate (CurDate()), 'day'), 0, 1), 1)))" DiffMethod = "DateDiff(" + RecurrenceDate + ", GetDate(CurDate()), 'day')" Am I mad? Is there any simpler way to accomplish this in the opinion of those brave enough to follow me up to here :?) thanks for your kind attention Cool Runnings, Erne. / |\ |\ | / ? |/ | \ | ? \ |\ | \| \ From sunshine at public.kherson.ua Sun Jul 3 22:10:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 3 14:10:58 2005 Subject: [V4RB] - CONCAT in WHERE-clause In-Reply-To: <42C7F170.3060105@elitecoderz.net> Message-ID: On 7/3/05 5:08 PM, "Erik Scholtz" wrote: >> Erik, you can also use viSQL utility from V4RB Examples/Adcanced > > I checked this with viSQL too, just a view moments ago. Nearly the same > result as in VStudio: I get a list with NULL-Values. So I modified the > query a little bit: > > SELECT SUBSTR(phone,1,LOCATE('/',phone)-1),LOCATE('/',phone) FROM usersdata > > > With this query viSQL returns a list like this: > --------- > NULL 5 > NULL 7 > NULL 5 > NULL 6 > --------- > > > VStudio returns a list like this one: > --------- > No_name2 > 5 > 7 > 5 > 6 > --------- > The first column is dropped by Vstudio and not displayed. > > > The LOCATE-Command works fine if it is used "standalone" - but it does > not work, when used in the SUBSTR-command. Ivan, please check this point. Erik, you can use the next workaround I think. Make 2 methods. First do SUBSTR, second LOCATE. -- Best regards, Ruslan Zasukhin VP Engineering 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 Sun Jul 3 22:48:45 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sun Jul 3 14:48:52 2005 Subject: Date Difference Function In-Reply-To: <1FA8BC49-292C-4822-A6FC-EFC93E1554CD@tiscalinet.it> References: <1FA8BC49-292C-4822-A6FC-EFC93E1554CD@tiscalinet.it> Message-ID: <42C8411D.2060404@public.kherson.ua> Hello Erne, Erne wrote: > Hello list, > > I have a task but can't figure out how to accomplish it easily, > maybe somebody has idea > > I need to know how many days separate a recurrence (stored as > DateField) from today > e.g. > DateFormat is kMDY > Separatore is / > the recurrence is 01/03/1958 > and today is 12/03/2005 > I've read you message number times but I'm afraid I did not get it completelly. Probably it would be better to see a couple of real examples? 01/03/1958 12/03/2005 - 11 days Right? Anycase it seems you should consider usage of such set of SQL-functions: Year Month Day Just for simplifying your scripts (instead of continiously DatePart usage). -- Best regards, Ivan Smahin From robert at formworkdesign.com Sun Jul 3 15:55:08 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Sun Jul 3 14:55:06 2005 Subject: quick sql help Message-ID: <2F7FCB51-371A-44C3-BF1C-349633B259D7@formworkdesign.com> I have a cursor that has two fields (from different tables) that share the same name. Is the strategy here to give one (or both) an alias name in my select statement? That way, when getting values from the cursor I can use one or both alias names, which are not duplicated. If so, what is the sql syntax to create the alias name? Is there another strategy? Thanks a million. From IvanSmahin at public.kherson.ua Sun Jul 3 23:05:51 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sun Jul 3 15:05:46 2005 Subject: quick sql help In-Reply-To: <2F7FCB51-371A-44C3-BF1C-349633B259D7@formworkdesign.com> References: <2F7FCB51-371A-44C3-BF1C-349633B259D7@formworkdesign.com> Message-ID: <42C8451F.3080508@public.kherson.ua> Hello Robert, Robert Nichols wrote: > I have a cursor that has two fields (from different tables) that share > the same name. > > Is the strategy here to give one (or both) an alias name in my select > statement? That way, when getting values from the cursor I can use one > or both alias names, which are not duplicated. > > If so, what is the sql syntax to create the alias name? Certainly. The same names could be source of many problems. So it is always good idea to get unique-field-named cursor. SELECT t1.f1 as 't1f1', t2.f1 as 't2f1' FROM t1, t2 ... > > Is there another strategy? > You could get uniqueness field names using table name as prefix: CREATE TABLE t1 ( t1_f1 LONG ) ... -- Best regards, Ivan Smahin From robert at formworkdesign.com Sun Jul 3 16:31:13 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Sun Jul 3 15:31:12 2005 Subject: [v4rb v1] sql help with LEFT OUTER JOIN Message-ID: I am a SQL novice, but have been improving steadily as I work with Valentina. I have a LEFT OUTER JOIN working properly using v2, but in an earlier v1 project, I keep getting 602 errors from the following select string: s = "SELECT projects.recid,users.shortname FROM projects LEFT OUTER JOIN users ON projects.user=users.recid" I've got a lot of project records, some of which do not have related user records, and I want my cursor to show all project records anyway. The relationship between projects and users is M:1 (or, if I have that syntax wrong, one user record may point to many project records) I believe the string that is working in v2 is using a 1:M relationship. Is this part of the problem? Any suggestions? Thanks, Robert From IvanSmahin at public.kherson.ua Sun Jul 3 23:37:06 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sun Jul 3 15:37:10 2005 Subject: [v4rb v1] sql help with LEFT OUTER JOIN In-Reply-To: References: Message-ID: <42C84C72.5000402@public.kherson.ua> Robert Nichols wrote: > I am a SQL novice, but have been improving steadily as I work with > Valentina. I have a LEFT OUTER JOIN working properly using v2, but in > an earlier v1 project, I keep getting 602 errors from the following > select string: > > s = "SELECT projects.recid,users.shortname FROM projects LEFT OUTER > JOIN users ON projects.user=users.recid" You could try another syntax: SELECT projects.recid,users.shortname FROM projects, users WHERE projects.user *= users.recid -- Best regards, Ivan Smahin From robert at formworkdesign.com Sun Jul 3 17:00:52 2005 From: robert at formworkdesign.com (Robert Nichols) Date: Sun Jul 3 16:00:52 2005 Subject: [v4rb v1] sql help with LEFT OUTER JOIN In-Reply-To: <42C84C72.5000402@public.kherson.ua> References: <42C84C72.5000402@public.kherson.ua> Message-ID: <9B9158BD-B332-482E-B7F5-C6BF64E36530@formworkdesign.com> Ivan, That worked beautifully. And so simple, too. Thank you very, very much. What do you call that type of statement? Is it also a left outer join, but requested in a manner different from what I showed? Robert On Jul 3, 2005, at 4:37 PM, Ivan Smahin wrote: > SELECT > projects.recid,users.shortname > FROM > projects, users > WHERE > projects.user *= users.recid From IvanSmahin at public.kherson.ua Mon Jul 4 00:25:37 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sun Jul 3 16:25:32 2005 Subject: [v4rb v1] sql help with LEFT OUTER JOIN In-Reply-To: <9B9158BD-B332-482E-B7F5-C6BF64E36530@formworkdesign.com> References: <42C84C72.5000402@public.kherson.ua> <9B9158BD-B332-482E-B7F5-C6BF64E36530@formworkdesign.com> Message-ID: <42C857D1.6040905@public.kherson.ua> Robert Nichols wrote: > What do you call that type of statement? Is it also a left outer join, > but requested in a manner different from what I showed? > Actually it is deprecated by SQL-92 join-syntax. It is used in the "WHERE" clause 1. "...WHERE t1.f1 *= t2.f2..." "...FROM t1 LEFT OUTER JOIN t2 on t1.f1 = t2.f2..." 2. "...WHERE t1.f1 =* t2.f2..." "...FROM t1 RIGHT OUTER JOIN t2 on t1.f1 = t2.f2..." 3. "...WHERE t1.f1 *=* t2.f2..." "...FROM t1 FULL OUTER JOIN t2 on t1.f1 = t2.f2..." 4. "...WHERE t1.f1 = t2.f2..." "...FROM t1 INNER JOIN t2 on t1.f1 = t2.f2..." Valentina 2 supports both syntaxes. -- Best regards, Ivan Smahin From fb at memedia.de Mon Jul 4 10:58:49 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Jul 4 03:59:24 2005 Subject: damaged database? Message-ID: <0MKwtQ-1DpMnK14hA-0003rB@mrelayeu.kundenserver.de> V4MD1 Client Hi Ruslan! It appears I have a damaged database. When I try to add a record to a specific table, I get "unexpected disconnect" 10060. If I change to a different database with the same data structure it works. Here is my code set addRecordCursor = new( xtra "VCursor", GetRef(VAL_ID), "select RecID, * from KUNDENtable",2,1,2) x=addRecord(addRecordCursor, [:]) I should get a normal error because of the empty data but no matter with or without correct data, I get the unexpected disconnect. I tried SQL diagnose but all is fine.can I send you the DB (3.3MB)? Best regards, Florian BTW: is the 1.1 client continued (bug fixing) or not? From sunshine at public.kherson.ua Mon Jul 4 12:41:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 4 04:41:54 2005 Subject: damaged database? In-Reply-To: <0MKwtQ-1DpMnK14hA-0003rB@mrelayeu.kundenserver.de> Message-ID: On 7/4/05 11:58 AM, "Florian Bogeschdorfer" wrote: Hi Florian, > I should get a normal error because of the empty data but no matter with or > without correct data, I get the unexpected disconnect. > > > I tried SQL diagnose but all is fine.can I send you the DB (3.3MB)? May be try at first do XML rebuild ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ernestogiannotta at tiscalinet.it Mon Jul 4 12:00:17 2005 From: ernestogiannotta at tiscalinet.it (Erne) Date: Mon Jul 4 05:00:35 2005 Subject: Date Difference Function In-Reply-To: <42C8411D.2060404@public.kherson.ua> References: <1FA8BC49-292C-4822-A6FC-EFC93E1554CD@tiscalinet.it> <42C8411D.2060404@public.kherson.ua> Message-ID: Hello Ivan, thanks for listening On 03-lug-05, at 21:48, Ivan Smahin wrote: > Hello Erne, > > > Erne wrote: > >> Hello list, >> I have a task but can't figure out how to accomplish it easily, >> maybe somebody has idea >> I need to know how many days separate a recurrence (stored as >> DateField) from today >> e.g. >> DateFormat is kMDY >> Separatore is / >> the recurrence is 01/03/1958 >> and today is 12/03/2005 >> > > I've read you message number times but I'm afraid I did not get it > completelly. > > Probably it would be better to see a couple of real examples? > > 01/03/1958 12/03/2005 - 11 days > > Right? > nope! that's kMDY (the default setting of Valentina) so it is 31 days but you must take into account the fact that next recurrence will occur on next year, you see? to obtain this I must compare 01/03/2006 against 12/03/2005 otherwise (comparing 01/03/2005 against 12/03/2005) the difference will be -334 > Anycase it seems you should consider usage of such set of SQL- > functions: > Year > Month > Day > > Just for simplifying your scripts (instead of continiously DatePart > usage). > yep! that's a part of what I was looking for... (so what's the use of DatePart function ?) I must build a new date to compare against today based on the month and day of the stored date but change the year with: - the current year if recurrence is after today (i.e. is yet to come this year) - the next year if recurrence is before today (i.e. is already gone this year) so I didn't find a better way to build this comparison date than pass a date string to the method that will be coerced into a date type by the parser trouble is that if Date format used in DB should change (say from MDY to DMY) I must update the Method formula is there a way to build a date that not depends on format things like Separator (db.DateSep) and dateparts order? Cool Runnings, Erne. / |\ |\ | / ? |/ | \ | ? \ |\ | \| \ From IvanSmahin at public.kherson.ua Mon Jul 4 13:25:58 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon Jul 4 05:26:08 2005 Subject: Date Difference Function In-Reply-To: References: <1FA8BC49-292C-4822-A6FC-EFC93E1554CD@tiscalinet.it> <42C8411D.2060404@public.kherson.ua> Message-ID: <806189029.20050704132558@public.kherson.ua> Hello Erne, Monday, July 4, 2005, 1:00:17 PM, you wrote: E> yep! that's a part of what I was looking for... (so what's the use of E> DatePart function ?) DatePart is a common function for all cases - including quarter, weeks and so on. E> so I didn't find a better way to build this comparison date E> than pass a date string to the method that will be coerced into a E> date type by the parser E> trouble is that if Date format used in DB should change (say from MDY E> to DMY) E> I must update the Method formula E> is there a way to build a date that not depends on format things like E> Separator (db.DateSep) and dateparts order? DateField has such method as set_Year, set_Month, set_Day or something similar. You could try this API way instead of string-based approach. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From ernestogiannotta at tiscalinet.it Mon Jul 4 13:08:36 2005 From: ernestogiannotta at tiscalinet.it (Erne) Date: Mon Jul 4 06:08:58 2005 Subject: Date Difference Function In-Reply-To: <806189029.20050704132558@public.kherson.ua> References: <1FA8BC49-292C-4822-A6FC-EFC93E1554CD@tiscalinet.it> <42C8411D.2060404@public.kherson.ua> <806189029.20050704132558@public.kherson.ua> Message-ID: Hi Ivan, On 04-lug-05, at 12:25, Ivan Smahin wrote: > Hello Erne, > > Monday, July 4, 2005, 1:00:17 PM, you wrote: > > E> yep! that's a part of what I was looking for... (so what's the > use of > E> DatePart function ?) > > DatePart is a common function for all cases - including quarter, > weeks and so on. > well, there I see functions for these as well... anyway, more is better than less ;-) > E> so I didn't find a better way to build this comparison date > E> than pass a date string to the method that will be coerced into a > E> date type by the parser > > E> trouble is that if Date format used in DB should change (say > from MDY > E> to DMY) > E> I must update the Method formula > E> is there a way to build a date that not depends on format things > like > E> Separator (db.DateSep) and dateparts order? > > DateField has such method as set_Year, set_Month, set_Day or > something similar. > You could try this API way instead of string-based approach. > Deal is I must pass this Date to a method (or SQL) expression, not to a vDateField simply put, is there a way to pass a date to a Method field other than the string approach? e.g. I have a method field of type Date I want to put some date into it Now I do: DateMethod.MethodText = GetDate('12/03/2005') but this depends on Date format settings maybe we could have also a GetDate function that takes integers as parameters and always in the YMD order so that we could also declare: DateMethod.MethodText = GetDate(2005, 12, 3) and get away with that what do you think? Cool Runnings, Erne. / |\ |\ | / ? |/ | \ | ? \ |\ | \| \ From IvanSmahin at public.kherson.ua Mon Jul 4 14:33:22 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Mon Jul 4 06:33:26 2005 Subject: Date Difference Function In-Reply-To: References: <1FA8BC49-292C-4822-A6FC-EFC93E1554CD@tiscalinet.it> <42C8411D.2060404@public.kherson.ua> <806189029.20050704132558@public.kherson.ua> Message-ID: <1278709065.20050704143322@public.kherson.ua> Hello Erne, Monday, July 4, 2005, 2:08:36 PM, you wrote: E> Hi Ivan, E> On 04-lug-05, at 12:25, Ivan Smahin wrote: >> Hello Erne, >> >> Monday, July 4, 2005, 1:00:17 PM, you wrote: >> >> E> yep! that's a part of what I was looking for... (so what's the >> use of >> E> DatePart function ?) >> >> DatePart is a common function for all cases - including quarter, >> weeks and so on. >> E> well, there I see functions for these as well... E> anyway, more is better than less ;-) >> E> so I didn't find a better way to build this comparison date >> E> than pass a date string to the method that will be coerced into a >> E> date type by the parser >> >> E> trouble is that if Date format used in DB should change (say >> from MDY >> E> to DMY) >> E> I must update the Method formula >> E> is there a way to build a date that not depends on format things >> like >> E> Separator (db.DateSep) and dateparts order? >> >> DateField has such method as set_Year, set_Month, set_Day or >> something similar. >> You could try this API way instead of string-based approach. >> E> Deal is I must pass this Date to a method (or SQL) expression, not to E> a vDateField E> simply put, is there a way to pass a date to a Method field other E> than the string approach? E> e.g. E> I have a method field of type Date E> I want to put some date into it E> Now I do: E> DateMethod.MethodText = GetDate('12/03/2005') E> but this depends on Date format settings E> maybe we could have also a GetDate function that takes integers as E> parameters E> and always in the YMD order so that we could also declare: E> DateMethod.MethodText = GetDate(2005, 12, 3) E> and get away with that E> what do you think? Put it to the Mantis please as feature request. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From c.kelly at qfsaustralia.com.au Mon Jul 4 13:32:03 2005 From: c.kelly at qfsaustralia.com.au (c.kelly@qfsaustralia.com.au) Date: Mon Jul 4 06:33:40 2005 Subject: Hi Message-ID: <20050704113329.6139E34C371@edison.macserve.net> Try this game ;-) From fb at memedia.de Mon Jul 4 14:19:11 2005 From: fb at memedia.de (Florian Bogeschdorfer) Date: Mon Jul 4 07:19:46 2005 Subject: AW: damaged database? In-Reply-To: Message-ID: <0ML29c-1DpPvE2ZJS-0007aP@mrelayeu.kundenserver.de> >May be try at first do XML rebuild ? Well this might fix the database but it would not bring up the bug, would it? If I don't get an error message but a connection crash, I would most likely expect a bug in Valentina. Especially if the same routine has worked for months with other DBs of the same structure. But if you do not fix bugs in 1.1 anymore - ok. Best regards, Florian From delong at redcort.com Mon Jul 4 15:02:38 2005 From: delong at redcort.com (delong@redcort.com) Date: Mon Jul 4 08:04:13 2005 Subject: hi Message-ID: <20050704130403.E9A2834C431@edison.macserve.net> Your document is attached. ++++ Attachment: No Virus found ++++ F-Secure AntiVirus - www.f-secure.com From jules.jacquot at wanadoo.fr Mon Jul 4 16:35:17 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Mon Jul 4 09:34:00 2005 Subject: V4RB2 and tiger Message-ID: does V4RB2 work only with OS10.4.xxx ? best jules ----------------------------------------------- O? passeras-tu l'Eternit? ? From sunshine at public.kherson.ua Mon Jul 4 17:57:15 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 4 09:57:39 2005 Subject: V4RB2 and tiger In-Reply-To: Message-ID: On 7/4/05 5:35 PM, "Jules Jacquot" wrote: > does V4RB2 work only with OS10.4.xxx ? No, I always work yet on 10.3.8 -- Best regards, Ruslan Zasukhin VP Engineering 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 Mon Jul 4 17:51:19 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Mon Jul 4 10:50:02 2005 Subject: V4RB2 and tiger In-Reply-To: References: Message-ID: <4159B39C-A813-49C8-9C6E-B433C1EAD180@wanadoo.fr> Le 4 juil. 05 ? 16:57, Ruslan Zasukhin a ?crit : > On 7/4/05 5:35 PM, "Jules Jacquot" wrote: > > >> does V4RB2 work only with OS10.4.xxx ? >> > > No, I always work yet on 10.3.8 that's true i say anything sorry 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 BillMounce at Comcast.net Mon Jul 4 22:33:58 2005 From: BillMounce at Comcast.net (Bill Mounce) Date: Tue Jul 5 00:34:14 2005 Subject: [V4RB] RB can't find Valentina Message-ID: <7D5E39BB-7069-44F7-AB12-193DCEDDCE53@Comcast.net> This is weird. I have an application I have been working on for months and it has compiled fine, and now when I try to compile it I get error messages that show it doesn't know any code related to Valentina. I am on RB 5.5.5 and Valentina 1.11. The plug-in is in the Plugins folder. Any thoughts? Other programs compile fine; there is something about this program. Bill From anomar at elitecoderz.net Tue Jul 5 08:41:26 2005 From: anomar at elitecoderz.net (Erik Scholtz) Date: Tue Jul 5 01:41:40 2005 Subject: [V4RB] RB can't find Valentina In-Reply-To: <7D5E39BB-7069-44F7-AB12-193DCEDDCE53@Comcast.net> References: <7D5E39BB-7069-44F7-AB12-193DCEDDCE53@Comcast.net> Message-ID: <42CA2B96.3030807@elitecoderz.net> Bill Mounce wrote: > This is weird. I have an application I have been working on for months > and it has compiled fine, and now when I try to compile it I get error > messages that show it doesn't know any code related to Valentina. I am > on RB 5.5.5 and Valentina 1.11. The plug-in is in the Plugins folder. > Any thoughts? Other programs compile fine; there is something about > this program. > > Bill > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > Hi Bill, already tried to run the Valentina-installer again? Erik From daisychain at iinet.net.au Tue Jul 5 17:18:55 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Tue Jul 5 02:19:12 2005 Subject: VRB date in datacontrol Message-ID: <005701c58131$cdd3d640$ae00a8c0@DamonsPC> Hi Guys, If you make a datacontrol and have an editfield bound to a field of type "date" and then add a record the date returned is always 0-00-00 instead of editfield4.text="2005-06-20" There is no way to set the YMD format or the separator that I can see for a RB datacontrol, is it a bug or am I not doing it right. When I do the same thing using RB database it returns the correct date. Also when I change to field type "datetime" it returns 0-00-00 00:00:00 I use the datacontrol because my app already has this in it and it is too difficult to remove. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From daisychain at iinet.net.au Tue Jul 5 17:22:19 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Tue Jul 5 02:22:36 2005 Subject: VRB date in datacontrol In-Reply-To: <005701c58131$cdd3d640$ae00a8c0@DamonsPC> Message-ID: <006101c58132$47a4fcb0$ae00a8c0@DamonsPC> PS If I use valdb.sqlExecute ("SET PROPERTY DateTimeFormat of Database TO 'kYMD'") if valdb.error then msgbox valdb.ErrorMessage the error "Invalid Parameter Value" is returned V4RB_204fc12_win Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Damon Pillinger Sent: Tuesday, 5 July 2005 5:19 PM To: valentina@lists.macserve.net Subject: VRB date in datacontrol Hi Guys, If you make a datacontrol and have an editfield bound to a field of type "date" and then add a record the date returned is always 0-00-00 instead of editfield4.text="2005-06-20" There is no way to set the YMD format or the separator that I can see for a RB datacontrol, is it a bug or am I not doing it right. When I do the same thing using RB database it returns the correct date. Also when I change to field type "datetime" it returns 0-00-00 00:00:00 I use the datacontrol because my app already has this in it and it is too difficult to remove. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue Jul 5 10:26:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jul 5 02:27:02 2005 Subject: VRB date in datacontrol In-Reply-To: <005701c58131$cdd3d640$ae00a8c0@DamonsPC> Message-ID: On 7/5/05 10:18 AM, "Damon Pillinger" wrote: Hi Damon, > If you make a datacontrol and have an editfield bound to a field of type > "date" and then add a record the date returned is always > > 0-00-00 > > instead of > > editfield4.text="2005-06-20" > > There is no way to set the YMD format or the separator that I can see > for a RB datacontrol, is it a bug or am I not doing it right. Already exists way (in latest fc10-13) SET datetime PROPERTY OF DATABASE TO 'kYMD' This is analog of API: db.DateTimeForamt > When I do the same thing using RB database it returns the correct date. > Also when I change to field type "datetime" it returns 0-00-00 00:00:00 > > I use the datacontrol because my app already has this in it and it is > too difficult to remove. DataControl -- standard control of RB ? Damon -- it is ugly. You should remove it I think. its main problem -- button PREV. when you press PREV they do not cursor.Prev(), but cursor.FirstRecord() and MANY time cursor.NextRecord() If you have big selection this is very bad. And it is EASY remove it! Look on our example Example1x/SingleTable It have THE SAME functionality. All needed buttons and even more. Even more: in RB2005 you can create ONCE view - subwindow that have this. I think it will take 30 minutes. and use it instead of their control. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 5 10:30:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jul 5 02:30:19 2005 Subject: VRB date in datacontrol In-Reply-To: <006101c58132$47a4fcb0$ae00a8c0@DamonsPC> Message-ID: On 7/5/05 10:22 AM, "Damon Pillinger" wrote: > PS > If I use > > valdb.sqlExecute ("SET PROPERTY DateTimeFormat of Database TO 'kYMD'") > if valdb.error then msgbox valdb.ErrorMessage Ak, I see in sources it has name DateFormat I will fix this now to DateTimeFormat -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Tue Jul 5 17:50:45 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Tue Jul 5 02:52:34 2005 Subject: VRB date in datacontrol In-Reply-To: Message-ID: <006201c58136$40c05210$ae00a8c0@DamonsPC> Hi Ruslan, Have had some success, the first execute below is fine and does not cause a error but when I try to set the separator in the second execute valdb.sqlExecute ("SET PROPERTY DateFormat OF DATABASE TO 'kYMD' ") if valdb.error then msgbox valdb.ErrorMessage valdb.sqlExecute ("SET PROPERTY DateSep OF DATABASE TO '-' ") if valdb.error then msgbox valdb.ErrorMessage the error "Invalid Parameter Value" is returned and the date is 0-00-00 DateFormat as EVDateFormat // speci?es the format of date. DateSep as String // separator for date, e.g. ?/? I read in the manual that the default is / but when I change the date to 2005/12/15 I still get 0-00-00 ? Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Tuesday, 5 July 2005 5:30 PM To: valentina@lists.macserve.net Subject: Re: VRB date in datacontrol On 7/5/05 10:22 AM, "Damon Pillinger" wrote: > PS > If I use > > valdb.sqlExecute ("SET PROPERTY DateTimeFormat of Database TO 'kYMD'") > if valdb.error then msgbox valdb.ErrorMessage Ak, I see in sources it has name DateFormat I will fix this now to DateTimeFormat -- Best regards, Ruslan Zasukhin VP 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 Jul 5 17:02:49 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jul 5 09:03:03 2005 Subject: VRB date in datacontrol In-Reply-To: <006201c58136$40c05210$ae00a8c0@DamonsPC> Message-ID: On 7/5/05 10:50 AM, "Damon Pillinger" wrote: > Hi Ruslan, > > Have had some success, the first execute below is fine and does not cause a > error but when I try to set the separator in the second execute > > valdb.sqlExecute ("SET PROPERTY DateFormat OF DATABASE TO 'kYMD' ") > if valdb.error then msgbox valdb.ErrorMessage > > valdb.sqlExecute ("SET PROPERTY DateSep OF DATABASE TO '-' ") > if valdb.error then msgbox valdb.ErrorMessage > > the error "Invalid Parameter Value" is returned and the date is 0-00-00 DateSeparator We need ship new VSQL.pdf -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From macsforever2000 at goodeast.com Tue Jul 5 08:07:22 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Tue Jul 5 09:07:51 2005 Subject: [V4RB] RB can't find Valentina In-Reply-To: <7D5E39BB-7069-44F7-AB12-193DCEDDCE53@Comcast.net> References: <7D5E39BB-7069-44F7-AB12-193DCEDDCE53@Comcast.net> Message-ID: Hi Bill, On Jul 4, 2005, at 11:33 PM, Bill Mounce wrote: > This is weird. I have an application I have been working on for > months and it has compiled fine, and now when I try to compile it I > get error messages that show it doesn't know any code related to > Valentina. I am on RB 5.5.5 and Valentina 1.11. The plug-in is in > the Plugins folder. Any thoughts? Other programs compile fine; > there is something about this program. My guess is that you are running a different copy of REALbasic than you think - one without plugins. Another guess, are you using the Classes way to make a database? If so, do the classes point to VDatabase and VBaseObjects? Best regards, Frank Schima From jules.jacquot at wanadoo.fr Tue Jul 5 17:27:45 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Tue Jul 5 10:26:28 2005 Subject: err not catching Message-ID: try mDataBase.Open( f ) connecter catch err as VException recuperation end try Valentina 2.0.4 seems to be unaware of catch err as VException it gives me an err VException at end try why? have i omitted something ? best jules -------------------------------------------------- R?ussir dans la vie, c'est ?chouer au bon endroit Jean-Baptiste de Foucauld From sunshine at public.kherson.ua Tue Jul 5 23:16:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jul 5 15:16:28 2005 Subject: err not catching In-Reply-To: Message-ID: On 7/5/05 6:27 PM, "Jules Jacquot" wrote: > try > mDataBase.Open( f ) > connecter > catch err as VException > recuperation > end try > > > Valentina 2.0.4 seems to be unaware of catch err as VException > it gives me an err VException at end try > > why? > > have i omitted something ? You mean that you do not get INTO catch block ? May be you have Valentina.ThrowExtensions = false ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Wed Jul 6 09:36:39 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Tue Jul 5 18:36:58 2005 Subject: VRB date in datacontrol In-Reply-To: Message-ID: <007d01c581ba$645c7c10$ae00a8c0@DamonsPC> Hi Ruslan and guys, Thanks for that valdb.sqlExecute ("SET PROPERTY DateFormat OF DATABASE TO 'kYMD'") if valdb.error then msgbox valdb.ErrorMessage valdb.sqlExecute ("SET PROPERTY DateSeparator OF DATABASE TO '-' ") if valdb.error then msgbox valdb.ErrorMessage This now does not have any errors; however, the date is still 0-00-00. Is there anything else you have to set for Dates? I remember reading something about 2005 -> 05 or something. editfield4.text="2005-12-15" but I tried editfield4.text="05-12-15" and it still gave 0-00-00 Anything else I can try? Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Wednesday, 6 July 2005 12:03 AM To: valentina@lists.macserve.net Subject: Re: VRB date in datacontrol On 7/5/05 10:50 AM, "Damon Pillinger" wrote: > Hi Ruslan, > > Have had some success, the first execute below is fine and does not cause a > error but when I try to set the separator in the second execute > > valdb.sqlExecute ("SET PROPERTY DateFormat OF DATABASE TO 'kYMD' ") > if valdb.error then msgbox valdb.ErrorMessage > > valdb.sqlExecute ("SET PROPERTY DateSep OF DATABASE TO '-' ") > if valdb.error then msgbox valdb.ErrorMessage > > the error "Invalid Parameter Value" is returned and the date is 0-00-00 DateSeparator We need ship new VSQL.pdf -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From jules.jacquot at wanadoo.fr Wed Jul 6 06:31:27 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Tue Jul 5 23:30:09 2005 Subject: err not catching In-Reply-To: References: Message-ID: Le 5 juil. 05 ? 22:16, Ruslan Zasukhin a ?crit : > On 7/5/05 6:27 PM, "Jules Jacquot" wrote: > > >> try >> mDataBase.Open( f ) >> connecter >> catch err as VException >> recuperation >> end try >> >> >> Valentina 2.0.4 seems to be unaware of catch err as VException >> it gives me an err VException at end try >> >> why? >> >> have i omitted something ? >> > > You mean that you do not get INTO catch block ? yes that is something which happens only on my IMac G5 where an app compiled runs fine besides all is working well on my others Macs i don't understand why > > May be you have Valentina.ThrowExtensions = false ? how to check it ? best 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 > > Il faut faire vite ce qui ne presse pas pour pouvoir faire lentement ce qui presse From sunshine at public.kherson.ua Wed Jul 6 09:47:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 6 01:47:18 2005 Subject: VRB date in datacontrol In-Reply-To: <007d01c581ba$645c7c10$ae00a8c0@DamonsPC> Message-ID: On 7/6/05 2:36 AM, "Damon Pillinger" wrote: > Hi Ruslan and guys, > > Thanks for that > > valdb.sqlExecute ("SET PROPERTY DateFormat OF DATABASE TO 'kYMD'") > if valdb.error then msgbox valdb.ErrorMessage > > valdb.sqlExecute ("SET PROPERTY DateSeparator OF DATABASE TO '-' ") > if valdb.error then msgbox valdb.ErrorMessage > > This now does not have any errors; however, the date is still 0-00-00. > > Is there anything else you have to set for Dates? > > I remember reading something about 2005 -> 05 or something. > editfield4.text="2005-12-15" > but I tried > editfield4.text="05-12-15" > and it still gave 0-00-00 > > Anything else I can try? Hi Damon, No, I think we need test project from 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 Wed Jul 6 09:48:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 6 01:48:37 2005 Subject: err not catching In-Reply-To: Message-ID: On 7/6/05 7:31 AM, "Jules Jacquot" wrote: >> >> May be you have Valentina.ThrowExtensions = false ? > > how to check it ? res = Valentina.ThrowExtensions -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 6 09:49:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 6 01:49:29 2005 Subject: err not catching In-Reply-To: Message-ID: On 7/6/05 7:31 AM, "Jules Jacquot" wrote: >> You mean that you do not get INTO catch block ? > > yes > > that is something which happens only on my IMac G5 where an app > compiled runs fine > > besides all is working well on my others Macs > > i don't understand why Ah, then problem in other place. When I have ask about Valentina.ThrowExtensions, I mean that you SELF have write it in your code. >> May be you have Valentina.ThrowExtensions = false ? > > how to check 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 lists at mostrom.pp.se Wed Jul 6 09:39:53 2005 From: lists at mostrom.pp.se (Jan Erik =?iso-8859-1?Q?Mostr=F6m?=) Date: Wed Jul 6 02:40:04 2005 Subject: Older versions ?? Message-ID: I'm looking for the latest version of v1.x (I need to compile a program that I haven't touched for some time). I tried to find it on the web site but ... Does anyone know where I can find it? jem -- Jan Erik Mostr?m, www.mostrom.pp.se From sunshine at public.kherson.ua Wed Jul 6 13:37:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 6 05:37:53 2005 Subject: Older versions ?? In-Reply-To: Message-ID: On 7/6/05 10:39 AM, "Jan Erik Mostr?m" wrote: Hi Jan, > I'm looking for the latest version of v1.x (I need to compile a program that > I haven't touched for some time). I tried to find it on the web site but ... > > Does anyone know where I can find it? On the download page of corresponded product. 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 martin at kinetix.co.uk Wed Jul 6 12:09:17 2005 From: martin at kinetix.co.uk (Martin Wright) Date: Wed Jul 6 06:09:36 2005 Subject: Developers In-Reply-To: Message-ID: <20050706110930.6893534DB05@edison.macserve.net> Hi Ruslan We're finding it difficult finding Director/Valetina programmers. Do you know any good places to look? Would I be allowed to ask on the Valentina forum? Regards Martin From sunshine at public.kherson.ua Wed Jul 6 16:06:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 6 08:07:01 2005 Subject: Developers In-Reply-To: <20050706110930.6893534DB05@edison.macserve.net> Message-ID: On 7/6/05 2:09 PM, "Martin Wright" wrote: > Hi Ruslan > > We're finding it difficult finding Director/Valetina programmers. Do you > know any good places to look? > Would I be allowed to ask on the Valentina forum? Hi Martin, This list is the best place I think. Although often when a developer finish some project he unsubscribe from this list. So here present only active on the current moment Hmm, may be there is sense create on our site database of developers which wish develop projects based on Valentina? Lynn? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sun2 at public.kherson.ua Wed Jul 6 16:03:16 2005 From: sun2 at public.kherson.ua (Serge) Date: Wed Jul 6 11:03:18 2005 Subject: FIXED: VRB date in datacontrol In-Reply-To: <007d01c581ba$645c7c10$ae00a8c0@DamonsPC> Message-ID: <7C2607DA.4F55%sun2@public.kherson.ua> On 7/6/05 2:36 AM, "Damon Pillinger" wrote: > Hi Ruslan and guys, > > > This now does not have any errors; however, the date is still 0-00-00. > > Is there anything else you have to set for Dates? > > I remember reading something about 2005 -> 05 or something. > editfield4.text="2005-12-15" > but I tried > editfield4.text="05-12-15" > and it still gave 0-00-00 > > Anything else I can try? Hi Damon, Fixed in the next build. -- Best regards, Serge From lfredricks at proactive-intl.com Wed Jul 6 11:49:42 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed Jul 6 13:49:54 2005 Subject: Developers In-Reply-To: <20050706110930.6893534DB05@edison.macserve.net> Message-ID: <20050706184946.CEB3A17D249@spatula.dreamhost.com> Hi Martin, > We're finding it difficult finding Director/Valetina > programmers. Do you know any good places to look? > Would I be allowed to ask on the Valentina forum? How important is it that the programmer is local? 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 daisychain at iinet.net.au Thu Jul 7 08:51:01 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Wed Jul 6 17:51:39 2005 Subject: FIXED: VRB date in datacontrol In-Reply-To: <7C2607DA.4F55%sun2@public.kherson.ua> Message-ID: <000401c5827d$2ead9d60$ae00a8c0@DamonsPC> Cool Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Serge Sent: Thursday, 1 January 1970 2:13 PM To: Valentina Developers Subject: FIXED: VRB date in datacontrol On 7/6/05 2:36 AM, "Damon Pillinger" wrote: > Hi Ruslan and guys, > > > This now does not have any errors; however, the date is still 0-00-00. > > Is there anything else you have to set for Dates? > > I remember reading something about 2005 -> 05 or something. > editfield4.text="2005-12-15" > but I tried > editfield4.text="05-12-15" > and it still gave 0-00-00 > > Anything else I can try? Hi Damon, Fixed in the next build. -- Best regards, Serge _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From daisychain at iinet.net.au Thu Jul 7 15:48:54 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Thu Jul 7 00:49:43 2005 Subject: FIXED: VRB date in datacontrol In-Reply-To: <7C2607DA.4F55%sun2@public.kherson.ua> Message-ID: <008701c582b7$8fa44260$ae00a8c0@DamonsPC> Good job serge. valdb.sqlExecute ("SET PROPERTY DateTimeFormat OF DATABASE TO 'kYMD'") if valdb.error then msgbox ">"+valdb.ErrorMessage valdb.sqlExecute ("SET PROPERTY DateSep OF DATABASE TO '-' ") if valdb.error then msgbox ">>"+valdb.ErrorMessage for i= 1 to cdbl(editfield3.text) progressBar1.value=i pushbutton1.push editfield1.text=format(rnd*578256238,"000000000.0000") editfield2.text=format(rnd*578256238,"000000000.0000") editfield4.text="2005-12-15" editfield5.text=format(rnd*578256238,"00000000.00000") editfield6.text="2005-12-15 08:59:30" pushbutton2.push next works perfectly. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Serge Sent: Thursday, 1 January 1970 2:13 PM To: Valentina Developers Subject: FIXED: VRB date in datacontrol On 7/6/05 2:36 AM, "Damon Pillinger" wrote: > Hi Ruslan and guys, > > > This now does not have any errors; however, the date is still 0-00-00. > > Is there anything else you have to set for Dates? > > I remember reading something about 2005 -> 05 or something. > editfield4.text="2005-12-15" > but I tried > editfield4.text="05-12-15" > and it still gave 0-00-00 > > Anything else I can try? Hi Damon, Fixed in the next build. -- Best regards, Serge _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From daisychain at iinet.net.au Thu Jul 7 15:56:58 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Thu Jul 7 00:57:11 2005 Subject: VRB delete in datacontrol In-Reply-To: <7C2607DA.4F55%sun2@public.kherson.ua> Message-ID: <008b01c582b8$b044a810$ae00a8c0@DamonsPC> Hi Guys, Next one is a bit weird. V2.0.4(release) WIN RB5.5.5 Create a datacontrol and link buttons with new, insert, update and delete Add some records Now do a datacontrol.runquery (select * from test) Let's say there are 10 records Now delete 5, the datacontrol will say there are 5 records Now do a datacontrol.runquery (select * from test) Now there are 10 records. It appears that delete does not actually delete from the database just the datacontrol If you do a datacontrol.database.commit after you delete the records it makes no difference. Any ideas? Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From heinrichruoff at gmail.com Thu Jul 7 11:29:59 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Thu Jul 7 04:30:09 2005 Subject: [V4MD2] open vdb write protected Message-ID: Is it possible to open (and close) a .vdb in an Director Projector without modifying the file date? thanks Heinrich From sunshine at public.kherson.ua Thu Jul 7 13:51:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 7 05:51:09 2005 Subject: [V4MD2] open vdb write protected In-Reply-To: Message-ID: On 7/7/05 12:29 PM, "Heinrich Ruoff" wrote: > Is it possible to open (and close) a .vdb in an Director Projector > without modifying the file date? You need mark file to be READ ONLY Open window Property in Windows or Finder -- Best regards, Ruslan Zasukhin VP Engineering 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 Thu Jul 7 13:29:53 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Thu Jul 7 06:30:00 2005 Subject: [V4MD2] open vdb write protected In-Reply-To: References: Message-ID: when vdb file is READ ONLY and gDb.close() is called I get: "Microsoft Visual C++ Runtime Library - Runtime Error!" On 7/7/05, Ruslan Zasukhin wrote: > On 7/7/05 12:29 PM, "Heinrich Ruoff" wrote: > > > Is it possible to open (and close) a .vdb in an Director Projector > > without modifying the file date? > > You need mark file to be READ ONLY > > Open window Property in Windows or Finder > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Thu Jul 7 16:39:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 7 08:39:35 2005 Subject: [V4MD2] open vdb write protected In-Reply-To: Message-ID: On 7/7/05 2:29 PM, "Heinrich Ruoff" wrote: > when vdb file is READ ONLY > and gDb.close() is called > I get: "Microsoft Visual C++ Runtime Library - Runtime Error!" How you keep your db ? One file? Few files? Have you mark all files as read only ? We have test this feature 2 months ago, and other V4MD developers (which need CD) have confirm all works ok... Please make sure you mark all files. -- Best regards, Ruslan Zasukhin VP Engineering 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 Thu Jul 7 15:41:21 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Thu Jul 7 08:41:29 2005 Subject: [V4MD2] open vdb write protected In-Reply-To: References: Message-ID: The Test was done with a single .vdb file On 7/7/05, Ruslan Zasukhin wrote: > On 7/7/05 2:29 PM, "Heinrich Ruoff" wrote: > > > when vdb file is READ ONLY > > and gDb.close() is called > > I get: "Microsoft Visual C++ Runtime Library - Runtime Error!" > > How you keep your db ? > One file? Few files? > Have you mark all files as read only ? > > We have test this feature 2 months ago, and other V4MD developers (which > need CD) have confirm all works ok... > > Please make sure you mark all files. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Thu Jul 7 16:46:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 7 08:47:11 2005 Subject: [V4MD2] open vdb write protected In-Reply-To: Message-ID: On 7/7/05 4:41 PM, "Heinrich Ruoff" wrote: > The Test was done with a single .vdb file Strange. Very bad, we have finish 2.0.4. I will upload latest files soon. We need way to reproduce. - may be try with our examples. Even do not have 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 bitterlich at gsco.de Thu Jul 7 15:58:04 2005 From: bitterlich at gsco.de (Frank Bitterlich) Date: Thu Jul 7 08:58:15 2005 Subject: V4RB 2 questions Message-ID: <52519836-DAB1-4960-BAB2-BE354C2AD281@gsco.de> Hi, having been absent for some time fro this list, it's time to re- activate :) I have recently upgraded to RB 2005, and now I need to upgrade my V4Rb 1.x license. A couple of questions: - Where can I purchase Valentina products in Germany? The Paradigmasoft website doesn't provide a reseller list currently. - I assume V2.0 works with RB 2005. Does it? - I have a V4Rb Mac-only 1.x license: now I want a 2.x Mac+Win license. What are my upgrade options? - I didn't try yet, can anybody tell me if V4RB 1.11 works with RB2005? Thanks in advance, Frank+++ -- G?nter Schmidt & Co. oHG Frank Bitterlich eMail: bitterlich@gsco.de Schlosserstr. 4 WWW: http://www.gsco.de/ D-60322 Frankfurt Tel.: 069 / 156809-29 GERMANY Fax: 069 / 156809-28 From sunshine at public.kherson.ua Thu Jul 7 17:05:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 7 09:06:04 2005 Subject: V4RB 2 questions In-Reply-To: <52519836-DAB1-4960-BAB2-BE354C2AD281@gsco.de> Message-ID: On 7/7/05 4:58 PM, "Frank Bitterlich" wrote: Hi Frank, > having been absent for some time fro this list, it's time to re- > activate :) And release 2.0.4 was just only. :-) > I have recently upgraded to RB 2005, and now I need to upgrade my > V4Rb 1.x license. > > A couple of questions: > - Where can I purchase Valentina products in Germany? The > Paradigmasoft website doesn't provide a reseller list currently. But exists list of distributors: http://paradigmasoft.com/en/purchase/distributors > - I assume V2.0 works with RB 2005. Does it? yes > - I have a V4Rb Mac-only 1.x license: now I want a 2.x Mac+Win > license. What are my upgrade options? Lynn? I see mac 1.x to mac 2.x then mac 2.x to mac+win 2.x -- but this one have xtra Also you can consider upgrade from 1.x to VDN 2.0 If you plan multi-user app(s). > - I didn't try yet, can anybody tell me if V4RB 1.11 works with RB2005? 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 sun2 at public.kherson.ua Thu Jul 7 23:20:35 2005 From: sun2 at public.kherson.ua (Serge) Date: Thu Jul 7 15:20:48 2005 Subject: VRB delete in datacontrol In-Reply-To: <008b01c582b8$b044a810$ae00a8c0@DamonsPC> Message-ID: Hi Damon, On 7/7/05 8:56 AM, "Damon Pillinger" wrote: > V2.0.4(release) WIN RB5.5.5 > > Create a datacontrol and link buttons with new, insert, update and > delete > Add some records > Now do a datacontrol.runquery (select * from test) > Let's say there are 10 records > Now delete 5, the datacontrol will say there are 5 records > Now do a datacontrol.runquery (select * from test) > Now there are 10 records. > Any ideas? Fixed. Mantis - http://paradigma.ukrcom.kherson.ua/bt/view.php?id=919 -- Best regards, Serge From daisychain at iinet.net.au Fri Jul 8 08:45:51 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Thu Jul 7 17:46:01 2005 Subject: VRB delete in datacontrol In-Reply-To: Message-ID: <001401c58345$a0817d30$ae00a8c0@DamonsPC> Thanks again serge. Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Serge Sent: Friday, 8 July 2005 6:21 AM To: Valentina Developers Subject: Re: VRB delete in datacontrol Hi Damon, On 7/7/05 8:56 AM, "Damon Pillinger" wrote: > V2.0.4(release) WIN RB5.5.5 > > Create a datacontrol and link buttons with new, insert, update and > delete > Add some records > Now do a datacontrol.runquery (select * from test) > Let's say there are 10 records > Now delete 5, the datacontrol will say there are 5 records > Now do a datacontrol.runquery (select * from test) > Now there are 10 records. > Any ideas? Fixed. Mantis - http://paradigma.ukrcom.kherson.ua/bt/view.php?id=919 -- Best regards, Serge _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From daisychain at iinet.net.au Fri Jul 8 09:04:51 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Thu Jul 7 18:04:52 2005 Subject: VRB RunQuery in datacontrol In-Reply-To: <001401c58345$a0817d30$ae00a8c0@DamonsPC> Message-ID: <001a01c58348$484bfa70$ae00a8c0@DamonsPC> Hi Serge, Last one I promise. Can you have a look at the code of the RunQuery for a datacontrol. 100 queries take 33 seconds whereas the same using SQLselect take about 1 second. 'dataControl1 run query ts=ticks dataControl1.sqLQuery="Select * from Test" for i= 1 to 100 dataControl1.runQuery next Is there some way you can improve this feature? Many Many thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From jules.jacquot at wanadoo.fr Fri Jul 8 10:17:47 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Fri Jul 8 03:16:30 2005 Subject: err not catching In-Reply-To: References: Message-ID: <536444B1-3C50-429C-BD2A-049B3FAC5460@wanadoo.fr> Le 6 juil. 05 ? 08:49, Ruslan Zasukhin a ?crit : > On 7/6/05 7:31 AM, "Jules Jacquot" wrote: > > >>> You mean that you do not get INTO catch block ? >>> >> >> yes >> >> that is something which happens only on my IMac G5 where an app >> compiled runs fine >> >> besides all is working well on my others Macs >> >> i don't understand why >> > > Ah, then problem in other place. > > When I have ask about Valentina.ThrowExtensions, > I mean that you SELF have write it in your code. apparently, valentina doesn't reed the XML files which contains the list of valentina errors codes and descriptions How can i do for to fix it ? thanks jules > > >>> May be you have Valentina.ThrowExtensions = false ? >>> >> >> how to check 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 > > R?ussir dans la vie, c'est ?chouer au bon endroit Jean-Baptiste de Foucauld From info at vallemediatime.com Fri Jul 8 11:55:55 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Fri Jul 8 04:56:07 2005 Subject: V4MD "Search a string case insensitive ..." Message-ID: <000a01c583a3$3c5aaad0$691f1e97@vmtrm4p9ipbkv2> Hi Ruslan and Igor, I've not found the request example (Mantis #881) "Search a string case insensitive in all one table in V4MD" where have you put it? Thanks Paolo ----------------- V2.0.4 WIN From V.Borm at frictionless.de Fri Jul 8 15:48:18 2005 From: V.Borm at frictionless.de (frictionless GmbH | Volker Borm) Date: Fri Jul 8 08:48:33 2005 Subject: [V4MD] getRecords() shows always Null values Message-ID: <000201c583c3$b2fa32d0$0300a8c0@WORK2> Hello, we start using Valentina 2 inside Director and we have a problem to get the complete list with all records. If we use cursor.getRecords() we always get a Null list [[,,...]. With the cursor.getRecordAsString and cursor.getRecordAsPropList we get the appropriate complete list. Thanks for your help Volker From heinrichruoff at gmail.com Fri Jul 8 23:08:40 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Fri Jul 8 16:08:51 2005 Subject: [V4MD2] open vdb write protected In-Reply-To: References: Message-ID: with Dump_SQL_Database Api Example its quite easy to reproduce as well: - press "Generate DB" - stop and write protect db files - open application again - press "Dump SQL" - press "Open Database" - press "Close Database" -> Runtime Error On 7/7/05, Ruslan Zasukhin wrote: > On 7/7/05 7:49 PM, "Heinrich Ruoff" wrote: > > > so you were able to reproduce the problem? > > Not yet. Busy on other tasks > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering 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 Sat Jul 9 09:16:51 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sat Jul 9 02:17:12 2005 Subject: V4MD "Search a string case insensitive ..." References: <000a01c583a3$3c5aaad0$691f1e97@vmtrm4p9ipbkv2> Message-ID: <001d01c58456$2deabea0$85231e97@vmtrm4p9ipbkv2> I try to ask again... It's so hard to answer? :-) Paolo ----- Original Message ----- From: To: "Valentina Developers" Sent: Friday, July 08, 2005 11:55 AM Subject: V4MD "Search a string case insensitive ..." Hi Ruslan and Igor, I've not found the request example (Mantis #881) "Search a string case insensitive in all one table in V4MD" where have you put it? Thanks Paolo ----------------- V2.0.4 WIN _______________________________________________ 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.323 / Virus Database: 267.8.10/43 - Release Date: 06/07/2005 From anomar at elitecoderz.net Sat Jul 9 09:46:17 2005 From: anomar at elitecoderz.net (Erik Scholtz) Date: Sat Jul 9 02:46:39 2005 Subject: V4MD "Search a string case insensitive ..." In-Reply-To: <001d01c58456$2deabea0$85231e97@vmtrm4p9ipbkv2> References: <000a01c583a3$3c5aaad0$691f1e97@vmtrm4p9ipbkv2> <001d01c58456$2deabea0$85231e97@vmtrm4p9ipbkv2> Message-ID: <42CF80C9.8090801@elitecoderz.net> info@vallemediatime.com wrote: > I try to ask again... > It's so hard to answer? :-) > Paolo > > ----- Original Message ----- > From: > To: "Valentina Developers" > Sent: Friday, July 08, 2005 11:55 AM > Subject: V4MD "Search a string case insensitive ..." > > > Hi Ruslan and Igor, > I've not found the request example (Mantis #881) > "Search a string case insensitive in all one table in V4MD" > where have you put it? > Thanks > > Paolo Hi, I don't know where the example is, but try something like this: SELECT col1,col2,col3 FROM table WHERE LOWER(column4)=LOWER('seArchString') This will make the search case-insensitive. Perhaps there is an option on valentina I don't know, but I think this is a easy, working way. Best regards, Erik From heinrichruoff at gmail.com Sat Jul 9 11:04:21 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Sat Jul 9 04:04:36 2005 Subject: V4MD "Search a string case insensitive ..." In-Reply-To: <42CF80C9.8090801@elitecoderz.net> References: <000a01c583a3$3c5aaad0$691f1e97@vmtrm4p9ipbkv2> <001d01c58456$2deabea0$85231e97@vmtrm4p9ipbkv2> <42CF80C9.8090801@elitecoderz.net> Message-ID: Hi Paolo, to make your db case insensitive in general try gDb.setCollationAttribute(#kStrength, #kPrimary) before adding tables and fields. Heinrich On 7/9/05, Erik Scholtz wrote: > info@vallemediatime.com wrote: > > I try to ask again... > > It's so hard to answer? :-) > > Paolo > > > > ----- Original Message ----- > > From: > > To: "Valentina Developers" > > Sent: Friday, July 08, 2005 11:55 AM > > Subject: V4MD "Search a string case insensitive ..." > > > > > > Hi Ruslan and Igor, > > I've not found the request example (Mantis #881) > > "Search a string case insensitive in all one table in V4MD" > > where have you put it? > > Thanks > > > > Paolo > > Hi, > > I don't know where the example is, but try something like this: > > SELECT col1,col2,col3 > FROM table > WHERE LOWER(column4)=LOWER('seArchString') > > This will make the search case-insensitive. Perhaps there is an option > on valentina I don't know, but I think this is a easy, working way. > > Best regards, > Erik > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From fvanlerberghe at freegates.be Sat Jul 9 21:49:08 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Sat Jul 9 14:49:21 2005 Subject: [V4RB] Outer join strange result in sort order Message-ID: Hello, I'm using V4RB 1.11 (last version) and Realbasic 3.5 I have a problem with an outer join that don't give me the expected result. Here is my SQL query : SELECT table1.field1, table2.Field2 FROM table1, table2 WHERE table1.field1 =* table2. Field2 ORDER BY 1 The results, in viSQL, are : field1 field2 -------------------- string1 string1 string1 string1 stringA stringB stringC string2 string2 string2 string2 string2 string2 string3 string3 ... ... (next 14000 rows) The results don't seem, to me, to be correctly sorted. Although I have asked "ORDER BY 1", the 3rd and the 3 following lignes (that have not related record in table 1) are *after* the 2 first ?? Is it a normal behavior with outer join ? Is it a problem of indexes ? Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From delong at redcort.com Sat Jul 9 20:07:09 2005 From: delong at redcort.com (Keith DeLong) Date: Sat Jul 9 22:07:30 2005 Subject: FIXED: VRB date in datacontrol In-Reply-To: Message-ID: Thanks Serge... Now go reset your clock ;-) On Wednesday, December 31, 1969 8:12 PM, Serge wrote: > On 7/6/05 2:36 AM, "Damon Pillinger" wrote: > >> Hi Ruslan and guys, >> >> >> This now does not have any errors; however, the date is still 0-00-00. >> >> Is there anything else you have to set for Dates? >> >> I remember reading something about 2005 -> 05 or something. >> editfield4.text="2005-12-15" >> but I tried >> editfield4.text="05-12-15" >> and it still gave 0-00-00 >> >> Anything else I can try? > > > Hi Damon, > > Fixed in the next build. > > -- > Best regards, > Serge From info at vallemediatime.com Sun Jul 10 21:08:11 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Jul 10 14:09:09 2005 Subject: V4MD "Search a string case insensitive ..." References: <000a01c583a3$3c5aaad0$691f1e97@vmtrm4p9ipbkv2><001d01c58456$2deabea0$85231e97@vmtrm4p9ipbkv2><42CF80C9.8090801@elitecoderz.net> Message-ID: <000c01c58582$d48759d0$5e251e97@vmtrm4p9ipbkv2> Thanks Eric and Heinrich I will try your suggestion in next week, because in this days I must work for update a old project in V1.11 Paolo ----- Original Message ----- From: "Heinrich Ruoff" To: "Valentina Developers" Sent: Saturday, July 09, 2005 11:04 AM Subject: Re: V4MD "Search a string case insensitive ..." Hi Paolo, to make your db case insensitive in general try gDb.setCollationAttribute(#kStrength, #kPrimary) before adding tables and fields. Heinrich On 7/9/05, Erik Scholtz wrote: > info@vallemediatime.com wrote: > > I try to ask again... > > It's so hard to answer? :-) > > Paolo > > > > ----- Original Message ----- > > From: > > To: "Valentina Developers" > > Sent: Friday, July 08, 2005 11:55 AM > > Subject: V4MD "Search a string case insensitive ..." > > > > > > Hi Ruslan and Igor, > > I've not found the request example (Mantis #881) > > "Search a string case insensitive in all one table in V4MD" > > where have you put it? > > Thanks > > > > Paolo > > Hi, > > I don't know where the example is, but try something like this: > > SELECT col1,col2,col3 > FROM table > WHERE LOWER(column4)=LOWER('seArchString') > > This will make the search case-insensitive. Perhaps there is an option > on valentina I don't know, but I think this is a easy, working way. > > Best regards, > Erik > _______________________________________________ > 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 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.8.11/44 - Release Date: 08/07/2005 From listen at monkeybreadsoftware.de Mon Jul 11 00:41:33 2005 From: listen at monkeybreadsoftware.de (Christian Schmitz) Date: Sun Jul 10 17:41:47 2005 Subject: Does V4RB 1.x (or 2.x?) work for console applications? Message-ID: <1gzif83.if2myddwz5luM%listen@monkeybreadsoftware.de> Hi, I've to port an app using V4RB 1.x to be a console application. Is it possible? Mfg Christian -- Around ten thousand functions in one REALbasic plug-in. The MBS Plugin. From sunshine at public.kherson.ua Mon Jul 11 09:04:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 11 01:04:37 2005 Subject: V4MD "Search a string case insensitive ..." In-Reply-To: <001d01c58456$2deabea0$85231e97@vmtrm4p9ipbkv2> Message-ID: On 7/9/05 10:16 AM, "info@vallemediatime.com" wrote: Sorry Paolo, 2 days our city was blocked by some spam filter.. Answer is: example is SQL_way/IndexByWords. Is this what you are looking for ? > I try to ask again... > It's so hard to answer? :-) > Paolo > > ----- Original Message ----- > From: > To: "Valentina Developers" > Sent: Friday, July 08, 2005 11:55 AM > Subject: V4MD "Search a string case insensitive ..." > > > Hi Ruslan and Igor, > I've not found the request example (Mantis #881) > "Search a string case insensitive in all one table in V4MD" > where have you put it? > Thanks -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 11 09:06:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 11 01:07:09 2005 Subject: [V4RB] Outer join strange result in sort order In-Reply-To: Message-ID: On 7/9/05 10:49 PM, "Francois Van Lerberghe" wrote: Hi Francois, > I'm using V4RB 1.11 (last version) and Realbasic 3.5 > > I have a problem with an outer join that don't give me the expected result. > Here is my SQL query : > > SELECT table1.field1, table2.Field2 > FROM table1, table2 > WHERE table1.field1 =* table2. Field2 > ORDER BY 1 > > The results, in viSQL, are : > > field1 field2 > -------------------- > string1 string1 > string1 string1 > stringA > stringB > stringC > string2 string2 > string2 string2 > string2 string2 > string3 string3 > ... ... > (next 14000 rows) > > The results don't seem, to me, to be correctly sorted. > Although I have asked "ORDER BY 1", the 3rd and the 3 following lignes (that > have not related record in table 1) are *after* the 2 first ?? > > Is it a normal behavior with outer join ? > Is it a problem of indexes ? That NULL rows should be on top of result. Please try rebuild indexes. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Jul 11 09:08:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 11 01:08:56 2005 Subject: Does V4RB 1.x (or 2.x?) work for console applications? In-Reply-To: <1gzif83.if2myddwz5luM%listen@monkeybreadsoftware.de> Message-ID: On 7/11/05 1:41 AM, "Christian Schmitz" wrote: Hi Christian, > I've to port an app using V4RB 1.x to be a console application. > > Is it possible? Console is only macho -- right ? I think at least 1.x will work. Well, you can easy check this. Just make one function in project and try run 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 info at vallemediatime.com Mon Jul 11 08:48:54 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Mon Jul 11 01:49:10 2005 Subject: V4MD "Search a string case insensitive ..." References: Message-ID: <000801c585e4$9b1bb850$2f1c1e97@vmtrm4p9ipbkv2> Hi Ruslan, ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Monday, July 11, 2005 8:04 AM Subject: Re: V4MD "Search a string case insensitive ..." > On 7/9/05 10:16 AM, "info@vallemediatime.com" > wrote: > > Sorry Paolo, 2 days our city was blocked by some spam filter.. ok > Answer is: > example is SQL_way/IndexByWords. > > Is this what you are looking for ? My example request was a bit different: find a string case_insensitive in both ways (API and SQL) in all fields and all record of selected table. Thanks Paolo > > > I try to ask again... > > It's so hard to answer? :-) > > Paolo > > > > ----- Original Message ----- > > From: > > To: "Valentina Developers" > > Sent: Friday, July 08, 2005 11:55 AM > > Subject: V4MD "Search a string case insensitive ..." > > > > > > Hi Ruslan and Igor, > > I've not found the request example (Mantis #881) > > "Search a string case insensitive in all one table in V4MD" > > where have you put it? > > Thanks > > -- > Best regards, > > Ruslan Zasukhin > VP 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.323 / Virus Database: 267.8.11/44 - Release Date: 08/07/2005 > > From sunshine at public.kherson.ua Mon Jul 11 12:10:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 11 04:11:08 2005 Subject: V4MD "Search a string case insensitive ..." In-Reply-To: <000801c585e4$9b1bb850$2f1c1e97@vmtrm4p9ipbkv2> Message-ID: On 7/11/05 9:48 AM, "info@vallemediatime.com" wrote: >> Is this what you are looking for ? > My example request was a bit different: > find a string case_insensitive in both ways (API and SQL) in all fields and > all record of selected table. There is no built-in feature to do search on all fields. Jon (jda) use for this task special Table Method which is concatenation of all fields in table. AGAIN, both API_way and SQL_way folders contains examples IndexByWords Which show use of db.CollationAttribute() -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fvanlerberghe at freegates.be Mon Jul 11 11:17:01 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Mon Jul 11 04:17:12 2005 Subject: [V4RB] Outer join strange result in sort order In-Reply-To: Message-ID: le 11/07/05 8:06, Ruslan Zasukhin a ?crit?: > That NULL rows should be on top of result. > Please try rebuild indexes. That's what I think too. I have tried : - rebuild of indexes. - export the whole table and import again - defragment and compact But I get the same result. Thus I think it's a bug. May I sent to you the database ? In this case I'm going to narrow the database in order to send you a file as small as possible, reproducing the problem. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From sunshine at public.kherson.ua Mon Jul 11 12:24:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 11 04:24:37 2005 Subject: [V4RB] Outer join strange result in sort order In-Reply-To: Message-ID: On 7/11/05 12:17 PM, "Francois Van Lerberghe" wrote: > le 11/07/05 8:06, Ruslan Zasukhin a ?crit?: > >> That NULL rows should be on top of result. >> Please try rebuild indexes. > > That's what I think too. > I have tried : > - rebuild of indexes. > - export the whole table and import again > - defragment and compact > But I get the same result. > > Thus I think it's a bug. > May I sent to you the database ? > In this case I'm going to narrow the database in order to send you a file as > small as possible, reproducing the problem. But this is 1.x engine ? Try also next: change order of tables and conditions to switch to LEFT OUTER instead of RIGHT OUTER -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fvanlerberghe at freegates.be Mon Jul 11 18:35:00 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Mon Jul 11 11:35:11 2005 Subject: [V4RB] Outer join strange result in sort order In-Reply-To: Message-ID: le 11/07/05 11:24, Ruslan Zasukhin a ?crit?: >> Thus I think it's a bug. >> May I sent to you the database ? > >> In this case I'm going to narrow the database in order to send you a file as >> small as possible, reproducing the problem. > > But this is 1.x engine ? Yes. Too late to fix/work on that ? > Try also next: > change order of tables and conditions to > switch to LEFT OUTER instead of RIGHT OUTER :-( I've have also tried that without success. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From stoppacher at mac.com Mon Jul 11 18:53:27 2005 From: stoppacher at mac.com (Manfred Stoppacher) Date: Mon Jul 11 11:53:47 2005 Subject: RB 2005 Standard Edition and V4RB 2 Message-ID: Hello everybody, I hope somebody can help me. I?ve been working with RB 5.5.5 and V4RB 1.11 for quite a while. Now I changed to RB 2005 Standard Edition. Everything works with V 1.11. When I use RB 2005 with V 2.x Realbasic tells me: The plugin V4RB:128 class is an Exclusive feature of Realbasic Professional Edition. I thought that V 2.x works with the RB Standard Edition. At least it is said in Paradigmas homepage. Please enlighten me - Manfred Stoppacher From sunshine at public.kherson.ua Mon Jul 11 20:19:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 11 12:19:26 2005 Subject: RB 2005 Standard Edition and V4RB 2 In-Reply-To: Message-ID: On 7/11/05 7:53 PM, "Manfred Stoppacher" wrote: Hi Manfred, > Hello everybody, > > I hope somebody can help me. > > I?ve been working with RB 5.5.5 and V4RB 1.11 for quite a while. > Now I changed to RB 2005 Standard Edition. Everything works with V 1.11. > When I use RB 2005 with V 2.x Realbasic tells me: The plugin V4RB:128 class > is an Exclusive feature of Realbasic Professional Edition. > > I thought that V 2.x works with the RB Standard Edition. At least it is said > in Paradigmas homepage. > > Please enlighten me - Please look into docs on this. You need create in plugins folder, file DisableRBDB -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 11 20:19:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 11 12:20:03 2005 Subject: [V4RB] Outer join strange result in sort order In-Reply-To: Message-ID: On 7/11/05 7:35 PM, "Francois Van Lerberghe" wrote: >> But this is 1.x engine ? > > Yes. > Too late to fix/work on that ? > >> Try also next: >> change order of tables and conditions to >> switch to LEFT OUTER instead of RIGHT OUTER > > :-( I've have also tried that without success. Very strange, because this is required feature. Please send me db and query. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sun2 at public.kherson.ua Mon Jul 11 22:12:27 2005 From: sun2 at public.kherson.ua (Serge) Date: Mon Jul 11 14:12:35 2005 Subject: VRB RunQuery in datacontrol In-Reply-To: <001a01c58348$484bfa70$ae00a8c0@DamonsPC> Message-ID: On 7/8/05 2:04 AM, "Damon Pillinger" wrote: > Hi Serge, > > Last one I promise. > Can you have a look at the code of the RunQuery for a datacontrol. > 100 queries take 33 seconds whereas the same using SQLselect take about > 1 second. > > > 'dataControl1 run query > ts=ticks > dataControl1.sqLQuery="Select * from Test" > for i= 1 to 100 > dataControl1.runQuery > next > > > Is there some way you can improve this feature? Hi Damon, Some speed improved. -- Best regards, Serge From stoppacher at mac.com Mon Jul 11 21:42:25 2005 From: stoppacher at mac.com (Manfred Stoppacher) Date: Mon Jul 11 14:42:51 2005 Subject: RB 2005 Standard Edition and V4RB 2 In-Reply-To: Message-ID: Ruslan, Thank you very much! Manfred -- > > Hi Manfred, > >> Hello everybody, >> >> I hope somebody can help me. >> >> I?ve been working with RB 5.5.5 and V4RB 1.11 for quite a while. >> Now I changed to RB 2005 Standard Edition. Everything works with V 1.11. > >> When I use RB 2005 with V 2.x Realbasic tells me: The plugin V4RB:128 class >> is an Exclusive feature of Realbasic Professional Edition. >> >> I thought that V 2.x works with the RB Standard Edition. At least it is said >> in Paradigmas homepage. >> >> Please enlighten me - > > Please look into docs on this. > > You need create in plugins folder, file DisableRBDB > From daisychain at iinet.net.au Tue Jul 12 08:45:09 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Mon Jul 11 17:45:25 2005 Subject: VRB RunQuery in datacontrol In-Reply-To: Message-ID: <001901c5866a$30dcf6d0$ae00a8c0@DamonsPC> Thanks serge. I will post results when the new beta comes out. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Serge Sent: Tuesday, 12 July 2005 5:12 AM To: Valentina Developers Subject: Re: VRB RunQuery in datacontrol On 7/8/05 2:04 AM, "Damon Pillinger" wrote: > Hi Serge, > > Last one I promise. > Can you have a look at the code of the RunQuery for a datacontrol. > 100 queries take 33 seconds whereas the same using SQLselect take about > 1 second. > > > 'dataControl1 run query > ts=ticks > dataControl1.sqLQuery="Select * from Test" > for i= 1 to 100 > dataControl1.runQuery > next > > > Is there some way you can improve this feature? Hi Damon, Some speed improved. -- Best regards, Serge _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From fvanlerberghe at freegates.be Tue Jul 12 10:03:07 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Tue Jul 12 03:03:13 2005 Subject: [V4RB] Outer join strange result in sort order In-Reply-To: Message-ID: le 11/07/05 19:19, Ruslan Zasukhin a ?crit?: >>> Try also next: >>> change order of tables and conditions to >>> switch to LEFT OUTER instead of RIGHT OUTER >> >> :-( I've have also tried that without success. > > Very strange, because this is required feature. I mean "with the same result" : the NULL values are not at the top. > > Please send me db and query. I'm going to do that. Thank you. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From fvanlerberghe at freegates.be Tue Jul 12 13:48:06 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Tue Jul 12 06:48:12 2005 Subject: [V4RB] Outer join strange result in sort order In-Reply-To: Message-ID: le 11/07/05 19:19, Ruslan Zasukhin a ?crit?: > Please send me db and query. I don't know why, but I cannot send the mail to your above address. Could you give me another one please. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From fvanlerberghe at freegates.be Tue Jul 12 14:08:25 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Tue Jul 12 07:08:28 2005 Subject: [V4RB] Outer join strange result in sort order In-Reply-To: Message-ID: le 12/07/05 13:48, Francois Van Lerberghe a ?crit?: > le 11/07/05 19:19, Ruslan Zasukhin a ?crit?: > >> Please send me db and query. > > I don't know why, but I cannot send the mail to your above address. Could > you give me another one please. Sorry, ignore this. It's ok now. Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From daisychain at iinet.net.au Wed Jul 13 11:01:08 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Tue Jul 12 20:01:26 2005 Subject: SQL question CRLF In-Reply-To: Message-ID: <00ba01c58746$5aec1910$ae00a8c0@DamonsPC> Hi All, Hopefully a simple question I have a string which I want to but a CR+LF into, is this possible with SQL. I assume it must be But just putting ..."+chr(13)+chr(10)+"... does not work Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 From ruslan at paradigmasoft.com Wed Jul 13 09:33:28 2005 From: ruslan at paradigmasoft.com (Ruslan Zasukhin) Date: Wed Jul 13 01:34:16 2005 Subject: SQL question CRLF In-Reply-To: <00ba01c58746$5aec1910$ae00a8c0@DamonsPC> Message-ID: On 7/13/05 4:01 AM, "Damon Pillinger" wrote: > Hi All, > > Hopefully a simple question > > I have a string which I want to but a CR+LF into, is this possible with > SQL. I assume it must be > > But just putting ..."+chr(13)+chr(10)+"... does not work Hi Damon, Do you mean you want execute INSERT with this characters ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Wed Jul 13 16:44:37 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Wed Jul 13 01:44:43 2005 Subject: SQL question CRLF In-Reply-To: Message-ID: <000001c58776$566ef490$ae00a8c0@DamonsPC> Something like this UPDATE [table] SET field_name = "line1line2" Where is a chr(13)+chr(10) So when I do a select and put it into an editfield I get Line1 Line2 Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Wednesday, 13 July 2005 4:33 PM To: valentina@lists.macserve.net Subject: Re: SQL question CRLF On 7/13/05 4:01 AM, "Damon Pillinger" wrote: > Hi All, > > Hopefully a simple question > > I have a string which I want to but a CR+LF into, is this possible with > SQL. I assume it must be > > But just putting ..."+chr(13)+chr(10)+"... does not work Hi Damon, Do you mean you want execute INSERT with this characters ? -- Best regards, Ruslan Zasukhin VP 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 ruslan at paradigmasoft.com Wed Jul 13 11:57:43 2005 From: ruslan at paradigmasoft.com (Ruslan Zasukhin) Date: Wed Jul 13 03:58:06 2005 Subject: SQL question CRLF In-Reply-To: <000001c58776$566ef490$ae00a8c0@DamonsPC> Message-ID: On 7/13/05 9:44 AM, "Damon Pillinger" wrote: > Something like this > > UPDATE [table] SET field_name = "line1line2" > > Where is a chr(13)+chr(10) > > So when I do a select and put it into an editfield I get > Line1 > Line2 > > Thanks Ok Damon, Sergey will add this feature into SQL Parser. Somehow we did miss 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 lfredricks at proactive-intl.com Wed Jul 13 08:20:36 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed Jul 13 10:20:51 2005 Subject: Project in UK for Director/V4MD Developer Message-ID: <20050713152043.EFC8117D529@spatula.dreamhost.com> Hello all, Ive been contacted by a medical business in the UK that needs a simple project made using Director and Valentina 2 for Director. Its appears very simple, load a database of images and text and be able to do simple searches. If you are interested, send me directly your company/contact information and your regular rates. Assume you need some experience with Valentina 1.x or 2. They havent made clear to me yet about how important proximity is, only that it needs to be finished in about two months. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) From andrew at learningware.com Wed Jul 13 10:25:17 2005 From: andrew at learningware.com (Andrew Sinning) Date: Wed Jul 13 10:25:24 2005 Subject: Project in UK for Director/V4MD Developer In-Reply-To: <20050713152043.EFC8117D529@spatula.dreamhost.com> References: <20050713152043.EFC8117D529@spatula.dreamhost.com> Message-ID: <42D5325D.80808@learningware.com> Lynn Fredricks wrote: >- Because it is about who you know.(tm) > Somebody has actually trademarked this trite aphorism? What's next, trade marks on "the grass is always greener", "strike while the iron is hot" and "giving 110%"? From andrew at learningware.com Wed Jul 13 11:14:45 2005 From: andrew at learningware.com (Andrew Sinning) Date: Wed Jul 13 11:14:50 2005 Subject: ObjectRefs In-Reply-To: <000001c58776$566ef490$ae00a8c0@DamonsPC> References: <000001c58776$566ef490$ae00a8c0@DamonsPC> Message-ID: <42D53DF5.6040102@learningware.com> I recently learned that I have completely misunderstood the use of the objectRef data type. Now I'm trying to get it straight. Suppose I want to add 5 entries to an "answers" table that correspond to an entry in a "questions" table. How do I do this? First, I'm going to need the RecId of the entry in the questions table, correct? This has to be explicitly requested in the sql SELECT statement eg "SELECT RecId, * FROM questions...". Now, to add new records to the answers table, do I just specify the value of the objectRef field as the integer corresponding to the RecId of the question? From lfredricks at proactive-intl.com Wed Jul 13 10:12:31 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed Jul 13 12:12:47 2005 Subject: Project in UK for Director/V4MD Developer In-Reply-To: <42D5325D.80808@learningware.com> Message-ID: <20050713171238.AD67617D567@spatula.dreamhost.com> > Andrew Sinning (andrew@learningware.com) > Sent: Wednesday, July 13, 2005 8:25 AM > To: Valentina Developers > Subject: Re: Project in UK for Director/V4MD Developer > > Lynn Fredricks wrote: > > >- Because it is about who you know.(tm) > > > Somebody has actually trademarked this trite aphorism? > What's next, trade marks on "the grass is always greener", > "strike while the iron is hot" and "giving 110%"? It makes more sense than making a derivative of an Apple smile logo. "it is about who you know" is an aphorism. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) From sunshine at public.kherson.ua Wed Jul 13 23:08:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 13 15:08:56 2005 Subject: ObjectRefs In-Reply-To: <42D53DF5.6040102@learningware.com> Message-ID: On 7/13/05 7:14 PM, "Andrew Sinning" wrote: Hi Andrew, > I recently learned that I have completely misunderstood the use of the > objectRef data type. Now I'm trying to get it straight. > > Suppose I want to add 5 entries to an "answers" table that correspond to > an entry in a "questions" table. How do I do this? You need to know "KEY" of record in questions table. for RBDB way -- this is YOUR own ID field. for ObjectPtr way -- this is RecID field. Now when you know value of key, e.g. RecID = 55 You can add new records to Table Answers, And link them to record 55 of table Questions. * or INSERT INTO Questions (f1, Ptr) VALUES (v1, 55 ) * or API way Table.Field(f1).value = v1 Table.Field("ptr").value = 55 Table.AddRecord() > First, I'm going to need the RecId of the entry in the questions table, > correct? Aha, RIGHT! > This has to be explicitly requested in the sql SELECT > statement eg "SELECT RecId, * FROM questions...". If you use SQL and cursors then YES. > Now, to add new records to the answers table, do I just specify the > value of the objectRef field as the integer corresponding to the RecId > of the question? 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 daisychain at iinet.net.au Thu Jul 14 09:33:11 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Wed Jul 13 18:33:26 2005 Subject: SQL question CRLF In-Reply-To: Message-ID: <001001c58803$3bcfca00$ae00a8c0@DamonsPC> Hi Ruslan and serge. Don't worry I figured it out UPDATE [table] SET field_name = "line1line2" Replace with chr(13) only and it works fine. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Wednesday, 13 July 2005 6:58 PM To: valentina@lists.macserve.net Subject: Re: SQL question CRLF On 7/13/05 9:44 AM, "Damon Pillinger" wrote: > Something like this > > UPDATE [table] SET field_name = "line1line2" > > Where is a chr(13)+chr(10) > > So when I do a select and put it into an editfield I get > Line1 > Line2 > > Thanks Ok Damon, Sergey will add this feature into SQL Parser. Somehow we did miss 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 From sunshine at public.kherson.ua Thu Jul 14 08:22:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 00:23:09 2005 Subject: SQL question CRLF In-Reply-To: <001001c58803$3bcfca00$ae00a8c0@DamonsPC> Message-ID: On 7/14/05 2:33 AM, "Damon Pillinger" wrote: > Hi Ruslan and serge. > > Don't worry I figured it out > > UPDATE [table] SET field_name = "line1line2" > > Replace with chr(13) only and it works fine. Hi Damon, Ok, in any case Segey will add feature SET fld = 'line\rline2' Also will be supported \n, \t, \b, ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Thu Jul 14 15:26:05 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Thu Jul 14 00:26:06 2005 Subject: SQL question CRLF In-Reply-To: Message-ID: <005801c58834$883aa9b0$ae00a8c0@DamonsPC> Cool Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Thursday, 14 July 2005 3:23 PM To: valentina@lists.macserve.net Subject: Re: SQL question CRLF On 7/14/05 2:33 AM, "Damon Pillinger" wrote: > Hi Ruslan and serge. > > Don't worry I figured it out > > UPDATE [table] SET field_name = "line1line2" > > Replace with chr(13) only and it works fine. Hi Damon, Ok, in any case Segey will add feature SET fld = 'line\rline2' Also will be supported \n, \t, \b, ... -- Best regards, Ruslan Zasukhin VP 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 miescher at bizdata.com Thu Jul 14 07:54:20 2005 From: miescher at bizdata.com (John W. Miescher) Date: Thu Jul 14 00:54:36 2005 Subject: Proximity search Message-ID: <001e01c58838$7b0a8400$0201a8c0@JOHNHP> Hi Ruslan, My users sometimes have trouble with the spelling or do the typical legastenic 2-letter inversions. can you tell me if there is a way to do proximity searchesand word completions in V2, if so, how? thanks yr help, john m. From sunshine at public.kherson.ua Thu Jul 14 10:48:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 02:48:51 2005 Subject: Proximity search In-Reply-To: <001e01c58838$7b0a8400$0201a8c0@JOHNHP> Message-ID: On 7/14/05 8:54 AM, "John W. Miescher" wrote: > Hi Ruslan, > > My users sometimes have trouble with the spelling or do the typical > legastenic 2-letter inversions. > > can you tell me if there is a way to do proximity searchesand word > completions in V2, if so, how? Hi John, there is no such feature. And I think not exists such algorithms for any language, 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 Thu Jul 14 13:12:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 05:12:37 2005 Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). Message-ID: Hi All, * Please test this new feature against of your databases and let us know. * You can do this easy using example Api_way/Database_Clone. This is very nice feature, and it can be used to solve several tasks: 1) this can be used to do REPAIR of damaged database. Up to know we have use for this XML dump, but Clone() will be much faster way, because XML can be e.g. 1GB for 200MB database. When you use Clone() you will need only another 200MB to build new database. Clone() do binary copying of record values without conversion into text. 2) Clone() have all the same side-effects of dump/load: - all deleted records are ignored. - all values of ObjectPtr fields and BinaryLinks are corrected (because deleted records was ignored). So cloned database in general case will be as compact as possible for your actual data. This is good if you prepare database to be located on CD. 3) Clone() can be used also to change some parameters of Database which you cannot change runtime. For example: db.mode, db.segmentSize, Byte swapping, ... 4) If you use db.Mode = 1, i.e. You keep your database in the single file, Then up to now you did not have a way to easy to make a new fresh db with the same structure. Now you can do this. Jochen, this feature "Clone..." should be added into menu File of Valentina Studio Application. It needs show dialog with some options. TODO: ** it is possible add Log file produced by Clone() where it will write down info about any found corrupted records/values. So user can see what records was not able to repair. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ohmitou at wanadoo.fr Thu Jul 14 14:59:46 2005 From: ohmitou at wanadoo.fr (Thierry NAUZE) Date: Thu Jul 14 05:59:59 2005 Subject: Deployment of my application ? Message-ID: Hello, I have compiled my applicaton and then ??? On page V4RBRef-6 > After you have compile your application you need yet bundle it with > VComponents folder. > You have now 2 choices: > 1) Everything is inside of single folder "MyAppFolder". > This way is the most preferable. Because you can install/uninstall > application as single > folder to computer of your user. For this way you need to do the > following steps. > ? create folder with name you need, e.g. "MyAppFolder". It is made > ? copy inside the executable which REALbasic have built. It is made and now ? > ? copy inside all files from the VComponents folder (but not folder > itself). OK. But where may I find these components? 1, For Mac no problem : icudt30b_cw.shlb icudt30b.dat icuin30_cw.shlb icuuc30_cw.shlb Kernel_Carbon_Final.shlb MSL_All_Carbon.Shlb ProfilerCarbonLib vclient_carbon_cw.shlb VDK_PPC.shlb vresources vshared_carbon_cw.shlb Are they any essentials -18 Mo- or which I can eliminate ? 2, But for PC (I develop on Mac) where may I find these components ? Suggestion: would not it be possible that they are regrouped into a folder? Regards, -- Thierry NAUZE Saint-Denis de la R?union From sunshine at public.kherson.ua Thu Jul 14 14:04:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 06:04:21 2005 Subject: Deployment of my application ? In-Reply-To: Message-ID: On 7/14/05 1:59 PM, "Thierry NAUZE" wrote: > 2, But for PC (I develop on Mac) where may I find these components ? > V4RB WIN 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 ohmitou at wanadoo.fr Thu Jul 14 15:25:07 2005 From: ohmitou at wanadoo.fr (Thierry NAUZE) Date: Thu Jul 14 06:25:18 2005 Subject: Deployment of my application ? In-Reply-To: References: Message-ID: Le 14 juil. 05 ? 15:04, Ruslan Zasukhin a ?crit : > On 7/14/05 1:59 PM, "Thierry NAUZE" wrote: > > >> 2, But for PC (I develop on Mac) where may I find these components ? >> >> > > V4RB WIN archive. I suppose : V4RB_2_win.exe And how do I make to extract from it files from a Mac? Regards, -- Thierry NAUZE Saint-Denis de la R?union From sunshine at public.kherson.ua Thu Jul 14 14:30:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 06:30:18 2005 Subject: Deployment of my application ? In-Reply-To: Message-ID: On 7/14/05 2:25 PM, "Thierry NAUZE" wrote: >> V4RB WIN archive. > > I suppose : V4RB_2_win.exe > > And how do I make to extract from it files from a Mac? This is RAR-self extracting file. I am sure that Stuffit can uncompress such 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 ohmitou at wanadoo.fr Thu Jul 14 15:44:56 2005 From: ohmitou at wanadoo.fr (Thierry NAUZE) Date: Thu Jul 14 06:45:11 2005 Subject: Deployment of my application ? In-Reply-To: References: Message-ID: <0C15C1B4-123F-48DF-AA72-61B97EFEB421@wanadoo.fr> Le 14 juil. 05 ? 15:30, Ruslan Zasukhin a ?crit : > > >>> V4RB WIN archive. >>> >> >> I suppose : V4RB_2_win.exe >> >> And how do I make to extract from it files from a Mac? >> > > This is RAR-self extracting file. > > I am sure that Stuffit can uncompress such archive. No, Stuffit (Deluxe 9) don't uncompress this archive, on Mac ! Regards, -- Thierry NAUZE Saint-Denis de la R?union From miescher at bizdata.com Thu Jul 14 15:11:05 2005 From: miescher at bizdata.com (John W. Miescher) Date: Thu Jul 14 08:11:15 2005 Subject: Proximity search In-Reply-To: <20050714114514.9E8773535C2@edison.macserve.net> Message-ID: <000301c58875$7e5cf6a0$0201a8c0@JOHNHP> I was thinking of a feature like the spellchecker in MS-Word that offers a choice of similar sounding words if it finds a spelling error. john m. -----Urspr?ngliche Nachricht----- Von: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Im Auftrag von valentina-request@lists.macserve.net Gesendet: jeudi, 14. juillet 2005 13:45 An: valentina@lists.macserve.net Betreff: Valentina Digest, Vol 31, Issue 16 Send Valentina mailing list submissions to valentina@lists.macserve.net To subscribe or unsubscribe via the World Wide Web, visit http://lists.macserve.net/mailman/listinfo/valentina or, via email, send a message with subject or body 'help' to valentina-request@lists.macserve.net You can reach the person managing the list at valentina-owner@lists.macserve.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Valentina digest..." Today's Topics: 1. RE: SQL question CRLF (Damon Pillinger) 2. Re: SQL question CRLF (Ruslan Zasukhin) 3. RE: SQL question CRLF (Damon Pillinger) 4. Proximity search (John W. Miescher) 5. Re: Proximity search (Ruslan Zasukhin) 6. [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). (Ruslan Zasukhin) 7. Deployment of my application ? (Thierry NAUZE) 8. Re: Deployment of my application ? (Ruslan Zasukhin) 9. Re: Deployment of my application ? (Thierry NAUZE) 10. Re: Deployment of my application ? (Ruslan Zasukhin) 11. Re: Deployment of my application ? (Thierry NAUZE) ---------------------------------------------------------------------- Message: 1 Date: Thu, 14 Jul 2005 09:33:11 +1000 From: "Damon Pillinger" Subject: RE: SQL question CRLF To: "'Valentina Developers'" Message-ID: <001001c58803$3bcfca00$ae00a8c0@DamonsPC> Content-Type: text/plain; charset="us-ascii" Hi Ruslan and serge. Don't worry I figured it out UPDATE [table] SET field_name = "line1line2" Replace with chr(13) only and it works fine. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Wednesday, 13 July 2005 6:58 PM To: valentina@lists.macserve.net Subject: Re: SQL question CRLF On 7/13/05 9:44 AM, "Damon Pillinger" wrote: > Something like this > > UPDATE [table] SET field_name = "line1line2" > > Where is a chr(13)+chr(10) > > So when I do a select and put it into an editfield I get Line1 > Line2 > > Thanks Ok Damon, Sergey will add this feature into SQL Parser. Somehow we did miss 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 ------------------------------ Message: 2 Date: Thu, 14 Jul 2005 08:22:55 +0300 From: Ruslan Zasukhin Subject: Re: SQL question CRLF To: "valentina@lists.macserve.net" Message-ID: Content-Type: text/plain; charset="US-ASCII" On 7/14/05 2:33 AM, "Damon Pillinger" wrote: > Hi Ruslan and serge. > > Don't worry I figured it out > > UPDATE [table] SET field_name = "line1line2" > > Replace with chr(13) only and it works fine. Hi Damon, Ok, in any case Segey will add feature SET fld = 'line\rline2' Also will be supported \n, \t, \b, ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ------------------------------ Message: 3 Date: Thu, 14 Jul 2005 15:26:05 +1000 From: "Damon Pillinger" Subject: RE: SQL question CRLF To: "'Valentina Developers'" Message-ID: <005801c58834$883aa9b0$ae00a8c0@DamonsPC> Content-Type: text/plain; charset="us-ascii" Cool Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Thursday, 14 July 2005 3:23 PM To: valentina@lists.macserve.net Subject: Re: SQL question CRLF On 7/14/05 2:33 AM, "Damon Pillinger" wrote: > Hi Ruslan and serge. > > Don't worry I figured it out > > UPDATE [table] SET field_name = "line1line2" > > Replace with chr(13) only and it works fine. Hi Damon, Ok, in any case Segey will add feature SET fld = 'line\rline2' Also will be supported \n, \t, \b, ... -- Best regards, Ruslan Zasukhin VP 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 ------------------------------ Message: 4 Date: Thu, 14 Jul 2005 07:54:20 +0200 From: "John W. Miescher" Subject: Proximity search To: Message-ID: <001e01c58838$7b0a8400$0201a8c0@JOHNHP> Content-Type: text/plain; charset="us-ascii" Hi Ruslan, My users sometimes have trouble with the spelling or do the typical legastenic 2-letter inversions. can you tell me if there is a way to do proximity searchesand word completions in V2, if so, how? thanks yr help, john m. ------------------------------ Message: 5 Date: Thu, 14 Jul 2005 10:48:35 +0300 From: Ruslan Zasukhin Subject: Re: Proximity search To: "valentina@lists.macserve.net" Message-ID: Content-Type: text/plain; charset="US-ASCII" On 7/14/05 8:54 AM, "John W. Miescher" wrote: > Hi Ruslan, > > My users sometimes have trouble with the spelling or do the typical > legastenic 2-letter inversions. > > can you tell me if there is a way to do proximity searchesand word > completions in V2, if so, how? Hi John, there is no such feature. And I think not exists such algorithms for any language, 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] ------------------------------ Message: 6 Date: Thu, 14 Jul 2005 13:12:17 +0300 From: Ruslan Zasukhin Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). To: "valentina@lists.macserve.net" , "vdevelopers@paradigma.ukrcom.kherson.ua" , "valentina-studio@lists.macserve.net" Message-ID: Content-Type: text/plain; charset="US-ASCII" Hi All, * Please test this new feature against of your databases and let us know. * You can do this easy using example Api_way/Database_Clone. This is very nice feature, and it can be used to solve several tasks: 1) this can be used to do REPAIR of damaged database. Up to know we have use for this XML dump, but Clone() will be much faster way, because XML can be e.g. 1GB for 200MB database. When you use Clone() you will need only another 200MB to build new database. Clone() do binary copying of record values without conversion into text. 2) Clone() have all the same side-effects of dump/load: - all deleted records are ignored. - all values of ObjectPtr fields and BinaryLinks are corrected (because deleted records was ignored). So cloned database in general case will be as compact as possible for your actual data. This is good if you prepare database to be located on CD. 3) Clone() can be used also to change some parameters of Database which you cannot change runtime. For example: db.mode, db.segmentSize, Byte swapping, ... 4) If you use db.Mode = 1, i.e. You keep your database in the single file, Then up to now you did not have a way to easy to make a new fresh db with the same structure. Now you can do this. Jochen, this feature "Clone..." should be added into menu File of Valentina Studio Application. It needs show dialog with some options. TODO: ** it is possible add Log file produced by Clone() where it will write down info about any found corrupted records/values. So user can see what records was not able to repair. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ------------------------------ Message: 7 Date: Thu, 14 Jul 2005 14:59:46 +0400 From: Thierry NAUZE Subject: Deployment of my application ? To: Valentina Developers Message-ID: Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Hello, I have compiled my applicaton and then ??? On page V4RBRef-6 > After you have compile your application you need yet bundle it with > VComponents folder. > You have now 2 choices: > 1) Everything is inside of single folder "MyAppFolder". > This way is the most preferable. Because you can install/uninstall > application as single > folder to computer of your user. For this way you need to do the > following steps. > ? create folder with name you need, e.g. "MyAppFolder". It is made > ? copy inside the executable which REALbasic have built. It is made and now ? > ? copy inside all files from the VComponents folder (but not folder > itself). OK. But where may I find these components? 1, For Mac no problem : icudt30b_cw.shlb icudt30b.dat icuin30_cw.shlb icuuc30_cw.shlb Kernel_Carbon_Final.shlb MSL_All_Carbon.Shlb ProfilerCarbonLib vclient_carbon_cw.shlb VDK_PPC.shlb vresources vshared_carbon_cw.shlb Are they any essentials -18 Mo- or which I can eliminate ? 2, But for PC (I develop on Mac) where may I find these components ? Suggestion: would not it be possible that they are regrouped into a folder? Regards, -- Thierry NAUZE Saint-Denis de la R?union ------------------------------ Message: 8 Date: Thu, 14 Jul 2005 14:04:08 +0300 From: Ruslan Zasukhin Subject: Re: Deployment of my application ? To: "valentina@lists.macserve.net" Message-ID: Content-Type: text/plain; charset="US-ASCII" On 7/14/05 1:59 PM, "Thierry NAUZE" wrote: > 2, But for PC (I develop on Mac) where may I find these components ? > V4RB WIN 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] ------------------------------ Message: 9 Date: Thu, 14 Jul 2005 15:25:07 +0400 From: Thierry NAUZE Subject: Re: Deployment of my application ? To: Valentina Developers Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Le 14 juil. 05 ? 15:04, Ruslan Zasukhin a ?crit : > On 7/14/05 1:59 PM, "Thierry NAUZE" wrote: > > >> 2, But for PC (I develop on Mac) where may I find these components ? >> >> > > V4RB WIN archive. I suppose : V4RB_2_win.exe And how do I make to extract from it files from a Mac? Regards, -- Thierry NAUZE Saint-Denis de la R?union ------------------------------ Message: 10 Date: Thu, 14 Jul 2005 14:30:09 +0300 From: Ruslan Zasukhin Subject: Re: Deployment of my application ? To: "valentina@lists.macserve.net" Message-ID: Content-Type: text/plain; charset="US-ASCII" On 7/14/05 2:25 PM, "Thierry NAUZE" wrote: >> V4RB WIN archive. > > I suppose : V4RB_2_win.exe > > And how do I make to extract from it files from a Mac? This is RAR-self extracting file. I am sure that Stuffit can uncompress such 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] ------------------------------ Message: 11 Date: Thu, 14 Jul 2005 15:44:56 +0400 From: Thierry NAUZE Subject: Re: Deployment of my application ? To: Valentina Developers Message-ID: <0C15C1B4-123F-48DF-AA72-61B97EFEB421@wanadoo.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Le 14 juil. 05 ? 15:30, Ruslan Zasukhin a ?crit : > > >>> V4RB WIN archive. >>> >> >> I suppose : V4RB_2_win.exe >> >> And how do I make to extract from it files from a Mac? >> > > This is RAR-self extracting file. > > I am sure that Stuffit can uncompress such archive. No, Stuffit (Deluxe 9) don't uncompress this archive, on Mac ! Regards, -- Thierry NAUZE Saint-Denis de la R?union ------------------------------ _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina End of Valentina Digest, Vol 31, Issue 16 ***************************************** From chuck at mediamacros.com Thu Jul 14 09:19:55 2005 From: chuck at mediamacros.com (Chuck Neal) Date: Thu Jul 14 08:17:35 2005 Subject: Proximity search In-Reply-To: <001e01c58838$7b0a8400$0201a8c0@JOHNHP> References: <001e01c58838$7b0a8400$0201a8c0@JOHNHP> Message-ID: <42D6667B.1000309@mediamacros.com> Not sure what app you are using, but if its for Director there is actually an Xtra to do this called Word Wrangler (www.mediamacros.net/customer) For other apps there are ActiveX components, DLLs and other components you can tap into for this functionality as well. Its not as simple as a database lookup as it really does more weight comparison on words to find similar "scores" to rank what is a close match. -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 John W. Miescher wrote: > Hi Ruslan, > > My users sometimes have trouble with the spelling or do the typical > legastenic 2-letter inversions. > > can you tell me if there is a way to do proximity searchesand word > completions in V2, if so, how? > > thanks yr help, john m. > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From doppler at derlichtblick.at Thu Jul 14 15:52:05 2005 From: doppler at derlichtblick.at (thomas doppler) Date: Thu Jul 14 08:52:21 2005 Subject: V4MD2: projector crasht Message-ID: <42D66E05.1050500@derlichtblick.at> hello, i'm new to your list and relativ new to valentina. i used v4md_2.04, dir mx2004 on xp. my project works in developermode and in runtime, but only on my developermachine. if i started the projector on other (xp)-maschine(without dir and valentina), the projector chrash by the call "valentina=new (Xtra "Valentina")". the xtra is in the xtra folder and all of v-components in the root of my director-projector. so what can i do? gr thomas -- LichtBlick-L?sungen aus einer Hand ------------------------------------------ http://derlichtblick.at meillergasse 5/3 a-1130 wien ------------------------------------------ tel 00 43 1 802 50 32 mobil 00 43 664 243 96 51 mail doppler@derlichtblick.at From sunshine at public.kherson.ua Thu Jul 14 16:58:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 08:58:31 2005 Subject: V4MD2: projector crasht In-Reply-To: <42D66E05.1050500@derlichtblick.at> Message-ID: On 7/14/05 4:52 PM, "thomas doppler" wrote: > hello, i'm new to your list and relativ new to valentina. > > i used v4md_2.04, dir mx2004 on xp. > my project works in developermode and in runtime, but only on my > developermachine. if i started the projector on other > (xp)-maschine(without dir and valentina), the projector chrash by the > call "valentina=new (Xtra "Valentina")". > the xtra is in the xtra folder and all of v-components in the root of my > director-projector. > so what can i do? Hi Thomas, Please look into docs on part: Deployment. I think you have forget put into project folder VComponents files -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From doppler at derlichtblick.at Thu Jul 14 16:06:06 2005 From: doppler at derlichtblick.at (thomas doppler) Date: Thu Jul 14 09:06:14 2005 Subject: V4MD2: projector crasht In-Reply-To: References: Message-ID: <42D6714E.1060406@derlichtblick.at> thanks for answer, but i have the vcomponents in the project folder. the projector works also on my developermachine, when i renamed the vcomponentsfolder in the valentinafolder in "programme". so i think the vcomponents in the project folder works gr th Ruslan Zasukhin wrote: >On 7/14/05 4:52 PM, "thomas doppler" wrote: > > > >>hello, i'm new to your list and relativ new to valentina. >> >>i used v4md_2.04, dir mx2004 on xp. >>my project works in developermode and in runtime, but only on my >>developermachine. if i started the projector on other >>(xp)-maschine(without dir and valentina), the projector chrash by the >>call "valentina=new (Xtra "Valentina")". >>the xtra is in the xtra folder and all of v-components in the root of my >>director-projector. >>so what can i do? >> >> > >Hi Thomas, > >Please look into docs on part: Deployment. > >I think you have forget put into project folder VComponents files > > > -- LichtBlick-L?sungen aus einer Hand ------------------------------------------ http://derlichtblick.at meillergasse 5/3 a-1130 wien ------------------------------------------ tel 00 43 1 802 50 32 mobil 00 43 664 243 96 51 mail doppler@derlichtblick.at From doppler at derlichtblick.at Thu Jul 14 16:31:02 2005 From: doppler at derlichtblick.at (thomas doppler) Date: Thu Jul 14 09:31:27 2005 Subject: V4MD2: projector crasht In-Reply-To: <42D6714E.1060406@derlichtblick.at> References: <42D6714E.1060406@derlichtblick.at> Message-ID: <42D67726.9020500@derlichtblick.at> hi ruslan, i hope you understand me right. i think the vcomponents works but the projector chrashed. gr th thomas doppler wrote: > thanks for answer, but i have the vcomponents in the project folder. > > the projector works also on my developermachine, when i renamed the > vcomponentsfolder in the valentinafolder in "programme". > so i think the vcomponents in the project folder works > > gr th > > > > Ruslan Zasukhin wrote: > >> On 7/14/05 4:52 PM, "thomas doppler" wrote: >> >> >> >>> hello, i'm new to your list and relativ new to valentina. >>> >>> i used v4md_2.04, dir mx2004 on xp. >>> my project works in developermode and in runtime, but only on my >>> developermachine. if i started the projector on other >>> (xp)-maschine(without dir and valentina), the projector chrash by the >>> call "valentina=new (Xtra "Valentina")". >>> the xtra is in the xtra folder and all of v-components in the root >>> of my >>> director-projector. >>> so what can i do? >>> >> >> >> Hi Thomas, >> Please look into docs on part: Deployment. >> >> I think you have forget put into project folder VComponents files >> >> >> > -- LichtBlick-L?sungen aus einer Hand ------------------------------------------ http://derlichtblick.at meillergasse 5/3 a-1130 wien ------------------------------------------ tel 00 43 1 802 50 32 mobil 00 43 664 243 96 51 mail doppler@derlichtblick.at From doppler at derlichtblick.at Thu Jul 14 17:05:37 2005 From: doppler at derlichtblick.at (thomas doppler) Date: Thu Jul 14 10:05:46 2005 Subject: V4MD2: projector crasht In-Reply-To: References: Message-ID: <42D67F41.70708@derlichtblick.at> hi ruslan, now i tested it with the lession1_step5_file from the examples from the wesite. i make a projector from the file first with the xtra in a xtra-folder, later with the xtra included. its the same. if the vcomponents not on the right place their comes a script-error, if they on there place the projector crashs. (on 2 xp-machines). hope you can help gr th Ruslan Zasukhin wrote: >On 7/14/05 4:52 PM, "thomas doppler" wrote: > > > >>hello, i'm new to your list and relativ new to valentina. >> >>i used v4md_2.04, dir mx2004 on xp. >>my project works in developermode and in runtime, but only on my >>developermachine. if i started the projector on other >>(xp)-maschine(without dir and valentina), the projector chrash by the >>call "valentina=new (Xtra "Valentina")". >>the xtra is in the xtra folder and all of v-components in the root of my >>director-projector. >>so what can i do? >> >> > >Hi Thomas, > >Please look into docs on part: Deployment. > >I think you have forget put into project folder VComponents files > > > -- LichtBlick-L?sungen aus einer Hand ------------------------------------------ http://derlichtblick.at meillergasse 5/3 a-1130 wien ------------------------------------------ tel 00 43 1 802 50 32 mobil 00 43 664 243 96 51 mail doppler@derlichtblick.at From Juan.Suros at kyocera.com Thu Jul 14 08:21:27 2005 From: Juan.Suros at kyocera.com (Suros, Juan) Date: Thu Jul 14 10:21:45 2005 Subject: Proximity search Message-ID: <62D3692BB6DBDB4EABA508D4930F928601F2A73F@kiisd08.corp.kyosys.com> > My users sometimes have trouble with the spelling or do > the typical legastenic 2-letter inversions. This sounds a lot like the old FoxPro SOUNDEX() function for comparing words based on their phonetic pronunciation. I think I have a link to a discussion of the subject somewhere. Yes, here it is: http://www.civilsolutions.com.au/publications/dedup.htm Scroll down to "Phonetic Matching". I hope this helps you solve your problem. Unfortunately, Valentina does not support this technology directly. Juan Suros From heinrichruoff at gmail.com Thu Jul 14 17:31:47 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Thu Jul 14 10:32:00 2005 Subject: V4MD2: projector crasht In-Reply-To: <42D67F41.70708@derlichtblick.at> References: <42D67F41.70708@derlichtblick.at> Message-ID: Hi Thomas, is the "VResources" folder in the same directory as your exe file? Heinrich On 7/14/05, thomas doppler wrote: > hi ruslan, > now i tested it with the lession1_step5_file from the examples from the > wesite. > i make a projector from the file first with the xtra in a xtra-folder, > later with the xtra included. > its the same. if the vcomponents not on the right place their comes a > script-error, if they on there place the projector crashs. > (on 2 xp-machines). > > hope you can help > > gr th > > Ruslan Zasukhin wrote: > > >On 7/14/05 4:52 PM, "thomas doppler" wrote: > > > > > > > >>hello, i'm new to your list and relativ new to valentina. > >> > >>i used v4md_2.04, dir mx2004 on xp. > >>my project works in developermode and in runtime, but only on my > >>developermachine. if i started the projector on other > >>(xp)-maschine(without dir and valentina), the projector chrash by the > >>call "valentina=new (Xtra "Valentina")". > >>the xtra is in the xtra folder and all of v-components in the root of my > >>director-projector. > >>so what can i do? > >> > >> > > > >Hi Thomas, > > > >Please look into docs on part: Deployment. > > > >I think you have forget put into project folder VComponents files > > > > > > > > -- > LichtBlick-L?sungen aus einer Hand > ------------------------------------------ > http://derlichtblick.at > meillergasse 5/3 > a-1130 wien > ------------------------------------------ > tel 00 43 1 802 50 32 > mobil 00 43 664 243 96 51 > mail doppler@derlichtblick.at > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From doppler at derlichtblick.at Thu Jul 14 17:58:59 2005 From: doppler at derlichtblick.at (thomas doppler) Date: Thu Jul 14 10:59:12 2005 Subject: V4MD2: projector crasht In-Reply-To: References: <42D67F41.70708@derlichtblick.at> Message-ID: <42D68BC3.6020001@derlichtblick.at> hi heinrich, yes it is gr th Heinrich Ruoff wrote: >Hi Thomas, > >is the "VResources" folder in the same directory as your exe file? > >Heinrich > >On 7/14/05, thomas doppler wrote: > > >>hi ruslan, >>now i tested it with the lession1_step5_file from the examples from the >>wesite. >>i make a projector from the file first with the xtra in a xtra-folder, >>later with the xtra included. >>its the same. if the vcomponents not on the right place their comes a >>script-error, if they on there place the projector crashs. >>(on 2 xp-machines). >> >>hope you can help >> >>gr th >> >>Ruslan Zasukhin wrote: >> >> >> >>>On 7/14/05 4:52 PM, "thomas doppler" wrote: >>> >>> >>> >>> >>> >>>>hello, i'm new to your list and relativ new to valentina. >>>> >>>>i used v4md_2.04, dir mx2004 on xp. >>>>my project works in developermode and in runtime, but only on my >>>>developermachine. if i started the projector on other >>>>(xp)-maschine(without dir and valentina), the projector chrash by the >>>>call "valentina=new (Xtra "Valentina")". >>>>the xtra is in the xtra folder and all of v-components in the root of my >>>>director-projector. >>>>so what can i do? >>>> >>>> >>>> >>>> >>>Hi Thomas, >>> >>>Please look into docs on part: Deployment. >>> >>>I think you have forget put into project folder VComponents files >>> >>> >>> >>> >>> >>-- >>LichtBlick-L?sungen aus einer Hand >>------------------------------------------ >>http://derlichtblick.at >>meillergasse 5/3 >>a-1130 wien >>------------------------------------------ >>tel 00 43 1 802 50 32 >>mobil 00 43 664 243 96 51 >>mail doppler@derlichtblick.at >> >>_______________________________________________ >>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 > > -- LichtBlick-L?sungen aus einer Hand ------------------------------------------ http://derlichtblick.at meillergasse 5/3 a-1130 wien ------------------------------------------ tel 00 43 1 802 50 32 mobil 00 43 664 243 96 51 mail doppler@derlichtblick.at From sunshine at public.kherson.ua Thu Jul 14 18:57:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 11:04:04 2005 Subject: V4MD2: projector crasht In-Reply-To: <42D6714E.1060406@derlichtblick.at> Message-ID: On 7/14/05 5:06 PM, "thomas doppler" wrote: > thanks for answer, but i have the vcomponents in the project folder. IMPORTANT !!!!! You must drop into projector folder NOT VComponents folder itself, But its files. Please check this point. > the projector works also on my developermachine, when i renamed the > vcomponentsfolder in the valentinafolder in "programme". > so i think the vcomponents in the project folder 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 sunshine at public.kherson.ua Thu Jul 14 19:11:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 11:12:14 2005 Subject: V4MD2: projector crasht In-Reply-To: <42D68BC3.6020001@derlichtblick.at> Message-ID: On 7/14/05 6:58 PM, "thomas doppler" wrote: > hi heinrich, > > yes it is Aha, then please add into your projector folder this 2 DLLs: System/msvcp71.dll System/msvcr71.dll -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From andrew at learningware.com Thu Jul 14 11:52:45 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Jul 14 11:52:55 2005 Subject: Error numbers In-Reply-To: References: Message-ID: <42D6985D.6090208@learningware.com> What do the following V4MD-1 error numbers mean? 1814 5 363 Curiously, if I try to get ValentinaErrorString() after getting the ValentinaError(), my script just comes to a halt! From doppler at derlichtblick.at Thu Jul 14 18:56:16 2005 From: doppler at derlichtblick.at (thomas doppler) Date: Thu Jul 14 11:56:31 2005 Subject: V4MD2: projector crasht In-Reply-To: References: Message-ID: <42D69930.8010209@derlichtblick.at> yeh, thats it. now its works, thank you gr th Ruslan Zasukhin wrote: >On 7/14/05 6:58 PM, "thomas doppler" wrote: > > > >>hi heinrich, >> >>yes it is >> >> > >Aha, then please add into your projector folder this 2 DLLs: > > System/msvcp71.dll > System/msvcr71.dll > > > > -- LichtBlick-L?sungen aus einer Hand ------------------------------------------ http://derlichtblick.at meillergasse 5/3 a-1130 wien ------------------------------------------ tel 00 43 1 802 50 32 mobil 00 43 664 243 96 51 mail doppler@derlichtblick.at From heinrichruoff at gmail.com Thu Jul 14 18:56:19 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Thu Jul 14 11:56:48 2005 Subject: V4MD2: projector crasht In-Reply-To: References: <42D68BC3.6020001@derlichtblick.at> Message-ID: another question regarding deployment: when I launch the projector.exe with all resources in the same folder from an exe in a different folder, it seems to be necessary to place just the folder "VResources" with the 2 xml files in the folder with the launcher.exe? Is there any chance to launch without the "VResources" folder? On 7/14/05, Ruslan Zasukhin wrote: > On 7/14/05 6:58 PM, "thomas doppler" wrote: > > > hi heinrich, > > > > yes it is > > Aha, then please add into your projector folder this 2 DLLs: > > System/msvcp71.dll > System/msvcr71.dll > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Thu Jul 14 21:11:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 13:11:43 2005 Subject: V4MD2: projector crasht In-Reply-To: Message-ID: On 7/14/05 7:56 PM, "Heinrich Ruoff" wrote: Hi Heinrich, > another question regarding deployment: > > when I launch the projector.exe with all resources in the same folder > from an exe in a different folder, it seems to be necessary to place > just the folder "VResources" with the 2 xml files in the folder with > the launcher.exe? > > Is there any chance to launch without the "VResources" folder? Right now no. It needs build mechanism for 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 sunshine at public.kherson.ua Thu Jul 14 21:13:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 13:14:15 2005 Subject: Error numbers In-Reply-To: <42D6985D.6090208@learningware.com> Message-ID: On 7/14/05 7:52 PM, "Andrew Sinning" wrote: Hi Andrew, > What do the following V4MD-1 error numbers mean? > 1814 no idea > 5 this is MS Windows error. Access Violation > 363 record is locked > Curiously, if I try to get ValentinaErrorString() after getting the > ValentinaError(), my script just comes to a halt! -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From andrew at learningware.com Thu Jul 14 13:24:17 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Jul 14 13:24:28 2005 Subject: COMPRESSED TEXT In-Reply-To: References: Message-ID: <42D6ADD1.7060803@learningware.com> In the Kernel manual, for V1, you write: "If a BLOB field has index (for example TEXT field) then index is not compressed and still can be successfuly work. In fact the main advantege to have compression of BLOB field on the database kernel level is ability to have an INDEXED compressed TEXT field. Really, for not indexed general BLOB developer can implement own compression and store to BLOB already compressed data. But this way will not work with TEXT, because Valentina will not be able to built index. When Valentina do compression self it can build index with no problems." Doesn't say anything about TEXT COMPRESSED. Will the following work, or should I be using a BLOB? Can I access the BLOB the same way, i.e. as just text. I DO NOT need to index or search the text. CREATE TABLE questions ( listString TEXT(128) NOT NULL COMPRESSED ) From heinrichruoff at gmail.com Thu Jul 14 20:30:11 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Thu Jul 14 13:30:19 2005 Subject: V4MD2: projector crasht In-Reply-To: References: Message-ID: Maybe there is a workaround? I'll try to explain a bit further: The users of my application should be able to open data files associated with my projector.exe by doubleclick in explorer. Now V4MD is looking for the "VResources" folder at the location where the data file is stored. I don't have any control where the user saves the data files so I can't place the "VResources" folder there. thanks Heinrich On 7/14/05, Ruslan Zasukhin wrote: > On 7/14/05 7:56 PM, "Heinrich Ruoff" wrote: > > Hi Heinrich, > > > another question regarding deployment: > > > > when I launch the projector.exe with all resources in the same folder > > from an exe in a different folder, it seems to be necessary to place > > just the folder "VResources" with the 2 xml files in the folder with > > the launcher.exe? > > > > Is there any chance to launch without the "VResources" folder? > > Right now no. It needs build mechanism for 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Thu Jul 14 21:36:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 13:37:17 2005 Subject: COMPRESSED TEXT In-Reply-To: <42D6ADD1.7060803@learningware.com> Message-ID: On 7/14/05 9:24 PM, "Andrew Sinning" wrote: > In the Kernel manual, for V1, you write: > > "If a BLOB field has index (for example TEXT field) then index is not > compressed and still can be successfuly work. In fact the main advantege to > have compression of BLOB field on the database kernel level is ability to have > an INDEXED compressed TEXT field. Really, for not indexed general BLOB > developer can implement own compression and store to BLOB already compressed > data. But this way will not work with TEXT, because Valentina will not be able > to built index. When Valentina do compression self it can build index with no > problems." > > Doesn't say anything about TEXT COMPRESSED. It does: If a BLOB field has index (for example TEXT field) ...... > Will the following work, or should I be using a BLOB? point: compression have real sense ONLY if you use it for TEXT fields. because for BLOB fields you can compress something self. > Can I access the BLOB the same way, i.e. as just text. > > I DO NOT need to index or search the text. > > CREATE TABLE questions ( > > listString TEXT(128) NOT NULL COMPRESSED > ) Everything will work -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 14 21:40:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 13:41:12 2005 Subject: V4MD2: projector crasht In-Reply-To: Message-ID: On 7/14/05 9:30 PM, "Heinrich Ruoff" wrote: > Maybe there is a workaround? > > I'll try to explain a bit further: > The users of my application should be able to open data files associated > with my projector.exe by doubleclick in explorer. > Now V4MD is looking for the "VResources" folder at the location > where the data file is stored. > I don't have any control where the user saves the data files so I can't > place the "VResources" folder there. Data files -- this is database ? I think point is next: - When user click it then its folder becomes current -- "working directory" - I think you can in the projector, on start, change working directory to folder of .exe file. Probably FileBuddy can do 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 andrew at learningware.com Thu Jul 14 14:09:31 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Jul 14 14:09:38 2005 Subject: empty db size In-Reply-To: References: Message-ID: <42D6B86B.6030000@learningware.com> On Monday you helped me solve a problem by increasing the segment size in my db. So instead of: CreateDatabase(valentinaDB, filePathName, 4, 1*1024) I now use CreateDatabase(valentinaDB, filePathName, 4, 32*1024) The draw back is that my _empty_ database is now nearly 7Mb (5Mb .dat and 1.9Mb .ind). It does zip compress into something much smaller, but this does still seem very large. Can you please discuss how the segment size ultimately impacts performance? I did find that a segment size of 8*1024 did hurt performance somewhat. Thanks. From heinrichruoff at gmail.com Thu Jul 14 21:18:16 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Thu Jul 14 14:18:26 2005 Subject: V4MD2: projector crasht In-Reply-To: References: Message-ID: isn't FileBuddy Mac only? i need a solution for windows On 7/14/05, Ruslan Zasukhin wrote: > On 7/14/05 9:30 PM, "Heinrich Ruoff" wrote: > > > Maybe there is a workaround? > > > > I'll try to explain a bit further: > > The users of my application should be able to open data files associated > > with my projector.exe by doubleclick in explorer. > > > Now V4MD is looking for the "VResources" folder at the location > > where the data file is stored. > > > I don't have any control where the user saves the data files so I can't > > place the "VResources" folder there. > > Data files -- this is database ? > > I think point is next: > > - When user click it then its folder becomes current -- "working directory" > > - I think you can in the projector, on start, change working directory to > folder of .exe file. Probably FileBuddy can do 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From andrew at learningware.com Thu Jul 14 14:24:57 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Jul 14 14:25:03 2005 Subject: Empty ObjectPtr In-Reply-To: References: Message-ID: <42D6BC09.5010800@learningware.com> What happens if you leave an ObjectPtr with an ON DELETE CASCADE null? Can the entry continue to if there is no corresponding null RecId in the referenced table? How about if I use a zero value? As far as I can tell, zero is not used as a RecId. Will this work? The reason is that I have a class of objects that typically belongs to another object, but in some instances they will stand along, without relationship to the other object. Thanks. From sunshine at public.kherson.ua Thu Jul 14 22:49:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 14:52:36 2005 Subject: empty db size In-Reply-To: <42D6B86B.6030000@learningware.com> Message-ID: On 7/14/05 10:09 PM, "Andrew Sinning" wrote: > On Monday you helped me solve a problem by increasing the segment size > in my db. So instead of: > > CreateDatabase(valentinaDB, filePathName, 4, 1*1024) > > I now use > > CreateDatabase(valentinaDB, filePathName, 4, 32*1024) > > The draw back is that my _empty_ database is now nearly 7Mb (5Mb .dat > and 1.9Mb .ind). It does zip compress into something much smaller, but > this does still seem very large. But what you going to do ? Distribute empty db ? or fill it by data? Then what will be size of full db ? > Can you please discuss how the segment size ultimately impacts > performance? I did find that a segment size of 8*1024 did hurt > performance somewhat. 8Kb slow down for you? Hmm, somebody have told that for him 8K was the best performance. I think 8-16-32 should not differ too much Very small segment can slow down -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 14 22:50:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 14:52:48 2005 Subject: V4MD2: projector crasht In-Reply-To: Message-ID: On 7/14/05 10:18 PM, "Heinrich Ruoff" wrote: > isn't FileBuddy Mac only? > i need a solution for windows Well, I do not third party Xtras very good. May be Lingo itself allow easy change current directory of app ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jul 14 22:51:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 14:53:00 2005 Subject: Empty ObjectPtr In-Reply-To: <42D6BC09.5010800@learningware.com> Message-ID: On 7/14/05 10:24 PM, "Andrew Sinning" wrote: > What happens if you leave an ObjectPtr with an ON DELETE CASCADE null? > Can the entry continue to if there is no corresponding null RecId in the > referenced table? Of course. This means that record do not have parent. > How about if I use a zero value? As far as I can tell, zero is not used > as a RecId. Will this work? OF COURSE! This is legal and correct use for ObjectPtr > The reason is that I have a class of objects that typically belongs to > another object, but in some instances they will stand along, without > relationship to the other object. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From andrew at learningware.com Thu Jul 14 15:01:32 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Jul 14 15:01:51 2005 Subject: empty db size In-Reply-To: References: Message-ID: <42D6C49C.5040906@learningware.com> Ruslan Zasukhin wrote: > But what you going to do ? > > Distribute empty db ? > or fill it by data? Then what will be size of full db ? > The end user will be creating the new dbs, so shipping with an empty db is not the issue. The issue is this: The end user creates a new "library" and adds 10 questions. Then they call our tech support and complain, "I only have 10 questions in my library, but the file is 7Mb. It's too big to email!" So, she (our tech support) reminds them to zip the file, and then she calls me and says, "Andrew, people are complaining that their new libraries are 7Mb, is there anything you can do about this?!" From sunshine at public.kherson.ua Thu Jul 14 23:04:27 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 14 15:04:37 2005 Subject: empty db size In-Reply-To: <42D6C49C.5040906@learningware.com> Message-ID: On 7/14/05 11:01 PM, "Andrew Sinning" wrote: >> But what you going to do ? >> >> Distribute empty db ? >> or fill it by data? Then what will be size of full db ? >> > > The end user will be creating the new dbs, so shipping with an empty db > is not the issue. > > The issue is this: The end user creates a new "library" and adds 10 > questions. Then they call our tech support and complain, "I only have > 10 questions in my library, but the file is 7Mb. It's too big to > email!" So, she (our tech support) reminds them to zip the file, and > then she calls me and says, "Andrew, people are complaining that their > new libraries are 7Mb, is there anything you can do about this?!" Then again try 8 * 1024 In YOUR original code was just 8, So segment could be very small -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From andrew at learningware.com Thu Jul 14 15:10:32 2005 From: andrew at learningware.com (Andrew Sinning) Date: Thu Jul 14 15:10:39 2005 Subject: empty db size In-Reply-To: References: Message-ID: <42D6C6B8.5020006@learningware.com> Thanks From daisychain at iinet.net.au Fri Jul 15 10:28:37 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Thu Jul 14 19:28:47 2005 Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). In-Reply-To: Message-ID: <000001c588d4$24e3cb80$ae00a8c0@DamonsPC> HI Ruslan, Will this be available for RB as well, as it sounds great. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Thursday, 14 July 2005 8:12 PM To: valentina@lists.macserve.net; vdevelopers@paradigma.ukrcom.kherson.ua; valentina-studio@lists.macserve.net Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). Hi All, * Please test this new feature against of your databases and let us know. * You can do this easy using example Api_way/Database_Clone. This is very nice feature, and it can be used to solve several tasks: 1) this can be used to do REPAIR of damaged database. Up to know we have use for this XML dump, but Clone() will be much faster way, because XML can be e.g. 1GB for 200MB database. When you use Clone() you will need only another 200MB to build new database. Clone() do binary copying of record values without conversion into text. 2) Clone() have all the same side-effects of dump/load: - all deleted records are ignored. - all values of ObjectPtr fields and BinaryLinks are corrected (because deleted records was ignored). So cloned database in general case will be as compact as possible for your actual data. This is good if you prepare database to be located on CD. 3) Clone() can be used also to change some parameters of Database which you cannot change runtime. For example: db.mode, db.segmentSize, Byte swapping, ... 4) If you use db.Mode = 1, i.e. You keep your database in the single file, Then up to now you did not have a way to easy to make a new fresh db with the same structure. Now you can do this. Jochen, this feature "Clone..." should be added into menu File of Valentina Studio Application. It needs show dialog with some options. TODO: ** it is possible add Log file produced by Clone() where it will write down info about any found corrupted records/values. So user can see what records was not able to repair. -- Best regards, Ruslan Zasukhin VP 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 daisychain at iinet.net.au Fri Jul 15 10:34:12 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Thu Jul 14 19:34:17 2005 Subject: RB 2.0.5fc2 datacontrol In-Reply-To: Message-ID: <000101c588d4$ec71c350$ae00a8c0@DamonsPC> Hi All, dataControl1.database=valdb Causes the program to crash. Windows error. It did not crash on 2.0.4release Also causes the same crash when you try to set the database to a datacontrol in the properties window before you even try to run your program. Could someone post a fix quick as I really want to try out what serge has done. Thanks Damon Example dim i,col,j,x as integer dim d2 as VRBDataBase dim f as folderitem dim valdb as VRBDataBase col=1 colpos=-1 ' create a new database ts=ticks d2=new VRBDataBase f=getfolderItem("").child("ValentinaDB.vdb") f.delete d2.databaseFile=f if d2.createDatabaseFile then if d2.connect then d2.sqlExecute("Create Table test (f1 integer,f2 varchar, f3 date,f4 double,f5 TimeStamp)") if d2.error then msgbox "3"+d2.errorMessage d2.commit else msgbox "3Cannot connect" end if else msgbox "3Cannot create" end if d2.close saveend(col) ' open database ts=ticks valdb=new VRBDataBase valdb.DatabaseFile=getfolderItem("").child("ValentinaDB.vdb") if valdb.connect()=true then ' else msgbox "BAD" end if saveend(col) ' link to datacontrol1 ts=ticks msgbox "AA1" dataControl1.database=valdb <------------------ CRASH HERE msgbox "AA2" saveend(col) Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 stinfo/valentina From sunshine at public.kherson.ua Fri Jul 15 10:28:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 15 02:29:06 2005 Subject: RB 2.0.5fc2 datacontrol In-Reply-To: <000101c588d4$ec71c350$ae00a8c0@DamonsPC> Message-ID: On 7/15/05 3:34 AM, "Damon Pillinger" wrote: > Hi All, > > dataControl1.database=valdb > > Causes the program to crash. Windows error. It did not crash on > 2.0.4release Hi Damon, We have have made 2 clean installs on 2 Windows XP computers. We have made new project using your code. Everything works. No crash. So it looks problem is on your side somehow. ** Try remove VComponents folder and plugin. And reinstall. ** Try to run our example Doctors. ** in next letter we will send you project made by your code. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 15 12:05:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 15 04:05:41 2005 Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). In-Reply-To: <000001c588d4$24e3cb80$ae00a8c0@DamonsPC> Message-ID: On 7/15/05 3:28 AM, "Damon Pillinger" wrote: > HI Ruslan, > Will this be available for RB as well, as it sounds great. You mean RB or RBDB ? We will add SQL Command Clone Database path, path2 So RBDB will have some access to 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 andrew at learningware.com Fri Jul 15 07:47:42 2005 From: andrew at learningware.com (Andrew Sinning) Date: Fri Jul 15 07:47:50 2005 Subject: V4MD1 SetBlank() Message-ID: <42D7B06E.1050900@learningware.com> In the docs for AddRecord, is states "If you specify the list of field values, you can skip call of SetBlank() because it will be made by Valentina." Is this a mis-print? Should it say that UpdateRecord() can be skipped? I think I misunderstand the use of SetBlank(). I've been thinking of it as a way of dropping the connection to the record-set, or the cursor. Please explain SetBlank(). It looks to me now that in order to drop the cursor, the variable has to be voided, or set to 0. Is that correct? The reason this has come up, is that I am noticing that if I call another handler withing voiding out (theCursor = void) my current currsor, then the sub-handler is not able to create a new cursor. Is it not allowed to have multiple cursors open at once with V4MD1? From andrew at learningware.com Fri Jul 15 07:50:38 2005 From: andrew at learningware.com (Andrew Sinning) Date: Fri Jul 15 07:50:43 2005 Subject: V4MD1 SetBlank() In-Reply-To: <42D7B06E.1050900@learningware.com> References: <42D7B06E.1050900@learningware.com> Message-ID: <42D7B11E.50505@learningware.com> Andrew Sinning wrote: > The reason this has come up, is that I am noticing that if I call > another handler withing voiding out (theCursor = void) my current > currsor, then the sub-handler is not able to create a new cursor. Is > it not allowed to have multiple cursors open at once with V4MD1? I think the reason this is happening is that the 2 simultaneous cursor are trying to access the same record. This does not appear to work. The second cursor comes back with 0 records. Curiously, the cursors are both read only. From sunshine at public.kherson.ua Fri Jul 15 15:57:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 15 07:57:13 2005 Subject: V4MD1 SetBlank() In-Reply-To: <42D7B11E.50505@learningware.com> Message-ID: On 7/15/05 3:50 PM, "Andrew Sinning" wrote: > Andrew Sinning wrote: > >> The reason this has come up, is that I am noticing that if I call >> another handler withing voiding out (theCursor = void) my current >> currsor, then the sub-handler is not able to create a new cursor. Is >> it not allowed to have multiple cursors open at once with V4MD1? > > I think the reason this is happening is that the 2 simultaneous cursor > are trying to access the same record. This does not appear to work. > The second cursor comes back with 0 records. Curiously, the cursors are > both read only. If they are read only then why you try do SetBlank ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From andrew at learningware.com Fri Jul 15 08:16:34 2005 From: andrew at learningware.com (Andrew Sinning) Date: Fri Jul 15 08:16:48 2005 Subject: V4MD1 SetBlank() In-Reply-To: References: Message-ID: <42D7B732.8070303@learningware.com> Ruslan Zasukhin wrote: > >If they are read only then why you try do SetBlank ? > Please see the previous post in this thread. Here's problem: I have misunderstood what SetBlank() is suppoed to do. SetBlank() == "Prepare (clear) memory buffer for a new record." I was thinking that this was like recordSet.Close() in ASP. Duh! So, my good man, please explain when I need to use SetBlank(). Only after using SetField() or SetFields()? Never when using AddRecord() or UpdateRecord() with a property list? Thanks! From sunshine at public.kherson.ua Fri Jul 15 16:24:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 15 08:24:31 2005 Subject: V4MD1 SetBlank() In-Reply-To: <42D7B732.8070303@learningware.com> Message-ID: On 7/15/05 4:16 PM, "Andrew Sinning" wrote: >> If they are read only then why you try do SetBlank ? >> > Please see the previous post in this thread. Here's problem: I have > misunderstood what SetBlank() is suppoed to do. > > SetBlank() == "Prepare (clear) memory buffer for a new record." > > I was thinking that this was like recordSet.Close() in ASP. Duh! > > So, my good man, please explain when I need to use SetBlank(). Only > after using SetField() or SetFields()? Never when using AddRecord() or > UpdateRecord() with a property list? You need use it always when you going to add record curs.SetBlank() curs.field(1).value = 5 curs.field(2).value = 5 curs.field(3).value = 5 curs.AddRecord() -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From andrew at learningware.com Fri Jul 15 08:30:05 2005 From: andrew at learningware.com (Andrew Sinning) Date: Fri Jul 15 08:30:09 2005 Subject: V4MD1 SetBlank() In-Reply-To: References: Message-ID: <42D7BA5D.9040906@learningware.com> Ruslan Zasukhin wrote: > You need use it always when you going to add record > > curs.SetBlank() > > curs.field(1).value = 5 > curs.field(2).value = 5 > curs.field(3).value = 5 > > curs.AddRecord() > But not if I am using AddRecord(), correct? From sunshine at public.kherson.ua Fri Jul 15 18:03:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 15 10:03:39 2005 Subject: V4MD1 SetBlank() In-Reply-To: <42D7BA5D.9040906@learningware.com> Message-ID: On 7/15/05 4:30 PM, "Andrew Sinning" wrote: > Ruslan Zasukhin wrote: > >> You need use it always when you going to add record >> >> curs.SetBlank() >> >> curs.field(1).value = 5 >> curs.field(2).value = 5 >> curs.field(3).value = 5 >> >> curs.AddRecord() >> > > But not if I am using AddRecord(), correct? Yes, SetBlank() with other operations almost have no sense. It is hard image that you want UPDATE record with empty fields. But who know, may be once you will need 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 jules.jacquot at wanadoo.fr Fri Jul 15 17:56:04 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Fri Jul 15 10:54:40 2005 Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). In-Reply-To: References: Message-ID: <34463EF5-42C6-4874-B4D6-689EE9679632@wanadoo.fr> Le 14 juil. 05 ? 12:12, Ruslan Zasukhin a ?crit : > Hi All, > > * Please test this new feature against of your databases and let us > know. > * You can do this easy using example Api_way/Database_Clone. > > This is very nice feature, and it can be used to solve several tasks: > > 1) this can be used to do REPAIR of damaged database. > > Up to know we have use for this XML dump, but Clone() will be much > faster way, because XML can be e.g. 1GB for 200MB database. When > you use > Clone() you will need only another 200MB to build new database. > Clone() do > binary copying of record values without conversion into text. this is unclear for me if i 'clone' a damaged database, i get a damaged database . Correct ? because if i 'clone' a damaged database and obtain a correct database = wonderful best jules > ------------------------------------------ L'homme vulgaire accuse les autres Le sage n'accuse que lui-m?me BOUDHA l'?veill? From sunshine at public.kherson.ua Fri Jul 15 20:58:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 15 12:59:08 2005 Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). In-Reply-To: <34463EF5-42C6-4874-B4D6-689EE9679632@wanadoo.fr> Message-ID: On 7/15/05 6:56 PM, "Jules Jacquot" wrote: >> 1) this can be used to do REPAIR of damaged database. >> >> Up to know we have use for this XML dump, but Clone() will be much >> faster way, because XML can be e.g. 1GB for 200MB database. When >> you use >> Clone() you will need only another 200MB to build new database. >> Clone() do >> binary copying of record values without conversion into text. > > this is unclear for me > > if i 'clone' a damaged database, i get a damaged database . Correct ? > > because if i 'clone' a damaged database and obtain a correct database > = wonderful Usually corrupted is only few records. Or even few record of one field. So usually you can repair 99.99% of your data. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Sat Jul 16 09:18:14 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Fri Jul 15 18:18:23 2005 Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). In-Reply-To: Message-ID: <000501c58993$7a031f70$ae00a8c0@DamonsPC> Thanks great Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces+daisychain=iinet.net.au@lists.macserve.net [mailto:valentina-bounces+daisychain=iinet.net.au@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Friday, 15 July 2005 7:06 PM To: valentina@lists.macserve.net Subject: Re: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). On 7/15/05 3:28 AM, "Damon Pillinger" wrote: > HI Ruslan, > Will this be available for RB as well, as it sounds great. You mean RB or RBDB ? We will add SQL Command Clone Database path, path2 So RBDB will have some access to 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 From bkeeney at everestkc.net Fri Jul 15 18:43:37 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Fri Jul 15 18:43:49 2005 Subject: [V4RB2] WritePictureAs Crash In-Reply-To: <20050715132434.0FB353543EF@edison.macserve.net> References: <20050715132434.0FB353543EF@edison.macserve.net> Message-ID: I have the following code using 2.05 fc2: value is a picture object if cur.FirstRecord = false then 'add it me.SetBlank me.mStylePtr.Value = id me.mSetting.value = Setting me.mPicture.WritePictureAs value, EVPictType.kMacPict, 90 <<<<oi4i4 + 112 I've tried this a couple of different ways. I've tried the old copy it to the clipboard and get it back as a true picture. The original file format is a TIFF and I still crash if I set the EVPictType to TIFF. Any ideas??? Thanks, Bob Keeney From daisychain at iinet.net.au Sat Jul 16 10:04:28 2005 From: daisychain at iinet.net.au (Damon Pillinger) Date: Fri Jul 15 19:05:18 2005 Subject: RB 2.0.5fc2 datacontrol In-Reply-To: Message-ID: <000001c58999$ef877240$ae00a8c0@DamonsPC> HI Ruslan, removed VComponents folder and plugin folder reinstalled, but still same crash. ------------- I did again and this time ran the program you sent me. It ran fine but when I went to "select Valentina" and added it to the project, then tried to open it I got the same "windows" error. ------------- I am using RB5.5.5 can you test the above on your 5.5.5 system. Thanks Best Regards Damon L. Pillinger Jensen 2005 by Daisychain www.daisychain.no-ip.biz Phone : 03 9532 1220 Fax : 03 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Friday, 15 July 2005 5:29 PM To: valentina@lists.macserve.net Subject: Re: RB 2.0.5fc2 datacontrol On 7/15/05 3:34 AM, "Damon Pillinger" wrote: > Hi All, > > dataControl1.database=valdb > > Causes the program to crash. Windows error. It did not crash on > 2.0.4release Hi Damon, We have have made 2 clean installs on 2 Windows XP computers. We have made new project using your code. Everything works. No crash. So it looks problem is on your side somehow. ** Try remove VComponents folder and plugin. And reinstall. ** Try to run our example Doctors. ** in next letter we will send you project made by your code. -- Best regards, Ruslan Zasukhin VP 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 realsoftlists at gmail.com Fri Jul 15 21:38:39 2005 From: realsoftlists at gmail.com (Mathieu Langlois) Date: Fri Jul 15 20:38:48 2005 Subject: Binary links and SQL In-Reply-To: References: <5d7ca37e0506200654229b13de@mail.gmail.com> Message-ID: <5d7ca37e05071518386acd696f@mail.gmail.com> Can this be used to link several tables? For example, I have table M, which is linked to T1 and T2 (but T1 and T2 are not linked together). SELECT * From M join T1 ON LNK_M_T1 join T2 ON LNK_M_T2 This will give: 21:36:45: Error: Kernel error: 529669 21:36:45: Error: The table "T1" is not used in link "LNK_M_T2". Normally this should return all fields from M + all linked fields from T1 and T2. Math On 6/20/05, Ruslan Zasukhin wrote: > On 6/20/05 4:54 PM, "Mathieu Langlois" wrote: > > Hi Mathieu, > > > Hello, I have been evaluating the demo of valentina for Realbasic, and > > I have one question. Is there a way to use binary links on a SQL > > Join? > > Yes of course! > > > With foreign keys, you have something like JOIN Table ON key = > > ptr, but what syntax (if any) can be used for binary links? > > SELECT > FROM T1 join T2 on link_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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sat Jul 16 08:32:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 16 00:33:08 2005 Subject: RB 2.0.5fc2 datacontrol In-Reply-To: <000001c58999$ef877240$ae00a8c0@DamonsPC> Message-ID: On 7/16/05 3:04 AM, "Damon Pillinger" wrote: > HI Ruslan, > removed VComponents folder and plugin folder > > reinstalled, but still same crash. > > > ------------- > I did again and this time ran the program you sent me. > It ran fine but when I went to "select Valentina" and added it to the > project, then tried to open it I got the same "windows" error. > ------------- > I am using RB5.5.5 can you test the above on your 5.5.5 system. THEN SEND US project which crashes for you please. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 16 08:47:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 16 00:48:09 2005 Subject: Binary links and SQL In-Reply-To: <5d7ca37e05071518386acd696f@mail.gmail.com> Message-ID: On 7/16/05 4:38 AM, "Mathieu Langlois" wrote: Hi Mathieu, > Can this be used to link several tables? Yes should work. > For example, I have table M, which is linked to T1 and T2 (but T1 and > T2 are not linked together). > > SELECT * From M > join T1 ON LNK_M_T1 > join T2 ON LNK_M_T2 > > This will give: > 21:36:45: Error: Kernel error: 529669 > 21:36:45: Error: The table "T1" is not used in link "LNK_M_T2". Please send database prototype to us. And add report into Mantis. Before this try next: SELECT * >From (M join T1 ON LNK_M_T1) join T2 ON LNK_M_T2 > Normally this should return all fields from M + all linked fields from > T1 and T2. > > Math > > On 6/20/05, Ruslan Zasukhin wrote: >> On 6/20/05 4:54 PM, "Mathieu Langlois" wrote: >> >> Hi Mathieu, >> >>> Hello, I have been evaluating the demo of valentina for Realbasic, and >>> I have one question. Is there a way to use binary links on a SQL >>> Join? >> >> Yes of course! >> >>> With foreign keys, you have something like JOIN Table ON key = >>> ptr, but what syntax (if any) can be used for binary links? >> >> SELECT >> FROM T1 join T2 on link_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 Sat Jul 16 09:27:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 16 01:27:36 2005 Subject: [V4RB2] WritePictureAs Crash In-Reply-To: Message-ID: On 7/16/05 2:43 AM, "Bob Keeney" wrote: > I have the following code using 2.05 fc2: > value is a picture object > > > if cur.FirstRecord = false then > 'add it > me.SetBlank > me.mStylePtr.Value = id > me.mSetting.value = Setting > me.mPicture.WritePictureAs value, EVPictType.kMacPict, 90 > <<<< myID = me.AddRecord > me.Flush > End > > > I get the following crash report: > > 0 Kernel_Carbon_Final.shlb 0x0479ad2c > Write__Q23fbl24FileIterator_Cached_BaseFPCcUl + 188 > 1 Kernel_Carbon_Final.shlb 0x0487ac60 > Write__Q23fbl15LogicalFile_ImpFPCcUl + 28 > 2 Kernel_Carbon_Final.shlb 0x04b3027c > WriteRecord__Q23fbl11SegmentFileFPCcUlUl + 256 > 3 Kernel_Carbon_Final.shlb 0x04b37598 > WriteData__Q23fbl5VBlobFPCcUl + 292 > 4 Kernel_Carbon_Final.shlb 0x04b86244 > WritePictureAs__Q23fbl8VPictureFPP7PictureQ23fbl8PictTypeUsUl + 188 > 5 Plugin 0x046da4c8 > Picture_WriteAs__FP16REALobjectStructP17REALpictureStructii + 232 > 6 Trial Smart.debug 0x005b8300 > VPicture.WritePictureAs%%ooi4i4 + 112 > > I've tried this a couple of different ways. I've tried the old copy > it to the clipboard and get it back as a true picture. The original > file format is a TIFF and I still crash if I set the EVPictType to > TIFF. Any ideas??? 1) if our example do work ? 2) what segment size you have assign to picture 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 realsoftlists at gmail.com Sat Jul 16 03:01:26 2005 From: realsoftlists at gmail.com (Mathieu Langlois) Date: Sat Jul 16 02:01:39 2005 Subject: Binary links and SQL In-Reply-To: References: <5d7ca37e05071518386acd696f@mail.gmail.com> Message-ID: <5d7ca37e0507160001e575102@mail.gmail.com> I have created a report in mantis. where do I send an example file? On 7/16/05, Ruslan Zasukhin wrote: > On 7/16/05 4:38 AM, "Mathieu Langlois" wrote: > > Hi Mathieu, > > > Can this be used to link several tables? > > Yes should work. > > > For example, I have table M, which is linked to T1 and T2 (but T1 and > > T2 are not linked together). > > > > SELECT * From M > > join T1 ON LNK_M_T1 > > join T2 ON LNK_M_T2 > > > > This will give: > > 21:36:45: Error: Kernel error: 529669 > > 21:36:45: Error: The table "T1" is not used in link "LNK_M_T2". > > Please send database prototype to us. And add report into Mantis. > > Before this try next: > > SELECT * > >From (M join T1 ON LNK_M_T1) > join T2 ON LNK_M_T2 > > > > Normally this should return all fields from M + all linked fields from > > T1 and T2. > > > > Math > > > > On 6/20/05, Ruslan Zasukhin wrote: > >> On 6/20/05 4:54 PM, "Mathieu Langlois" wrote: > >> > >> Hi Mathieu, > >> > >>> Hello, I have been evaluating the demo of valentina for Realbasic, and > >>> I have one question. Is there a way to use binary links on a SQL > >>> Join? > >> > >> Yes of course! > >> > >>> With foreign keys, you have something like JOIN Table ON key = > >>> ptr, but what syntax (if any) can be used for binary links? > >> > >> SELECT > >> FROM T1 join T2 on link_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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sat Jul 16 10:06:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 16 02:06:47 2005 Subject: Binary links and SQL In-Reply-To: <5d7ca37e0507160001e575102@mail.gmail.com> Message-ID: On 7/16/05 10:01 AM, "Mathieu Langlois" wrote: > I have created a report in mantis. where do I send an example file? sunshine@public.kherson.ua Please specify in subject the number of 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 Sat Jul 16 10:53:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 16 02:53:41 2005 Subject: Binary links and SQL In-Reply-To: <5d7ca37e0507160001e575102@mail.gmail.com> Message-ID: On 7/16/05 10:01 AM, "Mathieu Langlois" wrote: >>> For example, I have table M, which is linked to T1 and T2 (but T1 and >>> T2 are not linked together). >>> >>> SELECT * From M >>> join T1 ON LNK_M_T1 >>> join T2 ON LNK_M_T2 By the way. Don't you use table M to get M : M link between T1 and T2 ? If yes, then you should not that binary link self can do M : M T1 - link_T1_T2 - T2 M M -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From realsoftlists at gmail.com Sat Jul 16 04:33:45 2005 From: realsoftlists at gmail.com (Mathieu Langlois) Date: Sat Jul 16 03:33:53 2005 Subject: Binary links and SQL In-Reply-To: References: <5d7ca37e0507160001e575102@mail.gmail.com> Message-ID: <5d7ca37e050716013337856338@mail.gmail.com> No Table M is a master table, and T1 and T2 are 2 sub tables. For example, M could be Employees. T1 could be Projects assigned to each employee. And T2 could be Orders from employees. So Employees:Project is 1:M, and Employees:Orders is 1:M. So the following query should give you all the information about a particular employee: Select * from Employees join Projects on LNK_Employees_Projects join Order on Lnk_Employees_Orders where employees.name = 'someone' I have an example project if you can tell me where to send it. On 7/16/05, Ruslan Zasukhin wrote: > On 7/16/05 10:01 AM, "Mathieu Langlois" wrote: > > >>> For example, I have table M, which is linked to T1 and T2 (but T1 and > >>> T2 are not linked together). > >>> > >>> SELECT * From M > >>> join T1 ON LNK_M_T1 > >>> join T2 ON LNK_M_T2 > > By the way. > > Don't you use table M to get M : M link between T1 and T2 ? > > If yes, then you should not that binary link self can do M : M > > T1 - link_T1_T2 - T2 > M M > > > > > -- > Best regards, > > Ruslan Zasukhin > VP 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 Jul 16 12:06:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 16 04:06:55 2005 Subject: Binary links and SQL In-Reply-To: <5d7ca37e050716013337856338@mail.gmail.com> Message-ID: On 7/16/05 11:33 AM, "Mathieu Langlois" wrote: > No Table M is a master table, and T1 and T2 are 2 sub tables. For > example, M could be Employees. T1 could be Projects assigned to each > employee. And T2 could be Orders from employees. So > Employees:Project is 1:M, and Employees:Orders is 1:M. > > So the following query should give you all the information about a > particular employee: > > Select * from Employees > join Projects on LNK_Employees_Projects > join Order on Lnk_Employees_Orders > where employees.name = 'someone' > > I have an example project if you can tell me where to send it. See my and Ivan's emails in letter header. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 17 14:42:39 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sun Jul 17 07:41:19 2005 Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). In-Reply-To: References: Message-ID: <41DBE6E0-D2D8-47CA-A56B-3E13A39F663E@wanadoo.fr> Thanks, ruslan but i can't open my database . It is grayed My DBVersion is 512 and s is 200 BEST jules Le 15 juil. 05 ? 19:58, Ruslan Zasukhin a ?crit : > On 7/15/05 6:56 PM, "Jules Jacquot" wrote: > > >>> 1) this can be used to do REPAIR of damaged database. >>> >>> Up to know we have use for this XML dump, but Clone() will be >>> much >>> faster way, because XML can be e.g. 1GB for 200MB database. When >>> you use >>> Clone() you will need only another 200MB to build new database. >>> Clone() do >>> binary copying of record values without conversion into text. >>> >> >> this is unclear for me >> >> if i 'clone' a damaged database, i get a damaged database . Correct ? >> >> because if i 'clone' a damaged database and obtain a correct database >> = wonderful >> > > Usually corrupted is only few records. > > Or even few record of one field. > > So usually you can repair 99.99% of your data. > > > -- > Best regards, > > Ruslan Zasukhin > VP 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 > > Il n'y a jamais d'autre difficult? dans le devoir que de le faire. ALAIN From sunshine at public.kherson.ua Sun Jul 17 18:32:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 17 10:32:43 2005 Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). In-Reply-To: <41DBE6E0-D2D8-47CA-A56B-3E13A39F663E@wanadoo.fr> Message-ID: On 7/17/05 3:42 PM, "Jules Jacquot" wrote: > Thanks, ruslan > > but i can't open my database . It is grayed > > My DBVersion is 512 and s is 200 You mean in example? I think this is problems of example. It not correctly set "DB" - file types. -- Best regards, Ruslan Zasukhin VP Engineering 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 Sun Jul 17 11:41:05 2005 From: jda at his.com (jda) Date: Sun Jul 17 10:41:13 2005 Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). In-Reply-To: References: Message-ID: > >You mean in example? > >I think this is problems of example. > >It not correctly set "DB" - file types. > This brings up a small point -- I think in all examples you shouldn't restrict opening db's to .vdb/VALA/Vdsc. Most of us on the Mac, I imagine, have our own file types for Valentina database. I have to edit the examples every time to allow them to open my databases. If you just let them open ANY file that would be better -- we know not to open text files, applications, etc. It's not a big deal, but with the very frequent updates to the examples folder it does get to be a bit of a pain to edit them every time. Jon From sunshine at public.kherson.ua Sun Jul 17 18:56:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 17 10:56:28 2005 Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). In-Reply-To: Message-ID: On 7/17/05 6:41 PM, "jda" wrote: >> >> You mean in example? >> >> I think this is problems of example. >> >> It not correctly set "DB" - file types. >> > > This brings up a small point -- I think in all examples you shouldn't > restrict opening db's to .vdb/VALA/Vdsc. Most of us on the Mac, I > imagine, have our own file types for Valentina database. I have to > edit the examples every time to allow them to open my databases. If > you just let them open ANY file that would be better -- we know not > to open text files, applications, etc. It's not a big deal, but with > the very frequent updates to the examples folder it does get to be a > bit of a pain to edit them every time. Agree John. This will be more comfortable. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 17 18:38:00 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sun Jul 17 11:36:45 2005 Subject: [NEW] Valentina 2.0.5 adds Vdatabase.Clone(). In-Reply-To: References: Message-ID: Le 17 juil. 05 ? 17:32, Ruslan Zasukhin a ?crit : > On 7/17/05 3:42 PM, "Jules Jacquot" wrote: > > >> Thanks, ruslan >> >> but i can't open my database . It is grayed >> >> My DBVersion is 512 and s is 200 >> > > You mean in example? > > I think this is problems of example. > > It not correctly set "DB" - file types. even with "any" i don't understand why best 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 > > une longue route commence par un petit pas. proverbe chinois From bkeeney at everestkc.net Sun Jul 17 11:38:13 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Sun Jul 17 11:38:20 2005 Subject: Valentina Digest, Vol 31, Issue 22 In-Reply-To: <20050717155628.A8897355A70@edison.macserve.net> References: <20050717155628.A8897355A70@edison.macserve.net> Message-ID: <963C98CF-6F23-489A-AD67-EB36C9041636@everestkc.net> On Jul 17, 2005, at 10:56 AM, valentina-request@lists.macserve.net wrote: >> if cur.FirstRecord = false then >> 'add it >> me.SetBlank >> me.mStylePtr.Value = id >> me.mSetting.value = Setting >> me.mPicture.WritePictureAs value, EVPictType.kMacPict, 90 >> <<<<> myID = me.AddRecord >> me.Flush >> End >> >> >> I get the following crash report: >> >> 0 Kernel_Carbon_Final.shlb 0x0479ad2c >> Write__Q23fbl24FileIterator_Cached_BaseFPCcUl + 188 >> 1 Kernel_Carbon_Final.shlb 0x0487ac60 >> Write__Q23fbl15LogicalFile_ImpFPCcUl + 28 >> 2 Kernel_Carbon_Final.shlb 0x04b3027c >> WriteRecord__Q23fbl11SegmentFileFPCcUlUl + 256 >> 3 Kernel_Carbon_Final.shlb 0x04b37598 >> WriteData__Q23fbl5VBlobFPCcUl + 292 >> 4 Kernel_Carbon_Final.shlb 0x04b86244 >> WritePictureAs__Q23fbl8VPictureFPP7PictureQ23fbl8PictTypeUsUl + 188 >> 5 Plugin 0x046da4c8 >> Picture_WriteAs__FP16REALobjectStructP17REALpictureStructii + 232 >> 6 Trial Smart.debug 0x005b8300 >> VPicture.WritePictureAs%%ooi4i4 + 112 >> >> I've tried this a couple of different ways. I've tried the old copy >> it to the clipboard and get it back as a true picture. The original >> file format is a TIFF and I still crash if I set the EVPictType to >> TIFF. Any ideas??? >> > > 1) if our example do work ? > > 2) what segment size you have assign to picture field ? Yes, the example works. The only difference would be that I am opening a tiff image as picture. Segment size is 1024. me.mPicture = me.CreatePictureField( "pPict", 1024) I guess the part that disturbs me is the hard crash. I would assume that if something wasn't set up properly it should return an error rather than crash. Thanks for the help. Bob K. From sunshine at public.kherson.ua Sun Jul 17 19:54:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 17 11:54:40 2005 Subject: Valentina Digest, Vol 31, Issue 22 In-Reply-To: <963C98CF-6F23-489A-AD67-EB36C9041636@everestkc.net> Message-ID: On 7/17/05 7:38 PM, "Bob Keeney" wrote: Hi Bob, >> 1) if our example do work ? >> >> 2) what segment size you have assign to picture field ? > > Yes, the example works. The only difference would be that I am > opening a tiff image as picture. So you have already Picture -- unpacked bitmap. And when you store it into db you should say that this is PICT, not a TIFF. Please check this point. > Segment size is 1024. > me.mPicture = me.CreatePictureField( "pPict", 1024) ok > I guess the part that disturbs me is the hard crash. I would assume > that if something wasn't set up properly it should return an error > rather than crash. If you can send us simple project please do 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 carlo.sacchetti at biblelive.it Sun Jul 17 22:42:45 2005 From: carlo.sacchetti at biblelive.it (Carlo Sacchetti) Date: Sun Jul 17 15:42:56 2005 Subject: Version 2 of V4MD Message-ID: <42CCF81300231CAD@ms004msg.mail.fw> (added by postmaster@fastwebnet.it) Hi Ruslan, I have had a lot of problems that stopped my work. Now I return and see that there's a new version of Valentina for Director. 1. I bought Valentina for Director, version 1 for mac and win and I have a serial number also for Studio (I'm very interest to Valentina Studio). But now don't work. How do I can have serial for version 2. Do I need to pay an upgrade? 2. I have and old DB made in version 1. How do I can convert it in version 2? Thanks a lot. C.S. From sunshine at public.kherson.ua Sun Jul 17 23:49:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 17 15:49:36 2005 Subject: Version 2 of V4MD In-Reply-To: <42CCF81300231CAD@ms004msg.mail.fw> (added by postmaster@fastwebnet.it> Message-ID: On 7/17/05 11:42 PM, "Carlo Sacchetti" wrote: Hi Carlo, > I have had a lot of problems that stopped my work. Now I return and see that > there's a new version of Valentina for Director. > > 1. I bought Valentina for Director, version 1 for mac and win and I > have a serial number also for Studio (I'm very interest to Valentina > Studio). But now don't work. How do I can have serial for version 2. Do I > need to pay an upgrade? Yes. You need chose A) v1 (mac+win) to v2 (mac+win) Or B) if you plan any multi-user solutions or SW safe solutions then you can prefer choose upgrade v1 to VDN. > 2. I have and old DB made in version 1. How do I can convert it in > version 2? Exists function Valentina.Convert_1_2(). And example on this Which you can use as utility. -- Best regards, Ruslan Zasukhin VP Engineering 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 Sun Jul 17 17:30:51 2005 From: jda at his.com (jda) Date: Sun Jul 17 16:30:58 2005 Subject: Nested methods In-Reply-To: References: Message-ID: Hi Ruslan, I'm trying to figure out the easiest, fastest means of doing the following: I want to sort a cursor by a text field (the title of, say, a book), but be able to ignore certain words at the beginning of the title (words like 'The' or 'An'). I plan to do this by creating a temporary method field that will iterate through a list of words and, basically, remove them from the title. Here is a prototype that works: "IF(LOCATE('The ', title)=1, RIGHT(title, LENGTH(title) - LENGTH('The ')), title)") I see two issues: 1. How do I nest recursively the tests for each word? There might be dozens (for different languages). 2. Can I BREAK if there is a match? Once there is a hit I want the method to just return the modified title without going through the rest of the list of words (if another banned first word were next, it would be deleted too, which I would NOT want). Thanks, Jon From jda at his.com Sun Jul 17 18:17:18 2005 From: jda at his.com (jda) Date: Sun Jul 17 17:17:27 2005 Subject: Nested methods In-Reply-To: References: Message-ID: >Here is a prototype that works: > >"IF(LOCATE('The ', title)=1, RIGHT(title, LENGTH(title) - >LENGTH('The ')), title)") > >I see two issues: > >1. How do I nest recursively the tests for each word? There might be >dozens (for different languages). > >2. Can I BREAK if there is a match? Once there is a hit I want the >method to just return the modified title without going through the >rest of the list of words (if another banned first word were next, >it would be deleted too, which I would NOT want). > Followup: I thought perhaps the SELECT CASE statement might do what I'm looking for. Here's a query that looks like it should work, but returns nothing. Any ideas? SELECT CASE WHEN LOCATE('The ',title)=1 THEN RIGHT(title, LENGTH(title) - LENGTH('The ')) ELSE WHEN LOCATE('An ',title)=1 THEN RIGHT(title, LENGTH(title) - LENGTH('An ')) ELSE WHEN LOCATE('A ',title)=1 THEN RIGHT(title, LENGTH(title) - LENGTH('A ')) ELSE title Thanks, Jon From IvanSmahin at public.kherson.ua Mon Jul 18 01:31:46 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sun Jul 17 17:31:56 2005 Subject: Nested methods In-Reply-To: References: Message-ID: <42DADC52.7030303@public.kherson.ua> jda wrote: > I thought perhaps the SELECT CASE statement might do what I'm looking > for. Here's a query that looks like it should work, but returns nothing. > Any ideas? > > SELECT CASE WHEN > LOCATE('The ',title)=1 THEN RIGHT(title, LENGTH(title) - LENGTH('The > ')) > ELSE > WHEN LOCATE('An ',title)=1 THEN RIGHT(title, LENGTH(title) - > LENGTH('An ')) > ELSE > WHEN LOCATE('A ',title)=1 THEN RIGHT(title, LENGTH(title) - > LENGTH('A ')) > ELSE > title > > I guess you have some exception from parser -right? Anycase you should use much more simple statement: SELECT CASE WHEN ... THEN ... WHEN ... THEN ... WHEN ... THEN ... ... ELSE title END -- Best regards, Ivan Smahin From jda at his.com Sun Jul 17 19:06:01 2005 From: jda at his.com (jda) Date: Sun Jul 17 18:06:11 2005 Subject: Nested methods In-Reply-To: <42DADC52.7030303@public.kherson.ua> References: <42DADC52.7030303@public.kherson.ua> Message-ID: >jda wrote: >>I thought perhaps the SELECT CASE statement might do what I'm >>looking for. Here's a query that looks like it should work, but >>returns nothing. Any ideas? >> >>SELECT CASE WHEN >> LOCATE('The ',title)=1 THEN RIGHT(title, LENGTH(title) - LENGTH('The ')) >>ELSE >> WHEN LOCATE('An ',title)=1 THEN RIGHT(title, LENGTH(title) - >>LENGTH('An ')) >>ELSE >> WHEN LOCATE('A ',title)=1 THEN RIGHT(title, LENGTH(title) - LENGTH('A ')) >>ELSE >> title >> > >I guess you have some exception from parser -right? Actually, I didn't get an exception. But when I checked the result returned, it was empty. > >Anycase you should use much more simple statement: > > SELECT > CASE > WHEN ... THEN ... > WHEN ... THEN ... > WHEN ... THEN ... > ... > ELSE title > END > Thanks, Ivan, I'll try it! Jon From jda at his.com Sun Jul 17 19:20:22 2005 From: jda at his.com (jda) Date: Sun Jul 17 18:20:29 2005 Subject: Nested methods In-Reply-To: <42DADC52.7030303@public.kherson.ua> References: <42DADC52.7030303@public.kherson.ua> Message-ID: >Anycase you should use much more simple statement: > > SELECT > CASE > WHEN ... THEN ... > WHEN ... THEN ... > WHEN ... THEN ... > ... > ELSE title > END > I tried this, and still get back an empty string from my method: SELECT CASE WHEN LOCATE('The ',title)=1 THEN RIGHT(title, LENGTH(title) - LENGTH('The ')) WHEN LOCATE('An ',title)=1 THEN RIGHT(title, LENGTH(title) - LENGTH('An ')) WHEN LOCATE('A ',title)=1 THEN RIGHT(title, LENGTH(title) - LENGTH('A ')) ELSE title END Do you see anything wrong with it? Thanks, Jon From IvanSmahin at public.kherson.ua Mon Jul 18 02:26:41 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sun Jul 17 18:26:54 2005 Subject: Nested methods In-Reply-To: References: <42DADC52.7030303@public.kherson.ua> Message-ID: <42DAE931.5080000@public.kherson.ua> jda wrote: > I tried this, and still get back an empty string from my method: > > SELECT > CASE > WHEN LOCATE('The ',title)=1 THEN RIGHT(title, LENGTH(title) - > LENGTH('The ')) > WHEN LOCATE('An ',title)=1 THEN RIGHT(title, LENGTH(title) - > LENGTH('An ')) > WHEN LOCATE('A ',title)=1 THEN RIGHT(title, LENGTH(title) - > LENGTH('A ')) > ELSE title > END > > Do you see anything wrong with it? > Seems to be correct query. Could you send me some sample project for testing? -- Best regards, Ivan Smahin From kristafer at comcast.net Mon Jul 18 09:13:32 2005 From: kristafer at comcast.net (kristafer@comcast.net) Date: Mon Jul 18 02:15:14 2005 Subject: (no subject) Message-ID: <20050718071507.B7450356201@edison.macserve.net> +++ Attachment: No Virus found +++ Kaspersky AntiVirus - www.kaspersky.com From jda at his.com Mon Jul 18 07:50:11 2005 From: jda at his.com (jda) Date: Mon Jul 18 06:50:16 2005 Subject: Nested methods In-Reply-To: <42DAE931.5080000@public.kherson.ua> References: <42DADC52.7030303@public.kherson.ua> <42DAE931.5080000@public.kherson.ua> Message-ID: >jda wrote: >>I tried this, and still get back an empty string from my method: >> >>SELECT >> CASE >> WHEN LOCATE('The ',title)=1 THEN RIGHT(title, LENGTH(title) - >>LENGTH('The ')) >> WHEN LOCATE('An ',title)=1 THEN RIGHT(title, LENGTH(title) - >>LENGTH('An ')) >> WHEN LOCATE('A ',title)=1 THEN RIGHT(title, LENGTH(title) - >>LENGTH('A ')) >> ELSE title >> END >> >>Do you see anything wrong with it? >> > >Seems to be correct query. Could you send me some sample project for testing? > Hi Ivan, I tried sending it to Ruslan to relay to you, but there seems to be a problem at his end. What address should I send it to? Jon From sunshine at public.kherson.ua Mon Jul 18 19:42:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 18 11:42:53 2005 Subject: [V4RB] accents mac->win Message-ID: Hi REALbasic experts. I need some help from you. I have made on mac in viSQL db with table that have one VarChar and one text fields. Then I did insert into ttt (f1, f2) VALUES( '???', '???' ) Now select * from ttt show correct accent chars on mac. I have move db to windows, open it in viSQL and see SQUARS. If I do EXPORT from viSQL into text file, then TextEdit show me correct accent charcs. So this is problem of viSQL WIN that it not display chars correctly. Now question: what special must be done on RB win + viSQL to force it show chars ? fonts? Else ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Mon Jul 18 13:05:11 2005 From: ayu8 at cdc.gov (Sims, John) Date: Mon Jul 18 12:05:44 2005 Subject: [V4RB] accents mac->win Message-ID: > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: Monday, July 18, 2005 12:43 PM > To: valentina@lists.macserve.net > Subject: [V4RB] accents mac->win > > > Hi REALbasic experts. > > I need some help from you. > > I have made on mac in viSQL db with table that have > one VarChar and one text fields. > > Then I did > > insert into ttt (f1, f2) VALUES( '???', '???' ) > > Now select * from ttt show correct accent chars on mac. > > I have move db to windows, open it in viSQL and see SQUARS. > If I do EXPORT from viSQL into text file, then TextEdit show > me correct accent charcs. > > So this is problem of viSQL WIN that it not display chars correctly. > > Now question: > what special must be done on RB win + viSQL to force it > show chars ? > fonts? Else ? > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information http://www.paradigmasoft.com > > [I feel the need: the need for speed] Hi Ruslan, I am not an encoding expert but my first thought since it works fine on Mac and not Windows would be something to do with Endianess??? Macs use "big", Windows uses "little". I've seen people on the NUG have problems similar to this before. Good Luck, -John From sunshine at public.kherson.ua Mon Jul 18 20:35:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 18 12:35:38 2005 Subject: [V4RB] accents mac->win In-Reply-To: Message-ID: On 7/18/05 8:05 PM, "Sims, John" wrote: Hi John, > Hi Ruslan, > > I am not an encoding expert but my first thought since it works fine on Mac > and not Windows would be something to do with Endianess??? Macs use "big", > Windows uses "little". I've seen people on the NUG have problems similar to > this before. But where ? In Valentina code and db all is 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 yeomans at desuetude.com Mon Jul 18 13:48:24 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Mon Jul 18 12:48:29 2005 Subject: [V4RB] accents mac->win In-Reply-To: References: Message-ID: On Jul 18, 2005, at 12:42 PM, Ruslan Zasukhin wrote: > Hi REALbasic experts. > > I need some help from you. > > I have made on mac in viSQL db with table that have > one VarChar and one text fields. > > Then I did > > insert into ttt (f1, f2) VALUES( '???', '???' ) > > Now select * from ttt show correct accent chars on mac. > > I have move db to windows, open it in viSQL and see SQUARS. > If I do EXPORT from viSQL into text file, then TextEdit show me correct > accent charcs. > > So this is problem of viSQL WIN that it not display chars correctly. > > Now question: > what special must be done on RB win + viSQL to force it show chars > ? > fonts? Else ? I'd be checking the encoding of the data obtained from the cursor field. -------------- Charles Yeomans From ayu8 at cdc.gov Mon Jul 18 13:52:04 2005 From: ayu8 at cdc.gov (Sims, John) Date: Mon Jul 18 12:52:37 2005 Subject: [V4RB] accents mac->win Message-ID: > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: Monday, July 18, 2005 1:35 PM > To: valentina@lists.macserve.net > Subject: Re: [V4RB] accents mac->win > > > On 7/18/05 8:05 PM, "Sims, John" wrote: > > Hi John, > > > Hi Ruslan, > > > > I am not an encoding expert but my first thought since it > works fine > > on Mac and not Windows would be something to do with Endianess??? > > Macs use "big", Windows uses "little". I've seen people on the NUG > > have problems similar to this before. > > But where ? > > In Valentina code and db all is right. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > Hi Ruslan, Actually, I thought it might be in the Valentina code. If you say everything is right in the Valentina code, then my guess is probably wrong. I will try to look at viSQL tonight and see if anything else occurs to me. -John From sunshine at public.kherson.ua Mon Jul 18 21:02:33 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 18 13:02:42 2005 Subject: [V4RB] accents mac->win In-Reply-To: Message-ID: On 7/18/05 8:48 PM, "Charles Yeomans" wrote: >> Now question: >> what special must be done on RB win + viSQL to force it show chars >> ? >> fonts? Else ? > > I'd be checking the encoding of the data obtained from the cursor field. Ok, although V4RB always should return UTF8 -- Best regards, Ruslan Zasukhin VP Engineering 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 Mon Jul 18 14:22:17 2005 From: jda at his.com (jda) Date: Mon Jul 18 13:22:24 2005 Subject: [V4RB] accents mac->win In-Reply-To: References: Message-ID: > > I'd be checking the encoding of the data obtained from the cursor field. > >Ok, although V4RB always should return UTF8 > Agreed. But I'd check that in the Windows build anyway, to make sure (you can do this in the RB debugger). If it is UTF-8, I'd try explicity converting it to Latin-1 and see what shows up... Jon From fvanlerberghe at freegates.be Mon Jul 18 21:52:59 2005 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Mon Jul 18 14:53:28 2005 Subject: [V4RB] accents mac->win In-Reply-To: Message-ID: le 18/07/05 18:42, Ruslan Zasukhin a ?crit?: > I have move db to windows, open it in viSQL and see SQUARS. I think you must say to RB what is the encoding of the data you read from the db. Something like : myString = DefineEncoding(mCursor.Stringfield(1).GetString(), ...) Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From jda at his.com Mon Jul 18 15:58:19 2005 From: jda at his.com (jda) Date: Mon Jul 18 14:58:25 2005 Subject: [V4RB] accents mac->win In-Reply-To: References: Message-ID: >I think you must say to RB what is the encoding of the data you read from >the db. >Something like : > myString = DefineEncoding(mCursor.Stringfield(1).GetString(), ...) > Not on a Mac (it comes back as UTF-8). But on a PC, I don't know... Jon From sunshine at public.kherson.ua Mon Jul 18 23:18:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 18 15:19:08 2005 Subject: [V4RB] accents mac->win In-Reply-To: Message-ID: On 7/18/05 10:58 PM, "jda" wrote: >> I think you must say to RB what is the encoding of the data you read from >> the db. >> Something like : >> myString = DefineEncoding(mCursor.Stringfield(1).GetString(), ...) >> > > Not on a Mac (it comes back as UTF-8). But on a PC, I don't know... The same must be on PC.... Strange. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From pmccon at bigpond.net.au Tue Jul 19 12:57:27 2005 From: pmccon at bigpond.net.au (Peter McConachie) Date: Mon Jul 18 21:57:37 2005 Subject: VXCMD1: Single quote in a query Message-ID: Can anyone tell me what is the correct form for the following query SELECT ... WHERE fld1='John's car' How does one treat the internal single quote within such a query? I imagine it has to be somehow escaped but cannot find a reference anywhere. Many thanks, Peter McConachie From snw at paradise.net.nz Tue Jul 19 16:03:00 2005 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Jul 18 23:22:33 2005 Subject: VXCMD1: Single quote in a query In-Reply-To: References: Message-ID: <6.2.1.2.2.20050719155947.02f920e0@pop3.paradise.net.nz> >SELECT ... WHERE fld1='John's car' > >How does one treat the internal single quote within such a query? I imagine >it has to be somehow escaped but cannot find a reference anywhere. Most (all?) development environments for Valentina have an escapeString() method that should do what you need. Check the docs for the XCMD - it should be in there somewhere. HTH, -Sean. From jda at his.com Mon Jul 18 19:40:57 2005 From: jda at his.com (jda) Date: Tue Jul 19 02:03:16 2005 Subject: SELECT CASE method In-Reply-To: <42DC2BF0.4060106@public.kherson.ua> References: <1669808195.20050718164310@public.kherson.ua> <1764541643.20050718221055@public.kherson.ua> <594124335.20050718224142@public.kherson.ua> <42DC2BF0.4060106@public.kherson.ua> Message-ID: >Hi, >Jon I have found the problem... > >Look. you use "select case..." in the method's text. > >It does not work this way. >You need just "case..." - I mean throw away select statement. >It is never used in the methods. > >I have tested this issue and it works. > OK. But just so you know, here are the examples from the Valentina sql documentation: SELECT CASE 1 WHEN 1 THEN "one" WHEN 2 THEN "two" ELSE "more" END; => "one" SELECT CASE WHEN 1>0 THEN "true" ELSE "false" END; => "true" I guess they should be changed. I'll change my code. Thanks again, Jon From sunshine at public.kherson.ua Tue Jul 19 12:50:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jul 19 04:51:15 2005 Subject: INfo about IN clause in SQL In-Reply-To: Message-ID: On 7/19/05 12:38 PM, "sharath.hegde" wrote: Hi Sharath, > Hi, > > I happened to come across an e-mail posting by you regarding implementation > of IN clause in SQL. I had a question regarding the use of IN. Which of the > two queries is faster (more optimized) and why? > > Select NAME from STUDENT where ID=100; > > OR > > Select NAME from STUDENT where ID IN (100); ^^^^^^^ exactly one number? First query will be faster a little. Because it explicitly says to find ONE number that equal. But if you will have MANY values in the IN then IN wins Select NAME from STUDENT where ID IN (100, 101,102, 103, ....); The same to Select NAME from STUDENT where ID=100 OR ID=101 OR ID=102 ... -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 19 17:11:41 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Tue Jul 19 10:10:19 2005 Subject: [V4RB] accents mac->win In-Reply-To: References: Message-ID: Le 18 juil. 05 ? 22:18, Ruslan Zasukhin a ?crit : > On 7/18/05 10:58 PM, "jda" wrote: > > >>> I think you must say to RB what is the encoding of the data you >>> read from >>> the db. >>> Something like : >>> myString = DefineEncoding(mCursor.Stringfield(1).GetString >>> (), ...) >>> >>> >> >> Not on a Mac (it comes back as UTF-8). But on a PC, I don't know... >> > > The same must be on PC.... > > Strange. with my app V4RB2 is working fine in OSX and Windows ( UTF-16 ) i have neither defineencoding nor convertencoding best 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 > > O? passeras-tu l'Eternit? ? From BillMounce at Comcast.net Tue Jul 19 09:30:33 2005 From: BillMounce at Comcast.net (Bill Mounce) Date: Tue Jul 19 11:30:53 2005 Subject: [V4RB] accents mac->win In-Reply-To: References: Message-ID: <3085A357-B9F0-49B8-958C-56FD63BD6302@Comcast.net> Ruslan, This is the problem I have been having for literally years. The problem is that Windows fonts don't use ASCII position 127-256 as the Mac does, which is where your specific characters reside. The squares mean that there is no character in the Windows font and the box is by default. I have never been able to make Valentina 1.1 leave these "high ascii" positions alone, and now OSX also will try to change them to something else based on encoding. Bill On Jul 18, 2005, at 9:42 AM, Ruslan Zasukhin wrote: > Hi REALbasic experts. > > I need some help from you. > > I have made on mac in viSQL db with table that have > one VarChar and one text fields. > > Then I did > > insert into ttt (f1, f2) VALUES( '???', '???' ) > > Now select * from ttt show correct accent chars on mac. > > I have move db to windows, open it in viSQL and see SQUARS. > If I do EXPORT from viSQL into text file, then TextEdit show me > correct > accent charcs. > > So this is problem of viSQL WIN that it not display chars correctly. > > Now question: > what special must be done on RB win + viSQL to force it show > chars ? > fonts? Else ? > > > -- > Best regards, > > Ruslan Zasukhin > VP 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 yeomans at desuetude.com Tue Jul 19 17:29:39 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Jul 19 16:29:47 2005 Subject: [V4Rb 2] VLink.FindLinked question Message-ID: <9c2248a45b03ee2a5643651e8aca65ba@desuetude.com> Why does VLink.FindLinked return nil if no matches are found, instead of a VArraySet with 0 elements? It certainly seems to me that the better way would be to always return a non-nil object. -------------- Charles Yeomans From sunshine at public.kherson.ua Wed Jul 20 00:48:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jul 19 16:48:17 2005 Subject: [FAQ] [V4Rb 2] VLink.FindLinked question In-Reply-To: <9c2248a45b03ee2a5643651e8aca65ba@desuetude.com> Message-ID: On 7/20/05 12:29 AM, "Charles Yeomans" wrote: Hi Charles, > Why does VLink.FindLinked return nil if no matches are found, instead > of a VArraySet with 0 elements? It certainly seems to me that the > better way would be to always return a non-nil object. This was made on C++ level, and repeated in all plugins. Reason -- speed, less RAM resources, ... Why spend time and RAM to create empty array, later to destroy it on call of function get_Count() to see that it is empty ? Instead we have simple res = field.find if( res = nil ) return // or else you want -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Tue Jul 19 18:30:08 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Jul 19 17:30:17 2005 Subject: [FAQ] [V4Rb 2] VLink.FindLinked question In-Reply-To: References: Message-ID: <98f716f5ddb945784f958b411b983a60@desuetude.com> On Jul 19, 2005, at 5:48 PM, Ruslan Zasukhin wrote: > On 7/20/05 12:29 AM, "Charles Yeomans" wrote: > > Hi Charles, > >> Why does VLink.FindLinked return nil if no matches are found, instead >> of a VArraySet with 0 elements? It certainly seems to me that the >> better way would be to always return a non-nil object. > > This was made on C++ level, and repeated in all plugins. > > Reason -- speed, less RAM resources, ... > > Why spend time and RAM > to create empty array, > later to destroy it > on call of function get_Count() to see that it is empty > > ? > > Instead we have simple > > res = field.find > > if( res = nil ) > return // or else you want Well, instead I have to spend time checking whether FindLinked returns nil, which complicates my code in some situations. I know that Valentina is fast, but surely searching is not typically faster than creating an object. And even this overhead could be reduced by keeping a reference to a single VArraySet with 0 elements to return any time it's needed. -------------- Charles Yeomans From jules.jacquot at wanadoo.fr Wed Jul 20 07:03:37 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Wed Jul 20 00:02:25 2005 Subject: [V4RB] accents mac->win In-Reply-To: References: Message-ID: <45853420-921D-4841-B5C8-425CA8CDCB74@wanadoo.fr> Le 19 juil. 05 ? 17:11, Jules Jacquot a ?crit : > > Le 18 juil. 05 ? 22:18, Ruslan Zasukhin a ?crit : > > >> On 7/18/05 10:58 PM, "jda" wrote: >> >> >> >>>> I think you must say to RB what is the encoding of the data you >>>> read from >>>> the db. >>>> Something like : >>>> myString = DefineEncoding(mCursor.Stringfield(1).GetString >>>> (), ...) >>>> >>>> >>>> >>> >>> Not on a Mac (it comes back as UTF-8). But on a PC, I don't know... >>> >>> >> >> The same must be on PC.... >> >> Strange. >> > i have tried VisQL with one of my Vdatabases which exists and all is working fine in windows then ? best 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 >> >> >> > > O? passeras-tu l'Eternit? ? > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > R?ussir dans la vie, c'est ?chouer au bon endroit Jean-Baptiste de Foucauld From sunshine at public.kherson.ua Wed Jul 20 08:52:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 00:52:58 2005 Subject: [V4RB] accents mac->win In-Reply-To: <45853420-921D-4841-B5C8-425CA8CDCB74@wanadoo.fr> Message-ID: On 7/20/05 8:03 AM, "Jules Jacquot" wrote: > > i have tried VisQL with one of my Vdatabases which exists and all is > working fine in windows > > then ? May be this is because I have win english, but try non-english chars ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 20 12:37:56 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Wed Jul 20 05:38:22 2005 Subject: RegEx not containing a string Message-ID: Hello to all, can anyone help me how to exclude a string in a regex? e.g. find all records where name contains "Smith" but doesn't contain "John" SELECT * from tb_persons WHERE name REGEX 'Smith !John' thanks Heinrich From sunshine at public.kherson.ua Wed Jul 20 11:45:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 07:12:27 2005 Subject: [FAQ] [V4Rb 2] VLink.FindLinked question In-Reply-To: <98f716f5ddb945784f958b411b983a60@desuetude.com> Message-ID: Hi Charles, >>> Why does VLink.FindLinked return nil if no matches are found, instead >>> of a VArraySet with 0 elements? It certainly seems to me that the >>> better way would be to always return a non-nil object. >> >> This was made on C++ level, and repeated in all plugins. >> >> Reason -- speed, less RAM resources, ... >> >> Why spend time and RAM >> to create empty array, >> later to destroy it >> on call of function get_Count() to see that it is empty >> >> ? >> >> Instead we have simple >> >> res = field.find >> >> if( res = nil ) >> return // or else you want > > Well, instead I have to spend time checking whether FindLinked returns > nil, which complicates my code in some situations. > I know that Valentina is fast, but surely searching is not typically faster > than creating an object. Not a fact. RAM allocations is not so light operation. In C++ world exists even special ways to develop own pools to have faster allocation of RAM then default system function do. You can have task where you do loop 100,000 times, get from T1 some info, And do search in T2. > And even this overhead could be reduced by keeping > a reference to a single VArraySet with 0 elements to return any time > it's needed. I think you can get back your simple code using small utility function if( IsEmptyBitSet(res) ) And Sub IsEmptyBitSet( inRes as Vset ) if inRes = nil or inRes.Count = 0 return true else return false return end -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jul 20 15:17:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 07:18:08 2005 Subject: REGEX \ search In-Reply-To: Message-ID: On 7/20/05 3:02 PM, "jda" wrote: >>> Really? What's wrong with this query? >>> >>> select id,hit from thereferences where (allFields REGEX '(?i)\\') >>> order by id >> >> Please read in mantis >> > > I see, Ruslan. But that's nuts (crazy). You should only need ONE \ > character to escape any other. This makes \ a special exception. > I now have to do a REPLACEALL('\', '\\') for each search string BEFORE > escaping. This is, excuse me, ridiculous. NO !!!!!!!!!!!!!! You should not REPLACE it !!! You should use our Valentina.EscapeString() > '\\' should work. > > But I will do it if I have to. Do it in right way. Again ---------------------------------------- Starting from 2.0.5 manual query must look as select id,hit from thereferences where allFields LIKE '%\\\\%' or ????select id,hit from thereferences where allFields REGEX '(?i)\\\\' In your application user must type: ????select id,hit from thereferences where allFields LIKE '%\\%' ???select id,hit from thereferences where allFields REGEX '(?i)\\' and after you use Valentina.EscapeString() you will get required query with 4 symbols back slash. ---------------------------------------- Where you see problems? You user in your Application must enter string to do REGEX search., User know that he is doing REGEX search, right ? If I want in CodeWarrior do search on strings that have \ I type in the search dialog of CodeWarrior \\ The same I will expect todo in YOUR application. THE SAME will do any your user who know REGEX. Then you get from Edit field string "\\" And you do next: q = "select id,hit from thereferences where allFields REGEX '(?i)" q = q + Valentina.EscapeString( regexEditField.text ) q = q + "'" So you get the correct query: select id,hit from thereferences where allFields REGEX '(?i)\\\\' -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 20 15:19:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 07:19:28 2005 Subject: RegEx not containing a string In-Reply-To: Message-ID: On 7/20/05 1:37 PM, "Heinrich Ruoff" wrote: > Hello to all, > > can anyone help me how to exclude a string in a regex? > > e.g. find all records where name contains "Smith" but doesn't contain "John" > SELECT * from tb_persons WHERE name REGEX 'Smith !John' I remember REGEX allow disable set of chars. ^[abc] May be you should do it as SELECT * from tb_persons WHERE name REGEX 'Smith' and NOT REGEX 'John' Although this is worse because require 2 scan of table column -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 20 15:24:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 07:24:59 2005 Subject: REGEX \ search In-Reply-To: Message-ID: On 7/20/05 3:17 PM, "Ruslan Zasukhin" wrote: And more Jon, In 2.0.5fc3 we have simplify a lots Valentina.EscapeString() ! Now it escapes only ' and \ Parameter inForRegEx now is not used. It will be deprecated. This was mistake that come from v 1.x I assume you have own function that do escape. Now it is not needed. Please try to use our and let me know. > ---------------------------------------- > Starting from 2.0.5 manual query must look as > > select id,hit from thereferences where allFields LIKE '%\\\\%' > or > ????select id,hit from thereferences where allFields REGEX '(?i)\\\\' > > In your application user must type: > ????select id,hit from thereferences where allFields LIKE '%\\%' > ???select id,hit from thereferences where allFields REGEX '(?i)\\' > > and after you use Valentina.EscapeString() you will get required > query with 4 symbols back slash. > ---------------------------------------- > > Where you see problems? > > You user in your Application must enter string to do REGEX search., > User know that he is doing REGEX search, right ? > > If I want in CodeWarrior do search on strings that have \ > I type in the search dialog of CodeWarrior > > \\ > > The same I will expect todo in YOUR application. > THE SAME will do any your user who know REGEX. > > Then you get from Edit field string "\\" > And you do next: > > q = "select id,hit from thereferences where allFields REGEX '(?i)" > > q = q + Valentina.EscapeString( regexEditField.text ) > > q = q + "'" > > So you get the correct query: > > select id,hit from thereferences where allFields REGEX '(?i)\\\\' -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 20 17:09:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 09:09:10 2005 Subject: REGEX \ search In-Reply-To: Message-ID: On 7/20/05 4:12 PM, "jda" wrote: >> You user in your Application must enter string to do REGEX search., >> User know that he is doing REGEX search, right ? > > No, my users think they are doing a "character" search. But if YOUR users do not use power of REGEX then you may prefer to use LIKE Although LIKE also require 4 slashes. > 95% of them haven't the faintest idea of what SQL is. No need. But much more people know what is REGEX and how to use it. BTW, CodeWarrior in the search dialog have option [x] do search as regex So I can self choose when use it. > They are NOT computer people. > My application (a general consumer application) takes care of > the details for them... Then its your headache. :-) -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 20 17:26:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 09:26:52 2005 Subject: REGEX \ search In-Reply-To: Message-ID: On 7/20/05 5:14 PM, "jda" wrote: >>> My application (a general consumer application) takes care of >>> the details for them... >> >> Then its your headache. :-) >> > > My headache is your headache. :-) > > Fine, I can do that. But I think it is wrong to require *4* > backslashes to escape \ > > And if it does, > > Valentina.escape('\', true) > > should return > > '\\\\' > > !!!! No, because Valentina.Escape() care about people who know LIKE and REGEX. User can enter such regex: \Abline\Z Now back slash play role of SPECIAL CHARACTER. We do not search for it. So Escape("\Abline\Z") returns "\\Abline\\Z" SQL Parser eat one slash as store string as \Abline\Z And REGEX engine get correct string \Abline\Z ------------- Compare this to next string. User want find li\ne So he type \Ali\\ne\Z Valentina Escape convert this into \\Ali\\\\ne\\Z SQL parser back to \Ali\\ne\Z --------------------- Jon, your problem is that you try to use REGEX in wrong way. Since you say users do not REGEX you need self correct their entry. -- Best regards, Ruslan Zasukhin VP Engineering 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 Wed Jul 20 16:31:48 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Wed Jul 20 09:30:29 2005 Subject: [V4RB] accents mac->win In-Reply-To: References: Message-ID: <23BCC2D9-017B-423F-BF28-2CCAFCBE481C@wanadoo.fr> sorry ruslan i thought that you knew that i am french my vdatabases were writing which french chars ( many accents ) best jules Le 20 juil. 05 ? 07:52, Ruslan Zasukhin a ?crit : > On 7/20/05 8:03 AM, "Jules Jacquot" wrote: > > >> >> i have tried VisQL with one of my Vdatabases which exists and all is >> working fine in windows >> >> then ? >> > > May be this is because I have win english, but try non-english chars ? > > -- > Best regards, > > Ruslan Zasukhin > VP 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 sunshine at public.kherson.ua Wed Jul 20 17:40:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 09:40:15 2005 Subject: [V4RB] accents mac->win In-Reply-To: <23BCC2D9-017B-423F-BF28-2CCAFCBE481C@wanadoo.fr> Message-ID: On 7/20/05 5:31 PM, "Jules Jacquot" wrote: > sorry ruslan > i thought that you knew that i am french Right, I know. And am I right that you use French Windows ? May be this is reason why you have no problems, But I have. Again, I have try on English OS. > my vdatabases were writing which french chars ( many accents ) >> May be this is because I have win english, but try non-english chars ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Wed Jul 20 13:55:20 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jul 20 12:55:35 2005 Subject: [FAQ] [V4Rb 2] VLink.FindLinked question In-Reply-To: References: Message-ID: <04095f1895fe61c181b49abc710aebf7@desuetude.com> On Jul 20, 2005, at 4:45 AM, Ruslan Zasukhin wrote: > Hi Charles, > >>>> Why does VLink.FindLinked return nil if no matches are found, >>>> instead >>>> of a VArraySet with 0 elements? It certainly seems to me that the >>>> better way would be to always return a non-nil object. >>> >>> This was made on C++ level, and repeated in all plugins. >>> >>> Reason -- speed, less RAM resources, ... >>> >>> Why spend time and RAM >>> to create empty array, >>> later to destroy it >>> on call of function get_Count() to see that it is empty >>> >>> ? >>> >>> Instead we have simple >>> >>> res = field.find >>> >>> if( res = nil ) >>> return // or else you want >> >> Well, instead I have to spend time checking whether FindLinked returns >> nil, which complicates my code in some situations. > >> I know that Valentina is fast, but surely searching is not typically >> faster >> than creating an object. > > Not a fact. RAM allocations is not so light operation. > > In C++ world exists even special ways to develop own pools to have > faster > allocation of RAM then default system function do. > > You can have task where you do loop 100,000 times, get from T1 some > info, > And do search in T2. Hmmm; I have to defer to you on questions of efficiency in C++. My next question -- the documentation lists two versions of VLink.FindLinked; one returns a VArraySet, and one returns a VBitSet. Since REALbasic doesn't usually permit two functions having the same signature to have different return types, I'm confused. -------------- Charles Yeomans From yeomans at desuetude.com Wed Jul 20 14:00:18 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jul 20 13:00:24 2005 Subject: [V4Rb 2] VSetIterator question Message-ID: <3a5e478bacb93e9be476864fb2629574@desuetude.com> Once I obtain a VSetIterator object from VSet.MakeNewIterator, must I call FirstItem to retrieve the first item, or can I just call NextItem? -------------- Charles Yeomans From sunshine at public.kherson.ua Wed Jul 20 21:00:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 13:01:04 2005 Subject: [FAQ] [V4Rb 2] VLink.FindLinked question In-Reply-To: <04095f1895fe61c181b49abc710aebf7@desuetude.com> Message-ID: On 7/20/05 8:55 PM, "Charles Yeomans" wrote: Hi Charles, > My next question -- the documentation lists two versions of > VLink.FindLinked; one returns a VArraySet, and one returns a VBitSet. > Since REALbasic doesn't usually permit two functions having the same > signature to have different return types, I'm confused. Ops. I think this is mistake. I see the same in our sources.. One of them must be as FindLinkedAsArraySet() I will correct right now sources at least. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 20 21:03:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 13:03:42 2005 Subject: [FAQ] [V4Rb 2] VLink.FindLinked question In-Reply-To: Message-ID: On 7/20/05 9:00 PM, "Ruslan Zasukhin" wrote: > On 7/20/05 8:55 PM, "Charles Yeomans" wrote: > > Hi Charles, > >> My next question -- the documentation lists two versions of >> VLink.FindLinked; one returns a VArraySet, and one returns a VBitSet. > >> Since REALbasic doesn't usually permit two functions having the same >> signature to have different return types, I'm confused. > > Ops. > > I think this is mistake. > I see the same in our sources.. > > One of them must be as > > FindLinkedAsArraySet() > > I will correct right now sources at least. In contrast to Vfields, here better on default have ArraSet. So I have correct it as FindLinked( inRecID as Integer, inTableA as VTable, inTableB as VTable, inRecursionDirection as Integer = 0 ) as VArraySet FindLinkedAsBitSet( inSet as VSet, inTableA as VTable, inTableB as VTable, inRecursionDirection as Integer = 0 ) as VBitSet -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 20 21:05:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 13:05:18 2005 Subject: [V4Rb 2] VSetIterator question In-Reply-To: <3a5e478bacb93e9be476864fb2629574@desuetude.com> Message-ID: On 7/20/05 9:00 PM, "Charles Yeomans" wrote: > Once I obtain a VSetIterator object from VSet.MakeNewIterator, must I > call FirstItem to retrieve the first item, or can I just call NextItem? You should call FirstItem. -- Best regards, Ruslan Zasukhin VP Engineering 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 Wed Jul 20 22:13:01 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Wed Jul 20 15:11:43 2005 Subject: [V4RB] accents mac->win In-Reply-To: References: Message-ID: <9ACA50DC-1748-47C4-A05B-2052EBA954DC@wanadoo.fr> Le 20 juil. 05 ? 16:40, Ruslan Zasukhin a ?crit : > On 7/20/05 5:31 PM, "Jules Jacquot" wrote: > > >> sorry ruslan >> i thought that you knew that i am french >> > > Right, I know. > > And am I right that you use French Windows ? right > > May be this is reason why you have no problems, ????? what difference between French Windows and English Windows otherwise the translation ? the heart of OS must be the same . NO ? :-(( > But I have. Again, I have try on English OS. best jules ----------------------------------------------------------------------- Il faut faire vite ce qui ne presse pas pour pouvoir faire lentement ce qui presse From sunshine at public.kherson.ua Wed Jul 20 23:33:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 20 15:33:52 2005 Subject: [V4RB] accents mac->win In-Reply-To: <9ACA50DC-1748-47C4-A05B-2052EBA954DC@wanadoo.fr> Message-ID: On 7/20/05 11:13 PM, "Jules Jacquot" wrote: >> And am I right that you use French Windows ? > > right >> >> May be this is reason why you have no problems, > > ????? > what difference between French Windows and English Windows otherwise > the translation ? > > the heart of OS must be the same . NO ? :-(( Not sure. default fonts, encodings, locales, ... -- Best regards, Ruslan Zasukhin VP Engineering 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 Thu Jul 21 10:42:53 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Jul 21 09:43:04 2005 Subject: [VServer] install question Message-ID: <06e1431292ab7144f010154d1b1f42d1@desuetude.com> I am attempting to update my VServer with the current version, but the update fails, claiming that a newer version is already installed. I removed the old version from my machine, but the install still fails. Any suggestions? -------------- Charles Yeomans From sunshine at public.kherson.ua Thu Jul 21 18:30:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 21 10:30:40 2005 Subject: [VServer] install question In-Reply-To: <06e1431292ab7144f010154d1b1f42d1@desuetude.com> Message-ID: On 7/21/05 5:42 PM, "Charles Yeomans" wrote: > I am attempting to update my VServer with the current version, but the > update fails, claiming that a newer version is already installed. I > removed the old version from my machine, but the install still fails. > Any suggestions? Go to folder /Library/Receipts And remove here packages of Vserver Then you will be able install 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 yeomans at desuetude.com Thu Jul 21 11:41:23 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Jul 21 10:41:35 2005 Subject: [VServer] install question In-Reply-To: References: Message-ID: <540ed55b95e67034b172455cf47983a6@desuetude.com> On Jul 21, 2005, at 11:30 AM, Ruslan Zasukhin wrote: > On 7/21/05 5:42 PM, "Charles Yeomans" wrote: > >> I am attempting to update my VServer with the current version, but the >> update fails, claiming that a newer version is already installed. I >> removed the old version from my machine, but the install still fails. >> Any suggestions? > > Go to folder /Library/Receipts > > And remove here packages of Vserver > > Then you will be able install it. Aha. Thanks. -------------- Charles Yeomans From jules.jacquot at wanadoo.fr Thu Jul 21 18:42:00 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Thu Jul 21 11:40:47 2005 Subject: [V4RB] accents mac->win In-Reply-To: References: Message-ID: Le 20 juil. 05 ? 22:33, Ruslan Zasukhin a ?crit : > On 7/20/05 11:13 PM, "Jules Jacquot" wrote: > > >>> And am I right that you use French Windows ? >>> >> >> right >> >>> >>> May be this is reason why you have no problems, >>> >> >> ????? >> what difference between French Windows and English Windows otherwise >> the translation ? >> >> the heart of OS must be the same . NO ? :-(( >> > > Not sure. > > default fonts, encodings, locales, ... is it true ? so, i'm going to find an english windows ( if possible ) for to check this best 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 > > O? passeras-tu l'Eternit? ? From yeomans at desuetude.com Thu Jul 21 15:28:14 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Jul 21 14:28:27 2005 Subject: [V4Rb 2] VServer.RegisterDatabase problem Message-ID: I'm having a problem with VServer.RegisterDatabase. When I call it, the app hangs. It doesn't appear to be using an CPU, but I have to kill the process. I'm able to reproduce this with the example project 'Valentina Server Utility', using the latest release and fc versions of Valentina. Is anyone seeing this? -------------- Charles Yeomans From yeomans at desuetude.com Thu Jul 21 15:49:25 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Jul 21 14:49:34 2005 Subject: [V4Rb 2] VServer.RegisterDatabase problem In-Reply-To: References: Message-ID: On Jul 21, 2005, at 3:28 PM, Charles Yeomans wrote: > I'm having a problem with VServer.RegisterDatabase. When I call it, > the app hangs. It doesn't appear to be using an CPU, but I have to > kill the process. I'm able to reproduce this with the example project > 'Valentina Server Utility', using the latest release and fc versions > of Valentina. Is anyone seeing this? VStudio suffers the same problem, so I assume the cause is low-level. -------------- Charles Yeomans From sunshine at public.kherson.ua Fri Jul 22 09:59:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 22 02:00:02 2005 Subject: [V4Rb 2] VServer.RegisterDatabase problem In-Reply-To: Message-ID: On 7/21/05 10:28 PM, "Charles Yeomans" wrote: > I'm having a problem with VServer.RegisterDatabase. When I call it, the > app hangs. It doesn't appear to be using an CPU, but I have to kill > the process. I'm able to reproduce this with the example project > 'Valentina Server Utility', using the latest release and fc versions of > Valentina. Is anyone seeing this? We will check this Charles. So you try 2.0.4 release ? Or 2.0.5fc2 + fc3 -- Best regards, Ruslan Zasukhin VP Engineering 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 Fri Jul 22 10:22:30 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Fri Jul 22 09:22:43 2005 Subject: [V4Rb 2] VServer.RegisterDatabase problem In-Reply-To: References: Message-ID: <31a9f862bc2a23f797476f61abbd91a5@desuetude.com> On Jul 22, 2005, at 2:59 AM, Ruslan Zasukhin wrote: > On 7/21/05 10:28 PM, "Charles Yeomans" wrote: > >> I'm having a problem with VServer.RegisterDatabase. When I call it, >> the >> app hangs. It doesn't appear to be using an CPU, but I have to kill >> the process. I'm able to reproduce this with the example project >> 'Valentina Server Utility', using the latest release and fc versions >> of >> Valentina. Is anyone seeing this? > > We will check this Charles. > > So you try > > 2.0.4 release ? > > Or > > 2.0.5fc2 + fc3 Both. -------------- Charles Yeomans From heinrichruoff at gmail.com Fri Jul 22 21:54:27 2005 From: heinrichruoff at gmail.com (Heinrich Ruoff) Date: Fri Jul 22 14:54:36 2005 Subject: Valentina and Windows 98 Message-ID: Hello to all, there is still this annoying problem getting V4MD work under Windows 98. The Projector is only working on Igors Russian Windows 98 SE. So far no luck getting it to work under German or English Win98 SE. I put together a test package: http://www.tsunami-interactive.de/bje2005/publish_test.zip I keep getting "Microsoft Visual C++ Runtime Library - Runtime Error!" Could everybody who still has Windows 98 SE (no matter what language) pleaaaaase extract publish_test.zip, start Valentina_init.exe and report result here? You don't need to be a director developer to test ;-) Thanks in advance Heinrich From sunshine at public.kherson.ua Fri Jul 22 22:58:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 22 14:58:49 2005 Subject: Valentina and Windows 98 In-Reply-To: Message-ID: On 7/22/05 10:54 PM, "Heinrich Ruoff" wrote: > Hello to all, > > there is still this annoying problem getting V4MD work under Windows 98. Henry means V4MD2 > The Projector is only working on Igors Russian Windows 98 SE. > So far no luck getting it to work under German or English Win98 SE. > I put together a test package: > http://www.tsunami-interactive.de/bje2005/publish_test.zip > I keep getting "Microsoft Visual C++ Runtime Library - Runtime Error!" > Could everybody who still has Windows 98 SE (no matter what language) > pleaaaaase extract publish_test.zip, start Valentina_init.exe and > report result here? > You don't need to be a director developer to test ;-) Right. Just run exe file and tell us if it crashes or start normally. In your letter please specify version of windows you use. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From softil at onlinehome.de Fri Jul 22 23:16:01 2005 From: softil at onlinehome.de (SoftIl) Date: Fri Jul 22 16:16:12 2005 Subject: Valentina and Windows 98 References: Message-ID: <002701c58f02$926c6110$fe7aa8c0@ipsbasis> Hi, I've got tested it and I get also an runtime error: Error: Microsoft Visual C++ Runtime Library - Runtime Error!" OS-Version: MS Windows 98 SE Build: 4.10.2222.A Processor: AMD Athlon 1.0 GHz with 128MB RAM I hope it helps. Best regards, Carsten From jules.jacquot at wanadoo.fr Sat Jul 23 07:28:51 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sat Jul 23 00:27:29 2005 Subject: api way Message-ID: hi, ruslan how can i rewrite this querry in api way ? dg=app.mdatabase.SQLSelect("select RecID,* from Article where BArt like '"+ch+"%' and (JDepArt='C' and Ordart='"+Myord+"') order by BArt") thanks jules ------------------------------------------- R?ussir dans la vie, c'est ?chouer au bon endroit Jean-Baptiste de Foucauld From sunshine at public.kherson.ua Sat Jul 23 09:48:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 23 01:48:32 2005 Subject: api way In-Reply-To: Message-ID: On 7/23/05 8:28 AM, "Jules Jacquot" wrote: > hi, ruslan > > how can i rewrite this querry in api way ? > > dg=app.mdatabase.SQLSelect("select RecID,* from Article where BArt > like '"+ch+"%' and (JDepArt='C' and Ordart='"+Myord+"') order by BArt") bitset1 = tblAticle.field("BArt").FindLike( ch + "%" ) bitset2 = tblAticle.field("JDepArt").FindValue( "C" ) bitset3 = tblAticle.field("Ordart").FindValue( "Myord" ) bitset23 = bitset2.intersect(bitset3) // release memory ASAP bitset2 = nil bitset3 = nil bitset123 = bitset1.intersect( bitset23 ) // release memory ASAP bitset1 = nil bitset23 = nil arrasetRes = tblArticle.Sort( bitset123, "BArt" ) bitset132 = nil Now you have ArraySet of selected fields. In the API way you do not use separate fields from SELECT. You always use just a Table. // for each selected recID foundRecs = arraysetRes.Count loop I = 1 to foundRecs RecId = arraysetRes.GetItemAt( I ) tblArticle.RecID = RecID // these 2 lines can be as single ... Do something you need end loop -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 23 09:04:42 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sat Jul 23 02:03:29 2005 Subject: api way In-Reply-To: References: Message-ID: many thanks ruslan best jules Le 23 juil. 05 ? 08:48, Ruslan Zasukhin a ?crit : > On 7/23/05 8:28 AM, "Jules Jacquot" wrote: > > >> hi, ruslan >> >> how can i rewrite this querry in api way ? >> >> dg=app.mdatabase.SQLSelect("select RecID,* from Article where BArt >> like '"+ch+"%' and (JDepArt='C' and Ordart='"+Myord+"') order by >> BArt") >> > > > bitset1 = tblAticle.field("BArt").FindLike( ch + "%" ) > > bitset2 = tblAticle.field("JDepArt").FindValue( "C" ) > bitset3 = tblAticle.field("Ordart").FindValue( "Myord" ) > > bitset23 = bitset2.intersect(bitset3) > > // release memory ASAP > bitset2 = nil > bitset3 = nil > > bitset123 = bitset1.intersect( bitset23 ) > > // release memory ASAP > bitset1 = nil > bitset23 = nil > > arrasetRes = tblArticle.Sort( bitset123, "BArt" ) > > bitset132 = nil > > Now you have ArraySet of selected fields. > > In the API way you do not use separate fields from SELECT. > You always use just a Table. > > // for each selected recID > > foundRecs = arraysetRes.Count > > loop I = 1 to foundRecs > > RecId = arraysetRes.GetItemAt( I ) > > tblArticle.RecID = RecID // these 2 lines can be as single > > ... Do something you need > > end loop > > > -- > Best regards, > > Ruslan Zasukhin > VP 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 > > L'homme vulgaire accuse les autres Le sage n'accuse que lui-m?me BOUDHA l'?veill? From jules.jacquot at wanadoo.fr Sat Jul 23 10:07:07 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sat Jul 23 03:05:44 2005 Subject: api way In-Reply-To: References: Message-ID: <45BD1736-314E-48A9-9DFF-4DB572B73AE8@wanadoo.fr> Le 23 juil. 05 ? 08:48, Ruslan Zasukhin a ?crit : sorry ruslan, this line gets an exception bitset23 = bitset2.intersection(bitset3) even in your example field_find jules > > bitset23 = bitset2.intersect(bitset3) // > > // release memory ASAP > bitset2 = nil > bitset3 = nil > > bitset123 = bitset1.intersect( bitset23 ) > > // release memory ASAP > bitset1 = nil > bitset23 = nil > > arrasetRes = tblArticle.Sort( bitset123, "BArt" ) > > bitset132 = nil > > Now you have ArraySet of selected fields. > > In the API way you do not use separate fields from SELECT. > You always use just a Table. > > // for each selected recID > > foundRecs = arraysetRes.Count > > loop I = 1 to foundRecs > > RecId = arraysetRes.GetItemAt( I ) > > tblArticle.RecID = RecID // these 2 lines can be as single > > ... Do something you need > > end loop > > > -- > Best regards, > > Ruslan Zasukhin > VP 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 > > R?ussir dans la vie, c'est ?chouer au bon endroit Jean-Baptiste de Foucauld From sunshine at public.kherson.ua Sat Jul 23 13:38:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 23 05:53:04 2005 Subject: api way In-Reply-To: <45BD1736-314E-48A9-9DFF-4DB572B73AE8@wanadoo.fr> Message-ID: On 7/23/05 11:07 AM, "Jules Jacquot" wrote: > sorry ruslan, this line gets an exception > > bitset23 = bitset2.intersection(bitset3) > > even in your example field_find I think you need add checks if( bitset2 <> nil ) Also note, that if you make set1 AND set2 AND set3 AND set 4 ... But set2 is empty/nil then no sense continue. -- Best regards, Ruslan Zasukhin VP Engineering 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 Jul 23 18:11:33 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sat Jul 23 11:10:16 2005 Subject: api way In-Reply-To: References: Message-ID: <38A57750-C39A-4AE1-BD1B-23FF9B24D38D@wanadoo.fr> Le 23 juil. 05 ? 12:38, Ruslan Zasukhin a ?crit : > On 7/23/05 11:07 AM, "Jules Jacquot" wrote: > > >> sorry ruslan, this line gets an exception >> >> bitset23 = bitset2.intersection(bitset3) >> >> even in your example field_find >> > > I think you need add checks if( bitset2 <> nil ) > > Also note, that if you make > > set1 AND set2 AND set3 AND set 4 ... > > But set2 is empty/nil then no sense continue. of course, ruslan well, can you help me again with this querry dd=app.db.SqlSelect("select sum(UMontantHT),sum(TAnnulArticle) from Mandat where DBordereau='"+str(RecID)+"'") many thanks jules > O? passeras-tu l'Eternit? ? From sunshine at public.kherson.ua Sat Jul 23 19:18:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 23 11:19:04 2005 Subject: api way In-Reply-To: Message-ID: On 7/23/05 9:48 AM, "Ruslan Zasukhin" wrote: >> dg=app.mdatabase.SQLSelect("select RecID,* from Article where BArt >> like '"+ch+"%' and (JDepArt='C' and Ordart='"+Myord+"') order by BArt") What about next style? Foo() bitset1 = tblAticle.field("BArt").FindLike( ch + "%" ) if bitset1 = nil then return nil bitset12 = tblAticle.field("JDepArt").FindValue( "C", bitset1 ) if bitset12 = nil then return nil bitset123 = tblAticle.field("Ordart").FindValue( "Myord", bitset12 ) if bitset123 = nil then return nil return tblArticle.Sort( bitset123, "BArt" ) end -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From miescher at bizdata.com Sat Jul 23 18:34:31 2005 From: miescher at bizdata.com (John W. Miescher) Date: Sat Jul 23 11:34:38 2005 Subject: proximity search Message-ID: <000001c58fa4$6711de80$0201a8c0@JOHNHP> Thanks for a very useful tip from Juan Suros. I am now trying to reduce it all to a clever REGEX algorithm. However... Is there an easy way to isolate the searched for word directly from all found strings? In other terms I'm searching for the word 'apple' which appears inside numerous strings in the searched field (apple juice, apple pie, sandwhich with apples, raw apple etc.)? thanks for your help. rgs, john m. From jules.jacquot at wanadoo.fr Sat Jul 23 18:37:44 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Sat Jul 23 11:36:20 2005 Subject: api way In-Reply-To: References: Message-ID: Le 23 juil. 05 ? 18:18, Ruslan Zasukhin a ?crit : > On 7/23/05 9:48 AM, "Ruslan Zasukhin" > wrote: > > >>> dg=app.mdatabase.SQLSelect("select RecID,* from Article where BArt >>> like '"+ch+"%' and (JDepArt='C' and Ordart='"+Myord+"') order by >>> BArt") >>> > > What about next style? > > > Foo() > bitset1 = tblAticle.field("BArt").FindLike( ch + "%" ) > if bitset1 = nil then return nil > > bitset12 = tblAticle.field("JDepArt").FindValue( "C", bitset1 ) > if bitset12 = nil then return nil > > bitset123 = tblAticle.field("Ordart").FindValue( "Myord", > bitset12 ) > if bitset123 = nil then return nil > > return tblArticle.Sort( bitset123, "BArt" ) > end > maybe it's better i'll try it but question : are you sure that this line is correct ? return tblArticle.Sort( bitset123, "BArt" ) i'll write ' tblarticle.field("Bart") ' instead "BArt" solely best jules -------------------------------------------------- Il n'y a jamais d'autre difficult? dans le devoir que de le faire. ALAIN From yeomans at desuetude.com Sat Jul 23 12:43:00 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Jul 23 11:43:12 2005 Subject: proximity search In-Reply-To: <000001c58fa4$6711de80$0201a8c0@JOHNHP> References: <000001c58fa4$6711de80$0201a8c0@JOHNHP> Message-ID: On Jul 23, 2005, at 12:34 PM, John W. Miescher wrote: > Thanks for a very useful tip from Juan Suros. > I am now trying to reduce it all to a clever REGEX algorithm. > However... > > Is there an easy way to isolate the searched for word directly from all > found strings? In other terms I'm searching for the word 'apple' which > appears inside numerous strings in the searched field (apple juice, > apple pie, sandwhich with apples, raw apple etc.)? > if you index the field by words, then you can search for "apple" and get back fields like "apple crisp", "apple jack", "bad apple", "apple of my eye", "brie and apple sandwich", etc. -------------- Charles Yeomans From sunshine at public.kherson.ua Sat Jul 23 19:59:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 23 11:59:57 2005 Subject: api way In-Reply-To: Message-ID: On 7/23/05 7:37 PM, "Jules Jacquot" wrote: > are you sure that this line is correct ? Not sure. I show general "picture" > return tblArticle.Sort( bitset123, "BArt" ) > > i'll write ' tblarticle.field("Bart") ' instead "BArt" solely -- Best regards, Ruslan Zasukhin VP Engineering 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 Sun Jul 24 20:30:35 2005 From: j.peters at valentina-db.de (Jochen Peters) Date: Sun Jul 24 13:31:05 2005 Subject: [ANN] Valentina Studio Admin b10 uploaded Message-ID: Hi all, i have uploaded b10 Mac+Win to both sites: http://www.paradigmasoft.com and http://www.valentina-db.de This version contains all the latest kernel fixes. You can see list of other changes in Mantis. -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de From sunshine at public.kherson.ua Mon Jul 25 12:12:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jul 25 04:12:28 2005 Subject: NOT reproduced: [V4Rb 2] VServer.RegisterDatabase problem In-Reply-To: <31a9f862bc2a23f797476f61abbd91a5@desuetude.com> Message-ID: On 7/22/05 5:22 PM, "Charles Yeomans" wrote: > On Jul 22, 2005, at 2:59 AM, Ruslan Zasukhin wrote: > >> On 7/21/05 10:28 PM, "Charles Yeomans" wrote: >> >>> I'm having a problem with VServer.RegisterDatabase. When I call it, the app >>> hangs. It doesn't appear to be using an CPU, but I have to kill the >>> process. I'm able to reproduce this with the example project 'Valentina >>> Server Utility', using the latest release and fc versions of Valentina. Is >>> anyone seeing this? >> >> We will check this Charles. >> >> So you try >> >> 2.0.4 release ? >> >> Or >> >> 2.0.5fc2 + fc3 > > Both. Hi Charles, We have test against of VServer_Office (2.0.5, Protocol 2.0, Kernel 2.0.5fc2) and V4RB 2.0.5 fc3 Everything works fine. We have test on mac and windows. Using Examples/Advanced/ValentinaServerUtility We can register and unregister database. P.S. Btw, this is third party example, and it show dialog to choose database on disk. This is not very correct. It should just ask a name of database file to be able work remotely. -- Best regards, Ruslan Zasukhin VP Engineering 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 Mon Jul 25 16:17:29 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Mon Jul 25 16:17:48 2005 Subject: Valentina Digest, Vol 31, Issue 28 In-Reply-To: <20050723161029.9F3B435A5A4@edison.macserve.net> References: <20050723161029.9F3B435A5A4@edison.macserve.net> Message-ID: <2EC9DF9A-64C4-4C22-9601-8DEFFCA3FF79@everestkc.net> > Hmmm. I still cannot. And I have tried the following. I was able to > open master.vdb using client-server connection and add a record for my > database. After rebooting, I executed the following code. > > Valentina.InitClient > dim server as new VServer("localhost", "sa", "sa") > server.OpenSession > > dim names(-1) as String > dim paths(-1) as String > > For i as Integer = 1 to server.DatabaseCount > dim dbInfo as VDataBaseInfo = server.DatabaseInfo(i) > names.Append dbInfo.Name > paths.Append dbInfo.Path > Next > server.CloseSession > server = nil > > dim db as new VDatabase("localhost", "sa", "sa") > dim f as new FolderItem(names(1)) > db.Open(f) > > Upon attempting to execute the last line, my app crashes, and this > entry appears in the server log file. > > 16:04:16.266245 (41990144): (16) ERROR 0xFFFFFFD9: (null) > > > Any suggestions? > We will make new build tomorrow. > Then please test it. > Actually you should not manually edit masterdb. > Or do this very carefully. > If you have some simple test project send us. > Again, we have test with > a) Valentina Studio > b) example server utility > On mac and windows. No problems found. I can confirm that I have run into this exact same problem using the Server Utility Project. Mac OS X Tiger, 2.05fc3, RB2005r1. Bob K. From cmsheffield at gmail.com Mon Jul 25 15:45:01 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon Jul 25 16:45:12 2005 Subject: SQL question Message-ID: <697BD836-C39C-47A5-B52B-811BA91BC785@gmail.com> I hope you all don't mind me asking a basic SQL question, not necessarily directly related to Valentina. I have two tables linked in a many-to-many relationship via a third intersect table. I'm trying to figure out how to retrieve the data I need from the two tables. After creating the structure and running a query in MS Access, the SQL is something like: SELECT Roles.RoleDesc, Tasks.TaskDesc FROM (Roles INNER JOIN TaskRoles ON Roles.RecID = TaskRoles.RolePtr) INNER JOIN Tasks ON TaskRoles.TaskPtr = Tasks.RecID But this gives me a "602: Table Not Fount" error in Valentina. I'm sure it has something to do with the JOIN syntax, but I'm not really sure how to change that to make it work for Valentina. I'm hoping it's not going to require two separate queries. Can someone help? I'm not very good with joins. Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From sunshine at public.kherson.ua Tue Jul 26 09:27:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jul 26 01:27:32 2005 Subject: SQL question In-Reply-To: <697BD836-C39C-47A5-B52B-811BA91BC785@gmail.com> Message-ID: On 7/26/05 12:45 AM, "Chris Sheffield" wrote: Hi Chris, > I hope you all don't mind me asking a basic SQL question, not > necessarily directly related to Valentina. Of course > I have two tables linked in a many-to-many relationship via a third > intersect table. I'm trying to figure out how to retrieve the data I > need from the two tables. After creating the structure and running a > query in MS Access, the SQL is something like: > > > SELECT Roles.RoleDesc, Tasks.TaskDesc FROM (Roles INNER JOIN > TaskRoles ON Roles.RecID = TaskRoles.RolePtr) INNER JOIN Tasks ON > TaskRoles.TaskPtr = Tasks.RecID > > > But this gives me a "602: Table Not Fount" error in Valentina. Looks you use Valentina 1.x > I'm sure it has something to do with the JOIN syntax, but I'm not really > sure how to change that to make it work for Valentina. 1.x do not support such syntax. Must be SELECT Roles.RoleDesc, Tasks.TaskDesc FROM Roles, TaskRoles, Tasks WHERE Roles.RecID = TaskRoles.RolePtr AND TaskRoles.TaskPtr = Tasks.RecID > I'm hoping it's not going to require two separate queries. Can someone help? > I'm not very good with 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 yeomans at desuetude.com Tue Jul 26 13:31:17 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Jul 26 12:31:29 2005 Subject: VServer.ini questions Message-ID: <38953b7569f9b32c8f8324e2fb42c9d0@desuetude.com> I infer from the default .ini file for VServer that SystemCatalog can be a path relative to VServer.app; is this so? Also, VServer doesn't handle paths as well as I'd like. In particular, I'd think that one should be able to give the path to a directory as /Library/Foo/Databases/, including the trailing slash. But it looks like VServer assumes that there will be no trailing slash and always adds one. At least it's consistent :) -------------- Charles Yeomans From sunshine at public.kherson.ua Tue Jul 26 23:47:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jul 26 15:47:26 2005 Subject: VServer.ini questions In-Reply-To: <38953b7569f9b32c8f8324e2fb42c9d0@desuetude.com> Message-ID: On 7/26/05 8:31 PM, "Charles Yeomans" wrote: > I infer from the default .ini file for VServer that SystemCatalog can > be a path relative to VServer.app; is this so? You mean that now it is "databases" ? Igor ? > Also, VServer doesn't handle paths as well as I'd like. In particular, > I'd think that one should be able to give the path to a directory as > /Library/Foo/Databases/, including the trailing slash. But it looks > like VServer assumes that there will be no trailing slash and always > adds one. At least it's consistent :) Well, if you want fix please put this request into Mantis. btw, if you want keep db into SystemCatalog folder, Then you can RegisterDatabase using just its 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 giv at tlc.kherson.ua Wed Jul 27 00:01:26 2005 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Jul 26 16:01:40 2005 Subject: VServer.ini questions References: <38953b7569f9b32c8f8324e2fb42c9d0@desuetude.com> Message-ID: <001e01c59225$302dcb80$3b04a8c0@giv> Hi Charles, > I infer from the default .ini file for VServer that SystemCatalog can > be a path relative to VServer.app; is this so? Yes, it is. > Also, VServer doesn't handle paths as well as I'd like. In particular, > I'd think that one should be able to give the path to a directory as > /Library/Foo/Databases/, including the trailing slash. But it looks > like VServer assumes that there will be no trailing slash and always > adds one. At least it's consistent :) Strange, VServer checks for trailing backslash and must not add it if one is present. I need to check this. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From bkeeney at everestkc.net Tue Jul 26 16:19:51 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Tue Jul 26 16:20:06 2005 Subject: Going From Data File To Server In-Reply-To: <20050726173134.98B7835C718@edison.macserve.net> References: <20050726173134.98B7835C718@edison.macserve.net> Message-ID: <5A28A807-7EF2-4B6F-B976-95934B183510@everestkc.net> RB Tutorial #2 shows how to create a database on the server and to create the tables, links, etc. My existing database file uses subclasses of the VDatabase and VTables to define the database. Is it possible to create the database on the server the same way? If so, can you post a snippet of code that performs this duality? Thanks, Bob K. From yeomans at desuetude.com Tue Jul 26 17:31:50 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Jul 26 16:31:59 2005 Subject: VServer.ini questions In-Reply-To: References: Message-ID: <790c8e12c967ecae0cf7b1be8f587502@desuetude.com> On Jul 26, 2005, at 4:47 PM, Ruslan Zasukhin wrote: > On 7/26/05 8:31 PM, "Charles Yeomans" wrote: > >> I infer from the default .ini file for VServer that SystemCatalog can >> be a path relative to VServer.app; is this so? > > You mean that now it is "databases" ? > > Igor ? > >> Also, VServer doesn't handle paths as well as I'd like. In >> particular, >> I'd think that one should be able to give the path to a directory as >> /Library/Foo/Databases/, including the trailing slash. But it looks >> like VServer assumes that there will be no trailing slash and always >> adds one. At least it's consistent :) > > Well, if you want fix please put this request into Mantis. > Perhaps we should sort out just what constitutes a valid path, including absolute or relative, and I'll add a request to fix the documentation. > > > btw, if you want keep db into SystemCatalog folder, > Then you can RegisterDatabase using just its name. Of course I can't register a database at all right now :( -------------- Charles Yeomans From miescher at bizdata.com Tue Jul 26 23:49:31 2005 From: miescher at bizdata.com (John W. Miescher) Date: Tue Jul 26 16:49:41 2005 Subject: proximity search In-Reply-To: <20050726173134.C726F35C719@edison.macserve.net> Message-ID: <000001c5922b$e7e746b0$0201a8c0@JOHNHP> Charles Yeomans wrote: >if you index the field by words, then you can search for "apple" and >get back fields like "apple crisp", "apple jack", "bad apple", "apple >of my eye", "brie and apple sandwich", etc. Yes, but I want ONLY apples. In other words if someone types 'abble', I would like to ask 'do you mean apple or apply or able?', but since my DB only contains foodstuffs, I need to ask for 'apple' only. For the time being I'll concentrate on the first word only of each record, that will probably cover 85% of all occurrences of apple. Things get more complex in German and French, as the plural form is not just an added 's' or 'es', same problem as with 'mouse' and 'mice' (and men, for that matter ?-). rgs, john m. -----Urspr?ngliche Nachricht----- Von: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] Im Auftrag von valentina-request@lists.macserve.net Gesendet: mardi, 26. juillet 2005 19:32 An: valentina@lists.macserve.net Betreff: Valentina Digest, Vol 31, Issue 29 Send Valentina mailing list submissions to valentina@lists.macserve.net To subscribe or unsubscribe via the World Wide Web, visit http://lists.macserve.net/mailman/listinfo/valentina or, via email, send a message with subject or body 'help' to valentina-request@lists.macserve.net You can reach the person managing the list at valentina-owner@lists.macserve.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Valentina digest..." Today's Topics: 1. Re: api way (Ruslan Zasukhin) 2. proximity search (John W. Miescher) 3. Re: api way (Jules Jacquot) 4. Re: proximity search (Charles Yeomans) 5. Re: api way (Ruslan Zasukhin) 6. [ANN] Valentina Studio Admin b10 uploaded (Jochen Peters) 7. NOT reproduced: [V4Rb 2] VServer.RegisterDatabase problem (Ruslan Zasukhin) 8. Re: Valentina Digest, Vol 31, Issue 28 (Bob Keeney) 9. SQL question (Chris Sheffield) 10. Re: SQL question (Ruslan Zasukhin) 11. VServer.ini questions (Charles Yeomans) ---------------------------------------------------------------------- Message: 1 Date: Sat, 23 Jul 2005 19:18:54 +0300 From: Ruslan Zasukhin Subject: Re: api way To: "valentina@lists.macserve.net" Message-ID: Content-Type: text/plain; charset="US-ASCII" On 7/23/05 9:48 AM, "Ruslan Zasukhin" wrote: >> dg=app.mdatabase.SQLSelect("select RecID,* from Article where BArt >> like '"+ch+"%' and (JDepArt='C' and Ordart='"+Myord+"') order by >> BArt") What about next style? Foo() bitset1 = tblAticle.field("BArt").FindLike( ch + "%" ) if bitset1 = nil then return nil bitset12 = tblAticle.field("JDepArt").FindValue( "C", bitset1 ) if bitset12 = nil then return nil bitset123 = tblAticle.field("Ordart").FindValue( "Myord", bitset12 ) if bitset123 = nil then return nil return tblArticle.Sort( bitset123, "BArt" ) end -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ------------------------------ Message: 2 Date: Sat, 23 Jul 2005 18:34:31 +0200 From: "John W. Miescher" Subject: proximity search To: Message-ID: <000001c58fa4$6711de80$0201a8c0@JOHNHP> Content-Type: text/plain; charset="us-ascii" Thanks for a very useful tip from Juan Suros. I am now trying to reduce it all to a clever REGEX algorithm. However... Is there an easy way to isolate the searched for word directly from all found strings? In other terms I'm searching for the word 'apple' which appears inside numerous strings in the searched field (apple juice, apple pie, sandwhich with apples, raw apple etc.)? thanks for your help. rgs, john m. ------------------------------ Message: 3 Date: Sat, 23 Jul 2005 18:37:44 +0200 From: Jules Jacquot Subject: Re: api way To: Valentina Developers Message-ID: Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Le 23 juil. 05 ? 18:18, Ruslan Zasukhin a ?crit : > On 7/23/05 9:48 AM, "Ruslan Zasukhin" > wrote: > > >>> dg=app.mdatabase.SQLSelect("select RecID,* from Article where BArt >>> like '"+ch+"%' and (JDepArt='C' and Ordart='"+Myord+"') order by >>> BArt") >>> > > What about next style? > > > Foo() > bitset1 = tblAticle.field("BArt").FindLike( ch + "%" ) > if bitset1 = nil then return nil > > bitset12 = tblAticle.field("JDepArt").FindValue( "C", bitset1 ) > if bitset12 = nil then return nil > > bitset123 = tblAticle.field("Ordart").FindValue( "Myord", > bitset12 ) > if bitset123 = nil then return nil > > return tblArticle.Sort( bitset123, "BArt" ) > end > maybe it's better i'll try it but question : are you sure that this line is correct ? return tblArticle.Sort( bitset123, "BArt" ) i'll write ' tblarticle.field("Bart") ' instead "BArt" solely best jules -------------------------------------------------- Il n'y a jamais d'autre difficult? dans le devoir que de le faire. ALAIN ------------------------------ Message: 4 Date: Sat, 23 Jul 2005 12:43:00 -0400 From: Charles Yeomans Subject: Re: proximity search To: Valentina Developers Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed On Jul 23, 2005, at 12:34 PM, John W. Miescher wrote: > Thanks for a very useful tip from Juan Suros. > I am now trying to reduce it all to a clever REGEX algorithm. > However... > > Is there an easy way to isolate the searched for word directly from all > found strings? In other terms I'm searching for the word 'apple' which > appears inside numerous strings in the searched field (apple juice, > apple pie, sandwhich with apples, raw apple etc.)? > if you index the field by words, then you can search for "apple" and get back fields like "apple crisp", "apple jack", "bad apple", "apple of my eye", "brie and apple sandwich", etc. -------------- Charles Yeomans ------------------------------ Message: 5 Date: Sat, 23 Jul 2005 19:59:45 +0300 From: Ruslan Zasukhin Subject: Re: api way To: "valentina@lists.macserve.net" Message-ID: Content-Type: text/plain; charset="US-ASCII" On 7/23/05 7:37 PM, "Jules Jacquot" wrote: > are you sure that this line is correct ? Not sure. I show general "picture" > return tblArticle.Sort( bitset123, "BArt" ) > > i'll write ' tblarticle.field("Bart") ' instead "BArt" solely -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ------------------------------ Message: 6 Date: Sun, 24 Jul 2005 20:30:35 +0200 From: Jochen Peters Subject: [ANN] Valentina Studio Admin b10 uploaded To: valentina-studio@lists.macserve.net Cc: Valentina Beta Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed Hi all, i have uploaded b10 Mac+Win to both sites: http://www.paradigmasoft.com and http://www.valentina-db.de This version contains all the latest kernel fixes. You can see list of other changes in Mantis. -- Best regards, Jochen Peters PIIT GmbH ------------------------------------ http://www.valentina-db.de ------------------------------ Message: 7 Date: Mon, 25 Jul 2005 12:12:03 +0300 From: Ruslan Zasukhin Subject: NOT reproduced: [V4Rb 2] VServer.RegisterDatabase problem To: "valentina@lists.macserve.net" , "valentina-beta@lists.macserve.net" Message-ID: Content-Type: text/plain; charset="US-ASCII" On 7/22/05 5:22 PM, "Charles Yeomans" wrote: > On Jul 22, 2005, at 2:59 AM, Ruslan Zasukhin wrote: > >> On 7/21/05 10:28 PM, "Charles Yeomans" wrote: >> >>> I'm having a problem with VServer.RegisterDatabase. When I call it, the app >>> hangs. It doesn't appear to be using an CPU, but I have to kill the >>> process. I'm able to reproduce this with the example project 'Valentina >>> Server Utility', using the latest release and fc versions of Valentina. Is >>> anyone seeing this? >> >> We will check this Charles. >> >> So you try >> >> 2.0.4 release ? >> >> Or >> >> 2.0.5fc2 + fc3 > > Both. Hi Charles, We have test against of VServer_Office (2.0.5, Protocol 2.0, Kernel 2.0.5fc2) and V4RB 2.0.5 fc3 Everything works fine. We have test on mac and windows. Using Examples/Advanced/ValentinaServerUtility We can register and unregister database. P.S. Btw, this is third party example, and it show dialog to choose database on disk. This is not very correct. It should just ask a name of database file to be able work remotely. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ------------------------------ Message: 8 Date: Mon, 25 Jul 2005 16:17:29 -0500 From: Bob Keeney Subject: Re: Valentina Digest, Vol 31, Issue 28 To: valentina@lists.macserve.net Message-ID: <2EC9DF9A-64C4-4C22-9601-8DEFFCA3FF79@everestkc.net> Content-Type: text/plain; format=flowed; delsp=yes; charset=US-ASCII > Hmmm. I still cannot. And I have tried the following. I was able to > open master.vdb using client-server connection and add a record for my > database. After rebooting, I executed the following code. > > Valentina.InitClient > dim server as new VServer("localhost", "sa", "sa") > server.OpenSession > > dim names(-1) as String > dim paths(-1) as String > > For i as Integer = 1 to server.DatabaseCount > dim dbInfo as VDataBaseInfo = server.DatabaseInfo(i) > names.Append dbInfo.Name > paths.Append dbInfo.Path > Next > server.CloseSession > server = nil > > dim db as new VDatabase("localhost", "sa", "sa") > dim f as new FolderItem(names(1)) > db.Open(f) > > Upon attempting to execute the last line, my app crashes, and this > entry appears in the server log file. > > 16:04:16.266245 (41990144): (16) ERROR 0xFFFFFFD9: (null) > > > Any suggestions? > We will make new build tomorrow. > Then please test it. > Actually you should not manually edit masterdb. > Or do this very carefully. > If you have some simple test project send us. > Again, we have test with > a) Valentina Studio > b) example server utility > On mac and windows. No problems found. I can confirm that I have run into this exact same problem using the Server Utility Project. Mac OS X Tiger, 2.05fc3, RB2005r1. Bob K. ------------------------------ Message: 9 Date: Mon, 25 Jul 2005 15:45:01 -0600 From: Chris Sheffield Subject: SQL question To: "valentina@lists.macserve.net Developers" Message-ID: <697BD836-C39C-47A5-B52B-811BA91BC785@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I hope you all don't mind me asking a basic SQL question, not necessarily directly related to Valentina. I have two tables linked in a many-to-many relationship via a third intersect table. I'm trying to figure out how to retrieve the data I need from the two tables. After creating the structure and running a query in MS Access, the SQL is something like: SELECT Roles.RoleDesc, Tasks.TaskDesc FROM (Roles INNER JOIN TaskRoles ON Roles.RecID = TaskRoles.RolePtr) INNER JOIN Tasks ON TaskRoles.TaskPtr = Tasks.RecID But this gives me a "602: Table Not Fount" error in Valentina. I'm sure it has something to do with the JOIN syntax, but I'm not really sure how to change that to make it work for Valentina. I'm hoping it's not going to require two separate queries. Can someone help? I'm not very good with joins. Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ ------------------------------ Message: 10 Date: Tue, 26 Jul 2005 09:27:21 +0300 From: Ruslan Zasukhin Subject: Re: SQL question To: "valentina@lists.macserve.net" Message-ID: Content-Type: text/plain; charset="US-ASCII" On 7/26/05 12:45 AM, "Chris Sheffield" wrote: Hi Chris, > I hope you all don't mind me asking a basic SQL question, not > necessarily directly related to Valentina. Of course > I have two tables linked in a many-to-many relationship via a third > intersect table. I'm trying to figure out how to retrieve the data I > need from the two tables. After creating the structure and running a > query in MS Access, the SQL is something like: > > > SELECT Roles.RoleDesc, Tasks.TaskDesc FROM (Roles INNER JOIN > TaskRoles ON Roles.RecID = TaskRoles.RolePtr) INNER JOIN Tasks ON > TaskRoles.TaskPtr = Tasks.RecID > > > But this gives me a "602: Table Not Fount" error in Valentina. Looks you use Valentina 1.x > I'm sure it has something to do with the JOIN syntax, but I'm not really > sure how to change that to make it work for Valentina. 1.x do not support such syntax. Must be SELECT Roles.RoleDesc, Tasks.TaskDesc FROM Roles, TaskRoles, Tasks WHERE Roles.RecID = TaskRoles.RolePtr AND TaskRoles.TaskPtr = Tasks.RecID > I'm hoping it's not going to require two separate queries. Can someone help? > I'm not very good with 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] ------------------------------ Message: 11 Date: Tue, 26 Jul 2005 13:31:17 -0400 From: Charles Yeomans Subject: VServer.ini questions To: Valentina Developers Message-ID: <38953b7569f9b32c8f8324e2fb42c9d0@desuetude.com> Content-Type: text/plain; charset=US-ASCII; format=flowed I infer from the default .ini file for VServer that SystemCatalog can be a path relative to VServer.app; is this so? Also, VServer doesn't handle paths as well as I'd like. In particular, I'd think that one should be able to give the path to a directory as /Library/Foo/Databases/, including the trailing slash. But it looks like VServer assumes that there will be no trailing slash and always adds one. At least it's consistent :) -------------- Charles Yeomans ------------------------------ _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina End of Valentina Digest, Vol 31, Issue 29 ***************************************** From sunshine at public.kherson.ua Wed Jul 27 00:56:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jul 26 16:57:43 2005 Subject: Going From Data File To Server In-Reply-To: <5A28A807-7EF2-4B6F-B976-95934B183510@everestkc.net> Message-ID: On 7/27/05 12:19 AM, "Bob Keeney" wrote: Hi Bob, > RB Tutorial #2 shows how to create a database on the server and to > create the tables, links, etc. > > My existing database file uses subclasses of the VDatabase and > VTables to define the database. Is it possible to create the > database on the server the same way? yes Although note, 1 days ago Igor have fix some bug in ClassesWay + VServer I hope that tomorrow we will upload 2.0.5 fc5 > If so, can you post a snippet of code that performs this duality? Just look into ANY example from folder API_Way. Pay attention that they have 2 constructors. One for local db, and one for remote. To make examples wokring with Vserver you need change gClient flag to be true. Again, keep in mind, that practically EACH example can work in 2 modes: local and client/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 jules.jacquot at wanadoo.fr Wed Jul 27 10:09:37 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Wed Jul 27 03:08:23 2005 Subject: canvas properties Message-ID: <4E515D1D-9310-4EED-A4ED-BFF1FFAF270C@wanadoo.fr> hi, ruslan how to use the properties of a canvas in Valentina ? mousedown gets always an exception or blackouts with a querry thanks jules ----------------------------- Ne vous mettez pas en avant, mais ne restez pas en arri?re From sunshine at public.kherson.ua Wed Jul 27 11:14:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 27 03:14:36 2005 Subject: canvas properties In-Reply-To: <4E515D1D-9310-4EED-A4ED-BFF1FFAF270C@wanadoo.fr> Message-ID: On 7/27/05 11:09 AM, "Jules Jacquot" wrote: Hi Jules, > hi, ruslan > > how to use the properties of a canvas in Valentina ? > > mousedown gets always an exception or blackouts with a querry Sorry, what is canvas and what you mean ? -- Best regards, Ruslan Zasukhin VP Engineering 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 Wed Jul 27 12:39:03 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Wed Jul 27 05:37:58 2005 Subject: canvas properties In-Reply-To: References: Message-ID: on the left side of RB there is a window's control where in it you can find on the third line three buttons control from left to right : Placard control, Imagewell control and canvas control canvas control like all controls has properties. It is dragged in my window's IDE. whith a querry at the mousedown.events.action of canvas control my ide or app quit without messages. may be it is my mistake. But i don't see where best jules Le 27 juil. 05 ? 10:14, Ruslan Zasukhin a ?crit : > On 7/27/05 11:09 AM, "Jules Jacquot" wrote: > > Hi Jules, > > >> hi, ruslan >> >> how to use the properties of a canvas in Valentina ? >> >> mousedown gets always an exception or blackouts with a querry >> > > Sorry, what is canvas and what you mean ? > > -- > Best regards, > > Ruslan Zasukhin > VP 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 > > une longue route commence par un petit pas. proverbe chinois From ayu8 at cdc.gov Wed Jul 27 07:07:03 2005 From: ayu8 at cdc.gov (Sims, John) Date: Wed Jul 27 06:07:20 2005 Subject: canvas properties Message-ID: > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Jules Jacquot > Sent: Wednesday, July 27, 2005 6:39 AM > To: Valentina Developers > Subject: Re: canvas properties > > on the left side of RB there is a window's control where in > it you can find on the third line three buttons control > > from left to right : Placard control, Imagewell control and > canvas control > > canvas control like all controls has properties. It is > dragged in my window's IDE. > > whith a querry at the mousedown.events.action of canvas > control my ide or app quit without messages. > > may be it is my mistake. But i don't see where > > best > > jules > Le 27 juil. 05 ? 10:14, Ruslan Zasukhin a ?crit : > > > On 7/27/05 11:09 AM, "Jules Jacquot" > wrote: > > > > Hi Jules, > > > > > >> hi, ruslan > >> > >> how to use the properties of a canvas in Valentina ? > >> > >> mousedown gets always an exception or blackouts with a querry > >> > > > > Sorry, what is canvas and what you mean ? > > > > -- > > Best regards, > > > > Ruslan Zasukhin > > VP Engineering and New Technology > > Paradigma Software, Inc Hi Jules, The canvas control is an RB specific control and REALbasic is not Ruslan's primary language. Perhaps if you explain what you are trying to do, one of the RB developers on the list can help you out. -John From cmsheffield at gmail.com Wed Jul 27 08:27:04 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Wed Jul 27 09:27:18 2005 Subject: SQL question In-Reply-To: References: Message-ID: Thanks, Ruslan. That worked. I just wasn't sure of the proper syntax. Chris On Jul 26, 2005, at 12:27 AM, Ruslan Zasukhin wrote: > On 7/26/05 12:45 AM, "Chris Sheffield" wrote: > > Hi Chris, > > >> I hope you all don't mind me asking a basic SQL question, not >> necessarily directly related to Valentina. >> > > Of course > > >> I have two tables linked in a many-to-many relationship via a third >> intersect table. I'm trying to figure out how to retrieve the data I >> need from the two tables. After creating the structure and running a >> query in MS Access, the SQL is something like: >> >> >> SELECT Roles.RoleDesc, Tasks.TaskDesc FROM (Roles INNER JOIN >> TaskRoles ON Roles.RecID = TaskRoles.RolePtr) INNER JOIN Tasks ON >> TaskRoles.TaskPtr = Tasks.RecID >> >> >> But this gives me a "602: Table Not Fount" error in Valentina. >> > > Looks you use Valentina 1.x > > >> I'm sure it has something to do with the JOIN syntax, but I'm not >> really >> sure how to change that to make it work for Valentina. >> > > 1.x do not support such syntax. > Must be > > SELECT Roles.RoleDesc, Tasks.TaskDesc > FROM Roles, TaskRoles, Tasks > WHERE > Roles.RecID = TaskRoles.RolePtr AND > TaskRoles.TaskPtr = Tasks.RecID > > > > >> I'm hoping it's not going to require two separate queries. Can >> someone help? >> I'm not very good with 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] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From bkeeney at everestkc.net Wed Jul 27 10:15:25 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Wed Jul 27 10:15:38 2005 Subject: Abnormal Quit Issues In-Reply-To: <20050726215745.986EB35C95D@edison.macserve.net> References: <20050726215745.986EB35C95D@edison.macserve.net> Message-ID: We've been experiencing a fair amount of data loss when we quit our application abnormally. Normally I wouldn't be concerned too much about it since we're in development phase and all sorts of bad things happen. However, yesterday, one of the beta testers opened a screen up that simply viewed some records. He hadn't added any new data, deleted anything and then simply force-quit the application to see what would happen. I've verified that there is no record locking going on when viewing the data. He then opened the database again and could visibly see some data not there. What can we do to minimize this risk? Has anyone else see this behavior? RB 2005 using 2.05fc5 on Tiger. Thanks, Bob Keeney From jda at his.com Wed Jul 27 11:25:58 2005 From: jda at his.com (jda) Date: Wed Jul 27 10:26:10 2005 Subject: Abnormal Quit Issues In-Reply-To: References: <20050726215745.986EB35C95D@edison.macserve.net> Message-ID: >We've been experiencing a fair amount of data loss when we quit our >application abnormally. Normally I wouldn't be concerned too much >about it since we're in development phase and all sorts of bad >things happen. > >However, yesterday, one of the beta testers opened a screen up that >simply viewed some records. He hadn't added any new data, deleted >anything and then simply force-quit the application to see what >would happen. I've verified that there is no record locking going >on when viewing the data. He then opened the database again and >could visibly see some data not there. > >What can we do to minimize this risk? Has anyone else see this behavior? > >RB 2005 using 2.05fc5 on Tiger. > I have found more than once that when I abort in the RB debugger the db is trashed, event though it was not in the middle of a read/write. In fact, I have one that was trashed in this way that actually reported as OK with diagnose, but crashes my app when I try to open it (no log). Jon From sunshine at public.kherson.ua Wed Jul 27 18:54:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jul 27 10:54:51 2005 Subject: Abnormal Quit Issues In-Reply-To: Message-ID: On 7/27/05 6:15 PM, "Bob Keeney" wrote: > We've been experiencing a fair amount of data loss when we quit our > application abnormally. Normally I wouldn't be concerned too much > about it since we're in development phase and all sorts of bad things > happen. > > However, yesterday, one of the beta testers opened a screen up that > simply viewed some records. He hadn't added any new data, deleted > anything and then simply force-quit the application to see what would > happen. I've verified that there is no record locking going on when > viewing the data. He then opened the database again and could > visibly see some data not there. > > What can we do to minimize this risk? Has anyone else see this > behavior? Is this 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 jules.jacquot at wanadoo.fr Wed Jul 27 18:01:52 2005 From: jules.jacquot at wanadoo.fr (Jules Jacquot) Date: Wed Jul 27 11:00:30 2005 Subject: canvas properties In-Reply-To: References: Message-ID: Le 27 juil. 05 ? 13:07, Sims, John a ?crit : >> -----Original Message----- >> From: valentina-bounces@lists.macserve.net >> [mailto:valentina-bounces@lists.macserve.net] On Behalf Of >> Jules Jacquot >> Sent: Wednesday, July 27, 2005 6:39 AM >> To: Valentina Developers >> Subject: Re: canvas properties >> >> on the left side of RB there is a window's control where in >> it you can find on the third line three buttons control >> >> from left to right : Placard control, Imagewell control and >> canvas control >> >> canvas control like all controls has properties. It is >> dragged in my window's IDE. >> >> whith a querry at the mousedown.events.action of canvas >> control my ide or app quit without messages. >> >> may be it is my mistake. But i don't see where >> >> best >> >> jules >> Le 27 juil. 05 ? 10:14, Ruslan Zasukhin a ?crit : >> >> >>> On 7/27/05 11:09 AM, "Jules Jacquot" >>> >> wrote: >> >>> >>> Hi Jules, >>> >>> >>> >>>> hi, ruslan >>>> >>>> how to use the properties of a canvas in Valentina ? >>>> >>>> mousedown gets always an exception or blackouts with a querry >>>> >>>> >>> >>> Sorry, what is canvas and what you mean ? >>> >>> -- >>> Best regards, >>> >>> Ruslan Zasukhin >>> VP Engineering and New Technology >>> Paradigma Software, Inc >>> > > Hi Jules, > > The canvas control is an RB specific control and REALbasic is not > Ruslan's primary language. Perhaps if you explain what you are > trying to do, one of the RB developers on the list can help you out. > you're right i have found why and it's not Valentina's mistake, but mine my apologies ruslan jules > -John > _______________________________________________ > 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 bkeeney at everestkc.net Wed Jul 27 16:03:42 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Wed Jul 27 16:04:44 2005 Subject: Abnormal Quit Issues In-Reply-To: <20050726215745.986EB35C95D@edison.macserve.net> References: <20050726215745.986EB35C95D@edison.macserve.net> Message-ID: <949D66E8-688C-410F-A3C2-AAD4AAECF9CF@everestkc.net> > We've been experiencing a fair amount of data loss when we quit our > application abnormally. Normally I wouldn't be concerned too much > about it since we're in development phase and all sorts of bad things > happen. > > However, yesterday, one of the beta testers opened a screen up that > simply viewed some records. He hadn't added any new data, deleted > anything and then simply force-quit the application to see what would > happen. I've verified that there is no record locking going on when > viewing the data. He then opened the database again and could > visibly see some data not there. > > What can we do to minimize this risk? Has anyone else see this > behavior? > Is this reproducible ? Yes. When I do a diagnose I get the following error: 62668: Internal Error. Do you want me to send in my db for you to play with? Bob Keeney From sunshine at public.kherson.ua Thu Jul 28 08:39:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 28 00:40:03 2005 Subject: Abnormal Quit Issues In-Reply-To: <949D66E8-688C-410F-A3C2-AAD4AAECF9CF@everestkc.net> Message-ID: On 7/28/05 12:03 AM, "Bob Keeney" wrote: Hi Bob, >> Is this reproducible ? > > Yes. When I do a diagnose I get the following error: > > 62668: Internal Error. > > Do you want me to send in my db for you to play with? Actually I mean if it is possible easy reproduce corruption itself if do Force Quite... Yes send me db also please. -- Best regards, Ruslan Zasukhin VP Engineering 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 Thu Jul 28 07:34:18 2005 From: jda at his.com (jda) Date: Thu Jul 28 06:34:33 2005 Subject: Can't modify CFMSupport In-Reply-To: References: Message-ID: After installing the last fc, today I see that I can't mofify the CFMSupport folder (it is Read Only). I tried repairing permissions -> no good. I can't change permissions manually, because the popup menu that allows it is grayed out (yes, I did provide my administrator password, but they remain disabled). Since I can't remove CFMSupport I can't run my app with an older VComponents folder, which I need to do to test a current application. Any thoughts on why this should have happened? Anyone else see this? Jon From sunshine at public.kherson.ua Thu Jul 28 17:37:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jul 28 09:37:28 2005 Subject: Can't modify CFMSupport In-Reply-To: Message-ID: On 7/28/05 2:34 PM, "jda" wrote: > After installing the last fc, today I see that I can't mofify the > CFMSupport folder (it is Read Only). I tried repairing permissions -> > no good. I can't change permissions manually, because the popup menu > that allows it is grayed out (yes, I did provide my administrator > password, but they remain disabled). > > Since I can't remove CFMSupport I can't run my app with an older > VComponents folder, which I need to do to test a current application. > > Any thoughts on why this should have happened? Anyone else see this? Try GetInfo Now check who is user and group. You need have user to be 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 jda at his.com Thu Jul 28 10:40:28 2005 From: jda at his.com (jda) Date: Thu Jul 28 09:40:36 2005 Subject: Can't modify CFMSupport In-Reply-To: References: Message-ID: > > Any thoughts on why this should have happened? Anyone else see this? > >Try > > GetInfo > >Now check who is user and group. > >You need have user to be YOU. > Hm, thanks. I think I tried that (another machine, so I can't check right now). It was set to sysadmin. I reset it to me -- still disabled options. Very odd. I'll play with it some more later, thanks. Jon From yeomans at desuetude.com Thu Jul 28 10:51:56 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Jul 28 09:52:04 2005 Subject: Can't modify CFMSupport In-Reply-To: References: Message-ID: On Jul 28, 2005, at 10:40 AM, jda wrote: >> > Any thoughts on why this should have happened? Anyone else see >> this? >> >> Try >> >> GetInfo >> >> Now check who is user and group. >> >> You need have user to be YOU. >> > > Hm, thanks. I think I tried that (another machine, so I can't check > right now). It was set to sysadmin. I reset it to me -- still disabled > options. Very odd. I'll play with it some more later, thanks. You could also open a terminal session and change permissions the old-fashioned way. -------------- Charles Yeomans From jda at his.com Thu Jul 28 10:54:37 2005 From: jda at his.com (jda) Date: Thu Jul 28 09:54:46 2005 Subject: Can't modify CFMSupport In-Reply-To: References: Message-ID: >>Hm, thanks. I think I tried that (another machine, so I can't check >>right now). It was set to sysadmin. I reset it to me -- still >>disabled options. Very odd. I'll play with it some more later, >>thanks. > >You could also open a terminal session and change permissions the >old-fashioned way. > I could if I were old-fashioned (and knew the first thing about Unix). Jon From yeomans at desuetude.com Thu Jul 28 11:22:44 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Thu Jul 28 10:23:00 2005 Subject: Can't modify CFMSupport In-Reply-To: References: Message-ID: <4ae0535c52e036cd542cf54e6df89f4c@desuetude.com> On Jul 28, 2005, at 10:54 AM, jda wrote: >>> Hm, thanks. I think I tried that (another machine, so I can't check >>> right now). It was set to sysadmin. I reset it to me -- still >>> disabled options. Very odd. I'll play with it some more later, >>> thanks. >> >> You could also open a terminal session and change permissions the >> old-fashioned way. >> > > I could if I were old-fashioned (and knew the first thing about Unix). > Ah. The command you want is chmod. If you, in your logged-in persona, are not the owner of the file, then you would need to use sudo, which allows you to execute a single command as a privileged user. Here is the command to make the directory world-writeable. chmod go+rw /Library/CFMSupport Start Terminal.app and enter the command at the prompt. Don't do too much of this, lest you find yourself renaming all of your computers after Tolkien characters. -------------- Charles Yeomans From macsforever2000 at goodeast.com Thu Jul 28 09:24:53 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Thu Jul 28 10:25:11 2005 Subject: Can't modify CFMSupport In-Reply-To: References: Message-ID: <2196D19F-AFD6-4DD1-9A81-0D5AA6D246E3@goodeast.com> On Jul 28, 2005, at 8:54 AM, jda wrote: >>> Hm, thanks. I think I tried that (another machine, so I can't >>> check right now). It was set to sysadmin. I reset it to me -- >>> still disabled options. Very odd. I'll play with it some more >>> later, thanks. >>> >> >> You could also open a terminal session and change permissions the >> old-fashioned way. >> >> > > I could if I were old-fashioned (and knew the first thing about Unix). Launch Terminal and paste the following incantation: sudo chmod u+w /Library/CFMSupport/ Then type your admin password when asked. Best regards, Frank Schima From jda at his.com Thu Jul 28 11:28:23 2005 From: jda at his.com (jda) Date: Thu Jul 28 10:28:35 2005 Subject: Can't modify CFMSupport In-Reply-To: <4ae0535c52e036cd542cf54e6df89f4c@desuetude.com> References: <4ae0535c52e036cd542cf54e6df89f4c@desuetude.com> Message-ID: >Ah. The command you want is chmod. If you, in your logged-in >persona, are not the owner of the file, then you would need to use >sudo, which allows you to execute a single command as a privileged >user. Here is the command to make the directory world-writeable. > >chmod go+rw /Library/CFMSupport > >Start Terminal.app and enter the command at the prompt. Don't do >too much of this, lest you find yourself renaming all of your >computers after Tolkien characters. > Thanks to you and Frank for this valuable and arcane information. I feel the urge to wear sandals and order some pizza... Jon From bkeeney at everestkc.net Fri Jul 29 14:06:04 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Fri Jul 29 14:06:21 2005 Subject: Gripes In-Reply-To: <20050507112650.2C2D0316DA4@edison.macserve.net> References: <20050507112650.2C2D0316DA4@edison.macserve.net> Message-ID: I am very disappointed in the development of Valentina 2.0 and it's seriously starting to interfere with my project. We are basically waiting on several items to get fixed before we can release the product and recoup some of my clients investment. Here's my hit list in order of priority: 1. Data integrity. I can force quit my application at any point in the process and experience a data loss. To me, this is unacceptable because stuff happens at inappropriate times. If we were doing editing or read and writes I would expect to experience some data loss but all I'm doing is viewing data with no record locks. As a developer I have to trust that my database isn't going to destroy itself. I don't get warm fuzzies when I think about 2. Encryption. On May 7th of this year Ruslan promised encryption sometime in May. It's now the end of July. My client cannot release his product until encryption is in place due to the sensitive nature of the data. 3. Class way of creating databases on the Server. This is a new bug but I wanted it on the list. From ktekinay at mactechnologies.com Fri Jul 29 15:23:33 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Fri Jul 29 14:23:45 2005 Subject: Gripes In-Reply-To: Message-ID: On 7/29/05 3:06 PM, Bob Keeney at bkeeney@everestkc.net wrote: > 1. Data integrity. FYI, v.2.0.4 resolved my particular data integrity problem and I can now force-quit my app without losing data (of course, I am also flushing the db after every write, but I have that luxury). Are you saying that you are still experiencing a problem in this area with 2.0.4? __________________________________________________________________________ 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 lists at mangomultimedia.com Fri Jul 29 13:50:52 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri Jul 29 15:51:05 2005 Subject: Method field returning incorrect value Message-ID: <2DE875B8-6656-432E-B9BC-182774010B45@mangomultimedia.com> Hi, On a Macintosh G5 using Revolution and the Valentina 1.11 XCMD (also tested on a G4) I am creating a new database using SQL commands. I then open the database in my program on the mac and everything looks fine. If I export the database and open it in my program using windows there is one query that returns incorrect data for only 1 of the records. There is one method field in one record that returns a value of 22 rather than 1. 22 is a value in another record returned in the query. But if I close my application and launch it again then the data returned is correct and everything works fine. The method field is supposed to return the value of another field in the table which is of the same type and definition. This is to get around the inability to do SELECT myField as MyFieldSomething in SQL with Valentina 1. I tried opening the db in viSQL on Windows, closing it, and then opening my program but still saw the same result. Then I tried opening the db in viSQL, executing the query I use in the program to fetch the records, closing the db and then opening it again in my program and the db worked correctly the first time. Apparently running the query causes everything to work correctly. The odd thing is that the data returned in viSQL is correct. So then I decided to run that same query in my export code. After creating the new Valentina db I ran the SELECT query and then closed the DB. I moved the database to Windows and everything worked as expected. I tried runnning REINDEX, COMPACT and DEFRAGMENT after exporting but that didn't seem to help. The method field that returns the wrong value for the one record is a ULong indexed and doesn't accept nulls. Has anyone else ever seen anything similar to this? -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From sunshine at public.kherson.ua Fri Jul 29 23:59:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 29 15:59:30 2005 Subject: Gripes In-Reply-To: Message-ID: On 7/29/05 10:06 PM, "Bob Keeney" wrote: Hi Bob, First of all. If there is no YOUR reports in the Mantis Bug Tracker then you cannot expect fixes. Put your reports into Mantis. Describe steps to reproduce. Send us projects to reproduce. If you looks into Mantis, you will see that we fix REPRODUCED bugs very fast. According your list.............. Point 3. FIXED. Right now I upload fc6 build of V4RB and Vserver mac. please check Class way. Must work now. Point 2. This is primary task of Igor now. 2.0.6 will be release that implement encryption. I estimate in 4-8 days this task. So end of next week. Point 1. send us your project. send us steps HOW TO REPRODUCE. is this possible ? If you cannot send us project then try to reproduce this using e.g. One of our examples... Look, I think you have see on both lists, that last days at least 3 developers say that during weeks they do not see problems with Valentina. Your lost of datas can be related A) to some rare types that you use but other people not. B) to mistakes in your code. This is why we need YOUR project to see where is problem in YOUR case. You see? > Here's my hit list in order of priority: > > 1. Data integrity. I can force quit my application at any point in > the process and experience a data loss. To me, this is unacceptable > because stuff happens at inappropriate times. If we were doing > editing or read and writes I would expect to experience some data > loss but all I'm doing is viewing data with no record locks. As a > developer I have to trust that my database isn't going to destroy > itself. I don't get warm fuzzies when I think about > > 2. Encryption. On May 7th of this year Ruslan promised encryption > sometime in May. It's now the end of July. My client cannot release > his product until encryption is in place due to the sensitive nature > of the data. > > 3. Class way of creating databases on the Server. This is a new bug > but I wanted it on the 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 bkeeney at everestkc.net Fri Jul 29 16:01:35 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Fri Jul 29 16:01:51 2005 Subject: Gripes In-Reply-To: <20050729205125.A492635EAF3@edison.macserve.net> References: <20050729205125.A492635EAF3@edison.macserve.net> Message-ID: On Jul 29, 2005, at 3:51 PM, valentina-request@lists.macserve.net wrote: > On 7/29/05 3:06 PM, Bob Keeney at bkeeney@everestkc.net wrote: > > >> 1. Data integrity. >> > > FYI, v.2.0.4 resolved my particular data integrity problem and I > can now > force-quit my app without losing data (of course, I am also > flushing the db > after every write, but I have that luxury). Are you saying that you > are > still experiencing a problem in this area with 2.0.4? Yes. I can open a known good database and force quit and lose data. If I attempt to 'diagnose' the corrupted database I get hard crashes. Bob K. From sunshine at public.kherson.ua Sat Jul 30 00:03:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jul 29 16:04:02 2005 Subject: Gripes In-Reply-To: Message-ID: On 7/30/05 12:01 AM, "Bob Keeney" wrote: >> still experiencing a problem in this area with 2.0.4? > > Yes. I can open a known good database and force quit and lose data. > If I attempt to 'diagnose' the corrupted database I get hard crashes. Please TEACH ME do 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 mjew at icnc.com Fri Jul 29 19:38:57 2005 From: mjew at icnc.com (Matthew Jew) Date: Fri Jul 29 21:39:08 2005 Subject: Valentina C++ ADK, Mac ProjectBuilder version for gcc 4.0 Message-ID: <08C01EBB-6C1A-4962-9C66-C14E5044BA7E@icnc.com> Hello, I have been happily using the Valentina C++ ADK for Mac ProjectBuilder. The VSDK.framework is built with gcc 3.3 (I think. Well, it only links properly when my project also uses gcc 3.3). Anyway, now that ProjectBuilder is gone and XCode is up to version 2.1, I was wondering if there is a version of the C++ ADK compiled for gcc 4.0. I am not asking for the C++ ADK for the new Valentina 2.0, just a new compilation of the old Valentina 1.11. I don't need any new features immediately, just a version of the framework that I can link to projects that use gcc 4.0. Would that be hard to create? - Matthew From sunshine at public.kherson.ua Sat Jul 30 11:39:32 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 30 03:39:40 2005 Subject: Valentina C++ ADK, Mac ProjectBuilder version for gcc 4.0 In-Reply-To: <08C01EBB-6C1A-4962-9C66-C14E5044BA7E@icnc.com> Message-ID: On 7/30/05 5:38 AM, "Matthew Jew" wrote: Hi Mathew, Hi Lynn, > I have been happily using the Valentina C++ ADK for Mac ProjectBuilder. > The VSDK.framework is built with gcc 3.3 (I think. Well, it only > links properly when my project also uses gcc 3.3). > > Anyway, now that ProjectBuilder is gone and XCode is up to version 2.1, > I was wondering if there is a version of the C++ ADK compiled for gcc > 4.0. Not yet. > I am not asking for the C++ ADK for the new Valentina 2.0, > just a new compilation of the old Valentina 1.11. I understand. > I don't need any new features immediately, just a version of the > framework that I can link to projects that use gcc 4.0. > > Would that be hard to create? Lynn have some support plan for this. Lynn, it seems we need provide this in urgent 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 valentina at panamind.com Sat Jul 30 10:19:03 2005 From: valentina at panamind.com (Gary Edge) Date: Sat Jul 30 09:19:20 2005 Subject: Which version for Cocoa? Message-ID: <58C859C4-7E64-4044-B19F-9025A6EF347C@panamind.com> I'm starting to develop Cocoa apps and would like to continue using Valentina. What ADK would I use? Gary Edge From sunshine at public.kherson.ua Sat Jul 30 18:08:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 30 10:08:14 2005 Subject: Which version for Cocoa? In-Reply-To: <58C859C4-7E64-4044-B19F-9025A6EF347C@panamind.com> Message-ID: On 7/30/05 5:19 PM, "Gary Edge" wrote: Hi Gary, > I'm starting to develop Cocoa apps and would like to continue using > Valentina. What ADK would I use? We have not yet solution for Cocoa. For Cocoa must be 1) C++ SDK 2) or even special Valentina Objective-C wrapper. We have start this work to port Valentina to xCode 2.1. Actually there is hope next week we will get it working. I already can compile without errors all our files. We need only link now 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 valentina at panamind.com Sat Jul 30 11:16:41 2005 From: valentina at panamind.com (Gary Edge) Date: Sat Jul 30 10:16:52 2005 Subject: Which version for Cocoa? In-Reply-To: References: Message-ID: On Jul 30, 2005, at 11:08 AM, Ruslan Zasukhin wrote: > On 7/30/05 5:19 PM, "Gary Edge" wrote: > > > We have not yet solution for Cocoa. > > For Cocoa must be > > 1) C++ SDK > > 2) or even special Valentina Objective-C wrapper. > > We have start this work to port Valentina to xCode 2.1. > > Actually there is hope next week we will get it working. > I already can compile without errors all our files. > We need only link now dlls. > Hi Ruslan, I'm just now getting familiar with Cocoa so I'm in no hurry. Is there an approximate time frame though for the port? Should I just hold off for the port instead of trying to apply the two suggestions. Gary From sunshine at public.kherson.ua Sat Jul 30 18:40:24 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 30 10:40:29 2005 Subject: Which version for Cocoa? In-Reply-To: Message-ID: On 7/30/05 6:16 PM, "Gary Edge" wrote: >> For Cocoa must be >> >> 1) C++ SDK >> >> 2) or even special Valentina Objective-C wrapper. >> >> We have start this work to port Valentina to xCode 2.1. >> >> Actually there is hope next week we will get it working. >> I already can compile without errors all our files. >> We need only link now dlls. >> > > Hi Ruslan, > > I'm just now getting familiar with Cocoa so I'm in no hurry. Is there > an approximate time frame though for the port? Should I just hold off > for the port instead of trying to apply the two suggestions. Depend on your task and project I think. Can you describe them? And that 2 suggestions? -- Best regards, Ruslan Zasukhin VP Engineering 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 Sat Jul 30 12:29:30 2005 From: yeomans at desuetude.com (Charles Yeomans) Date: Sat Jul 30 11:29:36 2005 Subject: Which version for Cocoa? In-Reply-To: References: Message-ID: <3afcb663b95ccdecca308068502218dc@desuetude.com> On Jul 30, 2005, at 11:08 AM, Ruslan Zasukhin wrote: > On 7/30/05 5:19 PM, "Gary Edge" wrote: > > Hi Gary, > >> I'm starting to develop Cocoa apps and would like to continue using >> Valentina. What ADK would I use? > > We have not yet solution for Cocoa. > > For Cocoa must be > > 1) C++ SDK > > 2) or even special Valentina Objective-C wrapper. As I understand it, Objective-C is a strict superset of C, thus any valid C code should work in an Objective-C app. Is there some other reason that one could not use the C SDK until you guys consider writing an Objective-C library -- which would probably be a good idea given Apple's apparent push to move more MacOS development in that direction. -------------- Charles Yeomans From sunshine at public.kherson.ua Sat Jul 30 19:50:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 30 11:51:07 2005 Subject: Which version for Cocoa? In-Reply-To: <3afcb663b95ccdecca308068502218dc@desuetude.com> Message-ID: On 7/30/05 7:29 PM, "Charles Yeomans" wrote: >> For Cocoa must be >> >> 1) C++ SDK >> >> 2) or even special Valentina Objective-C wrapper. > > As I understand it, Objective-C is a strict superset of C, thus any > valid C code should work in an Objective-C app. Is there some other > reason that one could not use the C SDK until you guys consider writing > an Objective-C library -- which would probably be a good idea given > Apple's apparent push to move more MacOS development in that direction. C SDK of 1.x version? Yes this can work of course. Also Cocoa developers have use C++ SDK, but not problem that GCC version was changed. We decide with Lynn how to solve this problem. Again, Cocoa developers can use in theory A) C B) C++ C) Objective-C And it looks we will need do integration of Valentina into CoreData. It seems I have read apple texts that this is possible. On the other hand, all such "Vendor-specific" DB API as RBDB, RebDB, CoreData Limit you to fantasy of that vendors. Usually they can do much less then Valentina itself can do. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ga at ed4u.com Sat Jul 30 12:42:11 2005 From: ga at ed4u.com (Gordon Apple) Date: Sat Jul 30 12:42:01 2005 Subject: Which version for Cocoa? In-Reply-To: Message-ID: > And it looks we will need do integration of Valentina into CoreData. > It seems I have read apple texts that this is possible. Ruslan, When I was at WWDC, I was assured by Apple Computer people that Core Data was setup to use other database backends in addition to the SQLite that they were including. BTW, I briefly talked to two people from Ukraine who were attending. Unfortunately, I did not get their names. I am going to Sydney, Australia for a couple of weeks at the end of the (uh, northern hemisphere) summer. Any Valentina developers in Sydney? Gordon -- G. Gordon Apple, PhD Ed4U 722 S. Broadway #30 Redondo Beach, CA 90277 310-316-3406 800-579-Ed4U (3348) 310-766-3900 (cell) 425-732-0300 (fax) ga@ed4u.com www.ed4u.com Little Rock: *** Updated March 2005 *** 118 Chelle Ln Little Rock, AR 72223 501-868-7637 800-579-Ed4U (3348) 310-766-3900 (cell) From valentina at panamind.com Sat Jul 30 13:55:34 2005 From: valentina at panamind.com (Gary Edge) Date: Sat Jul 30 12:56:18 2005 Subject: Which version for Cocoa? In-Reply-To: References: Message-ID: <9A0B0AC1-29E7-4861-A6C5-E648555BAB2D@panamind.com> On Jul 30, 2005, at 11:40 AM, Ruslan Zasukhin wrote: > > Depend on your task and project I think. > > Can you describe them? And that 2 suggestions? > Initially, a couple of information management apps I'll convert from RealBasic and V4RB 1.x. I could probably use XML as a stop gap measure. I'm learning to appreciate Objective-C more every day even though C skills are very rusty. I don't have the time or energy (and currently know-how) to work with the C sdk. Gary From sunshine at public.kherson.ua Sat Jul 30 22:00:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jul 30 14:00:53 2005 Subject: Which version for Cocoa? In-Reply-To: Message-ID: On 7/30/05 8:42 PM, "Gordon Apple" wrote: Hi Gordon, > Ruslan, > When I was at WWDC, I was assured by Apple Computer people that Core Data > was setup to use other database backends in addition to the SQLite that they > were including. Good. > BTW, I briefly talked to two people from Ukraine who were attending. > Unfortunately, I did not get their names. > > I am going to Sydney, Australia for a couple of weeks at the end of the > (uh, northern hemisphere) summer. Any Valentina developers in Sydney? I will write you off 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 sunshine at public.kherson.ua Sun Jul 31 09:09:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 31 01:09:19 2005 Subject: Demo license files for Vserver updated on site for Augest. Message-ID: -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jul 31 18:55:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jul 31 10:56:05 2005 Subject: Specification of Encryption for Valentina 2.0 Message-ID: /*************************************************************************** ***/ Specification (point of user) * User can encrypt - the whole database. - one or few tables. - one or few fields. * User cannot encrypt links. Valentina 2.0 have Binary Links. But since they keep only values of RecIDs there is no sense to encrypt them. * Hierarchy of objects VDatabase -> VTable -> VField inherit settings of encryption parameters. In other words, if user have encrypt database, then each its table also is encrypted using the same password. And each field of a table also is encrypted by that password. * User cannot assign password to an object if its supervisor already is encrypted. We do not want do this to avoid ambigiouty with passwords. In case user try to assign password to a such object, then user get ERROR "This object already is encrypted" * Note that the main job do VField. VDatabase and VTable objects play just a role of password-keeper. So VField encrypt data stored in column of Table, also indexes of the field is encrypted. * If user forget password then big problems. Because nobody can decrypt that database. * Each of classes VDatabase, VTable and VField implements interface I_Encryptable. * Important to note that you should never try read data that are encrypted until you specify correct password. So first of all you must check that you do not get error WRONG_PASSWORD, and only after this try to read data. * What happens if user try read data without password? Hard to say... He can see garbage, or may be NULLs or may be empty strings. In ideal system must not crash on access to such non-encrypted data, although it seems it is hard to implement this. /*************************************************************************** ***/ * Interface I_Encryptable offer to user the next operations: // Properties: // ----------------------------------------------------------------- IsEncrypted : bool DESCRIPTION: Returns TRUE if this object is encrypted, never mind how -- directly or by supervisor. // ----------------------------------------------------------------- RequirePassword : bool DESCRIPTION: Returns TRUE if this object is root of encryption, and user must specify password to get access to data of this object and all its sub-objects. // Group of methods to encrypt/decrypt: // ----------------------------------------------------------------- Encrypt( inPassword: string ) : void DESCRIPTION: Encrypt object using the specified password. ERRORS: - "Object already is encrypted." - "Object already is encrypted by supervisor." First error happens if user try encrypt already encrypted db for example. Second error when user try encrypt e.g. Table but its daatabse already is encrypted. // ----------------------------------------------------------------- Decrypt( inPassword: string ) : void DESCRIPTION: Removes encryption for an object. ERRORS: - "Object is not encrypted." - "Object is encrypted by supervisor." // ----------------------------------------------------------------- ChangePassword( inOldPassword : string, inNewPassword : string ) : void DESCRIPTION: Changes password of encryption for an object. ERRORS: - "Object is not encrypted." - "Object is encrypted by supervisor." - "Wrong password." // Group of methods to get access to encrypted objects // ----------------------------------------------------------------- UsePassword( inPassword : string ) : void DESCRIPTION: Informs object by the password that it must use to decrypt data when read them from database files. In case user specifies a wrong password the error will be thrown with the delay in one second to prevent hacking. ERRORS: - "Object is not encrypted." - "Wrong password." Errors are returned only if you apply this to Table or Field, i.e. database already is opened. When you apply this to a closed database then error cannot be checked, so error can be faired on db.Open(). /*************************************************************************** ***/ Technical notes of implementation. * On default we use BlowFish algorithm. This algorithm require that data are aligned to 8 bytes. Taking into account that Cache pages are 4Kb, we will use this amount of data as atomic set to encrypt/decrypt. * On disk all files of encrypted objects are ALWAYS encrypted. * We decrypt page when it is loaded into the Cache. Decryption must happens before ByteSwap algorithms start work: Cache.Read() -> Decrypt() -> ByteSwap() * When page must go to disk we again encrypt it. To encrypt page, we need to use helper buffer of the same size, because it is no good encrypt it directly in cache, we still can use it. Only optimisation possible if we exactly know that this page is removed from cache right now. * interface I_Encryptable is visiable only on C++ level. All rest plugins do not have it, just classes VDatabase, VTable, VField have set of Encryption Methods. /*************************************************************************** ***/ Examples of usage: 1.1 Encryption of database (empty of with records): db = new VDatabase() db.Open() db.Encrypt( "password" ) db.Close() 1.2 Opening of encrypted database: 1.2.1 We know that databse is encrypted OpenEncrypted( db ) { db.UsePassword( "password" ) -- never produce error try db.Open() -- can throw error NOT_ENCRYPTED, WRONG_PASSW catch err } 1.2.2 We do not know if this databse is encrypted. OpenUnknown( db ) { db = new VDatabase() try db.Open() -- can throw error WRONG_PASSW catch err OpenAsEncrypted() end } OpenAsEncrypted() { // Ask user for a password. E.g. VStudio may need this. passw = ... // then open db using that password: OpenEncrypted( passw ); } 1.3 Decryption of existed encrypted database db.Decrypt( "passw" ) 1.4. Change of password: db.ChangePassword( "passw", "passw2" ) // ---------------------------------------------------- 2.1 Database is not encrypted and we want encrypt one table db.Open() -- open without password. db.Table( "tblEncrypted" ).Encrypt( "passwtbl" ) -- can throw error. 2.2 Database is not encrypted but one of tables is. db.Open() -- open without password. db.Table( "tblEncrypted" ).UsePassword( "passwtbl" ) -- can throw error. 2.3 Remove encryption from single table: db.Table( "tblEncrypted" ).Decrypt( "passwtbl" ) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From lfredricks at proactive-intl.com Sun Jul 31 09:52:01 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sun Jul 31 11:52:22 2005 Subject: Specification of Encryption for Valentina 2.0 In-Reply-To: Message-ID: <20050731165203.E37A917D204@spatula.dreamhost.com> Hi Ruslan, I have a question: Can you think of a possibility in which someone would need to be granted limited access to part of a database, such as a single table in a database, or a few fields? In such a case, how would this be handled? Also, we do need some level of error handling if someone doesnt have a password -- because it certainly happens in real life ;-) Shouldnt there be a default method and then (in the more powerful C++ SDK) a way for this to be modified or replaced by custom code? I can see how it may be desirable, for example, to pass back nothing (but the attempt is logged someplace). Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.com -Software Destinations http://www.proactive-intl.com/blogs/ _____ From: valentina-beta-bounces@lists.macserve.net [mailto:valentina-beta-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Sunday, July 31, 2005 8:56 AM To: valentina@lists.macserve.net; valentina-beta@lists.macserve.net; Igor Gomon; Jochen Peters Subject: Specification of Encryption for Valentina 2.0 /*************************************************************************** ***/ Specification (point of user) * User can encrypt - the whole database. - one or few tables. - one or few fields. * User cannot encrypt links. Valentina 2.0 have Binary Links. But since they keep only values of RecIDs there is no sense to encrypt them. * Hierarchy of objects VDatabase -> VTable -> VField inherit settings of encryption parameters. In other words, if user have encrypt database, then each its table also is encrypted using the same password. And each field of a table also is encrypted by that password. * User cannot assign password to an object if its supervisor already is encrypted. We do not want do this to avoid ambigiouty with passwords. In case user try to assign password to a such object, then user get ERROR "This object already is encrypted" * Note that the main job do VField. VDatabase and VTable objects play just a role of password-keeper. So VField encrypt data stored in column of Table, also indexes of the field is encrypted. * If user forget password then big problems. Because nobody can decrypt that database. * Each of classes VDatabase, VTable and VField implements interface I_Encryptable. * Important to note that you should never try read data that are encrypted until you specify correct password. So first of all you must check that you do not get error WRONG_PASSWORD, and only after this try to read data. * What happens if user try read data without password? Hard to say... He can see garbage, or may be NULLs or may be empty strings. In ideal system must not crash on access to such non-encrypted data, although it seems it is hard to implement this. /*************************************************************************** ***/ * Interface I_Encryptable offer to user the next operations: // Properties: // ----------------------------------------------------------------- IsEncrypted : bool DESCRIPTION: Returns TRUE if this object is encrypted, never mind how -- directly or by supervisor. // ----------------------------------------------------------------- RequirePassword : bool DESCRIPTION: Returns TRUE if this object is root of encryption, and user must specify password to get access to data of this object and all its sub-objects. // Group of methods to encrypt/decrypt: // ----------------------------------------------------------------- Encrypt( inPassword: string ) : void DESCRIPTION: Encrypt object using the specified password. ERRORS: - "Object already is encrypted." - "Object already is encrypted by supervisor." First error happens if user try encrypt already encrypted db for example. Second error when user try encrypt e.g. Table but its daatabse already is encrypted. // ----------------------------------------------------------------- Decrypt( inPassword: string ) : void DESCRIPTION: Removes encryption for an object. ERRORS: - "Object is not encrypted." - "Object is encrypted by supervisor." // ----------------------------------------------------------------- ChangePassword( inOldPassword : string, inNewPassword : string ) : void DESCRIPTION: Changes password of encryption for an object. ERRORS: - "Object is not encrypted." - "Object is encrypted by supervisor." - "Wrong password." // Group of methods to get access to encrypted objects // ----------------------------------------------------------------- UsePassword( inPassword : string ) : void DESCRIPTION: Informs object by the password that it must use to decrypt data when read them from database files. In case user specifies a wrong password the error will be thrown with the delay in one second to prevent hacking. ERRORS: - "Object is not encrypted." - "Wrong password." Errors are returned only if you apply this to Table or Field, i.e. database already is opened. When you apply this to a closed database then error cannot be checked, so error can be faired on db.Open(). /*************************************************************************** ***/ Technical notes of implementation. * On default we use BlowFish algorithm. This algorithm require that data are aligned to 8 bytes. Taking into account that Cache pages are 4Kb, we will use this amount of data as atomic set to encrypt/decrypt. * On disk all files of encrypted objects are ALWAYS encrypted. * We decrypt page when it is loaded into the Cache. Decryption must happens before ByteSwap algorithms start work: Cache.Read() -> Decrypt() -> ByteSwap() * When page must go to disk we again encrypt it. To encrypt page, we need to use helper buffer of the same size, because it is no good encrypt it directly in cache, we still can use it. Only optimisation possible if we exactly know that this page is removed from cache right now. * interface I_Encryptable is visiable only on C++ level. All rest plugins do not have it, just classes VDatabase, VTable, VField have set of Encryption Methods. /*************************************************************************** ***/ Examples of usage: 1.1 Encryption of database (empty of with records): db = new VDatabase() db.Open() db.Encrypt( "password" ) db.Close() 1.2 Opening of encrypted database: 1.2.1 We know that databse is encrypted OpenEncrypted( db ) { db.UsePassword( "password" ) -- never produce error try db.Open() -- can throw error NOT_ENCRYPTED, WRONG_PASSW catch err } 1.2.2 We do not know if this databse is encrypted. OpenUnknown( db ) { db = new VDatabase() try db.Open() -- can throw error WRONG_PASSW catch err OpenAsEncrypted() end } OpenAsEncrypted() { // Ask user for a password. E.g. VStudio may need this. passw = ... // then open db using that password: OpenEncrypted( passw ); } 1.3 Decryption of existed encrypted database db.Decrypt( "passw" ) 1.4. Change of password: db.ChangePassword( "passw", "passw2" ) // ---------------------------------------------------- 2.1 Database is not encrypted and we want encrypt one table db.Open() -- open without password. db.Table( "tblEncrypted" ).Encrypt( "passwtbl" ) -- can throw error. 2.2 Database is not encrypted but one of tables is. db.Open() -- open without password. db.Table( "tblEncrypted" ).UsePassword( "passwtbl" ) -- can throw error. 2.3 Remove encryption from single table: db.Table( "tblEncrypted" ).Decrypt( "passwtbl" ) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed]