From sunshine at public.kherson.ua Mon Aug 2 20:12:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 2 12:12:32 2004 Subject: Data Import In-Reply-To: <25384465.1091464061861.JavaMail.root@ernie.psp.pas.earthlink.net> Message-ID: On 8/2/04 7:27 PM, "Anna Kritselis" wrote: > Also - I'd like to go with the 4 files - structure, index, data, blob. I will > encrypt the structure, and then encrypt certain fields within certain tables. ok > I'm thinking that I will stay with the traditional relational approach to keep > my SQL commands standard - most of my queries involve 3-4 tables. ok > I'm not sure I fully understand the ObjectPtr stuff yet - I'm sure I'll learn > as I go along. ok > When I have a required text field, like first and last name, should I > use string(25) and string (50)? I recommend use in both cases VarChar(504) > The documentation says to use either string > or varchar. If I have a text field that may or may not have data, should I > use VarChar? I also have a table with comment fields that could have two > sentences or 4-5K woth of text - I'm thinking I use text data type there. Yes, use Text[256] or may be Text[512] > Any thoughts/suggestions would be greatly appreciated - -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Aug 2 22:21:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 2 14:22:05 2004 Subject: concatenation In-Reply-To: <895F7E05-E4B8-11D8-B038-000393CFE6FA@opus1musiclibrary.com> Message-ID: On 8/2/04 10:17 PM, "Evan Cooney" wrote: > So a BaseObject is a new temporary field that I can run SELECT > statements against? The temp field will be destroyed once the SELECT > statement is completed? No, it is permanent field in table. If you need change formula for different queries Then you can change formula of method before do SQL query > The examples in the doc were a little vague. Do you have one that is > specific to my situation? V4RB ? You need read Valentina Kernel, Valentina SQL contains list of functions. I think there Is example "Methods" And many methods are in project _TEST -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Aug 3 07:08:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 2 23:09:04 2004 Subject: To create a database for RuntimeRev (Win) In-Reply-To: Message-ID: On 8/3/04 3:02 AM, "bil-ke@online.no" wrote: > Name: Eduard Kempinger > > Question regarding: vxcmd > > Hello - dear sir/madame! > > In Runtime Revolution for Windows I create a new MySQL databse like this: > > revExecuteSQL 1,"CREATE DATABASE\ > MyDataBase" > -- next commando > put revOpenDatabase NewDB_ID,"MyDatabase"\ > into NewDB_ID > > or I use mysql enviroment. > > How do I create an empty database in Valentina for RR (inside or outside > RR)??? Hi Aduard, Note that VXCMD support 2 APIS Valentina native (described in VXCMDRefeence) RevDB -- provided by Runtime Rev. You can create db using VXCMD API Database_New I believe you must see this in our examples, and in examples of RevDB for Valentina. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From keatk at comcast.net Tue Aug 3 11:04:32 2004 From: keatk at comcast.net (Karen) Date: Tue Aug 3 10:04:40 2004 Subject: [V4RB] OPEN/Close trick? Message-ID: <6CBF294D-E55E-11D8-A5E2-0003934C3066@comcast.net> I can't seem to get it to work. If the DB is in use on the First try I get error -61. on all subsequent retries Get Error 524 even after the other client closes the db. I must be missing something My attempt to open routine in the VDataBase subclass is : Function TryToOpen() As Integer Dim Num, err as integer ' Put in so I could see easily them in the debugger isOpen = Super.Open(Location) err = me.ErrNumber If IsOpen AND err = 0 Then ' see if can write to it Num = me.SqlExecute("UPDATE Dummy SET F = 2 WHERE RecID = 1") err = me.ErrNumber if err <> 0 Then me.Close isOpen = False End if End if Return err End Function What am I doing wrong? This is on OSX BTW . Should this trick work on OS9, and Win2K? I need it to! -Karen From delong at redcort.com Tue Aug 3 09:22:00 2004 From: delong at redcort.com (Keith DeLong) Date: Tue Aug 3 11:22:33 2004 Subject: [V4RB] OPEN/Close trick? In-Reply-To: <6CBF294D-E55E-11D8-A5E2-0003934C3066@comcast.net> Message-ID: Hi Karen, The 'trick' stopped being really useful with the release of Apple's OS X. In OS 9 and Windows, attempting to open an already open file throws an otherwise harmless OS error that you can check. This was the basis of the trick. It allowed you to open, use and close the data file with multiple users. All users simply do open attempts in a loop until the file is available. With the advent of OS X (with its Unix underpinnings), a file will happily open multiple times with no error thrown by the OS. However, as soon as a any one of the multiple users of the file attempts to write to the file, you get a nasty -61 system error that basically ruins all open connections until all of the applications are quit and restarted. I tried to work around this for months with no real success. Your options are (1) to set up an external lock file (there's a reference to a useful Apple tech note in the Valentina archives) that flags the data file as available or not. (2) To use Vserver, or (3) to design a network protocol where all clients send data reads and writes via sockets to a single instance of V4RB running as a server app. I was never able to get a satisfactory lock file solution after several months of work. It works well, just not 100% of the time. Since VServer wasn't near ready last summer when I needed a solution, I wrote the custom protocol. While it works very well, it proved to be a tremendous amount of work for me. But in the end I have complete control and a proven V4RB 1.1 platform that meets my current needs. So I guess it was worth the effort. But given Ruslan's progress with Vserver and the 2.0 platform, I think moving to Vserver will be your best bet today. HTH, Keith DeLong > I can't seem to get it to work. > If the DB is in use on the First try I get error -61. on all subsequent > retries Get Error 524 even after the other client closes the db. > > I must be missing something > > My attempt to open routine in the VDataBase subclass is : > > Function TryToOpen() As Integer > Dim Num, err as integer ' Put in so I could see easily them in the > debugger > > isOpen = Super.Open(Location) > > err = me.ErrNumber > If IsOpen AND err = 0 Then ' see if can write to it > > Num = me.SqlExecute("UPDATE Dummy SET F = 2 WHERE RecID = 1") > err = me.ErrNumber > if err <> 0 Then > me.Close > isOpen = False > End if > > End if > > Return err > End Function > > What am I doing wrong? > > This is on OSX BTW . Should this trick work on OS9, and Win2K? I need > it to! > > -Karen > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From keatk at comcast.net Tue Aug 3 12:42:10 2004 From: keatk at comcast.net (Karen) Date: Tue Aug 3 11:42:19 2004 Subject: [V4RB] OPEN/Close trick? In-Reply-To: References: Message-ID: <107F35BB-E56C-11D8-A5E2-0003934C3066@comcast.net> On Aug 3, 2004, at 12:22 PM, Keith DeLong wrote: > But given Ruslan's progress with Vserver and the 2.0 platform, I think > moving to Vserver will be your best bet today. > But that is $ and I won't make any money off of this... it's for internal use at work for a project with *no* funding (i'm doing it on my own initiative - I bought v4rb on my own a couple of years ago too for hobby use) so that is not an option... What if I use a Win2K or OS9 server for the file with an OSX clients? Do you need to worry about file locks then from an OSX client? I assume also that it will work fine if uou only use Win2K and OS9 machines. I use OSX at home but at work (where this will be used ) The enviornment is Win32/OS9 migrating to all to all Win32 with a year or two. - karen From delong at redcort.com Tue Aug 3 10:02:10 2004 From: delong at redcort.com (Keith DeLong) Date: Tue Aug 3 12:02:42 2004 Subject: [V4RB] OPEN/Close trick? In-Reply-To: <107F35BB-E56C-11D8-A5E2-0003934C3066@comcast.net> Message-ID: Karen, >> But given Ruslan's progress with Vserver and the 2.0 platform, I think >> moving to Vserver will be your best bet today. >> > But that is $ and I won't make any money off of this... it's for > internal use at work for a project with *no* funding (i'm doing it on > my own initiative - I bought v4rb on my own a couple of years ago too > for hobby use) so that is not an option... Ahh, but it's a wonderful investment in the future of V4RB ;-). > What if I use a Win2K or OS9 server for the file with an OSX clients? > Do you need to worry about file locks then from an OSX client? I assume > also that it will work fine if uou only use Win2K and OS9 machines. I think you're okay as long as you do not host the data on X -- but test this to make sure. My memory is getting a little vague as it's now been nearly a year since I've last fought this battle. > I use OSX at home but at work (where this will be used ) The > enviornment is Win32/OS9 migrating to all to all Win32 with a year or > two. As long as OS X is out of the picture, you're good to go with the open/close trick. Keith From sunshine at public.kherson.ua Tue Aug 3 20:55:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 3 12:56:16 2004 Subject: [V4RB] OPEN/Close trick? In-Reply-To: <20040803162627.28EA3384933@lists.realsoftware.com> Message-ID: > From: Karen > Date: Tue, 3 Aug 2004 12:11:12 -0400 Hi Karen, > Is anybody here who uses valentina using it? Why not ask on Valentina list ? > I can't seem to get it to work. > If the DB is in use on the first try I get error -61. On all subsequent > retries I get Error 524 even after the other client closes the db. > > I must be missing something Yes. This trick works as you try on OS 9 and Windows, where OS allow open file exclusively. OS X (unix) do not provide exclusive access, So Apple recommend to use additional help file in zero byte, -- lock file. If it exists then you know that db is opened. Otherwise it is closed. Also note that tests made by developers that use Valentina Server show that Valentina Server can do connect/disconnect in 17 times faster then open/close works with remote computer. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Aug 3 21:00:56 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 3 13:01:04 2004 Subject: [V4RB] OPEN/Close trick? In-Reply-To: <107F35BB-E56C-11D8-A5E2-0003934C3066@comcast.net> Message-ID: On 8/3/04 7:42 PM, "Karen" wrote: > > On Aug 3, 2004, at 12:22 PM, Keith DeLong wrote: > >> But given Ruslan's progress with Vserver and the 2.0 platform, I think >> moving to Vserver will be your best bet today. >> > But that is $ and I won't make any money off of this... it's for > internal use at work for a project with *no* funding (i'm doing it on > my own initiative - I bought v4rb on my own a couple of years ago too > for hobby use) so that is not an option... I have you a hint. You still can use Valentina server! Note, that Valentina server DEMO on our site, can work in mode 24 x 7. You can use it in your internal project the whole month non-stop. Just at 1 of next month you need come to paradigma site and get new license file. Yes, a little annoying, but you get working Vserver for free. :-) > What if I use a Win2K or OS9 server for the file with an OSX clients? > Do you need to worry about file locks then from an OSX client? I assume > also that it will work fine if uou only use Win2K and OS9 machines. > > I use OSX at home but at work (where this will be used ) The > enviornment is Win32/OS9 migrating to all to all Win32 with a year or > two. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From keatk at comcast.net Tue Aug 3 14:23:30 2004 From: keatk at comcast.net (Karen) Date: Tue Aug 3 13:23:38 2004 Subject: [V4RB] OPEN/Close trick? In-Reply-To: References: Message-ID: <3877BB4A-E57A-11D8-A5E2-0003934C3066@comcast.net> On Aug 3, 2004, at 2:00 PM, Ruslan Zasukhin wrote: > Just at 1 of next month you need come to paradigma site and get new > license > file. > > Yes, a little annoying, but you get working Vserver for free. :-) > And if I'm out sick or forget, the managers don't get their data and the techs will be frustrated... I value my job! ;-) - karen From sunshine at public.kherson.ua Tue Aug 3 21:31:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 3 13:31:49 2004 Subject: [V4RB] OPEN/Close trick? In-Reply-To: <3877BB4A-E57A-11D8-A5E2-0003934C3066@comcast.net> Message-ID: On 8/3/04 9:23 PM, "Karen" wrote: > > On Aug 3, 2004, at 2:00 PM, Ruslan Zasukhin wrote: > >> Just at 1 of next month you need come to paradigma site and get new >> license >> file. >> >> Yes, a little annoying, but you get working Vserver for free. :-) >> > > And if I'm out sick or forget, the managers don't get their data and > the techs will be frustrated... I value my job! ;-) Ah, so you have the whole company of managers. Hmm, then why not spend $300 for lowest Vserver ? If you use it on day per day basic, I think this is logical. You will save you DEVELOPMENT TIME, I think it have price $30-50 per hour? :-) And if Vserver will work faster then your managers also will save own work time. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From keatk at comcast.net Tue Aug 3 14:47:40 2004 From: keatk at comcast.net (Karen) Date: Tue Aug 3 13:47:53 2004 Subject: [V4RB] OPEN/Close trick? In-Reply-To: References: Message-ID: <990B7288-E57D-11D8-A5E2-0003934C3066@comcast.net> On Aug 3, 2004, at 2:31 PM, Ruslan Zasukhin wrote: > Ah, so you have the whole company of managers. > No ... we are very small and don't have a product on the market yet ... Decsions need to get made very quickly on experimental results so it needs to get distubited soon after the experiments are run > Hmm, then why not spend $300 for lowest Vserver ? > Because this is not an approved project and I'm doing it on my own initiative. > You will save you DEVELOPMENT TIME, I think it have price $30-50 per > hour? > :-) > I am doing it mostly on my own time... and the Open close trick when not on OSX (which I use at home but not at work - there it's Win32 and OS9) should work fine and only takes a couple of hours to implement, > And if Vserver will work faster then your managers also will save own > work > time. > Managers up to the VP level see the data but never directly use the program (I produce PDF Files from the DB that get Emailed to them) so the second or two difference in access speed won't matter. Ruslan, speed is not always the be all and end all!!!! ;-) - Karen From sunshine at public.kherson.ua Tue Aug 3 21:52:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 3 13:52:09 2004 Subject: [V4RB] OPEN/Close trick? In-Reply-To: <990B7288-E57D-11D8-A5E2-0003934C3066@comcast.net> Message-ID: On 8/3/04 9:47 PM, "Karen" wrote: >> And if Vserver will work faster then your managers also will save own >> work >> time. >> > > Managers up to the VP level see the data but never directly use the > program (I produce PDF Files from the DB that get Emailed to them) so > the second or two difference in access speed won't matter. > > Ruslan, speed is not always the be all and end all!!!! ;-) Ok, but I have told here about speed which SAVE TIME. :-) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From keatk at comcast.net Tue Aug 3 15:45:30 2004 From: keatk at comcast.net (Karen) Date: Tue Aug 3 14:45:36 2004 Subject: [V4RB] OPEN/Close trick? In-Reply-To: References: Message-ID: On Aug 3, 2004, at 1:02 PM, Keith DeLong wrote: >> What if I use a Win2K or OS9 server for the file with an OSX clients? >> Do you need to worry about file locks then from an OSX client? I >> assume >> also that it will work fine if I only use Win2K and OS9 machines. > > I think you're okay as long as you do not host the data on X -- but > test > this to make sure. I just did. I hosted the DB files on my old 266 mHz Beige G3 running OS9 and tried to access the DB from two clients on my OSX machine... Worked just fine... So I assume that as long as the DB Files are hosted on a non Unix machine, the old fashioned open/Close trick using the error number check should work. - karen From kray at sonsothunder.com Tue Aug 3 21:00:38 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue Aug 3 21:01:15 2004 Subject: Server_DatabaseInfo freeze? Message-ID: I've been trying to determine the connection ID of a client that has connected to the server. I'm using MetaCard 2.6.1 (Revolution 2.2) on OS 10.3.4. I have three databases that are hard-coded into master.vdb (that is, I don't use Server_RegisterDatabase), and at the moment I have one user in the Users table ("sa"). I log into Valentina (which works fine) and then execute my script that does this: I already have a server reference from Server_New. Then I do: get Valentina("Server_OpenSession",sSrvRef) put Valentina("Server_DatabaseInfo",sSrvRef,1) into tDBInfoRef answer "tDBInfoRef:" && tDBInfoRef put Valentina("DatabaseInfo_ClientInfo",tDBInfoRef,1) into tClientInfoRef answer "tClientInfoRef:" && tClientInfoRef put Valentina("ClientInfo_GetConnectionID",tClientInfoRef) into tConnectionID answer tConnectionID What happens is that when I get to "Server_DatabaseInfo", the cursor goes into spinning pizza mode and MetaCard is frozen. I don't even get the alert telling me what tDBInfoRef is. Any ideas? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray@sonsothunder.com From sunshine at public.kherson.ua Wed Aug 4 07:51:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 3 23:52:01 2004 Subject: Server_DatabaseInfo freeze? In-Reply-To: Message-ID: On 8/4/04 5:00 AM, "Ken Ray" wrote: > I've been trying to determine the connection ID of a client that has > connected to the server. I'm using MetaCard 2.6.1 (Revolution 2.2) on OS > 10.3.4. I have three databases that are hard-coded into master.vdb (that is, > I don't use Server_RegisterDatabase), and at the moment I have one user in > the Users table ("sa"). I log into Valentina (which works fine) and then > execute my script that does this: > > I already have a server reference from Server_New. Then I do: > > get Valentina("Server_OpenSession",sSrvRef) > > put Valentina("Server_DatabaseInfo",sSrvRef,1) into tDBInfoRef > answer "tDBInfoRef:" && tDBInfoRef > > put Valentina("DatabaseInfo_ClientInfo",tDBInfoRef,1) into > tClientInfoRef > answer "tClientInfoRef:" && tClientInfoRef > > put Valentina("ClientInfo_GetConnectionID",tClientInfoRef) into > tConnectionID > answer tConnectionID > > What happens is that when I get to "Server_DatabaseInfo", the cursor goes > into spinning pizza mode and MetaCard is frozen. I don't even get the alert > telling me what tDBInfoRef is. > > Any ideas? I think this can be result of usage of different versions of Server and Client. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Aug 5 07:34:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 4 23:34:45 2004 Subject: Have you heard that VDB 1.10 slows down in RealBasic 5.5.3 In-Reply-To: Message-ID: On 8/5/04 7:13 AM, "Dan Farrand" wrote: > Hi Ruslan, > > Have you heard about loss of performance for vdb 1.10 in 5.5 vs 5.2 ? > > Inserting 38 rows in 5.3 takes 1.7 seconds > in 5.5 it takes 3.5 seconds. > > Any idea as to why ? No, I hear the first time about this. Please ask on list. (I have CC) What cache size you use? How many fields in table? How many indexes? ... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kray at sonsothunder.com Thu Aug 5 02:14:17 2004 From: kray at sonsothunder.com (Ken Ray) Date: Thu Aug 5 02:14:47 2004 Subject: Retrieving formatted date? Message-ID: Currently I have a field that is of type DateTime and it normally returns a result in queries like: 08/05/2004 18:20:05 I'd like to instead get back: 8/5/04 6:20 PM How can I do that in my query? Or am I forced to set up method fields for this? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray@sonsothunder.com From sunshine at public.kherson.ua Thu Aug 5 10:24:16 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 5 02:24:26 2004 Subject: Retrieving formatted date? In-Reply-To: Message-ID: On 8/5/04 10:14 AM, "Ken Ray" wrote: > Currently I have a field that is of type DateTime and it normally returns a > result in queries like: > > 08/05/2004 18:20:05 > > I'd like to instead get back: > > 8/5/04 6:20 PM > > How can I do that in my query? Or am I forced to set up method fields for > this? Hi Ken, Valentina do not work with formatting. You need form your data format self using your language. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Fred.Stephenson at communication-unltd.com Thu Aug 5 11:36:18 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Thu Aug 5 04:34:47 2004 Subject: Embedded nervous breakdown In-Reply-To: References: Message-ID: Before I move into the looney bin next door. Can anyone please give me a concrete example of how to connect to a server. Ever since I've gone "embedded" I can't get it to work. 11:11:31.650661 (25187840): Connection established with 'localhost:49158' (14) 11:11:31.735637 (25201152): (14) ERROR #1005: Invalid user name or password 11:11:31.740237 (25201152): Closing connection (14) what I have is ValentinaServer= new VServer(myHost, myUserName, deploymentcode, myPort) thanks Fred From giv at tlc.kherson.ua Thu Aug 5 12:54:55 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Thu Aug 5 04:56:02 2004 Subject: Embedded nervous breakdown References: Message-ID: <001701c47ad2$62388a90$3b04a8c0@giv> Hi Fred, > Can anyone please give me a concrete example of how to connect to a server. > > Ever since I've gone "embedded" I can't get it to work. > > 11:11:31.650661 (25187840): Connection established with 'localhost:49158' (14) > 11:11:31.735637 (25201152): (14) ERROR #1005: Invalid user name or password > 11:11:31.740237 (25201152): Closing connection (14) As I see from the log your connect password is invalid. Or you mean that you could connect with this password to the same server before you've gone "embedded"? > > what I have is > ValentinaServer= new VServer(myHost, myUserName, deploymentcode, myPort) Concrete example is: ValentinaServer= new VServer(yourHost, yourUserName, yourPassword, <<<< yourDeploymentCode, yourPort) ValentinaServer.OpenSession() -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Aug 5 12:48:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 5 05:13:03 2004 Subject: Embedded nervous breakdown In-Reply-To: Message-ID: On 8/5/04 12:36 PM, "Fred.Stephenson" wrote: > Before I move into the looney bin next door. > > Can anyone please give me a concrete example of how to connect to a server. > > Ever since I've gone "embedded" I can't get it to work. > > 11:11:31.650661 (25187840): Connection established with 'localhost:49158' (14) > 11:11:31.735637 (25201152): (14) ERROR #1005: Invalid user name or password > 11:11:31.740237 (25201152): Closing connection (14) > > what I have is > ValentinaServer= new VServer(myHost, myUserName, deploymentcode, myPort) Fred, 1) You mean you NEVER was able connecto to server? 2) When you install server, the default admin;s login and password as long sa pasw sa 3) to work with Server class, you should specify ADMIN's login 4) you can look directly into masterdb (using VAPP or ) to see what logins you have in master db. 5) you can use Valentina Studio to CONNECT to server in GUI. Try all this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Fred.Stephenson at communication-unltd.com Thu Aug 5 12:19:08 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Thu Aug 5 05:17:09 2004 Subject: Embedded nervous breakdown In-Reply-To: <001701c47ad2$62388a90$3b04a8c0@giv> References: <001701c47ad2$62388a90$3b04a8c0@giv> Message-ID: Hi Igor, >As I see from the log your connect password is invalid. >Or you mean that you could connect with this password to the same server >before you've gone "embedded"? Before I used ValentinaServer= new VServer(myHost, "sa", "sa", myPort) it i do that I get something similar to "wrong deployment code" I assume that the deployment code is the serial in the serial.txt that I received. If so Then it would appear that I don't know the user?? > >> >> what I have is >> ValentinaServer= new VServer(myHost, myUserName, deploymentcode, >myPort) >Concrete example is: > > ValentinaServer= new VServer(yourHost, > yourUserName, > yourPassword, <<<< > yourDeploymentCode, > yourPort) > ValentinaServer.OpenSession() I assume that you are indicating that the password should be the deployment code? best regards Fred > >-- >Best regards, >Igor Gomon >------------------------------------------------------------- >e-mail: giv@tlc.kherson.ua >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://listserv.macserve.net/mailman/listinfo/valentina > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina From Fred.Stephenson at communication-unltd.com Thu Aug 5 12:36:34 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Thu Aug 5 05:34:39 2004 Subject: Embedded nervous breakdown In-Reply-To: References: Message-ID: Ruslan, >1) You mean you NEVER was able connecto to server? Not since I've gone embedded, no! > >2) When you install server, the default admin;s login and password as > > > long sa > pasw sa that's what I used initially > >3) to work with Server class, you should specify ADMIN's login > >4) you can look directly into masterdb (using VAPP or ) to see what logins >you have in master db. I have looked with Vapp. and it is sa sa. Sow here do I place the serial. This is embedded serial number that you must send from client to server on Connect in the parameter option: BUT Where ??? If I try, as Igor indicated, after the password then I get "too many" params. > >5) you can use Valentina Studio to CONNECT to server in GUI. but that won't show me why my code isn't working. It'll just prove that Jochen's more intelligent ;?) Fred > >Try all this. > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Aug 5 13:49:04 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 5 05:49:19 2004 Subject: Embedded nervous breakdown In-Reply-To: Message-ID: On 8/5/04 1:36 PM, "Fred.Stephenson" wrote: >> 3) to work with Server class, you should specify ADMIN's login >> >> 4) you can look directly into masterdb (using VAPP or ) to see what logins >> you have in master db. > > I have looked with Vapp. and it is sa sa. Sow here do I place the serial. > This is embedded serial number that you must send from client to > server on Connect > in the parameter option: BUT Where ??? > > If I try, as Igor indicated, after the password then I get "too many" params. Okay, so problem is * you can connect with NO embedded serial and cannot with it. * yes, you must specify embedded serial as one more parameter. embedded serial IS NOT the same to login/password. You use V4RB ? I check docs. VServer( inHost as string, inUserName as String, inUserPassword as String, inPort as Integer, inTimeout as integer, inOptions as string) You must send your embedded serial string into parameter inOptions. IMPORTANT: if you send embedded serial, then you must run Vserver with license_emb file. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Fred.Stephenson at communication-unltd.com Thu Aug 5 13:01:23 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Thu Aug 5 05:59:35 2004 Subject: Embedded nervous breakdown In-Reply-To: References: Message-ID: Ok I downloaded Vstudio >>5) you can use Valentina Studio to CONNECT to server in GUI. > >but that won't show me why my code isn't working. It'll just prove >that Jochen's more intelligent ;?) or maybe not ;?) and here's what I get 12:58:08.372948 (2684396012): Database kernel inited 12:58:08.423929 (2684396012): Server started at 15433 port 12:59:05.840073 (25187840): Connection established with 'localhost:49799' (14) 12:59:05.847662 (25201152): (14) ERROR #1024: Wrong deployment serial 12:59:05.932043 (25201152): Closing connection (14) Fred From Fred.Stephenson at communication-unltd.com Thu Aug 5 13:08:35 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Thu Aug 5 06:06:36 2004 Subject: Embedded nervous breakdown In-Reply-To: References: Message-ID: >Okay, so problem is > >* you can connect with NO embedded serial and cannot with it. > >* yes, you must specify embedded serial as one more parameter. > embedded serial IS NOT the same to login/password. > >You use V4RB ? yes > >I check docs. > >VServer( > inHost as string, > inUserName as String, > inUserPassword as String, > inPort as Integer, > inTimeout as integer, > inOptions as string) > >You must send your embedded serial string into parameter inOptions. Where is this doc?? > >IMPORTANT: if you send embedded serial, then you must run Vserver with >license_emb file. > yes it's running with it. best Fred >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Aug 5 14:18:53 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 5 06:19:01 2004 Subject: Embedded nervous breakdown In-Reply-To: Message-ID: On 8/5/04 2:08 PM, "Fred.Stephenson" wrote: >> I check docs. >> >> VServer( >> inHost as string, >> inUserName as String, >> inUserPassword as String, >> inPort as Integer, >> inTimeout as integer, >> inOptions as string) >> >> You must send your embedded serial string into parameter inOptions. > > Where is this doc?? Ops, docs do not say about parameter inOption. I have look into sources. We need correct docs. Now you can connect ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Aug 5 14:24:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 5 06:24:57 2004 Subject: Embedded nervous breakdown In-Reply-To: Message-ID: On 8/5/04 2:01 PM, "Fred.Stephenson" wrote: > Ok I downloaded Vstudio >>> 5) you can use Valentina Studio to CONNECT to server in GUI. >> >> but that won't show me why my code isn't working. It'll just prove >> that Jochen's more intelligent ;?) > or maybe not ;?) > > and here's what I get > > 12:58:08.372948 (2684396012): Database kernel inited > 12:58:08.423929 (2684396012): Server started at 15433 port > 12:59:05.840073 (25187840): Connection established with 'localhost:49799' (14) > 12:59:05.847662 (25201152): (14) ERROR #1024: Wrong deployment serial > 12:59:05.932043 (25201152): Closing connection (14) Fred, Studio is not able connect to server that is signed by embedded serial. So it not helps now. I have told use it before you told me you have problem with embedded serial. MAY BE, there is sense for Jochen to add pref where we can enter embedded serial to be able use Valentina studio with our SIGNED Vserver during development. This is comfortable. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Fred.Stephenson at communication-unltd.com Fri Aug 6 15:17:01 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Fri Aug 6 08:15:21 2004 Subject: Embedded nervous breakdown In-Reply-To: References: Message-ID: >> Where is this doc?? > >Ops, docs do not say about parameter inOption. Aaaahhhhhhhhhhhhhhhhhhhhhhh ;?) > >I have look into sources. >We need correct docs. Yes it would be a good idea. > >Now you can connect ? yes , now it works. So, now I can go to the client and see if this was the problem on the PC. all the best Fred > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Fri Aug 6 16:19:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 6 08:19:28 2004 Subject: Embedded nervous breakdown In-Reply-To: Message-ID: On 8/6/04 4:17 PM, "Fred.Stephenson" wrote: Hi Fred, >>> Where is this doc?? >> >> Ops, docs do not say about parameter inOption. > > Aaaahhhhhhhhhhhhhhhhhhhhhhh ;?) >> >> I have look into sources. >> We need correct docs. > > Yes it would be a good idea. Info about inOption parameter was in emb_serial.txt file >> Now you can connect ? > > yes , now it works. > > > So, now I can go to the client and see if this was the problem on the PC About what problem you talk now ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From devlist at mono.info Fri Aug 6 15:59:24 2004 From: devlist at mono.info (Paul Gaspar) Date: Fri Aug 6 09:00:00 2004 Subject: ErrNumber 2 on V4RB 1.10 Win Message-ID: Hi Ruslan, I get an error number 2 (not -2) after DB.Open(Folder) when I do remote debugging from Mac to Win. Same DB opens fine on Mac. What does that mean? Thanks Paul From Fred.Stephenson at communication-unltd.com Fri Aug 6 16:13:15 2004 From: Fred.Stephenson at communication-unltd.com (Fred.Stephenson) Date: Fri Aug 6 09:11:12 2004 Subject: Embedded nervous breakdown In-Reply-To: References: Message-ID: Hi Ruslan, > >Info about inOption parameter was in emb_serial.txt file Correct. But as I didn't know it existed;?) > > >>> Now you can connect ? >> >> yes , now it works. >> >> >> So, now I can go to the client and see if this was the problem on the PC > >About what problem you talk now ? It was the same problem. the "inOption". So that problem has been resolved. all the best Fred From sunshine at public.kherson.ua Fri Aug 6 18:53:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 6 10:53:33 2004 Subject: ErrNumber 2 on V4RB 1.10 Win In-Reply-To: Message-ID: On 8/6/04 4:59 PM, "Paul Gaspar" wrote: > Hi Ruslan, > > I get an error number 2 (not -2) after DB.Open(Folder) when I do remote > debugging from Mac to Win. Same DB opens fine on Mac. What does that > mean? Hi Paul, You mean that you have put db on Windows? Make its folder to be shared? You access this db files from MAC via network? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From devlist at mono.info Fri Aug 6 19:37:16 2004 From: devlist at mono.info (Paul Gaspar) Date: Fri Aug 6 12:37:53 2004 Subject: ErrNumber 2 on V4RB 1.10 Win In-Reply-To: References: Message-ID: <4224FBD4-E7CF-11D8-BAB9-000A95A60398@mono.info> >> I get an error number 2 (not -2) after DB.Open(Folder) when I do >> remote >> debugging from Mac to Win. Same DB opens fine on Mac. What does that >> mean? > > Hi Paul, > > You mean that you have put db on Windows? > Make its folder to be shared? > > You access this db files from MAC via network? No ... but I have simplified it now: I made a Windows built and copy it to the XP machine. Run it, choose the database (also on the XP machine), DB.open - result is Error 2. ObjectCount is zero. The same DB file does work with the same source code on mac. No encryption. Paul From sunshine at public.kherson.ua Fri Aug 6 20:44:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 6 12:45:00 2004 Subject: ErrNumber 2 on V4RB 1.10 Win In-Reply-To: <4224FBD4-E7CF-11D8-BAB9-000A95A60398@mono.info> Message-ID: On 8/6/04 8:37 PM, "Paul Gaspar" wrote: >>> I get an error number 2 (not -2) after DB.Open(Folder) when I do >>> remote >>> debugging from Mac to Win. Same DB opens fine on Mac. What does that >>> mean? >> >> Hi Paul, >> >> You mean that you have put db on Windows? >> Make its folder to be shared? >> >> You access this db files from MAC via network? > > > No ... but I have simplified it now: > > I made a Windows built and copy it to the XP machine. > > Run it, choose the database (also on the XP machine), DB.open - result > is Error 2. ObjectCount is zero. > > The same DB file does work with the same source code on mac. No > encryption. Error 2: The system cannot find the file specified -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From devlist at mono.info Sat Aug 7 11:32:56 2004 From: devlist at mono.info (Paul Gaspar) Date: Sat Aug 7 04:33:34 2004 Subject: ErrNumber 2 on V4RB 1.10 Win In-Reply-To: References: Message-ID: > Error 2: > > The system cannot find the file specified I got it now: As soon as I rename the DB file from "db.xyz" to to "db.vdb" it works! Maybe its a stupid question, but why do need the original extension? Paul From sunshine at public.kherson.ua Sat Aug 7 12:36:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 7 04:36:51 2004 Subject: ErrNumber 2 on V4RB 1.10 Win In-Reply-To: Message-ID: On 8/7/04 12:32 PM, "Paul Gaspar" wrote: >> Error 2: >> >> The system cannot find the file specified > > > I got it now: As soon as I rename the DB file from "db.xyz" to to > "db.vdb" it works! > > Maybe its a stupid question, but why do need the original extension? You can use other only if in YOUR code, before db.Open() You have specify other extensions using db.SetExtesions() -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From devlist at mono.info Sat Aug 7 11:43:15 2004 From: devlist at mono.info (Paul Gaspar) Date: Sat Aug 7 04:43:52 2004 Subject: ErrNumber 2 on V4RB 1.10 Win In-Reply-To: References: Message-ID: <34C4B374-E856-11D8-BAB9-000A95A60398@mono.info> >> Maybe its a stupid question, but why do need the original extension? > > You can use other only if in YOUR code, before db.Open() > > You have specify other extensions using > > db.SetExtesions() Thanks, Ruslan! You saved my life ... ok, at least my weekend... ;-) Paul From steinman at midsouth.rr.com Sat Aug 7 08:22:44 2004 From: steinman at midsouth.rr.com (Scott Steinman) Date: Sat Aug 7 08:22:55 2004 Subject: Request for new fields (V4RB) Message-ID: Hi Ruslan, I've just returned from the world of Java to REALbasic. I'm ready to start a new project that could use Valentina. After refreshing my memory by reading the manuals, I realized that the REALbasic version of Valentina could use a couple of improvements: 1. Databases could contain movies. Rather than having the programmer need to convert a movie to a String to store it in a VBLOB (and convert it back upon retrieval), I'd like to have a specialized VMovie field type (as you have with VPicture) to V4RB that would handle the conversion for the programmer? To make it cross-platform, the internal representation could be QuickTime since it's available for both Mac and Windows. 2. Why should VPictures be limited to PICT file format on the Mac and DIB on Windows when they are both stored with JPG compression in the database? Why not just make VPictures cross-platform by allowing the input and output of JPGs? Thank you. Scott B. Steinman, O.D., Ph.D., F.A.A.O. Professor, Southern College of Optometry Co-Chair, ASCO Informatics SIG Chair, Open Source Purely-Graphical Programming Language Initiative (www.ospgli.org) Author, "Visual Programming with Prograph CPX", Manning/Prentice-Hall, 1995 (www.manning.com/steinman). Author, "Foundations of Binocular Vision", McGraw-Hill, 2000 (books.mcgraw-hill.com/cgi-bin/pbg/0838526705.html) Certified non-Microsoft Solutions Provider 1245 Madison Avenue Memphis, TN 38104-2222 (901) 722-3381 steinman@sco.edu From sunshine at public.kherson.ua Sat Aug 7 17:18:13 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 7 09:18:29 2004 Subject: Request for new fields (V4RB) In-Reply-To: Message-ID: On 8/7/04 4:22 PM, "Scott Steinman" wrote: Hi Scott, > I've just returned from the world of Java to REALbasic. I'm ready to > start a new project that could use Valentina. It could be great if you could wait just a little and start with Valentina 2.0. Or start right now with Valentina 1.x but in the nearest time switch to 2.0. I recommend you go to our support page and subscribe to Valentina beta list. You will be able then review V4RB 2.0 beta. It have many new cool features. > After refreshing my > memory by reading the manuals, I realized that the REALbasic version of > Valentina could use a couple of improvements: > 1. Databases could contain movies. Rather than having the programmer > need to convert a movie to a String to store it in a VBLOB (and convert > it back upon retrieval), I'd like to have a specialized VMovie field > type (as you have with VPicture) to V4RB that would handle the > conversion for the programmer? To make it cross-platform, the internal > representation could be QuickTime since it's available for both Mac and > Windows. Well, I see. > 2. Why should VPictures be limited to PICT file format on the Mac and > DIB on Windows when they are both stored with JPG compression in the > database? Why not just make VPictures cross-platform by allowing the > input and output of JPGs? Igor have spend last 3 weeks to incredibly improve Vpicture field! Especially for Director. Subscribe to beta list, when I will see that, I will forward today's Igor letter to beta list. In short, Now VBLOB and Vpicture have functions blob.LoadFile( path ) blob.UnloadFile( path ) Also with Picture class you can simply READ and WRTIE an existed JPG, GIF, TIFF as is. Without any compression on Valentina side. --------- Next, yes, in the nearest time, I will improve VBLOB field in the V4RB to work not with String only but with MemBuff. -------- Scott, also I wonder, why you wonder about PICT/DIB. When Valentina extract picture from db it MUST give to REALbasic or Director a PICT/DIB. REALbasic do not want to get from us JPG. You see? How you image to self that Vpicture return TO YOU a jpg ? ------------ Using VBLOB.LoadFile() you have no more easy way to store into db movies. And you can extract ONE movie to disk to play it, then erase. Yes, it will be more cool to have MOVIE field, which self establish stream to Quicktime and load movie by small parts during playback. We will not be able do this in Valentina 2.0. No time. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From daniel at monumental-i.com Sat Aug 7 13:28:31 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Sat Aug 7 12:28:39 2004 Subject: [V4MD] Object Pointers In-Reply-To: References: Message-ID: <4115113F.1040904@monumental-i.com> I'm getting ready to start a gargantuan project using Valentina in Director. I'm setting everything up currently and have a few questions: I have a product table, a media table and a product media link table that serves as a link between the two. Fairly basic relational stuff (I'm assuming). Instead of using RecIDs in the link table to identify the media and products ( and thereby connect the products with the media) I was thinking of using two ObjectPtr fields instead. Correct me if I'm wrong, but this seems like the *IDEAL* use for ObjectPtr fields. The thing I need a little guidance on is how to use to the objectptr. For instance: I have record 55 in the products table - how do I define the ObjectPTR value for use in my link table? When any of the records are deleted from the products or media tables what is the best way to make sure that all records in the link table are removed? Does using Object Pointers here provide some built-in benefits? Any suggestions and SQL examples are welcome! From devlist at mono.info Sat Aug 7 19:30:42 2004 From: devlist at mono.info (Paul Gaspar) Date: Sat Aug 7 12:31:20 2004 Subject: ErrNumber 2 on V4RB 1.10 Win / Where is db.SetExtension ??? In-Reply-To: References: Message-ID: <822EC7F0-E897-11D8-9893-000A95A60398@mono.info> > db.SetExtesions() But there is no such method in 1.10 ?!? Also I can't find anything in the docs. Paul From devlist at mono.info Sat Aug 7 19:41:57 2004 From: devlist at mono.info (Paul Gaspar) Date: Sat Aug 7 12:42:34 2004 Subject: ValentinaSetExtensions Question In-Reply-To: <822EC7F0-E897-11D8-9893-000A95A60398@mono.info> References: <822EC7F0-E897-11D8-9893-000A95A60398@mono.info> Message-ID: <14349DCA-E899-11D8-9893-000A95A60398@mono.info> Hi Ruslan, >> db.SetExtesions() > But there is no such method in 1.10 ?!? I found it now: It is not db.SetExtensions but ValentinaSetExtensions ... That leads to another question: I want to open 4 databases, but all with diffenrent extensions. Can I use ValentinaSetExtensions more than once (= before every db.Open)? Paul From sunshine at public.kherson.ua Sat Aug 7 20:46:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 7 12:46:54 2004 Subject: ValentinaSetExtensions Question In-Reply-To: <14349DCA-E899-11D8-9893-000A95A60398@mono.info> Message-ID: On 8/7/04 8:41 PM, "Paul Gaspar" wrote: > Hi Ruslan, > >>> db.SetExtesions() >> But there is no such method in 1.10 ?!? > > I found it now: It is not db.SetExtensions but ValentinaSetExtensions > ... > > That leads to another question: > > I want to open 4 databases, but all with diffenrent extensions. Can I > use ValentinaSetExtensions more than once (= before every db.Open)? yes -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Aug 7 20:59:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 7 13:00:03 2004 Subject: [V4MD] Object Pointers In-Reply-To: <4115113F.1040904@monumental-i.com> Message-ID: On 8/7/04 8:28 PM, "Daniel Crowder" wrote: Hi Daniel, > I'm getting ready to start a gargantuan project using Valentina in > Director. I'm setting everything up currently and have a few questions: > > I have a product table, a media table and a product media link table > that serves as a link between the two. Fairly basic relational stuff > (I'm assuming). yes > Instead of using RecIDs in the link table to identify > the media and products ( and thereby connect the products with the > media) I was thinking of using two ObjectPtr fields instead. Correct me > if I'm wrong, but this seems like the *IDEAL* use for ObjectPtr fields. Yes. Just why you say about ObjectPtr and RecID as alternative things? They work in pair! Product Table { RecID, ... } Media Table { recID, .... } LinkTable { ObjectPtr to Product, ObjectPtr to Media } So yes in Link table you must use 2 ObjectPtr fields. and they will use values from RecID fields of linked records. > The thing I need a little guidance on is how to use to the objectptr. Think about it as about SIMPLE ULONG FIELD. In fact IT IS ulong field. > For instance: I have record 55 in the products table - how do I define > the ObjectPTR value for use in my link table? Let you want link record 55 of Product, with record 79 of Media. You do (pseudo code) cursor = "SELECT ptr1, ptr2 FROM LinkTable WHERE recID = 0" cursor.field( "ptr1" ) = 55 cursor.field( "ptr2" ) = 79 cursor.AddRecord() Or you can use SQL's INSERT db.SqlExecute( "INSERT INTO linkTable(prt1, ptr2) VALUES(55, 79) ") > When any of the records > are deleted from the products or media tables what is the best way to > make sure that all records in the link table are removed? Does using > Object Pointers here provide some built-in benefits? Yes of course. Just set both ObjectPtr to have CASCADE deletion. Then Valentina will a automatically delete records in Link table. > Any suggestions and SQL examples are welcome! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From daniel at monumental-i.com Sat Aug 7 14:23:49 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Sat Aug 7 13:23:59 2004 Subject: [V4MD] Object Pointers In-Reply-To: References: Message-ID: <41151E35.7050805@monumental-i.com> Thanks Ruslan, this is my first Valentina-based project - so forgive the newbie questions! >Yes of course. > >Just set both ObjectPtr to have CASCADE deletion. >Then Valentina will a automatically delete records in Link table. > > > Just to confirm: When the ObjectPtr field type is set to CASCADE the following would happen: I have a product database record. It has a CATEGORY_ID that is an ObjectPTR (Cascade delete on) that points to a particular record in a CATEGORIES table. If I delete the category record it points to - the entire product record is deleted since it contains a cascade delete enabled ObjectPtr. -CONVERSELY- Using the same scenario as above: if the same ObjectPTR was set to restrict and NOT cascade. When I tried to delete that particular record in CATEGORIES it would have thrown an error because of the dependency and not delete the category record as a result. From sunshine at public.kherson.ua Sat Aug 7 21:32:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 7 13:33:02 2004 Subject: [V4MD] Object Pointers In-Reply-To: <41151E35.7050805@monumental-i.com> Message-ID: On 8/7/04 9:23 PM, "Daniel Crowder" wrote: >> Yes of course. >> >> Just set both ObjectPtr to have CASCADE deletion. >> Then Valentina will a automatically delete records in Link table. >> >> >> > Just to confirm: When the ObjectPtr field type is set to CASCADE the > following would happen: > > I have a product database record. It has a CATEGORY_ID that is an > ObjectPTR (Cascade delete on) that points to a particular record in a > CATEGORIES table. If I delete the category record it points to - the > entire product record is deleted since it contains a cascade delete > enabled ObjectPtr. Yes. Although before we have talk about Product, Media, LinkProductMedia Tables. Now you use also Category table Just one advice. We prefer to use name CATEGORE_PTR. At least of end, sense of this field is *pointer*. Yes, many RDBMS offer to use in both tables xxx_ID names. I think this is not very logical. > -CONVERSELY- > > Using the same scenario as above: if the same ObjectPTR was set to > restrict and NOT cascade. When I tried to delete that particular record > in CATEGORIES it would have thrown an error because of the dependency > and not delete the category record as a result. Yes. You must manually delete all child records, Only after this you will be allowed delete -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From steinman at midsouth.rr.com Sat Aug 7 20:04:10 2004 From: steinman at midsouth.rr.com (Scott Steinman) Date: Sat Aug 7 20:04:19 2004 Subject: Valentina Digest, Vol 20, Issue 5 In-Reply-To: <20040807182401.495481E60AA@edison.macserve.net> References: <20040807182401.495481E60AA@edison.macserve.net> Message-ID: Ruslan- On Aug 7, 2004, at 1:24 PM, valentina-request@lists.macserve.net wrote: >> I've just returned from the world of Java to REALbasic. I'm ready to >> start a new project that could use Valentina. > > It could be great if you could wait just a little and start with > Valentina > 2.0. I'll subscribe to the beta list. Thanks for the suggestion. > Scott, also I wonder, why you wonder about PICT/DIB. > When Valentina extract picture from db it MUST give to REALbasic or > Director > a PICT/DIB. > > REALbasic do not want to get from us JPG. You see? > > How you image to self that Vpicture return TO YOU a jpg ? The MBS plugin allows the use of JPGs with REALbasic. I just like to be able to use the same code for both platforms, whenever possible, instead of using conditional compilation. Using a common JPG format for both would permit that. > Using VBLOB.LoadFile() you have no more easy way to store into db > movies. > And you can extract ONE movie to disk to play it, then erase. Would this mean that if my application needs to retrieve and play movies, I'd have to save the database's movie data to a file first, then read the file to play the movie? Regards, Scott Scott B. Steinman, O.D., Ph.D., F.A.A.O. Professor, Southern College of Optometry Co-Chair, ASCO Informatics SIG Leader, Open Source Purely-Graphical Programming Language Group Certified non-Microsoft Solution Provider 1245 Madison Avenue Memphis, TN 38104-2222 Phone: (901) 722-3381 Fax: (901) 722-3244 steinman@sco.edu From sunshine at public.kherson.ua Sun Aug 8 08:56:29 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 8 00:56:37 2004 Subject: Valentina Digest, Vol 20, Issue 5 In-Reply-To: Message-ID: On 8/8/04 4:04 AM, "Scott Steinman" wrote: >> Scott, also I wonder, why you wonder about PICT/DIB. >> When Valentina extract picture from db it MUST give to REALbasic or >> Director >> a PICT/DIB. >> >> REALbasic do not want to get from us JPG. You see? >> >> How you image to self that Vpicture return TO YOU a jpg ? > > The MBS plugin allows the use of JPGs with REALbasic. I just like to be > able to use the same code for both platforms, whenever possible, > instead of using conditional compilation. Using a common JPG format for > both would permit that. But if you work with V4RB you WILL HAVE the same code for both platforms!!! This is why INTERNALLY we work with PICT/DIB. YOUR code will NOT work with PICT/DIB directly. Your REALbasic code works with RB's picture type. You see? >> Using VBLOB.LoadFile() you have no more easy way to store into db >> movies. And you can extract ONE movie to disk to play it, then erase. > > Would this mean that if my application needs to retrieve and play > movies, I'd have to save the database's movie data to a file first, > then read the file to play the movie? Yes. At least this will be easier to do now. In Valentina 1.x you also could do this, just you self was need read from blob and write to file. And if BLOB is big then you may need loop. Now Valentina do this self in single command. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From steinman at midsouth.rr.com Sun Aug 8 01:17:22 2004 From: steinman at midsouth.rr.com (Scott Steinman) Date: Sun Aug 8 01:17:33 2004 Subject: Valentina Digest, Vol 20, Issue 5 In-Reply-To: References: Message-ID: <9BD14A78-E902-11D8-AEFD-000A95C45232@midsouth.rr.com> On Aug 8, 2004, at 12:56 AM, Ruslan Zasukhin wrote: > But if you work with V4RB you WILL HAVE the same code for both > platforms!!! > This is why INTERNALLY we work with PICT/DIB. > > YOUR code will NOT work with PICT/DIB directly. > Your REALbasic code works with RB's picture type. > You see? Yes, now I get it! Thanks for explaining. Scott B. Steinman, O.D., Ph.D., F.A.A.O. Professor, Southern College of Optometry Co-Chair, ASCO Informatics SIG Chair, Open Source Purely-Graphical Programming Language Initiative (www.ospgli.org) Author, "Visual Programming with Prograph CPX", Manning/Prentice-Hall, 1995 (www.manning.com/steinman). Author, "Foundations of Binocular Vision", McGraw-Hill, 2000 (books.mcgraw-hill.com/cgi-bin/pbg/0838526705.html) Certified non-Microsoft Solutions Provider 1245 Madison Avenue Memphis, TN 38104-2222 (901) 722-3381 steinman@sco.edu From andy at foxwerk.de Mon Aug 9 00:35:23 2004 From: andy at foxwerk.de (Andy Fuchs) Date: Sun Aug 8 17:35:33 2004 Subject: Request for new fields (V4RB) In-Reply-To: Message-ID: at 07.08.2004 15:22 Uhr, Scott Steinman wrote: > 1. Databases could contain movies. Rather than having the programmer > need to convert a movie to a String to store it in a VBLOB (and convert > it back upon retrieval), I'd like to have a specialized VMovie field > type (as you have with VPicture) to V4RB that would handle the > conversion for the programmer? To make it cross-platform, the internal > representation could be QuickTime since it's available for both Mac and > Windows. Hi Scott, hi Ruslan, sorry to jump in, but I really dislike this idea! Although Quicktime would be a nice backend to have for a (rather specialized) VMovieStream class, it would also limit it's usage. Quicktime is nice to show/view movies, but would also be a big limitation if used as streaming video source, since there are lots of more popular movie-streaming formats available. Let me give an example: - Imagine we have a Vstream - field - And we have a movie stream as MPEG-2 - To store it into a db (no matter if this makes sense or not), I'd need a 'StreamToField'-method (simply write an arbitrary file to a field) - To retrieve it, we'd need a 'FieldToStream'-method - (No need for Quicktime at all, up to this step) - To view/show the stream we then need a plugin mechanism to stream the content of a Vstream-field to a certain output. (No need of QT either, because QT cannot stream an MPEG-2 anyway, if you don't have the Quicktime-MPEG2-Extension installed) So IMHO a Quicktime-dependant Vmovie-class would be a big limitation (especially if you think about deploying your db on Linux as well) Now let's think a little further: We want to show the stream using OpenGL instead of QT: If we have a (QT-dependant) Vmovie class, there's no way to go from here. If we have a more generic Stream class we just need a post-processor (Plugin) to view the movie using our preferred output. This not only works across multiple platforms, but also across multiple output formats. The only thing we need would be some meta-data about the original stream. (and some plugins, of course) But that's only my humble opinion. -- -- Andy Fuchs -- silent movie media -- mailto:andy@foxwerk.de -- http://www.silent-movie-media.com From holly at roundboxmedia.com Mon Aug 9 11:34:04 2004 From: holly at roundboxmedia.com (Holly Bogossian) Date: Mon Aug 9 10:33:40 2004 Subject: import structure of database? or table? Message-ID: Hi, I have created a relational database in FileMaker Pro v6 (Mac) and would like to move it to a Valentina DB. It is a rather complex DB with 12 tables and multiple foreign keys, indexing, sorting, etc. I have figured out how to import data into an already existing Valentina database. Here are my questions: 1. How do I *create* a database without having to manually create the tables/fields and all their relationships? 2. Can I import the structure? 3. Can the data and the structure be imported together or is this a 2-step process? Thanks for your help. --holly -- --------- The cure for anything is salt water -- sweat, tears, or the sea. --isak dinesen From sunshine at public.kherson.ua Mon Aug 9 19:05:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 9 11:06:04 2004 Subject: import structure of database? or table? In-Reply-To: Message-ID: On 8/9/04 6:34 PM, "Holly Bogossian" wrote: Hi Holly, > Hi, > I have created a relational database in FileMaker Pro v6 (Mac) and > would like to move it to a Valentina DB. Ok. > It is a rather complex DB > with 12 tables and multiple foreign keys, indexing, sorting, etc. I > have figured out how to import data into an already existing > Valentina database. I think all we dream about special utility which which will be able in one mouse click import into Valentina dbs from fileMaker, Access, mySQL, ... Jochen, I think it will be great to have such functionality in Valentina Studio. > Here are my questions: > > 1. How do I *create* a database without having to manually create > the tables/fields and all their relationships? > 2. Can I import the structure? I afraid no. Valentina can recreate structure only from own XML file. Can FileMaker produce some kind of SQL dump with commands CREATE TABLE ? If yes, then I think this can helps a lots. > 3. Can the data and the structure be imported together or is this a > 2-step process? 2 steps. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From frank-list2 at mindstarprods.com Mon Aug 9 12:45:42 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Mon Aug 9 11:46:35 2004 Subject: import structure of database? or table? In-Reply-To: References: Message-ID: <8D9E855E-EA23-11D8-84D9-000A95BE1A8E@mindstarprods.com> Hello, On Aug 9, 2004, at 12:05 PM, Ruslan Zasukhin wrote: > On 8/9/04 6:34 PM, "Holly Bogossian" wrote: > >> Here are my questions: >> >> 1. How do I *create* a database without having to manually create >> the tables/fields and all their relationships? > >> 2. Can I import the structure? > > I afraid no. > Valentina can recreate structure only from own XML file. > > Can FileMaker produce some kind of SQL dump with commands > CREATE TABLE ? > > If yes, then I think this can helps a lots. No, it cannot export to SQL. And I'm looking at FileMaker Pro 7. Best regards, Frank From sunshine at public.kherson.ua Mon Aug 9 19:56:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 9 11:56:48 2004 Subject: import structure of database? or table? In-Reply-To: <8D9E855E-EA23-11D8-84D9-000A95BE1A8E@mindstarprods.com> Message-ID: On 8/9/04 7:45 PM, "Frank Schima" wrote: >>> Here are my questions: >>> >>> 1. How do I *create* a database without having to manually create >>> the tables/fields and all their relationships? >> >>> 2. Can I import the structure? >> >> I afraid no. >> Valentina can recreate structure only from own XML file. >> >> Can FileMaker produce some kind of SQL dump with commands >> CREATE TABLE ? >> >> If yes, then I think this can helps a lots. > > No, it cannot export to SQL. And I'm looking at FileMaker Pro 7. I see, Frank. Anybody have solve such task before? FileMaker to Valentina import -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From holly at roundboxmedia.com Mon Aug 9 13:28:19 2004 From: holly at roundboxmedia.com (Holly Bogossian) Date: Mon Aug 9 12:27:54 2004 Subject: import structure of database? or table? In-Reply-To: References: Message-ID: > > Here are my questions: >> >> 1. How do I *create* a database without having to manually create >> the tables/fields and all their relationships? > >> 2. Can I import the structure? > >I afraid no. >Valentina can recreate structure only from own XML file. OK, if I have an XML file with structure, how would I proceed to create an *empty* Database? Or can I create a duplicate of an existing Valentina database without records but maintain all table/field info? --holly -- --------- The cure for anything is salt water -- sweat, tears, or the sea. --isak dinesen From sunshine at public.kherson.ua Mon Aug 9 20:31:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 9 12:31:11 2004 Subject: import structure of database? or table? In-Reply-To: Message-ID: On 8/9/04 8:28 PM, "Holly Bogossian" wrote: >>> Here are my questions: >>> >>> 1. How do I *create* a database without having to manually create >>> the tables/fields and all their relationships? >> >>> 2. Can I import the structure? >> >> I afraid no. >> Valentina can recreate structure only from own XML file. > > OK, if I have an XML file with structure, how would I proceed to > create an *empty* Database? Valentina's XML file? I think the easest way to start -- play with VAPP. It have command in menu File/Dump XML > Or can I create a duplicate of an existing Valentina database without > records but maintain all table/field info? We will be able do this in Valentina 2.0 Right now Valentina produce always full XML dump that have structure and records. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bmurf at comcast.net Mon Aug 9 15:18:34 2004 From: bmurf at comcast.net (Brendan Murphy) Date: Mon Aug 9 15:18:42 2004 Subject: I was just talking to the boys upstairs and He says... In-Reply-To: <20040809173116.0BF1F1E833A@edison.macserve.net> References: <20040809173116.0BF1F1E833A@edison.macserve.net> Message-ID: <49E741BC-EA41-11D8-8786-0003935B6750@comcast.net> Why can't we just have a single database without all the hassle of those cumbersome extra files version 2.0. they seem totally unnecessary. I just want a database that works and is solid. One file one database. From holly at roundboxmedia.com Mon Aug 9 16:32:37 2004 From: holly at roundboxmedia.com (Holly Bogossian) Date: Mon Aug 9 15:32:11 2004 Subject: I was just talking to the boys upstairs and He says... In-Reply-To: <49E741BC-EA41-11D8-8786-0003935B6750@comcast.net> References: <20040809173116.0BF1F1E833A@edison.macserve.net> <49E741BC-EA41-11D8-8786-0003935B6750@comcast.net> Message-ID: You can. Just specify the Mode = 1 when creating the database. This is an optional parameter so if nothing is specified, it defaults to 4 which creates the 4 separate files. I don't know which Valentina you are using but here is an example in Director: CreateDatabase(gMyDataBase, the moviePath & "databaseName.vdb", 1) I would think there would be a similar way in any other Valentina application. --holly >Why can't we just have a single database without all the hassle >of those cumbersome extra files version 2.0. they seem totally >unnecessary. I just want a database that works and is solid. >One file one database. > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina -- --------- The cure for anything is salt water -- sweat, tears, or the sea. --isak dinesen From jda at his.com Mon Aug 9 16:37:51 2004 From: jda at his.com (jda) Date: Mon Aug 9 15:38:13 2004 Subject: I was just talking to the boys upstairs and He says... In-Reply-To: References: <20040809173116.0BF1F1E833A@edison.macserve.net> <49E741BC-EA41-11D8-8786-0003935B6750@comcast.net> Message-ID: >You can. Just specify the Mode = 1 when creating the database. This >is an optional parameter so if nothing is specified, it defaults to >4 which creates the 4 separate files. I don't know which Valentina >you are using but here is an example in Director: > CreateDatabase(gMyDataBase, the moviePath & "databaseName.vdb", 1) >I would think there would be a similar way in any other Valentina application. >--holly > >>Why can't we just have a single database without all the hassle >>of those cumbersome extra files version 2.0. they seem totally >>unnecessary. I just want a database that works and is solid. >>One file one database. >> I think the original email was meant for the betas list, not this one. Valentina 2.0 apps require a lot of support files... Jon From holly at roundboxmedia.com Mon Aug 9 16:44:32 2004 From: holly at roundboxmedia.com (Holly Bogossian) Date: Mon Aug 9 15:44:03 2004 Subject: I was just talking to the boys upstairs and He says... In-Reply-To: References: <20040809173116.0BF1F1E833A@edison.macserve.net> <49E741BC-EA41-11D8-8786-0003935B6750@comcast.net> Message-ID: This can still be done in v2, its even easier. When you select Create Database, a pop up window appears, asking you to choose a mode. If you want everything in one .VDB file then select 1. Structure, data, blobs and indexes will be combined. --holly >>You can. Just specify the Mode = 1 when creating the database. This >>is an optional parameter so if nothing is specified, it defaults to >>4 which creates the 4 separate files. I don't know which Valentina >>you are using but here is an example in Director: >> CreateDatabase(gMyDataBase, the moviePath & "databaseName.vdb", 1) >>I would think there would be a similar way in any other Valentina >>application. >>--holly >> >>>Why can't we just have a single database without all the hassle >>>of those cumbersome extra files version 2.0. they seem totally >>>unnecessary. I just want a database that works and is solid. >>>One file one database. >>> > >I think the original email was meant for the betas list, not this >one. Valentina 2.0 apps require a lot of support files... > >Jon >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina -- --------- The cure for anything is salt water -- sweat, tears, or the sea. --isak dinesen From gunnarswan at PracticeToPass.com Mon Aug 9 13:47:09 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Mon Aug 9 15:46:06 2004 Subject: I was just talking to the boys upstairs and He says... Message-ID: <200408092045.i79KjwKY009666@practicetopass.com> The problem with one file for a database is that the index is stored with the data in the same file. If you have to destroy the index, you destroy the data. One quick way to force valentina to re-index, is to destroy the index files and have it build new index files. Index files in databases have a tendency to corrupt. Actually, our experience is that Valentina is more reliable than say Acces from MS. Even indices on MS SQL have corrupted. I'd re-consider "only one". I think you'll find that over time, this might cause more maintenance problems for you. Gunnar Practice To Pass 8/9/04 1:37:51 PM, jda wrote: >>You can. Just specify the Mode = 1 when creating the database. This >>is an optional parameter so if nothing is specified, it defaults to >>4 which creates the 4 separate files. I don't know which Valentina >>you are using but here is an example in Director: >> CreateDatabase(gMyDataBase, the moviePath & "databaseName.vdb", 1) >>I would think there would be a similar way in any other Valentina application. >>--holly >> >>>Why can't we just have a single database without all the hassle >>>of those cumbersome extra files version 2.0. they seem totally >>>unnecessary. I just want a database that works and is solid. >>>One file one database. >>> > >I think the original email was meant for the betas list, not this >one. Valentina 2.0 apps require a lot of support files... > >Jon >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina > Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From jda at his.com Mon Aug 9 16:47:07 2004 From: jda at his.com (jda) Date: Mon Aug 9 15:47:31 2004 Subject: I was just talking to the boys upstairs and He says... In-Reply-To: References: <20040809173116.0BF1F1E833A@edison.macserve.net> <49E741BC-EA41-11D8-8786-0003935B6750@comcast.net> Message-ID: >This can still be done in v2, its even easier. When you select >Create Database, a pop up window appears, asking you to choose a >mode. If you want everything in one .VDB file then select 1. >Structure, data, blobs and indexes will be combined. >--holly Holly, there are a ton of files in /Library/CFMSupport/VComponents. As it stands now, they will have to be distributed with any app built with Valentina 2. Jon From jda at his.com Mon Aug 9 16:50:04 2004 From: jda at his.com (jda) Date: Mon Aug 9 15:50:23 2004 Subject: I was just talking to the boys upstairs and He says... In-Reply-To: <200408092045.i79KjwKY009666@practicetopass.com> References: <200408092045.i79KjwKY009666@practicetopass.com> Message-ID: > >I'd re-consider "only one". I think you'll find that over time, this >might cause more maintenance problems for you. > I politely disagree, especially for a consumer product (don't know what platform you are on, but on Macs this would be alien to most users). I have one db file, but include a menu option to reindex the database. My users find that quite natural. Finding a .idx file and trashing it is OK for a developer or a savvy user, but not for novices (IMHO, of course). Jon From holly at roundboxmedia.com Mon Aug 9 16:50:54 2004 From: holly at roundboxmedia.com (Holly Bogossian) Date: Mon Aug 9 15:50:32 2004 Subject: I was just talking to the boys upstairs and He says... In-Reply-To: <200408092045.i79KjwKY009666@practicetopass.com> References: <200408092045.i79KjwKY009666@practicetopass.com> Message-ID: I completely agree. Personally, I use the 4 files. There are many reasons why but to put it in a word, I would say "Flexibility." But if the boys upstairs want to know how, I'll tell them! --holly >The problem with one file for a database is that the index is stored >with the data in the same file. >If you have to destroy the index, you destroy the data. >One quick way to force valentina to re-index, is to destroy the >index files and have it build new index files. >Index files in databases have a tendency to corrupt. >Actually, our experience is that Valentina is more reliable than say >Acces from MS. Even indices on MS SQL have corrupted. >I'd re-consider "only one". I think you'll find that over time, this >might cause more maintenance problems for you. > >Gunnar >Practice To Pass > >8/9/04 1:37:51 PM, jda wrote: > >>>You can. Just specify the Mode = 1 when creating the database. This >>>is an optional parameter so if nothing is specified, it defaults to >>>4 which creates the 4 separate files. I don't know which Valentina >>>you are using but here is an example in Director: >>> CreateDatabase(gMyDataBase, the moviePath & "databaseName.vdb", 1) >>>I would think there would be a similar way in any other Valentina >>>application. >>>--holly >>> >>>>Why can't we just have a single database without all the hassle >>>>of those cumbersome extra files version 2.0. they seem totally >>>>unnecessary. I just want a database that works and is solid. >>>>One file one database. >>>> >> >>I think the original email was meant for the betas list, not this >>one. Valentina 2.0 apps require a lot of support files... >> >>Jon >>_______________________________________________ >>Valentina mailing list >>Valentina@lists.macserve.net >>http://lists.macserve.net/mailman/listinfo/valentina >> > > >Best Regards, >Gunnar Swan >Practice To Pass >1.888.307.2050 >http://www.PracticeToPass.Com > > > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina -- --------- The cure for anything is salt water -- sweat, tears, or the sea. --isak dinesen From holly at roundboxmedia.com Mon Aug 9 16:59:36 2004 From: holly at roundboxmedia.com (Holly Bogossian) Date: Mon Aug 9 15:59:10 2004 Subject: I was just talking to the boys upstairs and He says... In-Reply-To: References: <200408092045.i79KjwKY009666@practicetopass.com> Message-ID: I'm not sure how or what you are developing but I would think that you could make your application function with the 4 files and still make it transparent to the end user. As the developer, it would give you a lot more flexibility for the inevitable last minute changes that clients come up with. --holly >>I'd re-consider "only one". I think you'll find that over time, >>this might cause more maintenance problems for you. >> > >I politely disagree, especially for a consumer product (don't know >what platform you are on, but on Macs this would be alien to most >users). I have one db file, but include a menu option to reindex the >database. My users find that quite natural. Finding a .idx file and >trashing it is OK for a developer or a savvy user, but not for >novices (IMHO, of course). > >Jon >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina -- --------- The cure for anything is salt water -- sweat, tears, or the sea. --isak dinesen From jda at his.com Mon Aug 9 17:18:35 2004 From: jda at his.com (jda) Date: Mon Aug 9 16:18:58 2004 Subject: I was just talking to the boys upstairs and He says... In-Reply-To: References: <200408092045.i79KjwKY009666@practicetopass.com> Message-ID: I don't have clients. I have users who purchase and use a shrinkwrapped (well, not really shrinkwrapped these days, but...) app. If you survey commercial (consumer) database products on the Mac, you'd find that the large majority do not divvy up the databases into multiple files. Those that do tend to have been ported from Windows (and it shows). It makes things unnecessarily messy. I've had excellent experiences with single file databases. I'm not saying that anyone should or shouldn't using single file dbs, but they are certainly superior for my, and my user's, needs. Jon >I'm not sure how or what you are developing but I would think that >you could make your application function with the 4 files and still >make it transparent to the end user. As the developer, it would give >you a lot more flexibility for the inevitable last minute changes >that clients come up with. >--holly > >>>I'd re-consider "only one". I think you'll find that over time, >>>this might cause more maintenance problems for you. >>> >> >>I politely disagree, especially for a consumer product (don't know >>what platform you are on, but on Macs this would be alien to most >>users). I have one db file, but include a menu option to reindex >>the database. My users find that quite natural. Finding a .idx file >>and trashing it is OK for a developer or a savvy user, but not for >>novices (IMHO, of course). >> From sunshine at public.kherson.ua Tue Aug 10 00:58:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 9 16:58:32 2004 Subject: I was just talking to the boys upstairs and He says... In-Reply-To: <49E741BC-EA41-11D8-8786-0003935B6750@comcast.net> Message-ID: On 8/9/04 11:18 PM, "Brendan Murphy" wrote: > Why can't we just have a single database without all the hassle > of those cumbersome extra files version 2.0. they seem totally > unnecessary. I just want a database that works and is solid. > One file one database. Hi Brendan, I have CC this to Valentina beta list, and I think your question is for beta list, right? It seems we already have discuss this few weeks ago. You can answer to that boy: 1) any modern COMPLEX product is built on component architecture. This is why was born COM and CORBA. 2) in complex projects (and Valentina 2.0 is VERY complex project I should say, it have more than 1000 files) Developers use component architecture on many important reasons. * in project can be used THIRD PARTY SDKs, tools, ... and it will be unreasonably hard tune that SDKs to be compiled in OTHER way than original developers have made. For example, we use IBM ICU library for unicode. this library Is even more complex that Valentina 2.0 itself. IBM guys have made it as 3-4 DLLs. I hope you won't ask that Paradigma Software have tune IBM's SDK to make it as LIBs. This is possible I think, but may take a lots of time. * second reason for component architecture is that components are INDEPENDENT parts of engine. This means that we can do TEAM development. This is VERY VERY STRONG REASON. Design of Valentina 1.x was good for single developer, but we have meet problems trying to work in team with Valentina 1.x. This is why we have re-write from scratch Valentina using modern new design. By my estimates, in ONE YEAR our team have made project by size 5-10 developers-years. * COMPONENT architecture allows for third party developers develop/distribute/sale plugins for Valentina engine itself. Is this good? IMHO this is great! Brendan, image that REALbasic will not support plugin system. you an tell me that REALbasic still pack all in on exe file. well, as far as I know, only REALbasic do this. Director, Revolution, ... DON?T. * COMPONENT architecture allows at last of end, to YOU as Valentina developer use only that components which are required in your application. Our target is that e.g. * if you do not want picture in your db, simply remove few DLLS that can be 500-1000KB. * if you do not want SQL, but only Navigational Database model, remove VSQL.dll and size of engine will be reduced in 2 times. This is not implemented, but this is our target. Now look what you want suggest: IBM ICU DLLs about 5MB total. IBM .dat file 3-8MB Pictures 500KB Vengine 3.5MB If we will link all this into single file, we easy come to 10-15MB. For single platform. I think this is not good. Not flexible. * Another advantage of components. As I have told the fact that in V4RB 2.0 engine is REMOVED from plugin itself, we can easy and effectively provide you 2 versions of V4RB/V4MD plugin: DEBUG and RELEASE. DEBUG version will have A LOTS and AS MANY AS POSSIBLE different debug checks, log files, and so on. RELEASE will be compiled absolutely without this code, so it will have ZERO overhead. ---------- And again. We will be able provide you way that you -- DEVELOPER, Will give to your clients _single_file_ application (on MAC). MyGreatApplication Yes, yes, yes. Using packages. This is modern and standard of Apple We already have told about this: open your folder "Applications". and check such apps as iTunes, iDVD. They looks as SNGLE file. Users are happy. But open package. Here a lots of files. So why Valentina must not go by this way ????????????????? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From delong at redcort.com Mon Aug 9 15:26:07 2004 From: delong at redcort.com (Keith DeLong) Date: Mon Aug 9 17:26:40 2004 Subject: I was just talking to the boys upstairs and He says... In-Reply-To: Message-ID: This is off -topic to the original post (which I think referenced the extra v2 files not the user definable db file format). However the point being debated is worth discussing. Having distributed a 'shrink wrap' commercial V4RB app for almost 4 years with thousands of users, I can testify to Jon's concerns. Especially since the index file takes the same name as the data file. This can and - often is - really confusing for average users. I've had them delete the db file, only back up the .ind file, rename files ... the list goes on and on and so have the support costs. The solution to Gunnar's valid concerns about indexes is (as Jon pointed out) to use a single data file and rely on the built in Valentina Reindex command. In fact, since we've had so many index corruption issues, and since our data files are under 10MB, in our newest release it automatically rebuilds indexes every time the application is launched. Many users will simply quit and restart a misbehaving application, thereby eliminating another batch of support calls all together. My 2 cents, Keith DeLong > From: jda > Reply-To: Valentina Developers > Date: Mon, 9 Aug 2004 17:18:35 -0400 > To: Valentina Developers > Subject: Re: I was just talking to the boys upstairs and He says... > > I don't have clients. I have users who purchase and use a > shrinkwrapped (well, not really shrinkwrapped these days, but...) > app. If you survey commercial (consumer) database products on the > Mac, you'd find that the large majority do not divvy up the databases > into multiple files. Those that do tend to have been ported from > Windows (and it shows). It makes things unnecessarily messy. I've had > excellent experiences with single file databases. I'm not saying that > anyone should or shouldn't using single file dbs, but they are > certainly superior for my, and my user's, needs. > > Jon > >> I'm not sure how or what you are developing but I would think that >> you could make your application function with the 4 files and still >> make it transparent to the end user. As the developer, it would give >> you a lot more flexibility for the inevitable last minute changes >> that clients come up with. >> --holly >> >>>> I'd re-consider "only one". I think you'll find that over time, >>>> this might cause more maintenance problems for you. >>>> >>> >>> I politely disagree, especially for a consumer product (don't know >>> what platform you are on, but on Macs this would be alien to most >>> users). I have one db file, but include a menu option to reindex >>> the database. My users find that quite natural. Finding a .idx file >>> and trashing it is OK for a developer or a savvy user, but not for >>> novices (IMHO, of course). >>> > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From cindy at kowhaiprogramming.com Tue Aug 10 10:41:47 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Mon Aug 9 17:41:32 2004 Subject: I was just talking to the boys upstairs and He says... In-Reply-To: Message-ID: Hi, I distribute a program to a number of schools with two full Valentina databases broken into sections. In their program folder I have put in a BACKUP folder which stores all the Valentina files and the schools are instructed to backup that complete folder. This allows me to also delete index files from within the program or they can force a reindex if I think they need to and also keeps all the files in a safe place. They are less likely to delete a file if it is in a folder - in fact, it never happens. Hope that helps. > However the point being debated is worth discussing. Having distributed a > 'shrink wrap' commercial V4RB app for almost 4 years with thousands of > users, I can testify to Jon's concerns. Especially since the index file > takes the same name as the data file. This can and - often is - really > confusing for average users. I've had them delete the db file, only back up > the .ind file, rename files ... the list goes on and on and so have the > support costs. -- Cindy Brown Programmer SchoolMaster Kowhai Programming Systems PO Box 198, Invercargill 81 Marama Avenue South, 9RD Invercargill Phone (03) 213 1243 Fax (03) 213 1248 Mobile (021) 354 930 From sunshine at public.kherson.ua Tue Aug 10 08:52:21 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 10 00:52:31 2004 Subject: Problems with V4RB have me beat. In-Reply-To: Message-ID: On 8/10/04 7:06 AM, "Barney" wrote: Hi Barney, >>> I'm sure there is nothing more I can do here from my end I've already >>> chased this one for almost two days work, there is something very strange >>> going on. >> >> As fast idea: >> >> have you specify flag ReadWrite in cursor? > > Yes, my SQL Select calls throughout the project everywhere now > says... > > Cur = App.DB.SQLSelect("Select * from table1",1,1,2) > > This means read and write now I think ? Correct me if I'm wrong. > > This is working fine in dozens of other situations throughout the project > elsewhere though. 1, 1, 2. PLEASE use constants in your code So you have kV_Client, kNoLock, kRandom So am I right that DO NOT use locks? Barney, only problem I see that you use kClient. Client-side cursor is claimed to be always READ ONLY, Even if you ask READ WRITE. Try replace it on kV_Server (2) Only server-side cursor should be used if you going to MODIFY its records. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Tue Aug 10 12:25:27 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Aug 10 05:25:42 2004 Subject: V4RB Testing Windows Message-ID: <9950E226-EAB7-11D8-8ECC-00039365848C@sailer-online.de> Hi, i tried to test my app with windows (at the moment I only support MacOS X). But when I ran app with windows and create a new database I get after every (open database) the error message "this is not a app-database. Is it possible that there a re some more limitations when I test it without a licence-key then the time-limitation? Bye Claudius -- G4/733 QS / MacOS X 10.3.4de / RB 5.2.4de or 5.5.2de/ Valentina 1.10.0 Homepage http://www.ClaSai.de Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Tue Aug 10 13:35:21 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 10 05:35:37 2004 Subject: V4RB Testing Windows In-Reply-To: <9950E226-EAB7-11D8-8ECC-00039365848C@sailer-online.de> Message-ID: On 8/10/04 1:25 PM, "Claudius Sailer" wrote: Hi Claudius, > i tried to test my app with windows (at the moment I only support MacOS > X). But when I ran app with windows and create a new database I get > after every (open database) the error message "this is not a > app-database. > Is it possible that there a re some more limitations when I test it > without a licence-key then the time-limitation? No of course. Please check that your db files have extensions. The main file on Windows MUST have .vdb -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Tue Aug 10 12:46:32 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Aug 10 05:46:44 2004 Subject: V4RB Testing Windows In-Reply-To: References: Message-ID: <8B23BBA0-EABA-11D8-8ECC-00039365848C@sailer-online.de> Am 10. Aug 2004 um 12:35 Uhr schrieb Ruslan Zasukhin: > On 8/10/04 1:25 PM, "Claudius Sailer" > wrote: > > Hi Claudius, > >> i tried to test my app with windows (at the moment I only support >> MacOS >> X). But when I ran app with windows and create a new database I get >> after every (open database) the error message "this is not a >> app-database. > >> Is it possible that there a re some more limitations when I test it >> without a licence-key then the time-limitation? > > No of course. OK > Please check that your db files have extensions. > > The main file on Windows MUST have .vdb they have corrct extensions. Is it possible that if f<>nil and not f.locked and f.type="DB" and f.MacCreator="MoCo" then brings the trouble!! Claudius From sunshine at public.kherson.ua Tue Aug 10 14:24:49 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 10 06:24:58 2004 Subject: V4RB Testing Windows In-Reply-To: <8B23BBA0-EABA-11D8-8ECC-00039365848C@sailer-online.de> Message-ID: On 8/10/04 1:46 PM, "Claudius Sailer" wrote: >> Please check that your db files have extensions. >> >> The main file on Windows MUST have .vdb > > they have corrct extensions. > > Is it possible that > > if f<>nil and not f.locked and f.type="DB" and f.MacCreator="MoCo" then > > brings the trouble!! But on Windows not exists .MacCreator -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Wed Aug 11 07:45:51 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Wed Aug 11 10:11:34 2004 Subject: clearing the cache Message-ID: <20040811144551.85152.qmail@web52404.mail.yahoo.com> Does anyone know of a way to flush/clear/destroy the cache without making a call to "Shutdown"? I'm using VXCMD with Revolution. I've got a situation where computer memory keeps filling up and filling up until crashes occur. I'm reading fairly large BLOB data from a database, and the cached data appears to stay in memory, even after writing the data to disk and closing the cursor on the database. Is this normal behavior? It seems to get cleared out if I make a call to Shutdown, but I'd rather only do that when my application actually closes completely. So if there were a way to clear the cache, that would be wonderful. Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail From sunshine at public.kherson.ua Wed Aug 11 18:55:42 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 11 10:55:55 2004 Subject: clearing the cache In-Reply-To: <20040811144551.85152.qmail@web52404.mail.yahoo.com> Message-ID: On 8/11/04 5:45 PM, "Chris Sheffield" wrote: > Does anyone know of a way to flush/clear/destroy the > cache without making a call to "Shutdown"? I'm using > VXCMD with Revolution. There is no such way, Chris. Only shutdown > I've got a situation where computer memory keeps > filling up and filling up until crashes occur. I'm > reading fairly large BLOB data from a database, and > the cached data appears to stay in memory, even after > writing the data to disk and closing the cursor on the > database. Is this normal behavior? Crash no. You mean that you see in some way, that RAM of computer is eaten?! Then this is NOT cache! Cache always have fixed size, as you have specify in ValentinaInit(). Hmm, sounds like memory leak. But I don't know if it is in YOUR code or in Valentina. Frankly saying I doubt it is in Valentina. > It seems to get > cleared out if I make a call to Shutdown, but I'd > rather only do that when my application actually > closes completely. So if there were a way to clear > the cache, that would be wonderful. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Wed Aug 11 09:02:09 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Wed Aug 11 11:33:54 2004 Subject: clearing the cache In-Reply-To: Message-ID: <20040811160209.25213.qmail@web52404.mail.yahoo.com> Hi, Ruslan. Thanks for responding. I have a little more info on this. I turns out I had made a mistake and had only specified a 3KB cache (3*1024). I increased that to 3MB (3*1024*1024) along with calling Shutdown, and that seems to have helped. With the increased cache size, the memory usage doesn't seem to increase like it did. Not sure why. But could there be some issue with specifying a cache that is too small? Anyway, it appears to be okay after making these couple changes. Thanks again. Chris --- Ruslan Zasukhin wrote: > On 8/11/04 5:45 PM, "Chris Sheffield" > wrote: > > > Does anyone know of a way to flush/clear/destroy > the > > cache without making a call to "Shutdown"? I'm > using > > VXCMD with Revolution. > > There is no such way, Chris. > > Only shutdown > > > > I've got a situation where computer memory keeps > > filling up and filling up until crashes occur. > I'm > > reading fairly large BLOB data from a database, > and > > the cached data appears to stay in memory, even > after > > writing the data to disk and closing the cursor on > the > > database. Is this normal behavior? > > Crash no. > > You mean that you see in some way, that RAM of > computer is eaten?! > > Then this is NOT cache! > Cache always have fixed size, as you have specify in > ValentinaInit(). > > Hmm, sounds like memory leak. > But I don't know if it is in YOUR code or in > Valentina. > > Frankly saying I doubt it is in Valentina. > > > > It seems to get > > cleared out if I make a call to Shutdown, but I'd > > rather only do that when my application actually > > closes completely. So if there were a way to > clear > > the cache, that would be wonderful. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail From rjb at rz.uni-potsdam.de Wed Aug 11 18:33:44 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Aug 11 11:43:40 2004 Subject: clearing the cache In-Reply-To: References: Message-ID: >On 8/11/04 5:45 PM, "Chris Sheffield" wrote: > >> Does anyone know of a way to flush/clear/destroy the >> cache without making a call to "Shutdown"? I'm using >> VXCMD with Revolution. > >There is no such way, Chris. > >Only shutdown > > >> I've got a situation where computer memory keeps >> filling up and filling up until crashes occur. I'm >> reading fairly large BLOB data from a database, and >> the cached data appears to stay in memory, even after >> writing the data to disk and closing the cursor on the >> database. Is this normal behavior? > >Crash no. > >You mean that you see in some way, that RAM of computer is eaten?! > >Then this is NOT cache! >Cache always have fixed size, as you have specify in ValentinaInit(). > >Hmm, sounds like memory leak. >But I don't know if it is in YOUR code or in Valentina. > >Frankly saying I doubt it is in Valentina. > I had once a situation where there was a memory leak as a result of some weird interaction between MetaCard and Valentina. I had a field in a window that was displaying a log of on-going activities. If valentina was off, all was fine. If valentina was on, updating that field was leaking memory. I ended up eliminating live updates of log fields. Truly strange. The leak was definitely on the MetaCard's side but under no other circumstances I managed to reproduce it otherwise (and I really tried as I wanted Scott to fix it). Robert From sunshine at public.kherson.ua Wed Aug 11 20:08:55 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 11 12:09:04 2004 Subject: clearing the cache In-Reply-To: <20040811160209.25213.qmail@web52404.mail.yahoo.com> Message-ID: On 8/11/04 7:02 PM, "Chris Sheffield" wrote: > Hi, Ruslan. Thanks for responding. > > I have a little more info on this. I turns out I had > made a mistake and had only specified a 3KB cache > (3*1024). I increased that to 3MB (3*1024*1024) along > with calling Shutdown, and that seems to have helped. > With the increased cache size, the memory usage > doesn't seem to increase like it did. Not sure why. > But could there be some issue with specifying a cache > that is too small? Very possible. Just always no time to test cache in 3KB :-) > Anyway, it appears to be okay after making these > couple changes. Thanks again. Good. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From timdavis at amug.org Thu Aug 12 09:07:39 2004 From: timdavis at amug.org (Tim Davis) Date: Thu Aug 12 11:07:53 2004 Subject: Join question Message-ID: Hi everyone, This is an easy question, but I don't have the answer accessible. How do I state a where clause in SQL in which the returned cursor contains all the records in table A which do NOT have a related record in table B? Thanks in advance! Tim Davis From timdavis at amug.org Thu Aug 12 09:28:13 2004 From: timdavis at amug.org (Tim Davis) Date: Thu Aug 12 11:28:21 2004 Subject: Join question pt 2 Message-ID: <9B72C9F8-EC7C-11D8-AEFC-000A95D87648@amug.org> I should add to my join question, I'm using RB 5.5.3, and (still) using "version 1" of VServer (released early this year). Thanks, Tim P.S. I'll switch to VServer 2 as soon as I know my solution will run properly with associated version changes. From sunshine at public.kherson.ua Thu Aug 12 20:42:44 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 12 12:42:51 2004 Subject: Join question pt 2 In-Reply-To: <9B72C9F8-EC7C-11D8-AEFC-000A95D87648@amug.org> Message-ID: On 8/12/04 7:28 PM, "Tim Davis" wrote: > I should add to my join question, I'm using RB 5.5.3, and (still) using > "version 1" of VServer (released early this year). > > Thanks, > Tim > > P.S. I'll switch to VServer 2 as soon as I know my solution will run > properly with associated version changes. Tim, please note, we have not put into public domain yet Vserver based on 2.0 engine. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Aug 12 20:45:16 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 12 12:45:23 2004 Subject: Join question In-Reply-To: Message-ID: On 8/12/04 7:07 PM, "Tim Davis" wrote: > Hi everyone, > > This is an easy question, but I don't have the answer accessible. > > How do I state a where clause in SQL in which the returned cursor > contains all the Hi Tim, Actually this is NOT easy task for RDBMS and SQL. We have discuss it few times on list. Valentina 2.0 will have new great way for resolving such tasks. Please check list archive for the current way. I just not remember it from head. It is not so trivial. If you will find, then again we need invent it. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From softil at onlinehome.de Thu Aug 12 23:34:15 2004 From: softil at onlinehome.de (SoftIl) Date: Thu Aug 12 16:34:42 2004 Subject: How does works "group by" correct Message-ID: <008801c480b4$29cdac70$08efe6d9@IPSBASIS> Hi all, I've got some problems with "group by": 1) If I try this: select * from myTable group by date the "group by" statement hasn't an effect. If I write this select *,count(any column) from myTable group by date it works correct. Why is it so? In no documentation I could find this, that I have to use "count()" if I'd like to use "group by". 2) How can I use "group by" for more than one column? This statement works not correct. I get all records return: select *,count(any column) from myTable group by date,ohrnummer Thanks for your help. Carsten From halldorg at vortex.is Thu Aug 12 21:49:45 2004 From: halldorg at vortex.is (Halldor Gislason) Date: Thu Aug 12 16:51:44 2004 Subject: How does works "group by" correct In-Reply-To: <008801c480b4$29cdac70$08efe6d9@IPSBASIS> References: <008801c480b4$29cdac70$08efe6d9@IPSBASIS> Message-ID: <86181BB8-ECA9-11D8-A9D7-000393967EEA@vortex.is> "select *" returns all the fields so a group by does not really have a purpose there. the purpose of the group by is to group the results of some aggregate function by some fields so a group by without such a function has little point you may instead be looking for the UNIQUE statement that will not return records with duplicate values of of the field values you specify as unique - I do not know how well Valentina supports UNIQUE to group by more than one field simply do: select a,b, count(*) from c group by a,b or select a,b, sum(c) from d group by a,b h On Aug 12, 2004, at 9:34 PM, SoftIl wrote: > Hi all, > I've got some problems with "group by": > > 1) > If I try this: > select * from myTable group by date > the "group by" statement hasn't an effect. > > If I write this > select *,count(any column) from myTable group by date > it works correct. > > Why is it so? In no documentation I could find this, that I have to use > "count()" if I'd like to use "group by". > > 2) > How can I use "group by" for more than one column? > This statement works not correct. I get all records return: > select *,count(any column) from myTable group by date,ohrnummer > > Thanks for your help. > Carsten > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From daniel at monumental-i.com Thu Aug 12 18:33:51 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Thu Aug 12 17:33:59 2004 Subject: [V4MD] Not exporting ASCII chars in Text fields on XML export In-Reply-To: <86181BB8-ECA9-11D8-A9D7-000393967EEA@vortex.is> References: <008801c480b4$29cdac70$08efe6d9@IPSBASIS> <86181BB8-ECA9-11D8-A9D7-000393967EEA@vortex.is> Message-ID: <411BF04F.5080207@monumental-i.com> I'm sure I'm doing something stupid - but I when I export my database as XML my text fields show-up as all ASCII chars. I would like them to not be translated into ASCII chars. I changed the field language setting to "English" and still no go. Any suggestions? - <#> 1 20 1someproduct 48 65 72 65 20 69 73 20 61 6E 6F 74 68 65 72 20 77 6F 6E 64 65 72 66 75 6C 20 43 6F 6F 70 65 72 20 70 72 6F 64 75 63 74 34 34 34 From sunshine at public.kherson.ua Fri Aug 13 08:14:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 13 00:14:29 2004 Subject: [V4MD] Not exporting ASCII chars in Text fields on XML export In-Reply-To: <411BF04F.5080207@monumental-i.com> Message-ID: On 8/13/04 1:33 AM, "Daniel Crowder" wrote: Hi Daniel, > I'm sure I'm doing something stupid - but I when I export my database as > XML my text fields show-up as all ASCII chars. I would like them to not > be translated into ASCII chars. I changed the field language setting to > "English" and still no go. Any suggestions? > > - <#> > 1 > 20 > 1someproduct > 48 65 72 65 20 69 73 20 61 6E 6F 74 68 65 72 20 > 77 6F 6E 64 65 72 66 75 6C 20 43 6F 6F 70 65 72 20 70 72 6F 64 75 63 74 > 34 34 34 > Valentina dump in an XML file any BLOB field as HEX values. For regular BLOB this is required. There is no way express BLOB value and pictures into text form. But for TEXT field, yes, we can also dump readable chars.... Just nobody have complain on this yet. Aha, I remember why I did not use chars. Look. TEXT field can contains multi-line text value. I.e. We can have many new lines. So text file can looks as ------------------ Aha, I remember why I did not use chars. Look. TEXT field can contains multi-line text value. I.e. We can have many new lines. So text file can looks as ------------------ Hmm, well, not so bad... Okay, I think in Valentina 2.0 we can change this behavior. Btw, Daniel, "*description*" -- this is name of field? Not good. You should start names from letter or digit or _ Valentina 2.0 will complain on such bad names. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From benr_mc at cogapp.com Fri Aug 13 11:15:28 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri Aug 13 05:15:40 2004 Subject: Changing character sets in text fields Message-ID: I built a Valentina database on the Mac, which included text fields into which I carefully put text constructed in ISO-8859-1, because that was how the application that would be using the database on Windows would be treating it. However, the data came out wrong on Windows - it looked just like I'd expect ISO-8859-1 to look like on the Mac. I then rebuilt the database (again on the Mac) with text in the MacRoman character set, and it came out 'right' on Windows. Obviously Valentina had done some conversion on the data. It's very kind of Valentina, but it was unexpected, and it may not be what I want. I've not been able to find any reference to this behaviour in the documentation. I'd like to know: * how and where this happens. EG, is the data stored internally in unicode, and transformed on both storage and retrieval according to the local platform? Or is it always stored in one character set, and Valentina transforms on storage and retrieval on some platforms? Or is it always stored exactly as inserted, with a flag to cause transformation on retrieval in some situations? Or some other arrangement? * under what circumstances this is applied. EG is it any 'text' field? what about 'varchar'? * can this be configured. Is there a setting either in Valentina, or per database or per table, that can be used to avoid this behaviour when it is not desired? TIA, Ben Rubinstein | Email: benr_mc@cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From rjb at rz.uni-potsdam.de Fri Aug 13 12:28:52 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Fri Aug 13 05:37:43 2004 Subject: Changing character sets in text fields In-Reply-To: References: Message-ID: Ben, you hit something I have been complaining about for a few years now. Valentina senses that the field content was entered on Mac and automatically converts its encoding when it is accessed on Windows. In my web application, I just keep converting back and forth (undoubtedly wasting precious cpu cycles) ensuring that the data stored in db matches the platform the db runs on. >I built a Valentina database on the Mac, which included text fields into >which I carefully put text constructed in ISO-8859-1, because that was how >the application that would be using the database on Windows would be >treating it. > >However, the data came out wrong on Windows - it looked just like I'd expect >ISO-8859-1 to look like on the Mac. I then rebuilt the database (again on >the Mac) with text in the MacRoman character set, and it came out 'right' on >Windows. > >Obviously Valentina had done some conversion on the data. It's very kind of >Valentina, but it was unexpected, and it may not be what I want. Yes, Ruslan tried to make it too friendly :) >I've not been able to find any reference to this behaviour in the >documentation. I'd like to know: Search the list archives. This was discussed a number of times. >* how and where this happens. EG, is the data stored internally in unicode, >and transformed on both storage and retrieval according to the local >platform? Or is it always stored in one character set, and Valentina >transforms on storage and retrieval on some platforms? Or is it always >stored exactly as inserted, with a flag to cause transformation on retrieval >in some situations? Or some other arrangement? In Valentina 1.x, data is stored as ascii text. Unicode storage comes in 2. Valentina converts on retrieval as far as I know. >* under what circumstances this is applied. EG is it any 'text' field? >what about 'varchar'? any field that contains character data (string, varchar, text) >* can this be configured. Is there a setting either in Valentina, or per >database or per table, that can be used to avoid this behaviour when it is >not desired? Nop. I truly hope this will change in version 2. Robert Brenstein From rbarber at yhb.att.ne.jp Fri Aug 13 21:39:18 2004 From: rbarber at yhb.att.ne.jp (ron barber) Date: Fri Aug 13 07:44:14 2004 Subject: Changing character sets in text fields In-Reply-To: References: Message-ID: I agree with Robert on this as well. Let's keep the encoding and let us take care of it in our chosen development platform. Ron On Aug 13, 2004, at 7:28 PM, Robert Brenstein wrote: > Ben, you hit something I have been complaining about for a few years > now. Valentina senses that the field content was entered on Mac and > automatically converts its encoding when it is accessed on Windows. In > my web application, I just keep converting back and forth (undoubtedly > wasting precious cpu cycles) ensuring that the data stored in db > matches the platform the db runs on. > >> I built a Valentina database on the Mac, which included text fields >> into >> which I carefully put text constructed in ISO-8859-1, because that >> was how >> the application that would be using the database on Windows would be >> treating it. >> >> However, the data came out wrong on Windows - it looked just like I'd >> expect >> ISO-8859-1 to look like on the Mac. I then rebuilt the database >> (again on >> the Mac) with text in the MacRoman character set, and it came out >> 'right' on >> Windows. >> >> Obviously Valentina had done some conversion on the data. It's very >> kind of >> Valentina, but it was unexpected, and it may not be what I want. > > Yes, Ruslan tried to make it too friendly :) > >> I've not been able to find any reference to this behaviour in the >> documentation. I'd like to know: > > Search the list archives. This was discussed a number of times. > >> * how and where this happens. EG, is the data stored internally in >> unicode, >> and transformed on both storage and retrieval according to the local >> platform? Or is it always stored in one character set, and Valentina >> transforms on storage and retrieval on some platforms? Or is it >> always >> stored exactly as inserted, with a flag to cause transformation on >> retrieval >> in some situations? Or some other arrangement? > > In Valentina 1.x, data is stored as ascii text. Unicode storage comes > in 2. Valentina converts on retrieval as far as I know. > >> * under what circumstances this is applied. EG is it any 'text' >> field? >> what about 'varchar'? > > any field that contains character data (string, varchar, text) > >> * can this be configured. Is there a setting either in Valentina, or >> per >> database or per table, that can be used to avoid this behaviour when >> it is >> not desired? > > Nop. I truly hope this will change in version 2. > > Robert Brenstein > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri Aug 13 16:26:29 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 13 08:27:06 2004 Subject: Changing character sets in text fields In-Reply-To: Message-ID: On 8/13/04 3:39 PM, "ron barber" wrote: > I agree with Robert on this as well. Let's keep the encoding and let us > take care of it in our chosen development platform. > > Ron > > > > On Aug 13, 2004, at 7:28 PM, Robert Brenstein wrote: > >> Ben, you hit something I have been complaining about for a few years >> now. Valentina senses that the field content was entered on Mac and >> automatically converts its encoding when it is accessed on Windows. In >> my web application, I just keep converting back and forth (undoubtedly >> wasting precious cpu cycles) ensuring that the data stored in db >> matches the platform the db runs on. In short, This is going to change in Valentina 2.0 I think in the nearest days we will finish beta which will demonstrate new behavior. I invite all interested guys subscribe right now to Valentina beta list. We can continue discussion about this there. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From benr_mc at cogapp.com Fri Aug 13 15:44:16 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri Aug 13 09:45:19 2004 Subject: Changing character sets in text fields In-Reply-To: Message-ID: Ruslan wrote: > This is going to change in Valentina 2.0 > > I think in the nearest days we will finish beta which will demonstrate new > behavior. Well, I'm glad I waited a few hours before sending my "I am totally outraged by this violation of my data" response! Let me just say that while there are times that I've no doubt that I'd find this feature desirable, there are also many times that I wouldn't. I am (generally) a professional; I do (quite often) know what I'm doing; and if I insert data in a particular character set, there's a (pretty good) chance that it's because I want it to be that way. I'm really (quite) grown up and prepared to take responsibility for my own data. It's not that this is a bad feature, but it needs to be optional, configurable (or at least avoidable), and predictable. (And the first part of predictable would be documented!). Since I often find that I'm processing data on one platform, which may come from and/or be destined for another platform, it is actually critical that I can rely on getting out what I put in; no computer can accurately guess what I'm putting in, or how I'd like it to look when I get it back. I look forward to the future! Thanks everyone for their responses. Ben Rubinstein | Email: benr_mc@cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From sunshine at public.kherson.ua Fri Aug 13 19:13:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 13 11:13:10 2004 Subject: Changing character sets in text fields In-Reply-To: Message-ID: On 8/13/04 1:15 PM, "Ben Rubinstein" wrote: Hi Ben, > I built a Valentina database on the Mac, which included text fields into > which I carefully put text constructed in ISO-8859-1, because that was how > the application that would be using the database on Windows would be > treating it. > > However, the data came out wrong on Windows - it looked just like I'd expect > ISO-8859-1 to look like on the Mac. I then rebuilt the database (again on > the Mac) with text in the MacRoman character set, and it came out 'right' on > Windows. > > Obviously Valentina had done some conversion on the data. It's very kind of > Valentina, but it was unexpected, and it may not be what I want. > > I've not been able to find any reference to this behaviour in the > documentation. I'd like to know: > > * how and where this happens. EG, is the data stored internally in unicode, > and transformed on both storage and retrieval according to the local > platform? Or is it always stored in one character set, and Valentina > transforms on storage and retrieval on some platforms? Or is it always > stored exactly as inserted, with a flag to cause transformation on retrieval > in some situations? Or some other arrangement? * Valentina 1.x do not store data in unicode. Valentina 2.0 can do this. * yes, Valentina do convesion of strings self. Works only for Western encodings (about 14 languages). for example it will not work for Cyrillic. Behavior is like in Macromedia Director. * Valentina always keep db in platforms native format. if you move db to other platform, then Valentina on the fly convert strings and numbers. > * under what circumstances this is applied. EG is it any 'text' field? > what about 'varchar'? Strings, VarChar and TEXT. > * can this be configured. Is there a setting either in Valentina, or per > database or per table, that can be used to avoid this behaviour when it is > not desired? No, this is not controlled in Valentina 1.x Again, in Valentina 2.0 we will have much more ways to control this. BTW, now I got idea: We will make 3 parameters for this db.StorageEncoding db.InputEncoding db.OutputEncoding Will be supported 170 encodings of the world. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From benr_mc at cogapp.com Fri Aug 13 17:38:20 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri Aug 13 11:40:19 2004 Subject: Changing character sets in text fields In-Reply-To: Message-ID: Hi Ruslan, > Again, in Valentina 2.0 we will have much more ways to control this. > BTW, now I got idea: > We will make 3 parameters for this > > db.StorageEncoding > db.InputEncoding > db.OutputEncoding > > Will be supported 170 encodings of the world. Will this allow an option which effectively means "I'm putting a stream of octets in, I'd like to get the same octets out, regardless of the platform I stored on or the platform I retrieved on"? > * Valentina always keep db in platforms native format. > if you move db to other platform, then Valentina on the fly convert > strings and numbers. So if a database is going to be used primarily on one platform, it is most efficient if it is also built on that platform? Ben Rubinstein | Email: benr_mc@cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From sunshine at public.kherson.ua Fri Aug 13 20:15:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 13 12:15:42 2004 Subject: Changing character sets in text fields In-Reply-To: Message-ID: On 8/13/04 7:38 PM, "Ben Rubinstein" wrote: Hi Ben, >> * Valentina always keep db in platforms native format. >> if you move db to other platform, then Valentina on the fly convert >> strings and numbers. > > So if a database is going to be used primarily on one platform, it is most > efficient if it is also built on that platform? Exactly. Btw, Valentina Studio allow control format of db, when you create it. Most of Valentina SDKs (e,g, V4RB) also have this parameter. Using it you can on MAC prepare db in format native for windows. We talk here about Valentina 1.x -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Aug 13 20:30:44 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 13 12:30:58 2004 Subject: Changing character sets in text fields In-Reply-To: Message-ID: On 8/13/04 7:38 PM, "Ben Rubinstein" wrote: Hi Ben, >> Again, in Valentina 2.0 we will have much more ways to control this. >> BTW, now I got idea: >> We will make 3 parameters for this >> >> db.StorageEncoding >> db.InputEncoding >> db.OutputEncoding >> >> Will be supported 170 encodings of the world. > > Will this allow an option which effectively means "I'm putting a stream of > octets in, I'd like to get the same octets out, regardless of the platform I > stored on or the platform I retrieved on"? This letter CC'd to beta list. Let me describe how I see it. Correct me if I am wrong somewhere. Add own ideas! 1) I believe that all new databases (using Valentina 2.0) must have db.StorageEncoding as UTF-16 (in the first turn Japan, Korea, ..) or UTF8 (Western languages, Cyrillic, ...) Valentina 2.0 will allow also specify to keep files on disk in e,g, Cyrillic WIN (1251) Cyrillic (KOI-8) Mac Western Latin-1 ... But I do not see any strong reason for developers to do this. Better to use Unicode. 2) db.InputEncoding and db.OutPutEncoding * They also can be on default UTF-16 or UTF-8. i.e. Developer can simply say: I work with UTF16 or UTF8 and that is all. any headache. * Developer can specify here, (and I think few years yet this may be widely used) some other encoding. For example: I want store info in db files UTF8 encoding, but I want do I/o using Latin-1. Or I want Input in Latin-1 but output in Mac Western In this case it will work as next, input in Latin1 output in Mac Western ------------> + -----------------> | | +---------------+ | Vengine use | | always UTF16 | +---------------+ ^ | | disk file (UTF8) As input/output I mean such functions as fld.SetString( "asdfa" ) // Latin1 s = fld.GetString() // Mac Western I think I talk now mainly about C++ SDK. Because e.g. REALbasic developers now mainly get/set strings in UTF8. Director MX give to Valentina MacWestern and Latin-1 __always__. I think above is the most flexible way. Anybody see what else here can be made as option ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From benr_mc at cogapp.com Fri Aug 13 18:38:45 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri Aug 13 12:40:20 2004 Subject: Changing character sets in text fields In-Reply-To: Message-ID: Ruslan wrote: >>> * Valentina always keep db in platforms native format. >>> if you move db to other platform, then Valentina on the fly convert >>> strings and numbers. >> >> So if a database is going to be used primarily on one platform, it is most >> efficient if it is also built on that platform? > > Exactly. > > Btw, Valentina Studio allow control format of db, when you create it. > Most of Valentina SDKs (e,g, V4RB) also have this parameter. > Using it you can on MAC prepare db in format native for windows. > > We talk here about Valentina 1.x Is this possible using VXCMD? And if this is done, then using the example of creating Windows format native db on Mac, would it be the case that text inserted on the Mac would be assumed to be in MacRoman, and converted before storage into some Windows format? (And btw, what is the format that is used on Windows? CP1250? ISO-8859-1? Or is it sensitive to the localisation of the version of Windows?) Thanks, Ben Rubinstein | Email: benr_mc@cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From sunshine at public.kherson.ua Fri Aug 13 20:50:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 13 12:51:04 2004 Subject: Changing character sets in text fields In-Reply-To: Message-ID: On 8/13/04 8:38 PM, "Ben Rubinstein" wrote: > Ruslan wrote: > >>>> * Valentina always keep db in platforms native format. >>>> if you move db to other platform, then Valentina on the fly convert >>>> strings and numbers. >>> >>> So if a database is going to be used primarily on one platform, it is most >>> efficient if it is also built on that platform? >> >> Exactly. >> >> Btw, Valentina Studio allow control format of db, when you create it. >> Most of Valentina SDKs (e,g, V4RB) also have this parameter. >> Using it you can on MAC prepare db in format native for windows. >> >> We talk here about Valentina 1.x > > Is this possible using VXCMD? I think yes. Please look int Database_Create() method docs. > And if this is done, then using the example of creating Windows format > native db on Mac, would it be the case that text inserted on the Mac would > be assumed to be in MacRoman, and converted before storage into some Windows > format? (And btw, what is the format that is used on Windows? CP1250? > ISO-8859-1? Or is it sensitive to the localisation of the version of > Windows?) Yes, Valentina will expect from you Mac Western, but when write it on disk Valentina will convert it to Latin-1 Win Format Is not sensitive. I think it is ISO-8859-1 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From benr_mc at cogapp.com Fri Aug 13 19:17:27 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri Aug 13 13:20:18 2004 Subject: Changing character sets in text fields In-Reply-To: Message-ID: on 13/8/04 6:50 pm, Ruslan Zasukhin wrote >>> Btw, Valentina Studio allow control format of db, when you create it. >>> Most of Valentina SDKs (e,g, V4RB) also have this parameter. >>> Using it you can on MAC prepare db in format native for windows. >>> >>> We talk here about Valentina 1.x >> >> Is this possible using VXCMD? > > I think yes. > > Please look int Database_Create() method docs. This is where I thought it would be, but the docs list only parameters to set number of files and segment size. >> And if this is done, then using the example of creating Windows format >> native db on Mac, would it be the case that text inserted on the Mac would >> be assumed to be in MacRoman, and converted before storage into some Windows >> format? (And btw, what is the format that is used on Windows? CP1250? >> ISO-8859-1? Or is it sensitive to the localisation of the version of >> Windows?) > > Yes, Valentina will expect from you Mac Western, > but when write it on disk Valentina will convert it to Latin-1 > > Win Format Is not sensitive. > I think it is ISO-8859-1 OK, thanks. What does Valentina do for characters that don't convert, ie that are only in what it presumes to be the source character set, but which don't exist in the storage character set? Ben Rubinstein | Email: benr_mc@cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From sunshine at public.kherson.ua Fri Aug 13 21:45:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 13 13:45:43 2004 Subject: Changing character sets in text fields In-Reply-To: Message-ID: On 8/13/04 9:17 PM, "Ben Rubinstein" wrote: >>> Is this possible using VXCMD? >> >> I think yes. >> >> Please look int Database_Create() method docs. > > This is where I thought it would be, but the docs list only parameters to > set number of files and segment size. This means that VXMCD do not have access to this parameter. If you going preapre db just once, you can create empty one by vl Studio, and later open it in VXCMD. >>> And if this is done, then using the example of creating Windows format >>> native db on Mac, would it be the case that text inserted on the Mac would >>> be assumed to be in MacRoman, and converted before storage into some Windows >>> format? (And btw, what is the format that is used on Windows? CP1250? >>> ISO-8859-1? Or is it sensitive to the localisation of the version of >>> Windows?) >> >> Yes, Valentina will expect from you Mac Western, >> but when write it on disk Valentina will convert it to Latin-1 >> >> Win Format Is not sensitive. >> I think it is ISO-8859-1 > > OK, thanks. What does Valentina do for characters that don't convert, ie > that are only in what it presumes to be the source character set, but which > don't exist in the storage character set? I think it not map it. Ben, I have use simple map to convert, Which I have take from Director ;================================================================= ; ; CHARACTER MAPPINGS ; ; Character mapping ensures that characters such as bullets, ; quote marks, and accented characters always appear correctly ; when text is moved from one platform to another. When a ; character is mapped, a different ASCII value is substituted ; in order to preserve the appearance of the character. ; ; Character mappings are used for all fonts EXCEPT those declared ; above as Map None. ; ; The format for character mappings is: ; ; Platform: => Platform: oldChar => oldChar ... ; ; The following table provides a full set of bi-directional ; mappings for all ASCII values between 128 and 255. ; ; Note: Some characters are not available in both character sets. ; However, the bi-directional mapping table below preserves these ; characters even if they are mapped to a different platform and ; later re-mapped back to the original platform. Mac: => Win: 128=>196 129=>197 130=>199 131=>201 132=>209 133=>214 134=>220 Mac: => Win: 135=>225 136=>224 137=>226 138=>228 139=>227 140=>229 141=>231 Mac: => Win: 142=>233 143=>232 144=>234 145=>235 146=>237 147=>236 148=>238 Mac: => Win: 149=>239 150=>241 151=>243 152=>242 153=>244 154=>246 155=>245 Mac: => Win: 156=>250 157=>249 158=>251 159=>252 160=>134 161=>176 162=>162 Mac: => Win: 163=>163 164=>167 165=>149 166=>182 167=>223 168=>174 169=>169 Mac: => Win: 170=>153 171=>180 172=>168 173=>141 174=>198 175=>216 176=>144 Mac: => Win: 177=>177 178=>143 179=>142 180=>165 181=>181 182=>240 183=>221 Mac: => Win: 184=>222 185=>254 186=>138 187=>170 188=>186 189=>253 190=>230 Mac: => Win: 191=>248 192=>191 193=>161 194=>172 195=>175 196=>131 197=>188 Mac: => Win: 198=>208 199=>171 200=>187 201=>133 202=>160 203=>192 204=>195 Mac: => Win: 205=>213 206=>140 207=>156 208=>173 209=>151 210=>147 211=>148 Mac: => Win: 212=>145 213=>146 214=>247 215=>215 216=>255 217=>159 218=>158 Mac: => Win: 219=>164 220=>139 221=>155 222=>128 223=>129 224=>135 225=>183 Mac: => Win: 226=>130 227=>132 228=>137 229=>194 230=>202 231=>193 232=>203 Mac: => Win: 233=>200 234=>205 235=>206 236=>207 237=>204 238=>211 239=>212 Mac: => Win: 240=>157 241=>210 242=>218 243=>219 244=>217 245=>166 246=>136 Mac: => Win: 247=>152 248=>150 249=>154 250=>178 251=>190 252=>184 253=>189 Mac: => Win: 254=>179 255=>185 Win: => Mac: 128=>222 129=>223 130=>226 131=>196 132=>227 133=>201 134=>160 Win: => Mac: 135=>224 136=>246 137=>228 138=>186 139=>220 140=>206 141=>173 Win: => Mac: 142=>179 143=>178 144=>176 145=>212 146=>213 147=>210 148=>211 Win: => Mac: 149=>165 150=>248 151=>209 152=>247 153=>170 154=>249 155=>221 Win: => Mac: 156=>207 157=>240 158=>218 159=>217 160=>202 161=>193 162=>162 Win: => Mac: 163=>163 164=>219 165=>180 166=>245 167=>164 168=>172 169=>169 Win: => Mac: 170=>187 171=>199 172=>194 173=>208 174=>168 175=>195 176=>161 Win: => Mac: 177=>177 178=>250 179=>254 180=>171 181=>181 182=>166 183=>225 Win: => Mac: 184=>252 185=>255 186=>188 187=>200 188=>197 189=>253 190=>251 Win: => Mac: 191=>192 192=>203 193=>231 194=>229 195=>204 196=>128 197=>129 Win: => Mac: 198=>174 199=>130 200=>233 201=>131 202=>230 203=>232 204=>237 Win: => Mac: 205=>234 206=>235 207=>236 208=>198 209=>132 210=>241 211=>238 Win: => Mac: 212=>239 213=>205 214=>133 215=>215 216=>175 217=>244 218=>242 Win: => Mac: 219=>243 220=>134 221=>183 222=>184 223=>167 224=>136 225=>135 Win: => Mac: 226=>137 227=>139 228=>138 229=>140 230=>190 231=>141 232=>143 Win: => Mac: 233=>142 234=>144 235=>145 236=>147 237=>146 238=>148 239=>149 Win: => Mac: 240=>182 241=>150 242=>152 243=>151 244=>153 245=>155 246=>154 Win: => Mac: 247=>214 248=>191 249=>157 250=>156 251=>158 252=>159 253=>189 Win: => Mac: 254=>185 255=>216 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gunnarswan at PracticeToPass.com Sat Aug 14 11:23:52 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Sat Aug 14 13:22:56 2004 Subject: Off topic ... Shockwave and Valentina Message-ID: <200408141822.i7EIMnvG001952@practicetopass.com> Good day, Will Valentina run as a Shockwave Xtra ? We will be creating an installer (setup.exe), from a CD-ROM, to place the Valentina Xtra into the folder, it will not be downloaded. Where would I install the database to ? When I open the database with Lingo, what is the path to the database? Again, it will not run from a web-site, but will be installed. Anyone with tips on Shockwave - Valentina, I'd appreciate the feedback. Best Regards, Gunnar Swan Practice To Pass http://www.PracticeToPass.Com From sunshine at public.kherson.ua Sat Aug 14 21:46:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 14 13:46:26 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: <200408141822.i7EIMnvG001952@practicetopass.com> Message-ID: On 8/14/04 9:23 PM, "Gunnar Swan" wrote: Hi Gunnar, > Will Valentina run as a Shockwave Xtra ? Yes, V4MD 2.0 Client will be SW safe V4MD 2.0 Standalone -- no. > We will be creating an installer (setup.exe), from a CD-ROM, to place the > Valentina Xtra into the folder, it will not be downloaded. > > Where would I install the database to ? > > When I open the database with Lingo, what is the path to the database? > > Again, it will not run from a web-site, but will be installed. > > Anyone with tips on Shockwave - Valentina, I'd appreciate the feedback. Somebody have try do the same few months ago. I do not remember result. V4MD 1.x have ON some SW-safe flag. But I don't know if that is enough to do what you want. As far as I know now, even V4MD 1.x you must be able download into browser on intranet. You do not need Verisign certificate. Just user can click in dialog YES, download it. Again, I cannot give you details. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From softil at onlinehome.de Mon Aug 16 12:38:52 2004 From: softil at onlinehome.de (SoftIl) Date: Mon Aug 16 05:39:44 2004 Subject: How does works "group by" correct References: <008801c480b4$29cdac70$08efe6d9@IPSBASIS> <86181BB8-ECA9-11D8-A9D7-000393967EEA@vortex.is> Message-ID: <000001c4837d$55ae1840$b8ebe6d9@IPSBASIS> Hallo Halldor, thanks for your answer. Now I understand where my mistake was. I didn't know that I can use goup by only with an aggregate function. Now it is clear, why it could not work. Thanks Carsten ----- Original Message ----- From: "Halldor Gislason" To: "Valentina Developers" Sent: Thursday, August 12, 2004 11:49 PM Subject: Re: How does works "group by" correct > "select *" returns all the fields so a group by does not really have a > purpose there. > > the purpose of the group by is to group the results of some aggregate > function by some fields so a group by without such a function has > little point > > you may instead be looking for the UNIQUE statement that will not > return records with duplicate values of of the field values you specify > as unique - I do not know how well Valentina supports UNIQUE > > to group by more than one field simply do: > > select a,b, count(*) from c group by a,b > > or > > select a,b, sum(c) from d group by a,b > > h > > > > On Aug 12, 2004, at 9:34 PM, SoftIl wrote: > > > Hi all, > > I've got some problems with "group by": > > > > 1) > > If I try this: > > select * from myTable group by date > > the "group by" statement hasn't an effect. > > > > If I write this > > select *,count(any column) from myTable group by date > > it works correct. > > > > Why is it so? In no documentation I could find this, that I have to use > > "count()" if I'd like to use "group by". > > > > 2) > > How can I use "group by" for more than one column? > > This statement works not correct. I get all records return: > > select *,count(any column) from myTable group by date,ohrnummer > > > > Thanks for your help. > > Carsten > > > > > > _______________________________________________ > > Valentina mailing list > > Valentina@lists.macserve.net > > http://lists.macserve.net/mailman/listinfo/valentina > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From Claudius at sailer-online.de Mon Aug 16 12:42:26 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Aug 16 05:42:35 2004 Subject: Database in MacOS and Windows Message-ID: Hi, sorry that I am the speaker of an other valentina-user, but he is not able to understand english. He uses following code reading from cursor: #if TargetMacOS then EfOrt.text = defineencoding(wCursor.Field("Ort").getstring,encodings.MacRoman) #endif #if TargetWin32 then EfOrt.text = defineencoding(wCursor.Field("Ort").getstring,encodings.SystemDefault) #endif writing to cursor: #if TargetMacOS then wCursor.Field("Ort").setstring(convertencoding(EFOrt.Text,encodings.macr oman)) #endif #if TargetWin32 then wCursor.Field("Ort").setstring(convertencoding(EFOrt.Text,encodings.Syst emDefault)) #endif but on windows he doesn't get the correct german 'Umlaute'. Whats the possible fault? he also generated a new database on windows and filled this database with data and read from database and get also wrong characters. thanks for help Claudius -- G4/733 QS / MacOS X 10.3.5de / RB 5.2.4de or 5.5.3/ Valentina 1.10.0 Homepage http://www.ClaSai.de Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From chuck at mediamacros.com Mon Aug 16 07:17:16 2004 From: chuck at mediamacros.com (Chuck Neal) Date: Mon Aug 16 06:15:04 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: Message-ID: <045201c48382$96ca1630$b900a8c0@batcomputer> That is incorrect. For the Xtra to download correctly you do need a SW certificate. This prevents unsigned Xtras from installing malicious code on a user's machine. -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 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Saturday, August 14, 2004 2:46 PM To: valentina@lists.macserve.net Subject: Re: Off topic ... Shockwave and Valentina Somebody have try do the same few months ago. I do not remember result. V4MD 1.x have ON some SW-safe flag. But I don't know if that is enough to do what you want. As far as I know now, even V4MD 1.x you must be able download into browser on intranet. You do not need Verisign certificate. Just user can click in dialog YES, download it. Again, I cannot give you details. From sunshine at public.kherson.ua Mon Aug 16 14:17:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 16 06:17:29 2004 Subject: Database in MacOS and Windows In-Reply-To: Message-ID: On 8/16/04 1:42 PM, "Claudius Sailer" wrote: > Hi, > > sorry that I am the speaker of an other valentina-user, but he is not > able to understand english. > He uses following code > > reading from cursor: > #if TargetMacOS then > EfOrt.text = > defineencoding(wCursor.Field("Ort").getstring,encodings.MacRoman) > #endif > #if TargetWin32 then > EfOrt.text = > defineencoding(wCursor.Field("Ort").getstring,encodings.SystemDefault) > #endif > > writing to cursor: > #if TargetMacOS then > > wCursor.Field("Ort").setstring(convertencoding(EFOrt.Text,encodings.macr > oman)) > #endif > #if TargetWin32 then > > wCursor.Field("Ort").setstring(convertencoding(EFOrt.Text,encodings.Syst > emDefault)) > #endif > > > but on windows he doesn't get the correct german 'Umlaute'. Whats the > possible fault? > he also generated a new database on windows and filled this database > with data and read from database and get also wrong characters. Hi Claudius, Does convertencoding(EFOrt.Text,encodings.SystemDefault) Produce Umlaute ? I think this is the first point to check. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Aug 16 14:19:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 16 06:19:45 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: <045201c48382$96ca1630$b900a8c0@batcomputer> Message-ID: On 8/16/04 2:17 PM, "Chuck Neal" wrote: > That is incorrect. For the Xtra to download correctly you do need a SW > certificate. This prevents unsigned Xtras from installing malicious code on > a user's machine. Hi Chuck, You sure on this? I was told that user will get dialog with question: Something do not have certificate. so you trust to load it on your computer? if he want he can answer YES. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From chuck at mediamacros.com Mon Aug 16 07:26:00 2004 From: chuck at mediamacros.com (Chuck Neal) Date: Mon Aug 16 06:23:45 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: Message-ID: <045e01c48383$d01862b0$b900a8c0@batcomputer> Unless this has changed significantly, you need the certificate. I would recommend it anyway as I personally would not trust any unsigned object like this. They are only $400 a year so there is really no reason for a company not to get one. :) -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 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Monday, August 16, 2004 7:20 AM To: valentina@lists.macserve.net Subject: Re: Off topic ... Shockwave and Valentina On 8/16/04 2:17 PM, "Chuck Neal" wrote: > That is incorrect. For the Xtra to download correctly you do need a > SW certificate. This prevents unsigned Xtras from installing malicious > code on a user's machine. Hi Chuck, You sure on this? I was told that user will get dialog with question: Something do not have certificate. so you trust to load it on your computer? if he want he can answer YES. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From chuck at mediamacros.com Mon Aug 16 07:27:04 2004 From: chuck at mediamacros.com (Chuck Neal) Date: Mon Aug 16 06:24:48 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: Message-ID: <045f01c48383$f5e84190$b900a8c0@batcomputer> Actually now that I think about it is definitely required. You have to package the Xtra for download with the Director Xtras Packaging kit ($50 from macromedia) It will not package the file if you don't give it a valid certificate. :) -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 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Monday, August 16, 2004 7:20 AM To: valentina@lists.macserve.net Subject: Re: Off topic ... Shockwave and Valentina On 8/16/04 2:17 PM, "Chuck Neal" wrote: > That is incorrect. For the Xtra to download correctly you do need a > SW certificate. This prevents unsigned Xtras from installing malicious > code on a user's machine. Hi Chuck, You sure on this? I was told that user will get dialog with question: Something do not have certificate. so you trust to load it on your computer? if he want he can answer YES. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Mon Aug 16 14:29:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 16 06:32:39 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: <045e01c48383$d01862b0$b900a8c0@batcomputer> Message-ID: On 8/16/04 2:26 PM, "Chuck Neal" wrote: > Unless this has changed significantly, you need the certificate. I would > recommend it anyway as I personally would not trust any unsigned object like > this. They are only $400 a year so there is really no reason for a company > not to get one. :) Yes, we are now in the process of getting of certificate for V4MD Client 2.0 Although it seems I have see price $800. > Actually now that I think about it is definitely required. You have to > package the Xtra for download with the Director Xtras Packaging kit ($50 > from macromedia) It will not package the file if you don't give it a valid > certificate. :) Right. We already have Packager. Now we need certificate. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Mon Aug 16 14:31:42 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Aug 16 07:31:51 2004 Subject: Database in MacOS and Windows In-Reply-To: References: Message-ID: <3A4DC5C5-EF80-11D8-835C-00039365848C@sailer-online.de> Hi Ruslan, Am 16. Aug 2004 um 13:17 Uhr schrieb Ruslan Zasukhin: > Hi Claudius, > > Does > > convertencoding(EFOrt.Text,encodings.SystemDefault) > > Produce Umlaute ? > > I think this is the first point to check. SystemDefault stand for MacRoman on mac and WindowsLatin1 on Windows I thought. So reading from EditField, which is unicode I expect that I get Umlaute. On Mac I get Umlaute with this code, but on Windows I would expect too. The problem I am testing at the moment is, that it could be that the guy is using SystemDefalut (MacRoman) on mac and is wondering why he get wong characters when he reads it on windows. But this, i would expect, has to be wrong because writing MacRoman and reading WindowsLatin1 is not possible (I think so). The thing is, in your point of view it should work to write and read on Mac and to write and read from same database on windows and to get same result!! bye Claudius From sunshine at public.kherson.ua Mon Aug 16 15:39:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 16 07:39:25 2004 Subject: Database in MacOS and Windows In-Reply-To: <3A4DC5C5-EF80-11D8-835C-00039365848C@sailer-online.de> Message-ID: On 8/16/04 3:31 PM, "Claudius Sailer" wrote: > Hi Ruslan, > > Am 16. Aug 2004 um 13:17 Uhr schrieb Ruslan Zasukhin: > >> Hi Claudius, >> >> Does >> >> convertencoding(EFOrt.Text,encodings.SystemDefault) >> >> Produce Umlaute ? >> >> I think this is the first point to check. > > SystemDefault stand for MacRoman on mac and WindowsLatin1 on Windows I > thought. So reading from EditField, which is unicode I expect that I > get Umlaute. On Mac I get Umlaute with this code, but on Windows I > would expect too. > The problem I am testing at the moment is, that it could be that the > guy is using SystemDefalut (MacRoman) on mac and is wondering why he > get wong characters when he reads it on windows. But this, i would > expect, has to be wrong because writing MacRoman and reading > WindowsLatin1 is not possible (I think so). Valentina in the MAC created db keep strings in MacWestern. If you move db to Windows, then Valentina on the fly returns Latin1 > The thing is, in your point of view it should work to write and read on > Mac and to write and read from same database on windows and to get same > result!! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From chuck at mediamacros.com Mon Aug 16 09:11:31 2004 From: chuck at mediamacros.com (Chuck Neal) Date: Mon Aug 16 08:08:33 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: Message-ID: <04c701c48392$8c5ee670$b900a8c0@batcomputer> Make sure you are buying the correct one. There are multiple digital id signing certificates but only one for Shockwave ad only Verisign can sell them. The $800 could also be if you get the extra "insurance" they provide but this is not required. -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 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Monday, August 16, 2004 7:29 AM To: valentina@lists.macserve.net; Lynn Fredricks Subject: Re: Off topic ... Shockwave and Valentina On 8/16/04 2:26 PM, "Chuck Neal" wrote: > Unless this has changed significantly, you need the certificate. I > would recommend it anyway as I personally would not trust any unsigned > object like this. They are only $400 a year so there is really no > reason for a company not to get one. :) Yes, we are now in the process of getting of certificate for V4MD Client 2.0 Although it seems I have see price $800. > Actually now that I think about it is definitely required. You have > to package the Xtra for download with the Director Xtras Packaging kit > ($50 from macromedia) It will not package the file if you don't give > it a valid certificate. :) Right. We already have Packager. Now we need certificate. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Mon Aug 16 16:13:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 16 08:14:07 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: <04c701c48392$8c5ee670$b900a8c0@batcomputer> Message-ID: On 8/16/04 4:11 PM, "Chuck Neal" wrote: > Make sure you are buying the correct one. There are multiple digital id > signing certificates but only one for Shockwave ad only Verisign can sell > them. The $800 could also be if you get the extra "insurance" they provide > but this is not required. Aha, thank you Chuck. We will pay attention on this. > -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 > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin > Sent: Monday, August 16, 2004 7:29 AM > To: valentina@lists.macserve.net; Lynn Fredricks > Subject: Re: Off topic ... Shockwave and Valentina > > > On 8/16/04 2:26 PM, "Chuck Neal" wrote: > >> Unless this has changed significantly, you need the certificate. I >> would recommend it anyway as I personally would not trust any unsigned >> object like this. They are only $400 a year so there is really no >> reason for a company not to get one. :) > > Yes, we are now in the process of getting of certificate for V4MD Client 2.0 > > Although it seems I have see price $800. > > >> Actually now that I think about it is definitely required. You have >> to package the Xtra for download with the Director Xtras Packaging kit >> ($50 from macromedia) It will not package the file if you don't give >> it a valid certificate. :) > > Right. > > We already have Packager. Now we need certificate. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From halldorg at vortex.is Mon Aug 16 14:57:25 2004 From: halldorg at vortex.is (Halldor Gislason) Date: Mon Aug 16 09:59:28 2004 Subject: How does works "group by" correct In-Reply-To: <000001c4837d$55ae1840$b8ebe6d9@IPSBASIS> References: <008801c480b4$29cdac70$08efe6d9@IPSBASIS> <86181BB8-ECA9-11D8-A9D7-000393967EEA@vortex.is> <000001c4837d$55ae1840$b8ebe6d9@IPSBASIS> Message-ID: <95C8E36C-EF94-11D8-909A-000393967EEA@vortex.is> Hi Carsten, Here is a good refernce with examples: http://www.1keydata.com/sql/sqlgroupby.html best regards, Halldor On Aug 16, 2004, at 10:38 AM, SoftIl wrote: > Hallo Halldor, > thanks for your answer. > Now I understand where my mistake was. > I didn't know that I can use goup by only with an aggregate function. > Now it is clear, why it could not work. > > Thanks > Carsten > > > ----- Original Message ----- > From: "Halldor Gislason" > To: "Valentina Developers" > Sent: Thursday, August 12, 2004 11:49 PM > Subject: Re: How does works "group by" correct > > >> "select *" returns all the fields so a group by does not really have a >> purpose there. >> >> the purpose of the group by is to group the results of some aggregate >> function by some fields so a group by without such a function has >> little point >> >> you may instead be looking for the UNIQUE statement that will not >> return records with duplicate values of of the field values you >> specify >> as unique - I do not know how well Valentina supports UNIQUE >> >> to group by more than one field simply do: >> >> select a,b, count(*) from c group by a,b >> >> or >> >> select a,b, sum(c) from d group by a,b >> >> h >> >> >> >> On Aug 12, 2004, at 9:34 PM, SoftIl wrote: >> >>> Hi all, >>> I've got some problems with "group by": >>> >>> 1) >>> If I try this: >>> select * from myTable group by date >>> the "group by" statement hasn't an effect. >>> >>> If I write this >>> select *,count(any column) from myTable group by date >>> it works correct. >>> >>> Why is it so? In no documentation I could find this, that I have to >>> use >>> "count()" if I'd like to use "group by". >>> >>> 2) >>> How can I use "group by" for more than one column? >>> This statement works not correct. I get all records return: >>> select *,count(any column) from myTable group by date,ohrnummer >>> >>> Thanks for your help. >>> Carsten >>> >>> >>> _______________________________________________ >>> Valentina mailing list >>> Valentina@lists.macserve.net >>> http://lists.macserve.net/mailman/listinfo/valentina >>> >> >> _______________________________________________ >> Valentina mailing list >> Valentina@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina >> > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From zavpublic at mac.com Mon Aug 16 07:22:46 2004 From: zavpublic at mac.com (Zav - Alex Zavatone) Date: Mon Aug 16 10:43:45 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: References: Message-ID: On Aug 16, 2004, at 4:19 AM, Ruslan Zasukhin wrote: > On 8/16/04 2:17 PM, "Chuck Neal" wrote: > >> That is incorrect. For the Xtra to download correctly you do need a >> SW >> certificate. This prevents unsigned Xtras from installing malicious >> code on >> a user's machine. > > Hi Chuck, > > You sure on this? He's correct. - Zav "Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we." GWB, 080504 From sunshine at public.kherson.ua Mon Aug 16 19:25:11 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 16 11:25:19 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: Message-ID: On 8/16/04 5:22 PM, "Zav - Alex Zavatone" wrote: > > On Aug 16, 2004, at 4:19 AM, Ruslan Zasukhin wrote: > >> On 8/16/04 2:17 PM, "Chuck Neal" wrote: >> >>> That is incorrect. For the Xtra to download correctly you do need a >>> SW >>> certificate. This prevents unsigned Xtras from installing malicious >>> code on >>> a user's machine. >> >> Hi Chuck, >> >> You sure on this? > > He's correct. Ok, may be. Btw, good news is that Igor just only have told me that he Was able run the first V4MD SW safe movie in the Explorer browser! And he have do that without certificate. Probably this works because it have do it locally. Although I still think that even on local intranet this can work without certificate. Just my ISP friend/programmer Yuri says that if look on internal mechanism, then certificate is just a signature, where Verisign Says to user: you can trust to that guys. And download their soft to your computer. Nothing more is hidden in the certificate. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From zavpublic at mac.com Mon Aug 16 09:31:20 2004 From: zavpublic at mac.com (Zav - Alex Zavatone) Date: Mon Aug 16 11:31:28 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: References: Message-ID: On Aug 16, 2004, at 9:25 AM, Ruslan Zasukhin wrote: > On 8/16/04 5:22 PM, "Zav - Alex Zavatone" wrote: > >> >> On Aug 16, 2004, at 4:19 AM, Ruslan Zasukhin wrote: >> >>> On 8/16/04 2:17 PM, "Chuck Neal" wrote: >>> >>>> That is incorrect. For the Xtra to download correctly you do need a >>>> SW >>>> certificate. This prevents unsigned Xtras from installing malicious >>>> code on >>>> a user's machine. >>> >>> Hi Chuck, >>> >>> You sure on this? >> >> He's correct. > > Ok, may be. > > Btw, good news is that Igor just only have told me that he > Was able run the first V4MD SW safe movie in the Explorer browser! > > And he have do that without certificate. > Probably this works because it have do it locally. IIRC, when I was on the shockwave engineering team, SW was designed so that ALL extras to be auto downloaded required certificates. It was done for security reasons. I doubt this has changed. - Zav "Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we." GWB, 080504 From sunshine at public.kherson.ua Mon Aug 16 19:57:06 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 16 11:57:14 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: Message-ID: On 8/16/04 7:31 PM, "Zav - Alex Zavatone" wrote: > On Aug 16, 2004, at 9:25 AM, Ruslan Zasukhin wrote: > >> On 8/16/04 5:22 PM, "Zav - Alex Zavatone" wrote: >> >>> >>> On Aug 16, 2004, at 4:19 AM, Ruslan Zasukhin wrote: >>> >>>> On 8/16/04 2:17 PM, "Chuck Neal" wrote: >>>> >>>>> That is incorrect. For the Xtra to download correctly you do need a >>>>> SW >>>>> certificate. This prevents unsigned Xtras from installing malicious >>>>> code on >>>>> a user's machine. >>>> >>>> Hi Chuck, >>>> >>>> You sure on this? >>> >>> He's correct. >> >> Ok, may be. >> >> Btw, good news is that Igor just only have told me that he >> Was able run the first V4MD SW safe movie in the Explorer browser! >> >> And he have do that without certificate. >> Probably this works because it have do it locally. > > IIRC, when I was on the shockwave engineering team, SW was designed so > that ALL extras to be auto downloaded required certificates. > > It was done for security reasons. I doubt this has changed. Exactly. Igor have test NOT auto downloaded variant. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gunnarswan at PracticeToPass.com Mon Aug 16 10:38:46 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Mon Aug 16 12:37:50 2004 Subject: Off topic ... Shockwave and Valentina Message-ID: <200408161737.i7GHbjJc019392@practicetopass.com> In my situation the Xtra will not be downloaded. Instead, I will build an installer (setup.exe) that will place the Xtra in the folder. Once the Xtra is in the Xtras folder, is there anyone with experience working with Valentina in the Shockwave . Gunnar 8/16/04 6:13:58 AM, Ruslan Zasukhin wrote: >On 8/16/04 4:11 PM, "Chuck Neal" wrote: > >> Make sure you are buying the correct one. There are multiple digital id >> signing certificates but only one for Shockwave ad only Verisign can sell >> them. The $800 could also be if you get the extra "insurance" they provide >> but this is not required. > >Aha, thank you Chuck. > >We will pay attention on this. > > >> -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 > > >> -----Original Message----- >> From: valentina-bounces@lists.macserve.net >> [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin >> Sent: Monday, August 16, 2004 7:29 AM >> To: valentina@lists.macserve.net; Lynn Fredricks >> Subject: Re: Off topic ... Shockwave and Valentina >> >> >> On 8/16/04 2:26 PM, "Chuck Neal" wrote: >> >>> Unless this has changed significantly, you need the certificate. I >>> would recommend it anyway as I personally would not trust any unsigned >>> object like this. They are only $400 a year so there is really no >>> reason for a company not to get one. :) >> >> Yes, we are now in the process of getting of certificate for V4MD Client 2.0 >> >> Although it seems I have see price $800. >> >> >>> Actually now that I think about it is definitely required. You have >>> to package the Xtra for download with the Director Xtras Packaging kit >>> ($50 from macromedia) It will not package the file if you don't give >>> it a valid certificate. :) >> >> Right. >> >> We already have Packager. Now we need certificate. > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina > Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From gunnarswan at PracticeToPass.com Mon Aug 16 10:40:32 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Mon Aug 16 12:39:35 2004 Subject: Off topic ... Shockwave and Valentina Message-ID: <200408161739.i7GHdV31002401@practicetopass.com> Now that he runs the Xtra on an intranet, what is the path to open a database ? 8/16/04 9:25:11 AM, Ruslan Zasukhin wrote: >On 8/16/04 5:22 PM, "Zav - Alex Zavatone" wrote: > >> >> On Aug 16, 2004, at 4:19 AM, Ruslan Zasukhin wrote: >> >>> On 8/16/04 2:17 PM, "Chuck Neal" wrote: >>> >>>> That is incorrect. For the Xtra to download correctly you do need a >>>> SW >>>> certificate. This prevents unsigned Xtras from installing malicious >>>> code on >>>> a user's machine. >>> >>> Hi Chuck, >>> >>> You sure on this? >> >> He's correct. > >Ok, may be. > >Btw, good news is that Igor just only have told me that he >Was able run the first V4MD SW safe movie in the Explorer browser! > >And he have do that without certificate. >Probably this works because it have do it locally. > >Although I still think that even on local intranet this can work without >certificate. Just my ISP friend/programmer Yuri says that if look on >internal mechanism, then certificate is just a signature, where Verisign >Says to user: > > you can trust to that guys. > And download their soft to your computer. > >Nothing more is hidden in the certificate. > > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina > Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From sunshine at public.kherson.ua Mon Aug 16 21:04:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 16 13:04:56 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: <200408161739.i7GHdV31002401@practicetopass.com> Message-ID: On 8/16/04 8:40 PM, "Gunnar Swan" wrote: Hi Gunnar, > Now that he runs the Xtra on an intranet, what is the path to open a database > ? You ask about Igor? He have told that he have drop it into cache of Explorer. He is hacker :-) Igor, can you give details to Gunnar? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Tue Aug 17 00:24:27 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon Aug 16 16:24:31 2004 Subject: Off topic ... Shockwave and Valentina References: Message-ID: <013101c483d7$69059f80$3b04a8c0@giv> Hi Gunnar, Hi Ruslan, > > Now that he runs the Xtra on an intranet, what is the path to open a database > > ? Properly speaking, I tested shockwave movie only on my local computer. I used next path in the script to specify path to the database file: the moviePath & "MyDb.vdb" When I run this movie in the projector (or in autoring mode in the Director) my database was created in the same folder when the .dir file was located. But when I run it as Shockwave movie (in IE) "the moviePath" gives me an empty string - so my database files were created on the desktop! So for testing I changed my code to use absolute path. But, of cource, in the real situation must be some other mechanism to determine this path - based on application specific. -- 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 chuck at mediamacros.com Mon Aug 16 17:36:01 2004 From: chuck at mediamacros.com (Chuck Neal) Date: Mon Aug 16 16:33:15 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: <013101c483d7$69059f80$3b04a8c0@giv> Message-ID: <006001c483d9$06cf0930$b900a8c0@batcomputer> Technically this Xtra is not SW safe then. SW movies are not allowed to access files outside the dswmedia folder unless the user is given a dialog to select them. -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 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Igor Gomon Sent: Monday, August 16, 2004 5:24 PM To: valentina@lists.macserve.net Subject: Re: Off topic ... Shockwave and Valentina Hi Gunnar, Hi Ruslan, > > Now that he runs the Xtra on an intranet, what is the path to open a database > > ? Properly speaking, I tested shockwave movie only on my local computer. I used next path in the script to specify path to the database file: the moviePath & "MyDb.vdb" When I run this movie in the projector (or in autoring mode in the Director) my database was created in the same folder when the .dir file was located. But when I run it as Shockwave movie (in IE) "the moviePath" gives me an empty string - so my database files were created on the desktop! So for testing I changed my code to use absolute path. But, of cource, in the real situation must be some other mechanism to determine this path - based on application specific. -- Best regards, Igor Gomon From giv at tlc.kherson.ua Tue Aug 17 00:55:56 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon Aug 16 16:55:59 2004 Subject: Off topic ... Shockwave and Valentina References: <006001c483d9$06cf0930$b900a8c0@batcomputer> Message-ID: <014e01c483db$cefb51f0$3b04a8c0@giv> > Technically this Xtra is not SW safe then. SW movies are not allowed to > access files outside the dswmedia folder unless the user is given a dialog > to select them. Yes. If I understand it correctly then we need to add some code in V4MD Xtra to determine whether it is used in Shockwave movie so then it will allow create database files only in dswmedia folder. So if user passed to createDatabase() method path "MyDb.vdb" then database will be created in dswmedia folder. But what to do in case when user is given a dialog to select path for database? What if user select path outside of this folder? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From giv at tlc.kherson.ua Tue Aug 17 01:06:49 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Mon Aug 16 17:06:53 2004 Subject: Off topic ... Shockwave and Valentina References: <006001c483d9$06cf0930$b900a8c0@batcomputer> <014e01c483db$cefb51f0$3b04a8c0@giv> Message-ID: <016501c483dd$5430c570$3b04a8c0@giv> > > Technically this Xtra is not SW safe then. SW movies are not allowed to > > access files outside the dswmedia folder unless the user is given a dialog > > to select them. > Yes. > If I understand it correctly then we need to add some code in V4MD Xtra to > determine whether it is used in Shockwave movie so then it will > allow create database files only in dswmedia folder. So if user passed to > createDatabase() method path "MyDb.vdb" then database will be created > in dswmedia folder. > But what to do in case when user is given a dialog to select path for > database? > What if user select path outside of this folder? The only way I see in this case is to add some function like ValentinaSelectDatabasePath() so Xtra will be notified if user selected path outside of dswmedia folder. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue Aug 17 01:57:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 16 17:57:52 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: <014e01c483db$cefb51f0$3b04a8c0@giv> Message-ID: On 8/17/04 12:55 AM, "Igor Gomon" wrote: >> Technically this Xtra is not SW safe then. SW movies are not allowed to >> access files outside the dswmedia folder unless the user is given a dialog >> to select them. > Yes. > If I understand it correctly then we need to add some code in V4MD Xtra to > determine whether it is used in Shockwave movie so then it will > allow create database files only in dswmedia folder. Igor, I think this is not Xtra's task > So if user passed to > createDatabase() method path "MyDb.vdb" then database will be created > in dswmedia folder. > But what to do in case when user is given a dialog to select path for > database? > What if user select path outside of this folder? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From snw at paradise.net.nz Tue Aug 17 11:36:29 2004 From: snw at paradise.net.nz (Sean Wilson) Date: Mon Aug 16 18:36:44 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: <20040816220658.B96121F0EDC@edison.macserve.net> References: <20040816220658.B96121F0EDC@edison.macserve.net> Message-ID: <6.1.2.0.2.20040817103008.01f66280@pop3.paradise.net.nz> > > Technically this Xtra is not SW safe then. SW movies are not allowed to > > access files outside the dswmedia folder unless the user is given a dialog > > to select them. >Yes. >If I understand it correctly then we need to add some code in V4MD Xtra to >determine whether it is used in Shockwave movie so then it will >allow create database files only in dswmedia folder. So if user passed to >createDatabase() method path "MyDb.vdb" then database will be created >in dswmedia folder. >But what to do in case when user is given a dialog to select path for >database? >What if user select path outside of this folder? Perhaps I misunderstood the direction the client xtra was taking, but wasn't the point that it *required* a server to communicate with and that the server was responsible for databases and (relative) paths to them? -Sean. From softil at onlinehome.de Tue Aug 17 09:11:59 2004 From: softil at onlinehome.de (SoftIl) Date: Tue Aug 17 02:12:04 2004 Subject: How does works "group by" correct References: <008801c480b4$29cdac70$08efe6d9@IPSBASIS><86181BB8-ECA9-11D8-A9D7-000393967EEA@vortex.is><000001c4837d$55ae1840$b8ebe6d9@IPSBASIS> <95C8E36C-EF94-11D8-909A-000393967EEA@vortex.is> Message-ID: <000901c48429$7f4f5e50$05f1e6d9@IPSBASIS> Great, thats a very good site. Many thanks for this tip. :-) Best regards, Carsten ----- Original Message ----- From: "Halldor Gislason" To: "Valentina Developers" Sent: Monday, August 16, 2004 4:57 PM Subject: Re: How does works "group by" correct > Hi Carsten, > Here is a good refernce with examples: > > http://www.1keydata.com/sql/sqlgroupby.html > > best regards, > Halldor > > On Aug 16, 2004, at 10:38 AM, SoftIl wrote: > > > Hallo Halldor, > > thanks for your answer. > > Now I understand where my mistake was. > > I didn't know that I can use goup by only with an aggregate function. > > Now it is clear, why it could not work. > > > > Thanks > > Carsten > > > > > > ----- Original Message ----- > > From: "Halldor Gislason" > > To: "Valentina Developers" > > Sent: Thursday, August 12, 2004 11:49 PM > > Subject: Re: How does works "group by" correct > > > > > >> "select *" returns all the fields so a group by does not really have a > >> purpose there. > >> > >> the purpose of the group by is to group the results of some aggregate > >> function by some fields so a group by without such a function has > >> little point > >> > >> you may instead be looking for the UNIQUE statement that will not > >> return records with duplicate values of of the field values you > >> specify > >> as unique - I do not know how well Valentina supports UNIQUE > >> > >> to group by more than one field simply do: > >> > >> select a,b, count(*) from c group by a,b > >> > >> or > >> > >> select a,b, sum(c) from d group by a,b > >> > >> h > >> > >> > >> > >> On Aug 12, 2004, at 9:34 PM, SoftIl wrote: > >> > >>> Hi all, > >>> I've got some problems with "group by": > >>> > >>> 1) > >>> If I try this: > >>> select * from myTable group by date > >>> the "group by" statement hasn't an effect. > >>> > >>> If I write this > >>> select *,count(any column) from myTable group by date > >>> it works correct. > >>> > >>> Why is it so? In no documentation I could find this, that I have to > >>> use > >>> "count()" if I'd like to use "group by". > >>> > >>> 2) > >>> How can I use "group by" for more than one column? > >>> This statement works not correct. I get all records return: > >>> select *,count(any column) from myTable group by date,ohrnummer > >>> > >>> Thanks for your help. > >>> Carsten > >>> > >>> > >>> _______________________________________________ > >>> Valentina mailing list > >>> Valentina@lists.macserve.net > >>> http://lists.macserve.net/mailman/listinfo/valentina > >>> > >> > >> _______________________________________________ > >> Valentina mailing list > >> Valentina@lists.macserve.net > >> http://lists.macserve.net/mailman/listinfo/valentina > >> > > > > _______________________________________________ > > Valentina mailing list > > Valentina@lists.macserve.net > > http://lists.macserve.net/mailman/listinfo/valentina > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Tue Aug 17 10:53:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 17 02:53:56 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: <6.1.2.0.2.20040817103008.01f66280@pop3.paradise.net.nz> Message-ID: On 8/17/04 2:36 AM, "Sean Wilson" wrote: >>> Technically this Xtra is not SW safe then. SW movies are not allowed to >>> access files outside the dswmedia folder unless the user is given a dialog >>> to select them. >> Yes. >> If I understand it correctly then we need to add some code in V4MD Xtra to >> determine whether it is used in Shockwave movie so then it will >> allow create database files only in dswmedia folder. So if user passed to >> createDatabase() method path "MyDb.vdb" then database will be created >> in dswmedia folder. >> But what to do in case when user is given a dialog to select path for >> database? >> What if user select path outside of this folder? > > Perhaps I misunderstood the direction the client xtra was taking, but > wasn't the point that it *required* a server to communicate with and that > the server was responsible for databases and (relative) paths to them? Absolutely right Sean! V4MD client SW, will NOT touch HDD of client computer -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Tue Aug 17 10:14:04 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Aug 17 04:50:52 2004 Subject: Off topic ... Shockwave and Valentina References: <20040816220658.B96121F0EDC@edison.macserve.net> <6.1.2.0.2.20040817103008.01f66280@pop3.paradise.net.nz> Message-ID: <008201c4843f$ad255e90$3b04a8c0@giv> > Perhaps I misunderstood the direction the client xtra was taking, but > wasn't the point that it *required* a server to communicate with and that > the server was responsible for databases and (relative) paths to them? Oh! Yes, you right. I simply forgot that we talk about client Xtra :) So, Gunnar, this is then the answer to you question about paths. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From gregkowalski at earthlink.net Tue Aug 17 10:02:23 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Tue Aug 17 09:01:57 2004 Subject: V4MD_client problem In-Reply-To: <20040701204431.D0E5616CA6A@edison.macserve.net> References: <20040701204431.D0E5616CA6A@edison.macserve.net> Message-ID: <0FFDC935-F056-11D8-A2CE-000393DAB46A@earthlink.net> Hello, I am testing the Valentina server and am having navigation problems. The problem occurs with V4MD_client and is very basic: The cursor does not remember the position when using "gotorecord()". Here is a very simple test I made: 1. I created a database with ten records. 2. I start at record 1. 3. I use "gotorecord()) to go to record 5 - record 5 appears. 4. I then hit "nextrecord" and guess what? it goes to record 2 instead of record 6. Try it, it is a very simple test. I use MAC OSX. The problem does not occur with V4MD_server. Greg From giv at tlc.kherson.ua Tue Aug 17 18:34:12 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Aug 17 10:36:03 2004 Subject: V4MD_client problem References: <20040701204431.D0E5616CA6A@edison.macserve.net> <0FFDC935-F056-11D8-A2CE-000393DAB46A@earthlink.net> Message-ID: <001601c4846f$a56a9b40$3b04a8c0@giv> Hi Gregory, > Hello, > > I am testing the Valentina server and am having navigation problems. > > The problem occurs with V4MD_client and is very basic: > > The cursor does not remember the position when using "gotorecord()". > > > Here is a very simple test I made: > > 1. I created a database with ten records. > > 2. I start at record 1. > > 3. I use "gotorecord()) to go to record 5 - record 5 appears. > > 4. I then hit "nextrecord" and guess what? it goes to record 2 instead > of record 6. > > Try it, it is a very simple test. I tried it and all works fine. Please, make sure you use the latest version of V4MD Client & Server. If I recall correctly, this problem was already fixed in one of the latest build of V4MD_Client. -- 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 bnumerick at gmail.com Tue Aug 17 12:57:05 2004 From: bnumerick at gmail.com (Bill Numerick) Date: Tue Aug 17 11:57:12 2004 Subject: Valentina OS error codes list? Message-ID: Is there a list somewhere so i can troubleshoot errors? I'm testing on OS X Panther and getting an error code of -43 when it is trying to open the database and don't seem to be able to find what it means. Thanks for any help Warm Regards, Bill From sunshine at public.kherson.ua Tue Aug 17 20:14:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 17 12:15:59 2004 Subject: Valentina OS error codes list? In-Reply-To: Message-ID: On 8/17/04 7:57 PM, "Bill Numerick" wrote: > Is there a list somewhere so i can troubleshoot errors? I'm testing > on OS X Panther and getting an error code of -43 when it is trying to > open the database and don't seem to be able to find what it means. Hi Bill, You can find them on 1) apple.com 2) exists utility on Mac errors 3) and you can search google for Mac OS Errors exists some site. http://www.gete.net/dossiers/erreurs/Liste_Erreurs.php -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cindy at kowhaiprogramming.com Wed Aug 18 17:48:21 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Wed Aug 18 00:48:20 2004 Subject: Encryption Message-ID: Hi All, I'm just trying encryption for the first time. I have been able to set the vdb file as encrypted as well as one of the fields in one of the base objects which is great. What I can't then do is open the database any more from the Valentina program. Shouldn't I be able to open the file and enter an encryption key? Cindy Brown From sunshine at public.kherson.ua Wed Aug 18 10:03:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 18 02:03:38 2004 Subject: Encryption In-Reply-To: Message-ID: On 8/18/04 8:48 AM, "Cindy Brown" wrote: > Hi All, > > I'm just trying encryption for the first time. I have been able to set the > vdb file as encrypted as well as one of the fields in one of the base > objects which is great. What I can't then do is open the database any more > from the Valentina program. Shouldn't I be able to open the file and enter > an encryption key? Valentina Studio can do this. Also note, as I see you have encrypt vdb file using ONE key? filed using other key? The more keys the more you will need enter them in Vstudio/ -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cindy at kowhaiprogramming.com Wed Aug 18 19:57:49 2004 From: cindy at kowhaiprogramming.com (Cindy Brown) Date: Wed Aug 18 02:57:38 2004 Subject: Encryption In-Reply-To: Message-ID: Thanks Ruslan. I'll download Valentina Studio and try it out. Cindy > Valentina Studio can do this. > From rbarber at yhb.att.ne.jp Thu Aug 19 00:02:27 2004 From: rbarber at yhb.att.ne.jp (ron barber) Date: Wed Aug 18 09:59:57 2004 Subject: Database in MacOS and Windows In-Reply-To: References: Message-ID: <9E7831D0-F127-11D8-A892-000A95DAEEF0@yhb.att.ne.jp> Hi Ruslan Thanks for your work on 2.0. This is a question about v1 of VXCMD and Win XP. What is the form of the path that is needed for "filename" in get Valentina("Cursor_ImportASCII", CursorRef, filename) I can initialize Val, create a db with its base objects etc, but can't seem to read in the file. The same script works with no problem on OS X Thanks Ron From bmurf at comcast.net Wed Aug 18 10:08:51 2004 From: bmurf at comcast.net (Brendan Murphy) Date: Wed Aug 18 10:09:01 2004 Subject: Valentina Studio In-Reply-To: <20040818070344.6C0BF1F2542@edison.macserve.net> References: <20040818070344.6C0BF1F2542@edison.macserve.net> Message-ID: <834A3A19-F128-11D8-866A-0003935B6750@comcast.net> Ruslan wrote: > Valentina Studio can do this. I have seen you mention "Valentina Studio" a few time on the email list, but I see no reference to a "Valentina Studio" on your web site. Are you referencing the Valentina application? Please clarify what you are referring to and post a URL. Thanks. From sunshine at public.kherson.ua Wed Aug 18 18:37:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 18 10:37:32 2004 Subject: Valentina Studio In-Reply-To: <834A3A19-F128-11D8-866A-0003935B6750@comcast.net> Message-ID: On 8/18/04 6:08 PM, "Brendan Murphy" wrote: > Ruslan wrote: >> Valentina Studio can do this. > > I have seen you mention "Valentina Studio" a few time on the email > list, but I see no reference to a "Valentina Studio" on your web > site. Are you referencing the Valentina application? Please > clarify what you are referring to and post a URL. Valentina Studio this is totally new application. It is developed by Jochen Peters. It will replace VAPP. Link to download page you can find directly from our HOME page. It is a picture link. Vstudio have a lots of new cool features that do not have VAPP. Main of them - it works on Windows. - it can connect to ODBC dbs to import/export from Valentina db. - it can connect to Valentina Server and work with its dbs. - it can control Vserver - it can work in the same time with dbs from different sources: -- locale Valentina db (VAPP can do this) -- Valentina Server db -- any ODBC db (mySQL, Access, Sql Server, ...) -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Aug 18 18:39:15 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 18 10:39:23 2004 Subject: Database in MacOS and Windows In-Reply-To: <9E7831D0-F127-11D8-A892-000A95DAEEF0@yhb.att.ne.jp> Message-ID: On 8/18/04 6:02 PM, "ron barber" wrote: Hi Ron, > Thanks for your work on 2.0. Are you on beta list ? > This is a question about v1 of VXCMD and Win XP. What is the form of > the path that is needed for "filename" in > > get Valentina("Cursor_ImportASCII", CursorRef, filename) I believe this is full path. Exactly as in db.Open()/Create() > I can initialize Val, create a db with its base objects etc, but can't > seem to read in the file. The same script works with no problem on OS X But have you provide path with "Windows" delimiters c:/ffff/ddd/rrr.txt -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Wed Aug 18 17:22:49 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Wed Aug 18 10:39:55 2004 Subject: Database in MacOS and Windows In-Reply-To: <9E7831D0-F127-11D8-A892-000A95DAEEF0@yhb.att.ne.jp> References: <9E7831D0-F127-11D8-A892-000A95DAEEF0@yhb.att.ne.jp> Message-ID: >Hi Ruslan > >Thanks for your work on 2.0. > >This is a question about v1 of VXCMD and Win XP. What is the form of >the path that is needed for "filename" in > >get Valentina("Cursor_ImportASCII", CursorRef, filename) > >I can initialize Val, create a db with its base objects etc, but >can't seem to read in the file. The same script works with no >problem on OS X > >Thanks >Ron Unlike Revolution and MetaCard, Valentina always expects filepaths native to the platform you run on, so you need to convert them accordingly. Examples of such converters were posted in the past, so search the list archive. Robert Brenstein From fci at europa.com Wed Aug 18 09:05:34 2004 From: fci at europa.com (Lynn Fredricks) Date: Wed Aug 18 11:05:47 2004 Subject: Valentina Studio In-Reply-To: <834A3A19-F128-11D8-866A-0003935B6750@comcast.net> Message-ID: <20040818160540.37ED381FE7@smtp2.pacifier.net> > Ruslan wrote: > > Valentina Studio can do this. > > I have seen you mention "Valentina Studio" a few time on the > email list, but I see no reference to a "Valentina Studio" > on your web site. Are you referencing the Valentina > application? Please clarify what you are referring to and post a URL. This is under development currently by one of our partners -- check out valentina-db.de. This is the cross platform successor of VAPP 1.x, but will be much, much more feature rich. By the way, if you thought the old icons sucked, check them out;-) Best regards, Lynn Fredricks President Proactive International, LLC Sell Your Products in Every Market - Because it is about who you know.(tm) - http://www.proactive-intl.com From gregkowalski at earthlink.net Wed Aug 18 15:33:18 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Wed Aug 18 14:32:54 2004 Subject: V4MD_client problem In-Reply-To: <20040818070344.6C0BF1F2542@edison.macserve.net> References: <20040818070344.6C0BF1F2542@edison.macserve.net> Message-ID: <7526B5F0-F14D-11D8-B735-000393DAB46A@earthlink.net> On Aug 18, 2004, at 3:03 AM, valentina-request@lists.macserve.net wrote: > Hi Gregory, > >> Hello, >> >> I am testing the Valentina server and am having navigation problems. >> >> The problem occurs with V4MD_client and is very basic: >> >> The cursor does not remember the position when using "gotorecord()". >> >> >> Here is a very simple test I made: >> >> 1. I created a database with ten records. >> >> 2. I start at record 1. >> >> 3. I use "gotorecord()) to go to record 5 - record 5 appears. >> >> 4. I then hit "nextrecord" and guess what? it goes to record 2 >> instead >> of record 6. >> >> Try it, it is a very simple test. > I tried it and all works fine. > Please, make sure you use the latest version of V4MD Client & Server. > If I recall correctly, this problem was already fixed in one of the > latest > build of V4MD_Client. > > -- > Best regards, > Igor Gomon > I did the test again with latest version of V4MD_Client and it still does not work... I forgot to mention that the problem occurs with Kclient_side. (try it) If I use Kserver_side it works OK only it is much much much much slower. I test it on a project where use a loop to populate a table with 10 rows and 9 columns. When using Kserver_side the rows appear one by one at about 1/2 second interval, sometimes more. It's very uneven... With KClient the results appear instantly, but eventually everything falls out of place due to the above-mentioned problem. With V4MD xtra everything works very well and very fast. Greg From giv at tlc.kherson.ua Wed Aug 18 22:39:03 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Wed Aug 18 14:39:17 2004 Subject: V4MD_client problem References: <20040818070344.6C0BF1F2542@edison.macserve.net> <7526B5F0-F14D-11D8-B735-000393DAB46A@earthlink.net> Message-ID: <017801c4855b$04309f30$3b04a8c0@giv> > I did the test again with latest version of V4MD_Client and it still > does not work... > I forgot to mention that the problem occurs with Kclient_side. (try it) > > If I use Kserver_side it works OK only it is much much much much slower. > > I test it on a project where use a loop to populate a table with 10 > rows and 9 columns. > > When using Kserver_side the rows appear one by one at about 1/2 second > interval, sometimes more. It's very uneven... > > With KClient the results appear instantly, but eventually everything > falls out of place due to the above-mentioned problem. > > With V4MD xtra everything works very well and very fast. > > Greg Ok, I'll try it. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Aug 18 23:20:29 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 18 15:20:37 2004 Subject: V4MD_client problem In-Reply-To: <7526B5F0-F14D-11D8-B735-000393DAB46A@earthlink.net> Message-ID: On 8/18/04 10:33 PM, "Gregory Kowalski" wrote: >>> I am testing the Valentina server and am having navigation problems. >>> >>> The problem occurs with V4MD_client and is very basic: >>> >>> The cursor does not remember the position when using "gotorecord()". >>> >>> >>> Here is a very simple test I made: >>> >>> 1. I created a database with ten records. >>> >>> 2. I start at record 1. >>> >>> 3. I use "gotorecord()) to go to record 5 - record 5 appears. >>> >>> 4. I then hit "nextrecord" and guess what? it goes to record 2 >>> instead >>> of record 6. >>> >>> Try it, it is a very simple test. >> I tried it and all works fine. >> Please, make sure you use the latest version of V4MD Client & Server. >> If I recall correctly, this problem was already fixed in one of the >> latest >> build of V4MD_Client. >> >> -- >> Best regards, >> Igor Gomon >> > > I did the test again with latest version of V4MD_Client and it still > does not work... > I forgot to mention that the problem occurs with Kclient_side. (try it) > > If I use Kserver_side it works OK only it is much much much much slower. > > I test it on a project where use a loop to populate a table with 10 > rows and 9 columns. > > When using Kserver_side the rows appear one by one at about 1/2 second > interval, sometimes more. It's very uneven... > > With KClient the results appear instantly, but eventually everything > falls out of place due to the above-mentioned problem. > > With V4MD xtra everything works very well and very fast. Greg, I think you should send to Igor some project for testing (for Windows). Do you use BLOB/TEXT/Picture fields in that table ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gregkowalski at earthlink.net Wed Aug 18 17:23:05 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Wed Aug 18 16:22:38 2004 Subject: V4MD_client problem In-Reply-To: <7526B5F0-F14D-11D8-B735-000393DAB46A@earthlink.net> References: <20040818070344.6C0BF1F2542@edison.macserve.net> <7526B5F0-F14D-11D8-B735-000393DAB46A@earthlink.net> Message-ID: On Aug 18, 2004, at 3:33 PM, Gregory Kowalski wrote: >> Hi Gregory, >> >>> Hello, >>> >>> I am testing the Valentina server and am having navigation problems. >>> >>> The problem occurs with V4MD_client and is very basic: >>> >>> The cursor does not remember the position when using "gotorecord()". >>> >>> >>> Here is a very simple test I made: >>> >>> 1. I created a database with ten records. >>> >>> 2. I start at record 1. >>> >>> 3. I use "gotorecord()) to go to record 5 - record 5 appears. >>> >>> 4. I then hit "nextrecord" and guess what? it goes to record 2 >>> instead >>> of record 6. >>> >>> Try it, it is a very simple test. >> I tried it and all works fine. >> Please, make sure you use the latest version of V4MD Client & Server. >> If I recall correctly, this problem was already fixed in one of the >> latest >> build of V4MD_Client. >> >> -- >> Best regards, >> Igor Gomon >> > > I did the test again with latest version of V4MD_Client and it still > does not work... > I forgot to mention that the problem occurs with Kclient_side. (try it) > > If I use Kserver_side it works OK only it is much much much much > slower. > > I test it on a project where use a loop to populate a table with 10 > rows and 9 columns. > > When using Kserver_side the rows appear one by one at about 1/2 > second interval, sometimes more. It's very uneven... > > With KClient the results appear instantly, but eventually everything > falls out of place due to the above-mentioned problem. > > With V4MD xtra everything works very well and very fast. > > Greg > Also: I use MAC OSX Greg From sunshine at public.kherson.ua Thu Aug 19 00:46:16 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 18 16:46:24 2004 Subject: V4MD_client problem In-Reply-To: Message-ID: On 8/19/04 12:23 AM, "Gregory Kowalski" wrote: >> I did the test again with latest version of V4MD_Client and it still >> does not work... >> I forgot to mention that the problem occurs with Kclient_side. (try it) >> >> If I use Kserver_side it works OK only it is much much much much >> slower. >> >> I test it on a project where use a loop to populate a table with 10 >> rows and 9 columns. >> >> When using Kserver_side the rows appear one by one at about 1/2 >> second interval, sometimes more. It's very uneven... >> >> With KClient the results appear instantly, but eventually everything >> falls out of place due to the above-mentioned problem. >> >> With V4MD xtra everything works very well and very fast. >> >> Greg >> > > > Also: I use MAC OSX Have you test on Windows? In any case send small project + db + steps to reproduce to Igor. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gregkowalski at earthlink.net Wed Aug 18 18:06:34 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Wed Aug 18 17:06:09 2004 Subject: V4MD_client problem In-Reply-To: <20040818212313.5F6281F307B@edison.macserve.net> References: <20040818212313.5F6281F307B@edison.macserve.net> Message-ID: On Aug 18, 2004, at 5:23 PM, valentina-request@lists.macserve.net wrote: > >>>> I am testing the Valentina server and am having navigation problems. >>>> >>>> The problem occurs with V4MD_client and is very basic: >>>> >>>> The cursor does not remember the position when using "gotorecord()". >>>> >>>> >>>> Here is a very simple test I made: >>>> >>>> 1. I created a database with ten records. >>>> >>>> 2. I start at record 1. >>>> >>>> 3. I use "gotorecord()) to go to record 5 - record 5 appears. >>>> >>>> 4. I then hit "nextrecord" and guess what? it goes to record 2 >>>> instead >>>> of record 6. >>>> >>>> Try it, it is a very simple test. >>> I tried it and all works fine. >>> Please, make sure you use the latest version of V4MD Client & Server. >>> If I recall correctly, this problem was already fixed in one of the >>> latest >>> build of V4MD_Client. >>> >>> -- >>> Best regards, >>> Igor Gomon >>> >> >> I did the test again with latest version of V4MD_Client and it still >> does not work... >> I forgot to mention that the problem occurs with Kclient_side. (try >> it) >> >> If I use Kserver_side it works OK only it is much much much much >> slower. >> >> I test it on a project where use a loop to populate a table with 10 >> rows and 9 columns. >> >> When using Kserver_side the rows appear one by one at about 1/2 >> second >> interval, sometimes more. It's very uneven... >> >> With KClient the results appear instantly, but eventually everything >> falls out of place due to the above-mentioned problem. >> >> With V4MD xtra everything works very well and very fast. > > Greg, > > I think you should send to Igor some project for testing > (for Windows). > > Do you use BLOB/TEXT/Picture fields in that table ? Yes, I use 2 TEXT fields. I'd be happy to send him the project, although it's a bit large (30.000 records) but it is MAC OSX. Greg From gunnarswan at PracticeToPass.com Wed Aug 18 19:06:44 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Wed Aug 18 21:05:54 2004 Subject: Off topic ... Shockwave and Valentina Message-ID: <20040819020549.1397F1F3407@edison.macserve.net> The V12 product allows a persistent local database. Why not Valentina? 8/17/04 12:14:04 AM, "Igor Gomon" wrote: >> Perhaps I misunderstood the direction the client xtra was taking, but >> wasn't the point that it *required* a server to communicate with and that >> the server was responsible for databases and (relative) paths to them? >Oh! >Yes, you right. >I simply forgot that we talk about client Xtra :) >So, Gunnar, this is then the answer to you question about paths. > >-- >Best regards, >Igor Gomon >------------------------------------------------------------- >e-mail: giv@tlc.kherson.ua >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://listserv.macserve.net/mailman/listinfo/valentina > > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina > Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From sunshine at public.kherson.ua Thu Aug 19 07:22:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 18 23:22:16 2004 Subject: Off topic ... Shockwave and Valentina In-Reply-To: <20040819020549.1397F1F3407@edison.macserve.net> Message-ID: On 8/19/04 5:06 AM, "Gunnar Swan" wrote: Hi Gunnar, > The V12 product allows a persistent local database. Why not Valentina? We have discuss this before I think. So what they do: 1) load to client computer V12 Xtra (400-500KB) 2) load to client computer into special folder database. What sense in the step 2 ? You will not load any big db. As I understand the main target of SW save db Xtra is communication with remote Server with db. This is why we going add SW support only into V4MD Client. ------- Besides, do not forget that to work with local db, you need V4MD local. Valentina 1.x have size 1.2MB (bigger of V12 of course). Valentina 2.0 is few times bigger. This is not good idea download them. V4MD_Client is small. About 400Kb. > 8/17/04 12:14:04 AM, "Igor Gomon" wrote: > >>> Perhaps I misunderstood the direction the client xtra was taking, but >>> wasn't the point that it *required* a server to communicate with and that >>> the server was responsible for databases and (relative) paths to them? >> Oh! >> Yes, you right. >> I simply forgot that we talk about client Xtra :) >> So, Gunnar, this is then the answer to you question about paths. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Aug 19 07:23:06 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 18 23:23:12 2004 Subject: V4MD_client problem In-Reply-To: Message-ID: On 8/19/04 1:06 AM, "Gregory Kowalski" wrote: >> Greg, >> >> I think you should send to Igor some project for testing >> (for Windows). >> >> Do you use BLOB/TEXT/Picture fields in that table ? > > > Yes, I use 2 TEXT fields. > > I'd be happy to send him the project, although it's a bit large (30.000 > records) but it is MAC OSX. Greg, You have told you can make it quite simple. I mean not your project, But special small project which reproduce problem. Secret can be in your fields, steps, db... -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Aug 19 15:29:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 19 07:30:09 2004 Subject: Python Support In-Reply-To: Message-ID: On 8/19/04 3:19 PM, "Simon Forster" wrote: Hi Simon, > Do you have or do you plan to add a Python API for Valentina? Something > of an idle question at the moment but could become relevant. Jochen have made draft attempt to use Valentina for Python In the Valentina Studio. * We plan to use Python in the Valentina Studio as script language. * also we plan extract that as separate small product Valentina for Python. not clear if only client version have sense here. * and Valentina Engine itself can and should contain Valentina for Python as plugin, so we will have Python as internal scripting language for VEngine. > Thanks > > Simon Forster > _____________________________________________________ > LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK > Tel: +44 (0)70 9230 5244 Fax: +44 (0)70 9230 5247 > _____________________________________________________ > -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Thu Aug 19 09:37:02 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Thu Aug 19 11:41:32 2004 Subject: error 10093 Message-ID: <20040819163702.75681.qmail@web52402.mail.yahoo.com> Can anyone tell me what error 10093 is? A user got this error on a Windows XP machine running VXCMD_Client, using Revolution. Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush From fb at memedia.de Thu Aug 12 19:56:49 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Aug 19 12:56:56 2004 Subject: error 10093 In-Reply-To: <20040819163702.75681.qmail@web52402.mail.yahoo.com> Message-ID: A little googling always makes you wiser: 10093 Either the application has not called WSAStartup, or WSAStartup failed. It is an TCP/IP error, most likely port trouble. Check your Ips and network stuff... Best regards, Florian > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Chris Sheffield > Sent: Thursday, August 19, 2004 5:37 PM > To: valentina@lists.macserve.net > Subject: error 10093 > > Can anyone tell me what error 10093 is? A user got this > error on a Windows XP machine running VXCMD_Client, using Revolution. > > Thanks, > > > ===== > Chris Sheffield > Read Naturally > www.readnaturally.com > > > > _______________________________ > Do you Yahoo!? > Win 1 of 4,000 free domain names from Yahoo! Enter now. > http://promotions.yahoo.com/goldrush > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From frank-list2 at mindstarprods.com Thu Aug 19 16:32:07 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Thu Aug 19 15:32:16 2004 Subject: Getting New RecID after SQL INSERT Message-ID: Hi all, I can't seem to recall if there is a way to get the RecID of a newly INSERTed record using SQL? I'm using V4RB 1.10. I know how to do it with Table methods but I want to use a pure SQL method if possible. I'm sure we'll have this in Valentina 2. Best regards, Frank From frank-list2 at mindstarprods.com Thu Aug 19 18:59:26 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Thu Aug 19 17:59:34 2004 Subject: Getting New RecID after SQL INSERT In-Reply-To: References: Message-ID: <6B98DCC0-F233-11D8-A9FC-0003939246BC@mindstarprods.com> On Aug 19, 2004, at 4:32 PM, Frank Schima wrote: > I can't seem to recall if there is a way to get the RecID of a newly > INSERTed record using SQL? I'm using V4RB 1.10. I know how to do it > with Table methods but I want to use a pure SQL method if possible. I looked back at the archives and it seems not to be possible in Valentina 1. Sorry for the wasted bandwidth. -Frank From sunshine at public.kherson.ua Fri Aug 20 00:17:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 20 00:33:58 2004 Subject: Getting New RecID after SQL INSERT In-Reply-To: Message-ID: On 8/19/04 11:32 PM, "Frank Schima" wrote: > Hi all, > > > I can't seem to recall if there is a way to get the RecID of a newly > INSERTed record using SQL? I'm using V4RB 1.10. I know how to do it > with Table methods but I want to use a pure SQL method if possible. > > I'm sure we'll have this in Valentina 2. Hi Frank, Actually I think we have no yet this feature. And if I not mistake, ALL dbms I have see, resolve this Via API function get_last_id() Am I right ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From frank-list2 at mindstarprods.com Fri Aug 20 08:49:14 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Fri Aug 20 07:49:19 2004 Subject: Getting New RecID after SQL INSERT In-Reply-To: References: Message-ID: <56F88072-F2A7-11D8-B795-0003939246BC@mindstarprods.com> Hi Ruslan, On Aug 19, 2004, at 5:17 PM, Ruslan Zasukhin wrote: > On 8/19/04 11:32 PM, "Frank Schima" > wrote: > >> I can't seem to recall if there is a way to get the RecID of a newly >> INSERTed record using SQL? I'm using V4RB 1.10. I know how to do it >> with Table methods but I want to use a pure SQL method if possible. >> >> I'm sure we'll have this in Valentina 2. > > Actually I think we have no yet this feature. > > And if I not mistake, ALL dbms I have see, resolve this > Via API function get_last_id() > > Am I right ? Usually they have a SQL way to do that. For instance in MySQL it is: SELECT LAST_INSERT_ID() In Sybase, you can use: SELECT @@IDENTITY This ability is especially important for stored procedures. Best regards. Frank From IvanSmahin at public.kherson.ua Fri Aug 20 16:55:17 2004 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri Aug 20 08:58:51 2004 Subject: Getting New RecID after SQL INSERT In-Reply-To: References: Message-ID: <248351798.20040820165517@public.kherson.ua> Hello Ruslan, Friday, August 20, 2004, 12:17:27 AM, you wrote: RZ> On 8/19/04 11:32 PM, "Frank Schima" RZ> wrote: >> Hi all, >> >> >> I can't seem to recall if there is a way to get the RecID of a newly >> INSERTed record using SQL? I'm using V4RB 1.10. I know how to do it >> with Table methods but I want to use a pure SQL method if possible. >> >> I'm sure we'll have this in Valentina 2. RZ> Hi Frank, RZ> Actually I think we have no yet this feature. RZ> And if I not mistake, ALL dbms I have see, resolve this RZ> Via API function get_last_id() RZ> Am I right ? Exactly. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From IvanSmahin at public.kherson.ua Fri Aug 20 17:04:56 2004 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Fri Aug 20 09:04:57 2004 Subject: Getting New RecID after SQL INSERT In-Reply-To: <56F88072-F2A7-11D8-B795-0003939246BC@mindstarprods.com> References: <56F88072-F2A7-11D8-B795-0003939246BC@mindstarprods.com> Message-ID: <1067265638.20040820170456@public.kherson.ua> Hello Frank, Friday, August 20, 2004, 3:49:14 PM, you wrote: FS> Hi Ruslan, FS> On Aug 19, 2004, at 5:17 PM, Ruslan Zasukhin wrote: >> On 8/19/04 11:32 PM, "Frank Schima" >> >> wrote: >> >>> I can't seem to recall if there is a way to get the RecID of a newly >>> INSERTed record using SQL? I'm using V4RB 1.10. I know how to do it >>> with Table methods but I want to use a pure SQL method if possible. >>> >>> I'm sure we'll have this in Valentina 2. >> >> Actually I think we have no yet this feature. >> >> And if I not mistake, ALL dbms I have see, resolve this >> Via API function get_last_id() >> >> Am I right ? FS> Usually they have a SQL way to do that. For instance in MySQL it is: FS> SELECT LAST_INSERT_ID() FS> In Sybase, you can use: FS> SELECT @@IDENTITY FS> This ability is especially important for stored procedures. FS> Best regards. FS> Frank FS> _______________________________________________ FS> Valentina mailing list FS> Valentina@lists.macserve.net FS> http://lists.macserve.net/mailman/listinfo/valentina Please note, you have no ability to get the last inserted id as result of sql-insertion anyway. Definitely, this stuff is usual for SPs. But for now I think it could be something like this: select max(REC_ID) .... Or more correctly... Following normalizing rules you need to have PK or uniqie field for each table. So what is the problem to: select REC_ID from YOUR_TABLE where UNIQUE_FIELD = inserted_value ? Do I miss something? -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From spinel at exenevex.com Fri Aug 20 16:56:23 2004 From: spinel at exenevex.com (=?ISO-8859-1?Q?St=E9phane_Pinel?=) Date: Fri Aug 20 09:43:33 2004 Subject: Valentina RB ans RB 5 Message-ID: <1A943121-F2B9-11D8-BC6A-000A27AFF5D2@exenevex.com> Hello, I have to revamp an appli developed two years ago using RB 4 and Valentina RB 1.9.6. Now I need to port the whole thing under RB 5.2.4 IDE. I would like to know if Valentina 1.9.6 is well suited to work with RB 5.2.4 or which is the more appropriate version of Valentina that works fine with RB 5.2.4. Thanks you very much. St?phane From spinel at exenevex.com Fri Aug 20 17:07:35 2004 From: spinel at exenevex.com (=?ISO-8859-1?Q?St=E9phane_Pinel?=) Date: Fri Aug 20 09:54:40 2004 Subject: Valentina RB ans RB 5 In-Reply-To: <1A943121-F2B9-11D8-BC6A-000A27AFF5D2@exenevex.com> References: <1A943121-F2B9-11D8-BC6A-000A27AFF5D2@exenevex.com> Message-ID: It seems that RB 5.2.4 reports a name conflict with "VDatabase". Is it a known issue ? Thanks. St?phane Le 20 ao?t 04, ? 16:56, St?phane Pinel a ?crit : > Hello, > > I have to revamp an appli developed two years ago using RB 4 and > Valentina RB 1.9.6. > > Now I need to port the whole thing under RB 5.2.4 IDE. I would like to > know if Valentina > 1.9.6 is well suited to work with RB 5.2.4 or which is the more > appropriate version of > Valentina that works fine with RB 5.2.4. > > Thanks you very much. > > St?phane > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From bnumerick at gmail.com Fri Aug 20 10:54:42 2004 From: bnumerick at gmail.com (Bill Numerick) Date: Fri Aug 20 09:54:48 2004 Subject: Database Size? Message-ID: I was just browsing the Valentina web site and notice in the v-12 vs Valentina section that the Valentina databases are smaller than the V-12, however when I moved from V-12 to Valentina my database size went up from about a 1 meg to 18 megs. What might I have done to do this? It seems to run out but i'd like to get the size down if possible. From Claudius at sailer-online.de Fri Aug 20 17:03:00 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Fri Aug 20 10:03:14 2004 Subject: Valentina RB ans RB 5 In-Reply-To: References: <1A943121-F2B9-11D8-BC6A-000A27AFF5D2@exenevex.com> Message-ID: <070ED9C0-F2BA-11D8-96E6-00039365848C@sailer-online.de> Hi, I am using V4RB 1.10 with RB 5.2.4 and with RB 5.5.3. Both is fine, but you have to transform UnicodeToASCII that communication between Database and RB is running correct. Am 20. Aug 2004 um 17:07 Uhr schrieb St?phane Pinel: > It seems that RB 5.2.4 reports a name conflict with "VDatabase". Is it > a known issue ? > > Thanks. > > St?phane > > > Le 20 ao?t 04, ? 16:56, St?phane Pinel a ?crit : > >> Hello, >> >> I have to revamp an appli developed two years ago using RB 4 and >> Valentina RB 1.9.6. >> >> Now I need to port the whole thing under RB 5.2.4 IDE. I would like >> to know if Valentina >> 1.9.6 is well suited to work with RB 5.2.4 or which is the more >> appropriate version of >> Valentina that works fine with RB 5.2.4. bye Claudius -- G4/733 QS / MacOS X 10.3.5de / RB 5.2.4de or 5.5.3/ Valentina 1.10.0 Homepage http://www.ClaSai.de Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Fri Aug 20 18:02:27 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 20 10:09:42 2004 Subject: Database Size? In-Reply-To: Message-ID: On 8/20/04 5:54 PM, "Bill Numerick" wrote: Hi Bill, > I was just browsing the Valentina web site and notice in the v-12 vs > Valentina section that the Valentina databases are smaller than the > V-12, > however when I moved from V-12 to Valentina my database size > went up from about a 1 meg to 18 megs. What might I have done to do > this? It seems to run out but i'd like to get the size down if > possible. This is FAQ. You can find it in FAQ section. Again in short: * you can control size of empty of almost empty Valentina db using db.SegmentSize. * in your case I think you have many fields, so initial size of Valentina is 18MB. And you add only about 1MB of data. I.e. You have a lots of empty space. So change SegmentSize to 2-4KB. IF you have other case: initial db size was e.g. 0.5Mb, but it go to 18Mb, then probably you have wrong settings for BLOB/Text fields -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From bnumerick at gmail.com Fri Aug 20 11:16:22 2004 From: bnumerick at gmail.com (Bill Numerick) Date: Fri Aug 20 10:16:28 2004 Subject: Database Size? In-Reply-To: References: Message-ID: Thanks for you help. I'll mess with that after i get the main part of my application done :) Warm Regards, Bill On Fri, 20 Aug 2004 18:02:27 +0300, Ruslan Zasukhin wrote: > On 8/20/04 5:54 PM, "Bill Numerick" wrote: > > Hi Bill, > > > > > I was just browsing the Valentina web site and notice in the v-12 vs > > Valentina section that the Valentina databases are smaller than the > > V-12, > > > however when I moved from V-12 to Valentina my database size > > went up from about a 1 meg to 18 megs. What might I have done to do > > this? It seems to run out but i'd like to get the size down if > > possible. > > This is FAQ. > > You can find it in FAQ section. > > Again in short: > > * you can control size of empty of almost empty Valentina db > using db.SegmentSize. > > * in your case I think you have many fields, so initial size of Valentina is > 18MB. And you add only about 1MB of data. I.e. You have a lots of empty > space. > > So change SegmentSize to 2-4KB. > > IF you have other case: > initial db size was e.g. 0.5Mb, but it go to 18Mb, > then probably you have wrong settings for BLOB/Text fields > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From vaccari at dst.units.it Fri Aug 20 17:16:44 2004 From: vaccari at dst.units.it (Franco Vaccari) Date: Fri Aug 20 10:16:52 2004 Subject: Valentina RB ans RB 5 In-Reply-To: <1A943121-F2B9-11D8-BC6A-000A27AFF5D2@exenevex.com> References: <1A943121-F2B9-11D8-BC6A-000A27AFF5D2@exenevex.com> Message-ID: I'm using 10.3.5, RB 5.5.2 and V4RB.rbx version 1.10.b20, created on Dec 23, 2003. Very stable. I remember that at the time of the upgrade to RB5 (or 5.5???) I had to modify part of the code pertaining to Valentina, but can't remember what exactly it was... For sure it was SQLselect statements, that changed slightly their syntax with version 1.9.8, if the notes I've found on my version history are correct. You have to change a statement like myCursor= myDB.SQLSelect(SQLstring) into myCursor= myDB.SQLSelect(SQLstring,kV_Server,kV_NoLocks,kV_Random) in order to have the same behavior as before. Sorry I can't help more Franco On 20 Aug 2004, at 16:56, St?phane Pinel wrote: > Hello, > > I have to revamp an appli developed two years ago using RB 4 and > Valentina RB 1.9.6. > > Now I need to port the whole thing under RB 5.2.4 IDE. I would like to > know if Valentina > 1.9.6 is well suited to work with RB 5.2.4 or which is the more > appropriate version of > Valentina that works fine with RB 5.2.4. > > Thanks you very much. > > St?phane > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From sunshine at public.kherson.ua Fri Aug 20 18:19:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 20 10:19:46 2004 Subject: Valentina RB ans RB 5 In-Reply-To: Message-ID: On 8/20/04 6:07 PM, "St?phane Pinel" wrote: > It seems that RB 5.2.4 reports a name conflict with "VDatabase". Is it > a known issue ? No. May be you have 2 V4RB plugins in folder? It must work > Thanks. > > St?phane > > > Le 20 ao?t 04, ? 16:56, St?phane Pinel a ?crit : > >> Hello, >> >> I have to revamp an appli developed two years ago using RB 4 and >> Valentina RB 1.9.6. >> >> Now I need to port the whole thing under RB 5.2.4 IDE. I would like to >> know if Valentina >> 1.9.6 is well suited to work with RB -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From spinel at exenevex.com Fri Aug 20 17:34:01 2004 From: spinel at exenevex.com (=?ISO-8859-1?Q?St=E9phane_Pinel?=) Date: Fri Aug 20 10:21:08 2004 Subject: Valentina RB ans RB 5 In-Reply-To: <070ED9C0-F2BA-11D8-96E6-00039365848C@sailer-online.de> References: <1A943121-F2B9-11D8-BC6A-000A27AFF5D2@exenevex.com> <070ED9C0-F2BA-11D8-96E6-00039365848C@sailer-online.de> Message-ID: <5C4CB550-F2BE-11D8-86BA-000A27AFF5D2@exenevex.com> Le 20 ao?t 04, ? 17:03, Claudius Sailer a ?crit : > Hi, > > I am using V4RB 1.10 with RB 5.2.4 and with RB 5.5.3. Both is fine, > but you have to transform UnicodeToASCII that communication between > Database and RB is running correct. > Thanks. But in my case I have to use 5.2.4 (not 5.5.X). 1.10 is still the best choice ? Thanks. St?phane From sunshine at public.kherson.ua Fri Aug 20 18:26:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 20 10:26:23 2004 Subject: Getting New RecID after SQL INSERT In-Reply-To: <1067265638.20040820170456@public.kherson.ua> Message-ID: On 8/20/04 5:04 PM, "Ivan Smahin" wrote: > FS> Usually they have a SQL way to do that. For instance in MySQL it is: > > FS> SELECT LAST_INSERT_ID() > > FS> In Sybase, you can use: > > FS> SELECT @@IDENTITY > > FS> This ability is especially important for stored procedures. > > > FS> Best regards. > FS> Frank > > FS> _______________________________________________ > FS> Valentina mailing list > FS> Valentina@lists.macserve.net > FS> http://lists.macserve.net/mailman/listinfo/valentina > > Please note, you have no ability to get the last inserted id as result > of sql-insertion anyway. > > Definitely, this stuff is usual for SPs. > But for now I think it could be something like this: > > select max(REC_ID) .... No Ivan, this will not work. Do not forget about wholes from deleted records. > Or more correctly... > Following normalizing rules you need to have PK or uniqie field for > each table. Ivan, this is in RDBMS model, but this is not required in Valentina model ! > So what is the problem to: > select REC_ID from YOUR_TABLE where UNIQUE_FIELD = inserted_value > > Do I miss something? Yes. I will explain you later. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Claudius at sailer-online.de Fri Aug 20 17:28:36 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Fri Aug 20 10:28:44 2004 Subject: Valentina RB ans RB 5 In-Reply-To: <5C4CB550-F2BE-11D8-86BA-000A27AFF5D2@exenevex.com> References: <1A943121-F2B9-11D8-BC6A-000A27AFF5D2@exenevex.com> <070ED9C0-F2BA-11D8-96E6-00039365848C@sailer-online.de> <5C4CB550-F2BE-11D8-86BA-000A27AFF5D2@exenevex.com> Message-ID: <9AAB2876-F2BD-11D8-96E6-00039365848C@sailer-online.de> Am 20. Aug 2004 um 17:34 Uhr schrieb St?phane Pinel: >> I am using V4RB 1.10 with RB 5.2.4 and with RB 5.5.3. Both is fine, >> but you have to transform UnicodeToASCII that communication between >> Database and RB is running correct. >> > > Thanks. But in my case I have to use 5.2.4 (not 5.5.X). 1.10 is still > the best choice ? In my point of view is 1.10.0 the best choice at the moment. Claudius -- G4/733 QS / MacOS X 10.3.5de / RB 5.2.4de or 5.5.3/ Valentina 1.10.0 Homepage http://www.ClaSai.de Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From spinel at exenevex.com Fri Aug 20 17:46:07 2004 From: spinel at exenevex.com (=?ISO-8859-1?Q?St=E9phane_Pinel?=) Date: Fri Aug 20 10:33:11 2004 Subject: Valentina RB ans RB 5 In-Reply-To: References: Message-ID: <0D49F2A3-F2C0-11D8-86BA-000A27AFF5D2@exenevex.com> Le 20 ao?t 04, ? 17:19, Ruslan Zasukhin a ?crit : > No. > > May be you have 2 V4RB plugins in folder? > > It must work > No, I have only one V4RB plugin in the Plugins folder. I've just change the plugin with the v 1.10, and I still get a conflict error with the name VDatabase. Regards. St?phane From bmurf at comcast.net Fri Aug 20 10:47:26 2004 From: bmurf at comcast.net (Brendan Murphy) Date: Fri Aug 20 10:47:33 2004 Subject: Database Size? In-Reply-To: <20040820152631.49B511F4F8F@edison.macserve.net> References: <20040820152631.49B511F4F8F@edison.macserve.net> Message-ID: <3C1AE646-F2C0-11D8-9F32-0003935B6750@comcast.net> Ruslan Zasukhin wrote: > On 8/20/04 5:54 PM, "Bill Numerick" wrote: > > Hi Bill, > >> I was just browsing the Valentina web site and notice in the v-12 vs >> Valentina section that the Valentina databases are smaller than the >> V-12, > >> however when I moved from V-12 to Valentina my database size >> went up from about a 1 meg to 18 megs. What might I have done to do >> this? It seems to run out but i'd like to get the size down if >> possible. > > This is FAQ. > > You can find it in FAQ section. > > Again in short: > > * you can control size of empty of almost empty Valentina db > using db.SegmentSize. > > * in your case I think you have many fields, so initial size of > Valentina is > 18MB. And you add only about 1MB of data. I.e. You have a lots of > empty > space. > > So change SegmentSize to 2-4KB. > > > > IF you have other case: > initial db size was e.g. 0.5Mb, but it go to 18Mb, > then probably you have wrong settings for BLOB/Text fields Valentina 1.10 has the classic space vs speed characteristics. The bigger you make your segment size the faster it is at the cost of wasting a lot of disk space. The smaller you make your segments, the slower it will become, but file size will shrink dramatically. The law of diminishing returns applies to the extreme ends of segement size. In one of my main projects I did an analysis of the space vs speed ratio and plotted them on a graph and then chose a segment size that was satisfactory to my particular situation (I found 8KB was the optimum size for me). If performance is critical to your application, I suggest taking the time to plot out the effects of changing the segment size so that you can achieve the right balance. From sunshine at public.kherson.ua Fri Aug 20 18:59:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 20 10:59:52 2004 Subject: Database Size? In-Reply-To: <3C1AE646-F2C0-11D8-9F32-0003935B6750@comcast.net> Message-ID: On 8/20/04 6:47 PM, "Brendan Murphy" wrote: >> IF you have other case: >> initial db size was e.g. 0.5Mb, but it go to 18Mb, >> then probably you have wrong settings for BLOB/Text fields > > Valentina 1.10 has the classic space vs speed characteristics. The > bigger you make your segment size the faster it is at the cost of > wasting a lot of disk space. NO Brendan! Absolutely wrong understanding. Valentina (as well as any other good DBMS) try compact data on disk as much as possible! Because disk I/o Is the most slow thing. The EXTRA disk space, as I have explain, do not contain data. So it not play in game until it get own data. Valentina do not touch that ZEROed space. But if you know that your data are big, and that empty space in any case will be used, then it is better to pre-allocate it, to reduce overhead of internal file system. > The smaller you make your segments, the slower it will become, but file size > will shrink dramatically. Also not 100% correct. For example if we set segment size to 4Kb then READ operation, will not be affected....almost. May be few percents. But WRITE operations, and I'd say BATCH WRITE when we add a lots of new records can be slower. > The law of diminishing returns applies to the extreme ends of > segement size. > In one of my main projects I did an analysis of the space vs speed > ratio and plotted them on a graph and then chose a segment size > that was satisfactory to my particular situation (I found 8KB was > the optimum size for me). If performance is critical to your > application, I suggest taking the time to plot out the effects of > changing the segment size so that you can achieve the right > balance. I think you see difference, only because Valentina 1.x have had not the best algorithm for internal FAT. Valentina 2.0 have new algorithm, which is 300-500 times faster. So I think this difference will go away. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From halldorg at vortex.is Fri Aug 20 15:59:04 2004 From: halldorg at vortex.is (halldorg@vortex.is) Date: Fri Aug 20 11:00:01 2004 Subject: Getting New RecID after SQL INSERT Message-ID: <1093017544.5602@vortex.is> I think the issue is that Valentina employs a rather unusual "pointer" based relational schema, in most rdbms system the relation between tables is defined in terms of the primary key and all primary key values are transferred to the child.... In the case that started the original question Valentina is not really being used as a relational db, but rather a "pointer" based db - which is fine in itself but might cause some confusion when discussed in sql/relational terms. It is common to use rec_id of sql tables as unique reference but less common to use it as the relational key between tables - most rdbms use separate constructs such as "sequences" to provide running unique numbering systems for that purpose(I hope V2 will sequences ?) Methods such as "select max(rec_id)" from the internal record id could work to get the latest inserted record in a single user db but in a server environment it can hardly be relied on. The first consideration should be to see if the database design could be improved and a suitable unique key other than rec_id found, or at least if the rec_id is the only key, consider if creating a separate number field to manually create the relation may be a better choice. Internal rec_id's are essential when working with "current" record but really a careless(lazy) way of constructing tble relations. Halldor > > Hello Frank, > > Friday, August 20, 2004, 3:49:14 PM, you wrote: > > FS> Hi Ruslan, > > > FS> On Aug 19, 2004, at 5:17 PM, Ruslan Zasukhin wrote: > > >> On 8/19/04 11:32 PM, "Frank Schima" > >> > >> wrote: > >> > >>> I can't seem to recall if there is a way to get the RecID of a newly > >>> INSERTed record using SQL? I'm using V4RB 1.10. I know how to do it > >>> with Table methods but I want to use a pure SQL method if possible. > >>> > >>> I'm sure we'll have this in Valentina 2. > >> > >> Actually I think we have no yet this feature. > >> > >> And if I not mistake, ALL dbms I have see, resolve this > >> Via API function get_last_id() > >> > >> Am I right ? > > FS> Usually they have a SQL way to do that. For instance in MySQL it is: > > FS> SELECT LAST_INSERT_ID() > > FS> In Sybase, you can use: > > FS> SELECT @@IDENTITY > > FS> This ability is especially important for stored procedures. > > > FS> Best regards. > FS> Frank > > FS> _______________________________________________ > FS> Valentina mailing list > FS> Valentina@lists.macserve.net > FS> http://lists.macserve.net/mailman/listinfo/valentina > > Please note, you have no ability to get the last inserted id as result > of sql-insertion anyway. > > Definitely, this stuff is usual for SPs. > But for now I think it could be something like this: > > select max(REC_ID) .... > > Or more correctly... > Following normalizing rules you need to have PK or uniqie field for > each table. So what is the problem to: > > select REC_ID from YOUR_TABLE where UNIQUE_FIELD = inserted_value > > ? > > Do I miss something? > > -- > Best regards, > Ivan mailto:IvanSmahin@public.kherson.ua > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > > From sunshine at public.kherson.ua Fri Aug 20 19:00:30 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 20 11:00:37 2004 Subject: Valentina RB ans RB 5 In-Reply-To: <0D49F2A3-F2C0-11D8-86BA-000A27AFF5D2@exenevex.com> Message-ID: On 8/20/04 6:46 PM, "St?phane Pinel" wrote: > > Le 20 ao?t 04, ? 17:19, Ruslan Zasukhin a ?crit : > >> No. >> >> May be you have 2 V4RB plugins in folder? >> >> It must work >> > > No, I have only one V4RB plugin in the Plugins folder. > I've just change the plugin with the v 1.10, and I still get > a conflict error with the name VDatabase. Hmm. Try to investigate, who else use this name in your RB. May be other plugins? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Aug 20 19:05:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 20 11:05:40 2004 Subject: Getting New RecID after SQL INSERT, Frank? In-Reply-To: <1093017544.5602@vortex.is> Message-ID: On 8/20/04 6:59 PM, "halldorg@vortex.is" wrote: >> FS> Usually they have a SQL way to do that. For instance in MySQL it is: >> >> FS> SELECT LAST_INSERT_ID() Frank, Please remind me, Since mySQL is RDBMS, And PK can be any type, then this function can return integer, double or string value, yes? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From spinel at exenevex.com Fri Aug 20 18:21:15 2004 From: spinel at exenevex.com (=?ISO-8859-1?Q?St=E9phane_Pinel?=) Date: Fri Aug 20 11:08:22 2004 Subject: Valentina RB ans RB 5 In-Reply-To: References: Message-ID: Le 20 ao?t 04, ? 18:00, Ruslan Zasukhin a ?crit : > Hmm. > > Try to investigate, who else use this name in your RB. > May be other plugins? That's what I though. So now I have only one plugin (V4RB 1.10) and still get this damned conflict name error... I'm pretty stuck :-( Thanks St?phane Mac OS X 10.3.5 RB 5.2.4 V4RB 1.10 From keatk at comcast.net Fri Aug 20 16:24:28 2004 From: keatk at comcast.net (keatk@comcast.net) Date: Fri Aug 20 11:24:34 2004 Subject: [V4RB] Open/Close trick Revisted Message-ID: <082020041624.12915.412625BC00084A890000327322007347480B049D0199D30E0E05@comcast.net> It turns out I did have to rely on LockFiles on the network at work to use it. I need to be Xplatform so to get fully atomic operations I likely would have had resort to declares on each platform and I did not have the time to figure out how to do that... So i tried to make it almost foolproof in RB code... Not sure if I succeeded, because with the low current usage collisons are likely to be rare for awhile. Anyway here is my lock file checking code. any comments world be appreciated: Protected Function LockFileCheck() As Boolean 'At App Starup : ' Lockfile FolderItem is created ' AppGlobals.NetworkProcessID Is assigned ' AppGlobals.NetworkProcessID is created as follows: ' If System.NetworkInterfaceCount = 0 then ' NetworkProcessID = Format(Microseconds,"#.0000000000000000000000e") ' Else ' NetworkProcessID = System.GetNetworkInterface(0).MACAddress + Format(Microseconds,"#.0000000000000000000000e") ' End if Dim Now As New Date Dim OutStream as TextOutputStream, InStream as TextInputStream Dim LockID, MyID AS String If AppGlobals.NetworkProcessID = "" Then AppGlobals.MakeNetworkProcessID MyID = AppGlobals.NetworkProcessID If LockFile.Exists Then If (Now.TotalSeconds - LockFile.CreationDate.TotalSeconds) > MaxLockFileAge_Sec Then LockFile.Delete Else ' then try to read it InStream = LockFile.OpenAsTextFile LockID = InStream.ReadLine InStream.Close If MyID <> LockID Then Return False 'Another process owns it LockFile.Delete End if End if If Not LockFile.Exists Then ' Create it OutStream = LockFile.CreateTextFile OutStream.WriteLine MyID OutStream.Close Else 'Another process beat this one to the punch Return False End if ' Try to read from the one just created just in case another process snuck in InStream = LockFile.OpenAsTextFile LockID = InStream.ReadLine InStream.Close Return MyID = LockID Exception ' File system does not allow simultaneous acess or file deleted after creation but before reading Return false End Function ------------------------------------ And I use it like so: from my VDatabase subclass ------------------------------------ Function Open() As Boolean If Me.isOpen Then Return false Dim theErrNo as integer theErrNo = me.TryToOpen If me.isOpen Then TryingToOpen = False Return true End If dbBusyDialog.ShowDialog(me, Location.Name, theErrNo) ' this creates a timer that calls ' TryToOpen If me.isOpen Then Return True Else Quit End if End Function --------------------- Protected Function TryToOpen() As Integer Dim DidOpen as boolean, Err as Integer If Not TryingToOpen Then dbOpeningDialog.Display(Location.Name) isOpen = False If me.LockFileCheck Then DidOpen= Super.Open(Location) if DidOpen and me.ErrNumber = 0 Then isOpen = True err = 0 Elseif Not DidOpen AND me.ErrNumber = 0 then Err = -666 Else err = me.ErrNumber End if Else Err = -999 End if If Not TryingToOpen Then dbOpeningDialog.Close Return Err End Function From sunshine at public.kherson.ua Fri Aug 20 19:28:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 20 11:30:36 2004 Subject: Getting New RecID after SQL INSERT In-Reply-To: <1093017544.5602@vortex.is> Message-ID: On 8/20/04 6:59 PM, "halldorg@vortex.is" wrote: Hi Haldor, > I think the issue is that Valentina employs a rather unusual "pointer" based > relational schema, in most rdbms system the relation between tables is defined > in terms of the primary key and all primary key values are transferred to the > child.... Haldor, but Valentina (especially 2.0) honestly support few models 1) RDBMS model with primary key 2) ObjectPtr links 3) Binary links (new to 2.0) Valentina 2.0 in very beauty way build common abstraction for these 3 models. And I think function last_id() Can have 100% the same sense for all models. Actually I think we will need 2 functions last_id() -- returns primary key, if you use PK and Relational model last_rec_id() -- works always for all models. > In the case that started the original question Valentina is not really being > used as a relational db, but rather a "pointer" based db - which is fine in > itself but might cause some confusion when discussed in sql/relational terms. Rigth, Frank have ask about SQL way. If to use Cursor and Cusor.AddRecord() Then we can get new RecID. Frank want do this directly in SQL. And this is correct wish. Valentina claim that it EXTEND relational model. > It is common to use rec_id of sql tables as unique reference but less common > to use it as the relational key between tables - most rdbms use separate > constructs such as "sequences" to provide running unique numbering systems for > > that purpose(I hope V2 will sequences ?) > > Methods such as "select max(rec_id)" from the internal record id could work to > > get the latest inserted record in a single user db but in a server environment > > it can hardly be relied on. > > The first consideration should be to see if the database design could be > improved and a suitable unique key other than rec_id found, or at least if the > > rec_id is the only key, consider if creating a separate number field to > manually create the relation may be a better choice. > > Internal rec_id's are essential when working with "current" record but really > a careless(lazy) way of constructing tble relations. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Aug 20 19:30:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 20 11:32:08 2004 Subject: Valentina RB ans RB 5 In-Reply-To: Message-ID: On 8/20/04 7:21 PM, "St?phane Pinel" wrote: > > Le 20 ao?t 04, ? 18:00, Ruslan Zasukhin a ?crit : > >> Hmm. >> >> Try to investigate, who else use this name in your RB. >> May be other plugins? > > That's what I though. So now I have only one plugin (V4RB 1.10) and > still get this damned conflict name error... > > I'm pretty stuck :-( May be try new clean installation of RB on other computer ? Really odd -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vaccari at dst.units.it Fri Aug 20 18:36:49 2004 From: vaccari at dst.units.it (Franco Vaccari) Date: Fri Aug 20 11:36:57 2004 Subject: Valentina RB ans RB 5 In-Reply-To: References: Message-ID: <2286DF42-F2C7-11D8-8D4E-000A95BA108C@dst.units.it> Maybe you have a variable named VDatabase? Control names are reserved words (I guess after RB5). When do you get the error? Compiling? Running? Opening? A specific statement? Franco On 20 Aug 2004, at 18:21, St?phane Pinel wrote: > That's what I though. So now I have only one plugin (V4RB 1.10) and > still get this damned conflict name error... > > I'm pretty stuck :-( > > Thanks > > St?phane > > Mac OS X 10.3.5 > RB 5.2.4 > V4RB 1.10 > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From spinel at exenevex.com Fri Aug 20 19:00:24 2004 From: spinel at exenevex.com (=?ISO-8859-1?Q?St=E9phane_Pinel?=) Date: Fri Aug 20 11:47:32 2004 Subject: Valentina RB ans RB 5 In-Reply-To: <2286DF42-F2C7-11D8-8D4E-000A95BA108C@dst.units.it> References: <2286DF42-F2C7-11D8-8D4E-000A95BA108C@dst.units.it> Message-ID: <6D831195-F2CA-11D8-86BA-000A27AFF5D2@exenevex.com> Le 20 ao?t 04, ? 18:36, Franco Vaccari a ?crit : > Maybe you have a variable named VDatabase? Control names are reserved > words (I guess after RB5). Finding 'VDataBase' in the entire project : ....found 2 items : a Global Property "MyDB As VDataBase" and code instantiation "MyDB = new VDataBase" > > When do you get the error? Compiling? Running? Opening? A specific > statement? > A compile time, on the global property "MyDB As VDataBase" Thank you. Stephane From spinel at exenevex.com Fri Aug 20 19:00:44 2004 From: spinel at exenevex.com (=?ISO-8859-1?Q?St=E9phane_Pinel?=) Date: Fri Aug 20 11:47:47 2004 Subject: Valentina RB ans RB 5 In-Reply-To: References: Message-ID: <79B80AEB-F2CA-11D8-86BA-000A27AFF5D2@exenevex.com> Le 20 ao?t 04, ? 18:30, Ruslan Zasukhin a ?crit : > May be try new clean installation of RB on other computer ? > > Really odd OK. I do that. Thanks. Stephane From spinel at exenevex.com Fri Aug 20 19:14:12 2004 From: spinel at exenevex.com (=?ISO-8859-1?Q?St=E9phane_Pinel?=) Date: Fri Aug 20 12:01:16 2004 Subject: Valentina RB ans RB 5 In-Reply-To: <79B80AEB-F2CA-11D8-86BA-000A27AFF5D2@exenevex.com> References: <79B80AEB-F2CA-11D8-86BA-000A27AFF5D2@exenevex.com> Message-ID: <5B019D68-F2CC-11D8-86BA-000A27AFF5D2@exenevex.com> Le 20 ao?t 04, ? 19:00, St?phane Pinel a ?crit : > >> May be try new clean installation of RB on other computer ? >> >> Really odd > > OK. I do that. > Same result. Name conflict to resolve with VDataBase :-( Stephane From bmurf at comcast.net Fri Aug 20 12:08:03 2004 From: bmurf at comcast.net (Brendan Murphy) Date: Fri Aug 20 12:08:09 2004 Subject: Database Size? In-Reply-To: <20040820163040.2F1211F5174@edison.macserve.net> References: <20040820163040.2F1211F5174@edison.macserve.net> Message-ID: <7F0C89C4-F2CB-11D8-9F32-0003935B6750@comcast.net> Respectfully Ruslan, I still stand by my statements. From my empirical analysis and actually plotting out on a graph the data points, what I stated is the case. I don't actually care about your internals and frankly it is not relevant to end users from the point of view that they just need to pick the best segment size for there application. This is WHY I suggested doing a study to determine the optimum segment size for the specific application. The behavior of the target application is the unknown variable in the equation and is something you cannot predict and dictates that experimentation must be done to determine the correct segment size. From Claudius at sailer-online.de Fri Aug 20 19:10:41 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Fri Aug 20 12:10:53 2004 Subject: Valentina RB ans RB 5 In-Reply-To: <5B019D68-F2CC-11D8-86BA-000A27AFF5D2@exenevex.com> References: <79B80AEB-F2CA-11D8-86BA-000A27AFF5D2@exenevex.com> <5B019D68-F2CC-11D8-86BA-000A27AFF5D2@exenevex.com> Message-ID: Am 20. Aug 2004 um 19:14 Uhr schrieb St?phane Pinel: > > Le 20 ao?t 04, ? 19:00, St?phane Pinel a ?crit : > >> >>> May be try new clean installation of RB on other computer ? >>> >>> Really odd >> >> OK. I do that. >> > > Same result. Name conflict to resolve with VDataBase :-( How often do you use MyDB? Do you use this also for Windows, Menue, Button e.g.? bye Claudius -- G4/733 QS / MacOS X 10.3.5de / RB 5.2.4de or 5.5.3/ Valentina 1.10.0 Homepage http://www.ClaSai.de Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Fri Aug 20 20:14:47 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 20 12:14:54 2004 Subject: Database Size? In-Reply-To: <7F0C89C4-F2CB-11D8-9F32-0003935B6750@comcast.net> Message-ID: On 8/20/04 8:08 PM, "Brendan Murphy" wrote: > Respectfully Ruslan, I still stand by my statements. > > From my empirical analysis and actually plotting out on a graph > the data points, what I stated is the case. I don't actually care > about your internals and frankly it is not relevant to end users > from the point of view that they just need to pick the best > segment size for there application. > This is WHY I suggested doing > a study to determine the optimum segment size for the specific > application. The behavior of the target application is the unknown > variable in the equation and is something you cannot predict and > dictates that experimentation must be done to determine the > correct segment size. You are right of course that experiments and facts can blow out any theory! :-) Just still, I think that conclusions from experiments was wrong. They can be true for your data set and project. But not for general case. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Aug 20 20:15:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 20 12:18:41 2004 Subject: Valentina RB ans RB 5 In-Reply-To: <5B019D68-F2CC-11D8-86BA-000A27AFF5D2@exenevex.com> Message-ID: On 8/20/04 8:14 PM, "St?phane Pinel" wrote: >>> May be try new clean installation of RB on other computer ? >>> >>> Really odd >> >> OK. I do that. >> > > Same result. Name conflict to resolve with VDataBase :-( Do you try on your own project? Have you try NEW empty project with ONE new class marked as Vdatabase? Or have you run our examples? Do you use V4RB 1.10 ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From spinel at exenevex.com Fri Aug 20 19:35:54 2004 From: spinel at exenevex.com (=?ISO-8859-1?Q?St=E9phane_Pinel?=) Date: Fri Aug 20 12:23:01 2004 Subject: Valentina RB ans RB 5 In-Reply-To: References: <79B80AEB-F2CA-11D8-86BA-000A27AFF5D2@exenevex.com> <5B019D68-F2CC-11D8-86BA-000A27AFF5D2@exenevex.com> Message-ID: <634EE4CE-F2CF-11D8-86BA-000A27AFF5D2@exenevex.com> Le 20 ao?t 04, ? 19:10, Claudius Sailer a ?crit : > How often do you use MyDB? > Do you use this also for Windows, Menue, Button e.g.? Nope. Only to reference my class instance, so : - Only in code (referencing my class instance) - And in the Property declaration : "MyDB As VDataBase" I tried to rename MyDB to MyvDB : same result. The thing is, I can't get the entire error message returned by the compiler because it is really truncated in the Property Declaration Dialog box: The only thing I am able to read is : "e name as a class. You must resolve this conflict". I found so bad placing truncated error messages this way ;-) Thanks for your time. Stephane From spinel at exenevex.com Fri Aug 20 19:39:05 2004 From: spinel at exenevex.com (=?ISO-8859-1?Q?St=E9phane_Pinel?=) Date: Fri Aug 20 12:26:09 2004 Subject: Valentina RB ans RB 5 In-Reply-To: References: Message-ID: Le 20 ao?t 04, ? 19:15, Ruslan Zasukhin a ?crit : > Do you try on your own project? Yes. > > Have you try NEW empty project with ONE new class marked as Vdatabase? Yes: same conflict error... > > Or have you run our examples? No. > > > Do you use V4RB 1.10 ? yes. Stephane From Claudius at sailer-online.de Fri Aug 20 19:27:38 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Fri Aug 20 12:27:46 2004 Subject: Valentina RB ans RB 5 In-Reply-To: <634EE4CE-F2CF-11D8-86BA-000A27AFF5D2@exenevex.com> References: <79B80AEB-F2CA-11D8-86BA-000A27AFF5D2@exenevex.com> <5B019D68-F2CC-11D8-86BA-000A27AFF5D2@exenevex.com> <634EE4CE-F2CF-11D8-86BA-000A27AFF5D2@exenevex.com> Message-ID: <3BB8E1FA-F2CE-11D8-96E6-00039365848C@sailer-online.de> Am 20. Aug 2004 um 19:35 Uhr schrieb St?phane Pinel: > I tried to rename MyDB to MyvDB : same result. The thing is, I can't > get the entire error message returned by the compiler because it is > really truncated in the Property Declaration Dialog box: > > The only thing I am able to read is : > > "e name as a class. You must resolve this conflict". > > I found so bad placing truncated error messages this way ;-) This error-message-part shows IMHO that you have the name VDatabase also used in a class, classname or anywhere else. Could you export project in an XML-file or Textfile and search there for VDatabase and MyDB? A long time ago, when I moced to RB 5.2.4 is remember I had a same problem, but with Menu and Constants :-(( bye Claudius -- G4/733 QS / MacOS X 10.3.5de / RB 5.2.4de or 5.5.3/ Valentina 1.10.0 Homepage http://www.ClaSai.de Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From Claudius at sailer-online.de Fri Aug 20 19:29:09 2004 From: Claudius at sailer-online.de (Claudius Sailer) Date: Fri Aug 20 12:29:18 2004 Subject: Valentina RB ans RB 5 In-Reply-To: References: Message-ID: <71B88365-F2CE-11D8-96E6-00039365848C@sailer-online.de> Am 20. Aug 2004 um 19:39 Uhr schrieb St?phane Pinel: >> Have you try NEW empty project with ONE new class marked as Vdatabase? > > Yes: same conflict error... You you send me the project? (RB SourceCode) Claudius -- G4/733 QS / MacOS X 10.3.5de / RB 5.2.4de or 5.5.3/ Valentina 1.10.0 Homepage http://www.ClaSai.de Download finale Versionen, Betaversionen auf der Homepage RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From benr_mc at cogapp.com Fri Aug 20 18:38:11 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri Aug 20 12:39:46 2004 Subject: Database Size? In-Reply-To: Message-ID: As a complete Valentina newbie.... The project I'm considering Valentina for will involve creating a Valentina DB one machine, probably on a weekly cycle, and publishing it out to a population of machines which will access the database using a Director project. Almost certainly, the database one published will be read-only on all the machines running the Director project. In this case, it sounds like if I don't care how long it takes to create the database (and I don't) I might as well set the segment size very small, since a larger size will increase the size of the database, but would provide no benefits if the database is never modified. Is that correct? TIA, Ben Rubinstein | Email: benr_mc@cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From spinel at exenevex.com Fri Aug 20 19:55:03 2004 From: spinel at exenevex.com (=?ISO-8859-1?Q?St=E9phane_Pinel?=) Date: Fri Aug 20 12:42:09 2004 Subject: Valentina RB ans RB 5 (SOLVED !) In-Reply-To: <71B88365-F2CE-11D8-96E6-00039365848C@sailer-online.de> References: <71B88365-F2CE-11D8-96E6-00039365848C@sailer-online.de> Message-ID: <105844DC-F2D2-11D8-86BA-000A27AFF5D2@exenevex.com> Le 20 ao?t 04, ? 19:29, Claudius Sailer a ?crit : > You you send me the project? (RB SourceCode) > > > In the new empty source, I replaced "MyDB As VDataBase" with "TrucMuche As VDataBase" and it is OK now. But RB refused "MyDB" or "MyvDB" !? Strange.... So I will go back to my old big project and try to do this :-))) Thank you very much to all of you spending your time trying to help me. I really appreciate. Regards. St?phane From sunshine at public.kherson.ua Fri Aug 20 20:51:10 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 20 12:51:17 2004 Subject: Database Size? In-Reply-To: Message-ID: On 8/20/04 8:38 PM, "Ben Rubinstein" wrote: > As a complete Valentina newbie.... > > The project I'm considering Valentina for will involve creating a Valentina > DB one machine, probably on a weekly cycle, and publishing it out to a > population of machines which will access the database using a Director > project. Almost certainly, the database one published will be read-only on > all the machines running the Director project. > > In this case, it sounds like if I don't care how long it takes to create the > database (and I don't) I might as well set the segment size very small, > since a larger size will increase the size of the database, but would > provide no benefits if the database is never modified. Hi Ben, May be. I do not recommend size less of 4KB. 4KB -- this is minimal page which MacOS or Windows OS move. What size of your db after import of data? What the maximal size of db ? How many tables/fields you will have? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From benr_mc at cogapp.com Fri Aug 20 19:31:27 2004 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri Aug 20 13:34:44 2004 Subject: Database Size? In-Reply-To: Message-ID: Ruslan wrote: > I do not recommend size less of 4KB. > 4KB -- this is minimal page which MacOS or Windows OS move. So far I've only sketched out a prototype. Answers were: > What size of your db after import of data? First time I tried: 3MB. Second attempt: 11MB. Same data, give or take, but different method of creation - and I think the real difference was in segment size. > What the maximal size of db ? If we take 3MB as the 'true' size of the current protype, I'd guess no more than 20MB. And it will probably take three years to get that big. > How many tables/fields you will have? Again just based on the current sketched prototype, 14 tables; largest one approx 3000 rows. I'd expect over several years this to grow to something like 20,000 rows. Ben Rubinstein | Email: benr_mc@cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From frank-list2 at mindstarprods.com Fri Aug 20 14:46:23 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Fri Aug 20 13:46:29 2004 Subject: Getting New RecID after SQL INSERT, Frank? In-Reply-To: References: Message-ID: <3C2F9D1A-F2D9-11D8-B795-0003939246BC@mindstarprods.com> On Aug 20, 2004, at 12:05 PM, Ruslan Zasukhin wrote: > On 8/20/04 6:59 PM, "halldorg@vortex.is" wrote: > >>> FS> Usually they have a SQL way to do that. For instance in MySQL it >>> is: >>> >>> FS> SELECT LAST_INSERT_ID() > > Frank, > > Please remind me, > > Since mySQL is RDBMS, > > And PK can be any type, then this function can return integer, double > or > string value, yes? It can only be used with auto-increment fields which are integers. In Valentina, it only needs to work with the RecID field. Sybase is similar in that it works with its "Identity" field which is essentially an auto-incrementing integer. -Frank From sunshine at public.kherson.ua Fri Aug 20 22:19:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 20 14:19:21 2004 Subject: Getting New RecID after SQL INSERT, Frank? In-Reply-To: <3C2F9D1A-F2D9-11D8-B795-0003939246BC@mindstarprods.com> Message-ID: On 8/20/04 9:46 PM, "Frank Schima" wrote: >>>> FS> Usually they have a SQL way to do that. For instance in MySQL it >>>> is: >>>> >>>> FS> SELECT LAST_INSERT_ID() >> >> Frank, >> >> Please remind me, >> >> Since mySQL is RDBMS, >> >> And PK can be any type, then this function can return integer, double >> or >> string value, yes? > > It can only be used with auto-increment fields which are integers. Hmm. You sure ? I do not see technical problems for mySQL to return different types. > In Valentina, it only needs to work with the RecID field. Frank, but Valentina also should be able act as RDBMS. > Sybase is similar in that it works with its "Identity" field which is > essentially an auto-incrementing integer. Okay, I think in 1-2 weeks we will work on this task for 2.0 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Aug 20 22:20:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 20 14:20:29 2004 Subject: Database Size? In-Reply-To: Message-ID: On 8/20/04 9:31 PM, "Ben Rubinstein" wrote: > Ruslan wrote: > >> I do not recommend size less of 4KB. >> 4KB -- this is minimal page which MacOS or Windows OS move. > > So far I've only sketched out a prototype. Answers were: > >> What size of your db after import of data? > > First time I tried: 3MB. > > Second attempt: 11MB. > > Same data, give or take, but different method of creation - and I think the > real difference was in segment size. > >> What the maximal size of db ? > > If we take 3MB as the 'true' size of the current protype, I'd guess no more > than 20MB. And it will probably take three years to get that big. So db is going to be relatively small. I think you can live with 4 or 8KB segment size. >> How many tables/fields you will have? > > Again just based on the current sketched prototype, 14 tables; largest one > approx 3000 rows. I'd expect over several years this to grow to something > like 20,000 rows. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From frank-list2 at mindstarprods.com Fri Aug 20 23:45:47 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Fri Aug 20 22:45:55 2004 Subject: Getting New RecID after SQL INSERT, Frank? In-Reply-To: References: Message-ID: <9626D072-F324-11D8-B795-0003939246BC@mindstarprods.com> On Aug 20, 2004, at 3:19 PM, Ruslan Zasukhin wrote: > On 8/20/04 9:46 PM, "Frank Schima" > wrote: > >>>>> FS> Usually they have a SQL way to do that. For instance in MySQL >>>>> it >>>>> is: >>>>> >>>>> FS> SELECT LAST_INSERT_ID() >>> >>> Frank, >>> >>> Please remind me, >>> >>> Since mySQL is RDBMS, >>> >>> And PK can be any type, then this function can return integer, double >>> or >>> string value, yes? >> >> It can only be used with auto-increment fields which are integers. > > Hmm. You sure ? > > I do not see technical problems for mySQL to return different types. AFAIK: -Frank From sunshine at public.kherson.ua Sat Aug 21 08:08:54 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 21 00:09:01 2004 Subject: Database Size? In-Reply-To: Message-ID: On 8/21/04 6:53 AM, "Frank Schima" wrote: > Hi Ruslan, > > On Aug 20, 2004, at 1:51 PM, Ruslan Zasukhin wrote: > >> On 8/20/04 8:38 PM, "Ben Rubinstein" wrote: >> >>> In this case, it sounds like if I don't care how long it takes to >>> create the >>> database (and I don't) I might as well set the segment size very >>> small, >>> since a larger size will increase the size of the database, but would >>> provide no benefits if the database is never modified. >> >> Hi Ben, >> >> May be. >> >> I do not recommend size less of 4KB. >> 4KB -- this is minimal page which MacOS or Windows OS move. > > Really! This is very interesting. Do you remember that I had a problem > with a database becoming corrupt because the segment size was too > small? I was trying to use 128 *bytes* and I saw the problem. I have > used 512 bytes successfully though. It's too bad because 4KB becomes > the smallest record size then for a single table database. > > So I guess there is no way to support smaller than 4kB segment size? You can specify less size. And this ALSO will reduce the initial size of db. Db with 2KB with be 2 times less than db with 4KB. I have to think more...my words are above are wrong. We can have db.segment e.g. 1KB. So on one physical page of OS file will be located 4 Valentina segments. This still will work. And if we want to read 1 Valentina segment then OS will load into RAM all 4 segments. Because they are on single page of OS file. I don't know why there was problems with so small segment size. Probably because FAT also is built on segments, and if you have 128 bytes segment, then one FAT page can keep refs of only 32 data-pages. Probably this cause very fast some problems. I remember that with size of segment is based some limit on size of db. Hmm, we have never talk about this...because limit this limit is very high even for 1-4KB. I need refresh my memory on this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From frank-list2 at mindstarprods.com Sat Aug 21 07:53:00 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Sat Aug 21 06:53:05 2004 Subject: Database Size? In-Reply-To: References: Message-ID: On Aug 21, 2004, at 1:08 AM, Ruslan Zasukhin wrote: > On 8/21/04 6:53 AM, "Frank Schima" > wrote: > >> Really! This is very interesting. Do you remember that I had a problem >> with a database becoming corrupt because the segment size was too >> small? I was trying to use 128 *bytes* and I saw the problem. I have >> used 512 bytes successfully though. It's too bad because 4KB becomes >> the smallest record size then for a single table database. >> >> So I guess there is no way to support smaller than 4kB segment size? > > You can specify less size. > > And this ALSO will reduce the initial size of db. > Db with 2KB with be 2 times less than db with 4KB. > > I have to think more...my words are above are wrong. > > We can have db.segment e.g. 1KB. > So on one physical page of OS file will be located 4 Valentina > segments. > This still will work. > > And if we want to read 1 Valentina segment then OS will load into RAM > all 4 > segments. Because they are on single page of OS file. > > I don't know why there was problems with so small segment size. > Probably because FAT also is built on segments, and if you have 128 > bytes > segment, then one FAT page can keep refs of only 32 data-pages. > Probably > this cause very fast some problems. > > I remember that with size of segment is based some limit on size of db. > Hmm, we have never talk about this...because limit this limit is very > high > even for 1-4KB. I need refresh my memory on this. I was looking back at my small segment size project. Here is the weird thing. When I set the segment size to 128 bytes and 1 file, then it creates a corrupted database. But when I change it to a 4 file database, then it was ok! For a single file database, I had to set the segment size to 4 kB (or larger) in order to create a database that was not corrupt. I had sent you the project and file before, let me know if you need them again. -Frank From sunshine at public.kherson.ua Sat Aug 21 15:32:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 21 07:32:44 2004 Subject: Database Size? In-Reply-To: Message-ID: On 8/21/04 2:53 PM, "Frank Schima" wrote: >> On 8/21/04 6:53 AM, "Frank Schima" >> wrote: >> >>> Really! This is very interesting. Do you remember that I had a problem >>> with a database becoming corrupt because the segment size was too >>> small? I was trying to use 128 *bytes* and I saw the problem. I have >>> used 512 bytes successfully though. It's too bad because 4KB becomes >>> the smallest record size then for a single table database. >>> >>> So I guess there is no way to support smaller than 4kB segment size? >> >> You can specify less size. >> >> And this ALSO will reduce the initial size of db. >> Db with 2KB with be 2 times less than db with 4KB. >> >> I have to think more...my words are above are wrong. >> >> We can have db.segment e.g. 1KB. >> So on one physical page of OS file will be located 4 Valentina >> segments. >> This still will work. >> >> And if we want to read 1 Valentina segment then OS will load into RAM >> all 4 >> segments. Because they are on single page of OS file. >> >> I don't know why there was problems with so small segment size. >> Probably because FAT also is built on segments, and if you have 128 >> bytes >> segment, then one FAT page can keep refs of only 32 data-pages. >> Probably >> this cause very fast some problems. >> >> I remember that with size of segment is based some limit on size of db. >> Hmm, we have never talk about this...because limit this limit is very >> high >> even for 1-4KB. I need refresh my memory on this. > > I was looking back at my small segment size project. Here is the weird > thing. When I set the segment size to 128 bytes and 1 file, then it > creates a corrupted database. But when I change it to a 4 file > database, then it was ok! For a single file database, I had to set the > segment size to 4 kB (or larger) in order to create a database that was > not corrupt. I had sent you the project and file before, let me know if > you need them again. I think that was FAT problems/bugs. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Sat Aug 21 16:37:47 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sat Aug 21 09:30:02 2004 Subject: Einhugur's Datagrid Message-ID: Hi lists, I think that I am going to buy Einhugur's Datagrid. I tried it with Valentina and it seems very effective. Anybody knows well this product ? The company is serious? thank you olivier From sunshine at public.kherson.ua Sat Aug 21 17:40:51 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 21 09:41:01 2004 Subject: Einhugur's Datagrid In-Reply-To: Message-ID: On 8/21/04 5:37 PM, "olivier" wrote: > Hi lists, > > I think that I am going to buy Einhugur's Datagrid. > > I tried it with Valentina and it seems very effective. > > Anybody knows well this product ? > > The company is serious? Company is very serious, Oliver. I think this is one of the oldest and respectable RB plugin makers. Also as I know, you will buy NOT only this DataGrid, But all other their cool plugins. They have single bundle. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rblists at carsten-friehe.de Sat Aug 21 18:09:33 2004 From: rblists at carsten-friehe.de (Carsten Friehe) Date: Sat Aug 21 11:09:54 2004 Subject: Einhugur's Datagrid In-Reply-To: References: Message-ID: Hi! >I think that I am going to buy Einhugur's Datagrid. Good decision! >I tried it with Valentina and it seems very effective. Yes, it is! >Anybody knows well this product ? I am using the DataGrid since it is easy to use together with Valentina. I am also using the other Einhugur plugins and they are great! A must have! >The company is serious? Yes! Carsten From vidal_olivier at yahoo.fr Sat Aug 21 20:42:19 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Sat Aug 21 13:34:30 2004 Subject: Einhugur's Datagrid In-Reply-To: References: Message-ID: ok, thank you very much Ruslan and Carsten ! olivier From sunshine at public.kherson.ua Sun Aug 22 09:32:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Aug 22 01:32:55 2004 Subject: Why in RB there is no sub-view ? Message-ID: Hi All, I wonder. In e.g. C++ PowerPlant we have such concept as View. I can create View, set its size, set its controls (as we do this for window in RB now). Later I can 1) easy include the whole set of controls into Window 2) easy include the same view into different windows 3) I can easy show/hide set of controls in a Window. My current problem/task is: * I have window with one popup menu. * user must choose item of menu, there are e.g. 10-15 items. Depending on choice I need show 10-15 different sets of controls. How I can do this NOW in RB 5.5 ??? It looks to me I need create great mess in the window, Creating all controls. Then I need self write 10-15 functions to show required controls. But this is mess. If there is no great reasons against VIEWs, Then please accept this as feature request. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Aug 23 11:07:21 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 03:08:30 2004 Subject: [VXCMD] Record Locks In-Reply-To: Message-ID: On 8/19/04 6:37 AM, "Bobby" wrote: > Ruslan we keep getting with one particular company record locks when we are > not setting any kind of record locks. What else would cause a 363 error to > occur. We use SQLSelectRecords and SQLSelect with the "NoLocks" option. Hi Robert, We have declaration DataBase_SQLSelectRecords( dbRefOrName, SQLstring, [FromRec], [MaxRecords], [fldDelim], [recDelim] ) Valentina in this function build cursor using default params: kClient, kReadOnly, kForwardOnly We have 2 choices now: 1) We add to this function 3 additional parameters. IMHO it will be too much parameters then for it. 2) second way. instead of this functions you can use 3 steps ways curs = DataBase_SQLSelect( dbRefOrName, SQLstring, [Location], [LocksType], [Direction] ) Cursor_GetRecords( curs ) -> this is what you want Cursor_Free( curs ) So what you think? Should we add 3 more parameters to above function ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Aug 23 12:16:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 04:16:45 2004 Subject: TIP, cursor life circle In-Reply-To: Message-ID: On 8/10/04 10:35 AM, "Barney" wrote: Hi Barney, 1) I can reproduce problem on your project very interesting, because all looks simple. I continue debugging. 2) small tip advice. You have function Sub foo Dim Pcur as VCursor Dim Err as boolean Dim S as string S = Listbox1.cell(listbox1.listindex, 0) Pcur = App.DB.SQLSelect( "Select * from componants where componant = '" + S + "'", 2,1,2) If Pcur <> Nil and Pcur.RecordCount > 0 then Err = Pcur.deleteAll() End if setupcomp end ---------------- I recommend to have it as Sub foo Dim Pcur as VCursor Dim Err as boolean Dim S as string S = Listbox1.cell(listbox1.listindex, 0) Pcur = App.DB.SQLSelect("Select * from componants where componant = '" + S + "'", 2,1,2) If Pcur <> Nil and Pcur.RecordCount > 0 then Err = Pcur.deleteAll() End if App.Db.Flush pcur = nil setupcomp Sub foo --------------- Because you call function setupcomp() where you again do SQL queries. But your pCur still exists, and it CAN conflict with your next queries. So TIP: * kill cursors AS SOON AS POSSIBLE. * after modifications it is always good call Flush() -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Aug 23 12:18:50 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 04:18:58 2004 Subject: TIP, cursor life circle In-Reply-To: Message-ID: On 8/23/04 12:16 PM, "Ruslan Zasukhin" wrote: > On 8/10/04 10:35 AM, "Barney" wrote: > > Hi Barney, > > 1) I can reproduce problem on your project > very interesting, because all looks simple. > I continue debugging. > > > 2) small tip advice. > > You have function > > Sub foo > > Dim Pcur as VCursor > Dim Err as boolean > Dim S as string > > S = Listbox1.cell(listbox1.listindex, 0) > > > > Pcur = App.DB.SQLSelect( > "Select * from componants where componant = '" + S + "'", 2,1,2) > > If Pcur <> Nil and Pcur.RecordCount > 0 then > Err = Pcur.deleteAll() > End if > > setupcomp > end > > > > ---------------- > I recommend to have it as > > Sub foo > > Dim Pcur as VCursor > Dim Err as boolean > Dim S as string > > S = Listbox1.cell(listbox1.listindex, 0) > > > > Pcur = App.DB.SQLSelect("Select * from componants where componant = '" + S > + "'", 2,1,2) > > If Pcur <> Nil and Pcur.RecordCount > 0 then > Err = Pcur.deleteAll() > End if > > App.Db.Flush > pcur = nil > > setupcomp > > Sub foo > > > > > --------------- > Because you call function setupcomp() where you again do SQL queries. > But your pCur still exists, and it CAN conflict with your next queries. > > > So TIP: > > * kill cursors AS SOON AS POSSIBLE. > > * after modifications it is always good call Flush() TIP2: - You create cursor pCur only to delete all its records. - you not use its fields. - then you can save a little time and resources using SELECT RecID FROM T -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Mon Aug 23 11:54:15 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Aug 23 04:56:00 2004 Subject: [VXCMD] Record Locks In-Reply-To: References: Message-ID: >On 8/19/04 6:37 AM, "Bobby" wrote: > >> Ruslan we keep getting with one particular company record locks when we are >> not setting any kind of record locks. What else would cause a 363 error to >> occur. We use SQLSelectRecords and SQLSelect with the "NoLocks" option. > >Hi Robert, > >We have declaration > > > DataBase_SQLSelectRecords( > dbRefOrName, SQLstring, > [FromRec], [MaxRecords], > [fldDelim], [recDelim] ) > > >Valentina in this function build cursor using default params: > > kClient, kReadOnly, kForwardOnly > > > >We have 2 choices now: > >1) We add to this function 3 additional parameters. > IMHO it will be too much parameters then for it. > > > >2) second way. > > instead of this functions you can use 3 steps ways > > curs = DataBase_SQLSelect( > dbRefOrName, SQLstring, [Location], [LocksType], [Direction] ) > > Cursor_GetRecords( curs ) -> this is what you want > >So what you think? >Should we add 3 more parameters to above function ? > So you are suggesting, Ruslan, to get rid of the SqlSelectRecords but instead of provide a new function that allows to fetch all records? But then shouldn't the new function be Cursor_GetAllRecords( curs , [FromRec], [MaxRecords], [fldDelim], [recDelim]) I would suggest to say "all" since the single "s" of plural is easy to miss. The only consideration is that this new approach requires 3 subsequent calls to the external. The overhead is too small to worry about it too much but the beauty of a single GetRecords is that one does not have to remember to remove the cursor. But I guess we can get used to it. > > Cursor_Free( curs ) > Is this supposed to be a replacement for the current Cursor_Remove()? I think that Remove sounds better (Discard could be an alternative). Robert Brenstein From sunshine at public.kherson.ua Mon Aug 23 13:02:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 05:03:05 2004 Subject: [VXCMD] Record Locks In-Reply-To: Message-ID: On 8/23/04 12:54 PM, "Robert Brenstein" wrote: >>> Ruslan we keep getting with one particular company record locks when we are >>> not setting any kind of record locks. What else would cause a 363 error to >>> occur. We use SQLSelectRecords and SQLSelect with the "NoLocks" option. >> >> Hi Robert, >> >> We have declaration >> >> >> DataBase_SQLSelectRecords( >> dbRefOrName, SQLstring, >> [FromRec], [MaxRecords], >> [fldDelim], [recDelim] ) >> >> >> Valentina in this function build cursor using default params: >> >> kClient, kReadOnly, kForwardOnly >> >> >> >> We have 2 choices now: >> >> 1) We add to this function 3 additional parameters. >> IMHO it will be too much parameters then for it. >> >> >> >> 2) second way. >> >> instead of this functions you can use 3 steps ways >> >> curs = DataBase_SQLSelect( >> dbRefOrName, SQLstring, [Location], [LocksType], [Direction] ) >> >> Cursor_GetRecords( curs ) -> this is what you want >> >> So what you think? >> Should we add 3 more parameters to above function ? >> > > So you are suggesting, Ruslan, to get rid of the SqlSelectRecords but > instead of provide a new function that allows to fetch all records? No. We have right now DataBase_SQLSelectRecords() which can return you N records without cursor creation and killing. It do this internally. And we have right now Cursor_GetRecords() which do the same, but you must create and kill cursor explicitly. Bobby have use NoLocks always, but stil get 363 error. To resolve this, he can use second way. > But then shouldn't the new function be > > Cursor_GetAllRecords( curs , [FromRec], [MaxRecords], > [fldDelim], [recDelim]) We already have it, Robert! > I would suggest to say "all" since the single "s" of plural is easy to miss. > The only consideration is that this new approach requires 3 > subsequent calls to the external. Exactly! and little more coding. > The overhead is too small to worry about it too much but the beauty of a > single GetRecords is that one does not have to remember to remove the cursor. > But I guess we can get used to it. To be able use single GetRecords() we then must add 3 parameters to it To control record locks. This is my question. Should me do this ? >> Cursor_Free( curs ) >> > > Is this supposed to be a replacement for the current Cursor_Remove()? I could make mistake in name. Ignore this. I show idea. > I think that Remove sounds better (Discard could be an alternative). -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Mon Aug 23 11:58:31 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Aug 23 05:11:56 2004 Subject: [VXCMD] Record Locks In-Reply-To: References: Message-ID: >On 8/19/04 6:37 AM, "Bobby" wrote: > >> Ruslan we keep getting with one particular company record locks when we are >> not setting any kind of record locks. What else would cause a 363 error to >> occur. We use SQLSelectRecords and SQLSelect with the "NoLocks" option. > >Hi Robert, > >We have declaration > > DataBase_SQLSelectRecords( > dbRefOrName, SQLstring, > [FromRec], [MaxRecords], > [fldDelim], [recDelim] ) > > >Valentina in this function build cursor using default params: > > kClient, kReadOnly, kForwardOnly > > > >We have 2 choices now: > >1) We add to this function 3 additional parameters. > IMHO it will be too much parameters then for it. > I just fell into the same tryp as you did, Ruslan. I mean my initial reply to this post. I don't think you need to change the SQLSelectRecords at all! The cursor created by this call is disposed of right away by the same call, so I see no reason for us to specify the new parameters. Kernel or external should set them as appropriate internally. Robert Brenstein From sunshine at public.kherson.ua Mon Aug 23 13:36:09 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 05:36:16 2004 Subject: Problems with V4RB have me beat. In-Reply-To: Message-ID: On 8/10/04 10:35 AM, "Barney" wrote: > Hi Ruslan, > > Thank you for your time. Hi Barney, Look on this your code //Edges W1 cur1 = app.db.SqlSelect( "select * from Componants WHERE Componant = '" + Cs(Loop1) + "' AND tag = 'Edges X' " ) // Should only be the present working module in there anyway. Cur2.field("Edges_X").setstring( DataOrResult(cur1) ) //Edges W2 cur1 = app.db.SqlSelect( "select * from Componants WHERE Componant = '" + Cs(Loop1) + "' AND tag = 'Edges X2' " ) // Should only be the present working module in there anyway. Cur2.field("Edges_X2").setstring( DataOrResult(cur1) ) --------------------- It can be danger and cause problems because you DO NOT kill curs1 But assign to it new instance. This is all right from point of view REALbasic and Garbage collection. This CAN BE not right, from point of view record locks. Let curs1 in line W1 lock record with RecID = 100 Let you start build cursor in line W2. If this cursor ASLO will try to lock record RecID = 100 Then it will fail, because curs1 still is live. If you kill cursor curs1 explicitly then NO PROBLEMS. Second time you can lock that records. You see? This is not a problem in this your function, Just danger code and danger habit. Always think about allocated resources! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Aug 23 13:41:57 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 05:42:01 2004 Subject: Problems with V4RB have me beat. In-Reply-To: Message-ID: On 8/10/04 10:35 AM, "Barney" wrote: > seemed the only way I could get the cursor to work for me > as seems to be apparent again this time. > > Does 2,1,2 OR kV_Server, kNoLock, kRandom > work properly for you ? Hi Barney, I have found source of problem. When I modify your code as next: Dim Pcur as VCursor Dim Err as boolean Dim S as string dim iErr as Integer S = Listbox1.cell(listbox1.listindex, 0) Pcur = App.DB.SQLSelect( "Select * from componants where componant = '" + S + "'", 2,3,2) ^^^^^^^^^^^^ iErr = App.DB.ErrNumber <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< If Pcur <> Nil and Pcur.RecordCount > 0 then Err = Pcur.deleteAll() End if App.Db.Flush pcur = nil I have to see that cursor cannot be created! Error 363. Records which you try delete are LOCKED! In debugger I see that they are locked with READ LOCK. You see now why Valentina refuse delete that records? So you need find in your code place where you BEFORE THAT create cursor with READ LOCK. ---------------- TIP 4: * you must use noLock in the whole project or not use at all! or you must in EACH and EACH call SqlSelect() specify NoLock. or you must in each call use READ or WRITE locks. DO NOT mix them. Otherwise traps. ------------- I still want check why one record of selection still was deleted. Probably it was not locked. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Mon Aug 23 12:30:42 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Aug 23 05:45:50 2004 Subject: [VXCMD] Record Locks In-Reply-To: References: Message-ID: > >> So what you think? >>> Should we add 3 more parameters to above function ? >>> >> >> So you are suggesting, Ruslan, to get rid of the SqlSelectRecords but >> instead of provide a new function that allows to fetch all records? > >No. > > We have right now DataBase_SQLSelectRecords() which can return you N >records without cursor creation and killing. It do this internally. > And we have right now Cursor_GetRecords() which do the same, but you >must create and kill cursor explicitly. > >Bobby have use NoLocks always, but stil get 363 error. >To resolve this, he can use second way. > > >> But then shouldn't the new function be >> >> Cursor_GetAllRecords( curs , [FromRec], [MaxRecords], >> [fldDelim], [recDelim]) > >We already have it, Robert! > >> The only consideration is that this new approach requires 3 >> subsequent calls to the external. > >Exactly! and little more coding. > >> The overhead is too small to worry about it too much but the beauty of a >> single GetRecords is that one does not have to remember to remove >>the cursor. >> But I guess we can get used to it. > >To be able use single GetRecords() we then must add 3 parameters to it >To control record locks. This is my question. Should me do this ? > Oops. Indeed we already have this. I somehow never used it -- I always use SQLSelectRecords when I want to fetch all but I can see some uses of it as well. But then I do not understand why you want to add the three cursor-control parameters to the GetRecords call. They cursor has already been created by the SQLSelect (which had these parameters specified). Robert From sunshine at public.kherson.ua Mon Aug 23 13:47:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 05:47:44 2004 Subject: Problems with V4RB have me beat. In-Reply-To: Message-ID: On 8/23/04 1:41 PM, "Ruslan Zasukhin" wrote: > ------------- > I still want check why one record of selection still was deleted. > Probably it was not locked. Yes Barney, Record with RecID = 37 was not locked. Rest with RecID 38-54 are locked. So find cursor which set this READ LOCK, And kill it curs = nil -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Aug 23 13:50:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 05:54:59 2004 Subject: [VXCMD] Record Locks In-Reply-To: Message-ID: On 8/23/04 1:30 PM, "Robert Brenstein" wrote: >> To be able use single GetRecords() we then must add 3 parameters to it >> To control record locks. This is my question. Should me do this ? >> > > Oops. Indeed we already have this. I somehow never used it -- I > always use SQLSelectRecords when I want to fetch all but I can see > some uses of it as well. > > But then I do not understand why you want to add the three > cursor-control parameters to the GetRecords call. They cursor has > already been created by the SQLSelect (which had these parameters > specified). Robert, You have lost. :-) We have 2 similar functions: 1) SqlSelectRecords() -- do all in one call. No way control record locks now. 2) Cursor_GetRecords() -- yes we can build cursor with locks then use this function to get N records. Problem is that Bobby use the first function, And he get into record locks error. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Mon Aug 23 13:07:09 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Mon Aug 23 06:41:44 2004 Subject: [VXCMD] Record Locks In-Reply-To: References: Message-ID: >On 8/23/04 1:30 PM, "Robert Brenstein" wrote: > >>> To be able use single GetRecords() we then must add 3 parameters to it >>> To control record locks. This is my question. Should me do this ? >>> >> >> Oops. Indeed we already have this. I somehow never used it -- I >> always use SQLSelectRecords when I want to fetch all but I can see >> some uses of it as well. >> >> But then I do not understand why you want to add the three >> cursor-control parameters to the GetRecords call. They cursor has >> already been created by the SQLSelect (which had these parameters >> specified). > >Robert, > >You have lost. :-) > >We have 2 similar functions: > >1) SqlSelectRecords() -- do all in one call. > No way control record locks now. > > >2) Cursor_GetRecords() -- > yes we can build cursor with locks > then use this function to get N records. > > >Problem is that Bobby use the first function, >And he get into record locks error. > > > Yes, Ruslan, I seem to be totally confused. None of these two need to have the three parameters to control cursor creation, so where do you want to add them? Robert From sunshine at public.kherson.ua Mon Aug 23 16:17:17 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 08:17:25 2004 Subject: [VXCMD] Record Locks In-Reply-To: Message-ID: On 8/23/04 2:07 PM, "Robert Brenstein" wrote: >> Robert, >> >> You have lost. :-) >> >> We have 2 similar functions: >> >> 1) SqlSelectRecords() -- do all in one call. >> No way control record locks now. >> >> >> 2) Cursor_GetRecords() -- >> yes we can build cursor with locks >> then use this function to get N records. >> >> >> Problem is that Bobby use the first function, >> And he get into record locks error. >> >> >> > > Yes, Ruslan, I seem to be totally confused. None of these two need to > have the three parameters to control cursor creation, so where do you > want to add them? I did ask, IF WE NEED add 3 parameters into the first function. You say we do not need this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From spinel at exenevex.com Mon Aug 23 18:05:47 2004 From: spinel at exenevex.com (=?ISO-8859-1?Q?St=E9phane_Pinel?=) Date: Mon Aug 23 10:53:09 2004 Subject: [V4RB 1.10] Set Dates Message-ID: <4B82AAFF-F51E-11D8-AACD-000A27AFF5D2@exenevex.com> Porting my RB 4.X/V4RB 1.9.6 app to RB 5.2.4/V4RB 1.10, I found a few surprises that I could solve but I have a strange issue with a date filed : Before 1.10 (1.9.6) I simply get the .ShortDate string and SetString into the date field. It used to work. Now it inserts 07/08/2004 instead of 23/08/2004. Has date field type changed ? Thanks. St?phane From kray at sonsothunder.com Mon Aug 23 12:01:47 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 23 12:03:06 2004 Subject: [VXCMD] Record Locks In-Reply-To: Message-ID: On 8/23/04 8:17 AM, "Ruslan Zasukhin" wrote: > On 8/23/04 2:07 PM, "Robert Brenstein" wrote: > >>> Robert, >>> >>> You have lost. :-) >>> >>> We have 2 similar functions: >>> >>> 1) SqlSelectRecords() -- do all in one call. >>> No way control record locks now. >>> >>> >>> 2) Cursor_GetRecords() -- >>> yes we can build cursor with locks >>> then use this function to get N records. >>> >>> >>> Problem is that Bobby use the first function, >>> And he get into record locks error. >>> >>> >>> >> >> Yes, Ruslan, I seem to be totally confused. None of these two need to >> have the three parameters to control cursor creation, so where do you >> want to add them? > > I did ask, IF WE NEED add 3 parameters into the first function. Actually, Ruslan, if you're thinking about changing the SqlSelectRecords() function, why not just change the kReadOnly flag internally to kNoLocks? That would prevent the cursor that SQLSelectRecords creates from locking everyone out (solving the 363 error) and also prevents the need to add 3 params. (BTW: The main reason Bobby and I experienced this is that we have someone from New York accessing a database in LA, and the latency caused by the long-distance access caused our SQLSelectRecords call to tie up all the records during that period.) Looking forward to your response, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray@sonsothunder.com From sunshine at public.kherson.ua Mon Aug 23 21:59:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 13:59:21 2004 Subject: [VXCMD] Record Locks In-Reply-To: Message-ID: On 8/23/04 8:01 PM, "Ken Ray" wrote: >> I did ask, IF WE NEED add 3 parameters into the first function. > > Actually, Ruslan, if you're thinking about changing the SqlSelectRecords() > function, why not just change the kReadOnly flag internally to kNoLocks? > That would prevent the cursor that SQLSelectRecords creates from locking > everyone out (solving the 363 error) and also prevents the need to add 3 > params. Interesting idea, Ken. BTW, I wonder. So you get 363 when you do SqlSelectRecords() ? Or some other thread/user get this error, because he cannot lock record which proceed now SqlSelectRecords() ? > (BTW: The main reason Bobby and I experienced this is that we have someone > from New York accessing a database in LA, and the latency caused by the > long-distance access caused our SQLSelectRecords call to tie up all the > records during that period.) Aha! this is an answer. So SqlSelectRecords() have lock records with READ LOCK, And other users could not access them for WRITE LOCK, right Ken? Other users still must be able READ that records. Now let's thinks. If NY user will not set READ LOCK, and he will read his records e.g. 30 seconds, AND somebody else will CHANGE a record which he have SELECT but have not yet read. Then NY user will get wrong data. You see Ken? This is why record locks exists. They prevent from broken logic. BTW, note, that SqlSelectRecords() use kForwardOnly(). This means that if NY user have select 100 records, then read first 50 then these 50 records are unlocked already. And only last 50 still yet are locked. What you think now? I think SqlSelectRecords() works now in the correct way. At last of end if you want OTHER way, you simply should use Cursor_GetRecords() and own cursor with parameters as you want. Right ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Aug 23 22:00:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 14:00:25 2004 Subject: [V4RB 1.10] Set Dates In-Reply-To: <4B82AAFF-F51E-11D8-AACD-000A27AFF5D2@exenevex.com> Message-ID: On 8/23/04 7:05 PM, "St?phane Pinel" wrote: Hi St?phane, > Porting my RB 4.X/V4RB 1.9.6 app to RB 5.2.4/V4RB 1.10, I found a few > surprises that I could solve but > I have a strange issue with a date filed : > > Before 1.10 (1.9.6) I simply get the .ShortDate string and SetString > into the date field. It used to work. Now it > inserts 07/08/2004 instead of 23/08/2004. Has date field type changed ? Probably you have forget to set up db.DateTimeFormat -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Mon Aug 23 12:14:00 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Mon Aug 23 14:14:13 2004 Subject: VXCMD client and Database_Dump Message-ID: <20040823191400.14013.qmail@web52403.mail.yahoo.com> Is there something in the VXCMD client version that would prevent a sucsessful XML database dump? The Database_Dump function seems to work fine when I connect to a local database and use it. But if I connect to a remote database, it doesn't. I don't get an error of any kind, it just doesn't work. No dump is created. I've checked, double-checked, and triple-checked all my variables, and everything looks correct. And like I said, the same code works with a local database. Anyone have any ideas? Thanks, ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From kray at sonsothunder.com Mon Aug 23 15:07:38 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 23 15:08:47 2004 Subject: [VXCMD] Record Locks In-Reply-To: Message-ID: On 8/23/04 1:59 PM, "Ruslan Zasukhin" wrote: > On 8/23/04 8:01 PM, "Ken Ray" wrote: > >>> I did ask, IF WE NEED add 3 parameters into the first function. >> >> Actually, Ruslan, if you're thinking about changing the SqlSelectRecords() >> function, why not just change the kReadOnly flag internally to kNoLocks? >> That would prevent the cursor that SQLSelectRecords creates from locking >> everyone out (solving the 363 error) and also prevents the need to add 3 >> params. > > Interesting idea, Ken. > > BTW, I wonder. > So you get 363 when you do SqlSelectRecords() ? It must be, because that is the only thing that happens at the time the record lock is reported. > Or some other thread/user get this error, because he cannot lock record > which proceed now SqlSelectRecords() ? > > >> (BTW: The main reason Bobby and I experienced this is that we have someone >> from New York accessing a database in LA, and the latency caused by the >> long-distance access caused our SQLSelectRecords call to tie up all the >> records during that period.) > > Aha! this is an answer. > > So SqlSelectRecords() have lock records with READ LOCK, > And other users could not access them for WRITE LOCK, right Ken? Sorry, Ruslan, but no. ALL of our cursors that are done with SQLSelect() are NoLock cursors. So we only have NoLock SQLSelect() cursors and SQLSelectRecords() cursors (which are as you said ReadOnly and so run into each other and cause the 363). > What you think now? > > I think SqlSelectRecords() works now in the correct way. I don't... personally since SQLSelectRecords() only retrieves data and does not change it, I think you should use kNoLocks rather than kReadOnly.... I don't see the advantage of using kReadOnly instead of kNoLocks with SQLSelectRecords. > At last of end if you want OTHER way, you simply should use > Cursor_GetRecords() and own cursor with parameters as you want. > Right ? Well, I would prefer to not have to replace my one line SQLSelectRecords calls with three lines of SQLSelect(), Cursor_GetRecords(), Cursor_Remove(). Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray@sonsothunder.com From sunshine at public.kherson.ua Mon Aug 23 23:38:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 15:39:12 2004 Subject: VXCMD client and Database_Dump In-Reply-To: <20040823191400.14013.qmail@web52403.mail.yahoo.com> Message-ID: On 8/23/04 10:14 PM, "Chris Sheffield" wrote: > Is there something in the VXCMD client version that > would prevent a sucsessful XML database dump? The > Database_Dump function seems to work fine when I > connect to a local database and use it. But if I > connect to a remote database, it doesn't. I don't get > an error of any kind, it just doesn't work. No dump > is created. I've checked, double-checked, and > triple-checked all my variables, and everything looks > correct. And like I said, the same code works with a > local database. > > Anyone have any ideas? Hi Chris, Please beware that the current Vserver and client support import/export and dump/load Only on side of Server. You must provide for this functions the POSIX path, Which is path on server computer. Future we hope to implement them to work on client side also. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Mon Aug 23 23:46:41 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 15:46:48 2004 Subject: [VXCMD] Record Locks In-Reply-To: Message-ID: On 8/23/04 11:07 PM, "Ken Ray" wrote: >>> (BTW: The main reason Bobby and I experienced this is that we have someone >>> from New York accessing a database in LA, and the latency caused by the >>> long-distance access caused our SQLSelectRecords call to tie up all the >>> records during that period.) >> >> Aha! this is an answer. >> >> So SqlSelectRecords() have lock records with READ LOCK, >> And other users could not access them for WRITE LOCK, right Ken? > > Sorry, Ruslan, but no. ALL of our cursors that are done with SQLSelect() are > NoLock cursors. So we only have NoLock SQLSelect() cursors and > SQLSelectRecords() cursors (which are as you said ReadOnly and so run into > each other and cause the 363). Hmm, then I do not see where from come 363 error. Somebody must set or try to set WRITE lock. If all set READ LOCK and NO LOCK, then there is no conflict. >> What you think now? >> >> I think SqlSelectRecords() works now in the correct way. > > I don't... personally since SQLSelectRecords() only retrieves data and does > not change it, I think you should use kNoLocks rather than kReadOnly.... I > don't see the advantage of using kReadOnly instead of kNoLocks with > SQLSelectRecords. Ken, then this function will work not correctly if you will use WRITE LOCKS. Again, right now it works 100% correctly by db theory. You want READ records, you must set READ LOCK on them at first. Again the same example: user1 do: SELECT * FROM T WHERE fld1 = 200 He find 100 records which have fld1 value equal to 200. If now user2 in the same will change 95th record fld1 to 350, Then user1 will read 350 value. You see? So user1 get problem: non consistent data. To prevent this, user1 MUST set READ LOCK, so nobody cannot change records until he finish read it. Yes user2 must wait. >> At last of end if you want OTHER way, you simply should use >> Cursor_GetRecords() and own cursor with parameters as you want. >> Right ? > > Well, I would prefer to not have to replace my one line SQLSelectRecords > calls with three lines of SQLSelect(), Cursor_GetRecords(), Cursor_Remove(). Then we need new parameters, and you still must update code to use them. But again, I do not see where from your get 363 error! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From kray at sonsothunder.com Mon Aug 23 16:09:33 2004 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 23 16:10:22 2004 Subject: [VXCMD] Record Locks In-Reply-To: Message-ID: On 8/23/04 3:46 PM, "Ruslan Zasukhin" wrote: > On 8/23/04 11:07 PM, "Ken Ray" wrote: > >>>> (BTW: The main reason Bobby and I experienced this is that we have someone >>>> from New York accessing a database in LA, and the latency caused by the >>>> long-distance access caused our SQLSelectRecords call to tie up all the >>>> records during that period.) >>> >>> Aha! this is an answer. >>> >>> So SqlSelectRecords() have lock records with READ LOCK, >>> And other users could not access them for WRITE LOCK, right Ken? >> >> Sorry, Ruslan, but no. ALL of our cursors that are done with SQLSelect() are >> NoLock cursors. So we only have NoLock SQLSelect() cursors and >> SQLSelectRecords() cursors (which are as you said ReadOnly and so run into >> each other and cause the 363). > > Hmm, then I do not see where from come 363 error. Me either! That is the issue... we get record locks *only* on the *one* client that we have that has offices in two states. The New York office tries to connect to the server in the LA office, and in doing so, it causes (almost consistenly) users who are logging in at that time to get a record lock. > Somebody must set or try to set WRITE lock. I don't see how... all of our database calls go through a central "wrapper" handler that makes the actual calls to Valentina and returns the result (assuming there's no error). All SQLSelect() calls use kNoLock, and since you can't set a param for SQLSelectRecords, you said it uses kReadOnly. > If all set READ LOCK and NO LOCK, then there is no conflict. That's what I would have thought! But we're getting them nonetheless. Is it possible if you could allow us to have a special build that uses kNoLocks instead of kReadOnly for SQLSelectRecords so we could test the theory? If it still fails, then we know it has nothing to do with the lock status of SQLSelectRecords. If it stops failing, then it has something to do with SQLSelectRecords. >>> What you think now? >>> >>> I think SqlSelectRecords() works now in the correct way. >> >> I don't... personally since SQLSelectRecords() only retrieves data and does >> not change it, I think you should use kNoLocks rather than kReadOnly.... I >> don't see the advantage of using kReadOnly instead of kNoLocks with >> SQLSelectRecords. > > Ken, then this function will work not correctly if you will use WRITE LOCKS. I don't use WRITE LOCKS, so that won't bother me. > Again, right now it works 100% correctly by db theory. > You want READ records, you must set READ LOCK on them at first. > > Again the same example: > > user1 do: > > SELECT * FROM T WHERE fld1 = 200 > > He find 100 records which have fld1 value equal to 200. > If now user2 in the same will change 95th record fld1 to 350, > Then user1 will read 350 value. You see? > > So user1 get problem: non consistent data. I don't understand why it wouldn't be consistent data... user1 is getting the current values of the records in the table at the time the query hits those records, so *yes*, he will get the changed 95th record, but I don't understand why that is a problem if he's just *getting* the data, and not *setting* it? And if he *really* wanted to lock it down, he could do SQLSelect with a read-only cursor and do it that way. Again, my comments are related to SQLSelectRecords, which AFAIK most other DBMSes *don't* do - they make you create a cursor, fill the cursor, get the data from the cursor, and dispose the cursor. SQLSelectRecords is a wonderful thing, but I don't think that preventing people from being able to open records that are being read from a list is of benefit to the DB developer. Perhaps this argument is moot if the problem really is a bug in SQLSelectRecords where its "read only" is bumping against a "no lock" and causing a record lock when it shouldn't. If this is true, and it is fixed so that "read only" vs. "no lock" doesn't cause any problems, then I'm OK with leaving SQLSelectRecords as "read only". > But again, I do not see where from your get 363 error! Me either! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray@sonsothunder.com From cm_sheffield at yahoo.com Mon Aug 23 14:50:26 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Mon Aug 23 16:50:31 2004 Subject: VXCMD client and Database_Dump In-Reply-To: Message-ID: <20040823215026.51305.qmail@web52405.mail.yahoo.com> Okay, I can live with that. Would be nice if that were documented, though. I lost a couple hours this morning trying to figure out what was going on. I've got another question regarding Database_LoadDump. I can't get it to work. Again, I've checked everything, and all my paths are correct. I'm using a local database, but I keep getting "error 19". Any ideas what that is? Thanks again, Chris --- Ruslan Zasukhin wrote: > On 8/23/04 10:14 PM, "Chris Sheffield" > wrote: > > > Is there something in the VXCMD client version > that > > would prevent a sucsessful XML database dump? The > > Database_Dump function seems to work fine when I > > connect to a local database and use it. But if I > > connect to a remote database, it doesn't. I don't > get > > an error of any kind, it just doesn't work. No > dump > > is created. I've checked, double-checked, and > > triple-checked all my variables, and everything > looks > > correct. And like I said, the same code works > with a > > local database. > > > > Anyone have any ideas? > > Hi Chris, > > Please beware that the current Vserver and client > support > import/export and dump/load > > Only on side of Server. > You must provide for this functions the POSIX path, > Which is path on server computer. > > > Future we hope to implement them to work on client > side also. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From barney at custombased.com Tue Aug 24 10:32:23 2004 From: barney at custombased.com (Barney) Date: Mon Aug 23 17:34:47 2004 Subject: Understanding the Cursor Message-ID: Hello Ruslan and list, Could I be really dumb and ask the following. Alternatively is there any existing data or info I can read regarding the following ? I have read thru V4RBReference many times but I still come away not really understanding what I read about creating a cursor. The docs rightly assume I know some elementary things, but actually I don't. Consequently I just try different things until I find a cursor that works. 1.) What does CursorLocation mean ? Client or server, what difference does this make, how and why would I take this into consideration when writing a database app that a.) is being served or b.) is just a single 1 user embedded database app. 2.) LockType ... If NoLock is used, does this mean that the code has complete unrestricted access to the records in the cursor whereby it can read, write, delete and in a served situation others can do the same at the same time ? Obviously in a single user app LockType will be of no concern as the GUI to the app we build only lets users do what we want them to anyway. We would just use NoLock the whole time, just as we did prior to advent of Vserver being introduced along with new V4RB plugin with these parameters in SQL Statement. If ReadWrite is used does this mean the record is locked or not ? 3.) DirectionOfCursor.... again, sorry but what does this mean ? I'm afraid I have no idea what this is. How should I be taking this into consideration when writing code to access database. I realise I'm lacking some fundamental understanding here. With the advent of server which is just awesome, there is a little learning to do about how this all works. Any reading info or clarification would be a big help. Thank you. Barney From sunshine at public.kherson.ua Tue Aug 24 03:58:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 19:58:53 2004 Subject: Problems with V4RB have me beat. In-Reply-To: Message-ID: On 8/24/04 12:19 AM, "Barney" wrote: >> Hi Barney, >> >> Look on this your code >> >> >> //Edges W1 >> cur1 = app.db.SqlSelect( "select * from Componants WHERE Componant = '" >> + Cs(Loop1) + "' AND tag = 'Edges X' " ) // Should only be the present >> working module in there anyway. >> Cur2.field("Edges_X").setstring( DataOrResult(cur1) ) >> >> >> //Edges W2 >> cur1 = app.db.SqlSelect( "select * from Componants WHERE Componant = '" >> + Cs(Loop1) + "' AND tag = 'Edges X2' " ) // Should only be the present >> working module in there anyway. >> Cur2.field("Edges_X2").setstring( DataOrResult(cur1) ) >> >> >> --------------------- >> It can be danger and cause problems because you DO NOT kill curs1 >> But assign to it new instance. > > OK, I imagined that when you assign a new SQLSelect statement to a > cursor, it just automatically overwrites what ever the cursor previously > contained. Right. But the first object die AFTER-DURING assignment!!! So while work SqlSelect() cuursor 1 still exists. I.e. You have some time BOTH cursor live. Even if you not stick into locks problem, you still eat more RAM and disk then you could. Because cursor1 eat RAM and curor 2 eat RAM. IF you kill cursor1 BEFORE you start build second cursor then only one cursor exists in the RAM in the same time. (we consider hee only these 2). >> This is all right from point of view REALbasic and Garbage collection. >> This CAN BE not right, from point of view record locks. >> >> >> Let curs1 in line W1 >> lock record with RecID = 100 >> >> Let you start build cursor in line W2. >> If this cursor ASLO will try to lock record RecID = 100 >> Then it will fail, because curs1 still is live. >> >> If you kill cursor curs1 explicitly then NO PROBLEMS. >> Second time you can lock that records. >> >> >> You see? >> >> >> This is not a problem in this your function, >> Just danger code and danger habit. >> Always think about allocated resources! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Aug 24 04:06:03 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 20:06:08 2004 Subject: [VXCMD] Record Locks In-Reply-To: Message-ID: On 8/24/04 12:09 AM, "Ken Ray" wrote: >>> Sorry, Ruslan, but no. ALL of our cursors that are done with SQLSelect() are >>> NoLock cursors. So we only have NoLock SQLSelect() cursors and >>> SQLSelectRecords() cursors (which are as you said ReadOnly and so run into >>> each other and cause the 363). >> >> Hmm, then I do not see where from come 363 error. > > Me either! That is the issue... we get record locks *only* on the *one* > client that we have that has offices in two states. The New York office > tries to connect to the server in the LA office, and in doing so, it causes > (almost consistenly) users who are logging in at that time to get a record > lock. You can't reproduce ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Aug 24 04:15:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 20:18:44 2004 Subject: [VXCMD] Record Locks In-Reply-To: Message-ID: On 8/24/04 12:09 AM, "Ken Ray" wrote: >> Again, right now it works 100% correctly by db theory. >> You want READ records, you must set READ LOCK on them at first. >> >> Again the same example: >> >> user1 do: >> >> SELECT * FROM T WHERE fld1 = 200 >> >> He find 100 records which have fld1 value equal to 200. >> If now user2 in the same will change 95th record fld1 to 350, >> Then user1 will read 350 value. You see? >> >> So user1 get problem: non consistent data. > > I don't understand why it wouldn't be consistent data... user1 is getting > the current values of the records in the table at the time the query hits > those records, so *yes*, he will get the changed 95th record, but I don't > understand why that is a problem if he's just *getting* the data, and not > *setting* it? Because: * the first and main rule of TRANSACTIONS and multi-user work say: User must work in multi-user environment in such way, like other users not exists. User must not see the work of other users. You can read this in any book which describe you SQL, transactions, servers. * Db theory says that user1 see inconsistent data because he HAVE ASK for records WHERE fld1 = 200. IF user1 see in this cursor record with fld1 = 350, then what he should think?! He should think: what a stupid DBMS! I have ask it fld1 = 200. but what it give me???? And he have all rights to think so. Just image that he really works along on server. Then he will always get correct data. fld1 = 200. So why he should still get the same data if other user come! This is named "consistent". Yes, usually DBMS have several modes of work. The case which you ask for, is named DIRTY READ. And user1 self EXPLICITLY MUST TO say: I want DIRTY READ. Then only DBMS say: okay, I give up, I will not protect you. :-) > And if he *really* wanted to lock it down, he could do > SQLSelect with a read-only cursor and do it that way. Actually it must be visa versa. On default works SAFE MODE. If you want danger mode, DIRTY READ, then YOU MUST ask for this. > Again, my comments are related to SQLSelectRecords, which AFAIK most other > DBMSes *don't* do - they make you create a cursor, fill the cursor, get the > data from the cursor, and dispose the cursor. SQLSelectRecords is a > wonderful thing, but I don't think that preventing people from being able to > open records that are being read from a list is of benefit to the DB > developer. > > Perhaps this argument is moot if the problem really is a bug in > SQLSelectRecords where its "read only" is bumping against a "no lock" and > causing a record lock when it shouldn't. If this is true, and it is fixed so > that "read only" vs. "no lock" doesn't cause any problems, then I'm OK with > leaving SQLSelectRecords as "read only". -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Aug 24 04:18:29 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 20:19:02 2004 Subject: TIP, cursor life circle In-Reply-To: Message-ID: On 8/24/04 12:13 AM, "Barney" wrote: > Hi Ruslan, > > Right OK, thanks for your time to look into this for me. > > I never realised you had to kill an instance of the cursor. > I thought that anything that is created using the Dim Statement > within a method is automatically disposed of when that method > is finished ? But please look again on the your function below. BEFORE function foo finish, you call OTHER function, you see? So during work of setupcomp() cursor Pcur still will live. Rigth? And I think this is not what you want. Why it should live, eat RAM and keep record locked? IF you will not have call setupcomp() Then right, on finish of foo() cursor will die self. >> Sub foo >> >> Dim Pcur as VCursor >> Dim Err as boolean >> Dim S as string >> >> S = Listbox1.cell(listbox1.listindex, 0) >> >> >> >> Pcur = App.DB.SQLSelect( >> "Select * from componants where componant = '" + S + "'", 2,1,2) >> >> If Pcur <> Nil and Pcur.RecordCount > 0 then >> Err = Pcur.deleteAll() >> End if >> >> setupcomp >> end -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Aug 24 04:20:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 20:20:06 2004 Subject: Understanding the Cursor In-Reply-To: Message-ID: On 8/24/04 1:32 AM, "Barney" wrote: > Hello Ruslan and list, > > Could I be really dumb and ask the following. Alternatively is there any > existing data or info I can read regarding the following ? > > I have read thru V4RBReference many times but I still come away not really > understanding what I read about creating a cursor. The docs rightly assume I > know some elementary things, but actually I don't. Consequently I just try > different things until I find a cursor that works. > > > 1.) What does CursorLocation mean ? Client or server, what difference does > this make, how and why would I take this into consideration when writing a > database app that a.) is being served or b.) is just a single 1 user > embedded database app. I wonder if you have read also ValentinaKernel.pdf VServer.pdf You should read also this docs. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Aug 24 04:26:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 20:26:25 2004 Subject: Understanding the Cursor In-Reply-To: Message-ID: On 8/24/04 1:32 AM, "Barney" wrote: > Hello Ruslan and list, > > Could I be really dumb and ask the following. Alternatively is there any > existing data or info I can read regarding the following ? > > I have read thru V4RBReference many times but I still come away not really > understanding what I read about creating a cursor. The docs rightly assume I > know some elementary things, but actually I don't. Consequently I just try > different things until I find a cursor that works. > > > 1.) What does CursorLocation mean ? Client or server, what difference does > this make, how and why would I take this into consideration when writing a > database app that a.) is being served or b.) is just a single 1 user > embedded database app. Single user mode should use kServer. Because then THE SAME code will work on Vserver! Is this good? This is great! So it is always good idea, write code in such way that you can in 5 minutes run it on Valentina Server future. > 2.) LockType ... If NoLock is used, does this mean that the code has > complete unrestricted access to the records in the cursor whereby it can > read, write, delete and in a served situation others can do the same at the > same time ? Yes. This works like Valentina 1.9.8 and early. But note, IF you run such code on Valentina server you may get "special effects". > Obviously in a single user app LockType will be of no concern as the GUI to > the app we build only lets users do what we want them to anyway. We would > just use NoLock the whole time, just as we did prior to advent of Vserver > being introduced along with new V4RB plugin with these parameters in SQL > Statement. If GUI protect you then good. Exists apps which allow work in way similar to mutli-user. E.g. Few windows keep own cursor. > If ReadWrite is used does this mean the record is locked or not ? Yes it is locked for READ WRITE aka EXCLSUIVE lock. The most strict mode. > 3.) DirectionOfCursor.... again, sorry but what does this mean ? I'm afraid > I have no idea what this is. How should I be taking this into consideration > when writing code to access database. You can always use Random. ForwardOnly -- means that you PROMISE always will do only cursor.NextRecord(). This can help to Valentina faster remove locks from records which you already have gone. > I realise I'm lacking some fundamental understanding here. With the advent > of server which is just awesome, there is a little learning to do about how > this all works. Any reading info or clarification would be a big help. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Aug 24 04:26:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 23 20:27:13 2004 Subject: VXCMD client and Database_Dump In-Reply-To: <20040823215026.51305.qmail@web52405.mail.yahoo.com> Message-ID: On 8/24/04 12:50 AM, "Chris Sheffield" wrote: > Okay, I can live with that. Would be nice if that > were documented, though. I lost a couple hours this > morning trying to figure out what was going on. > > I've got another question regarding Database_LoadDump. > I can't get it to work. Again, I've checked > everything, and all my paths are correct. I'm using a > local database, but I keep getting "error 19". Any > ideas what that is? At morning Igor should explain. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From Dave at TradeBaby.com Mon Aug 23 21:58:57 2004 From: Dave at TradeBaby.com (Dave Parizek) Date: Mon Aug 23 23:59:06 2004 Subject: V4RB: create datetime problem Message-ID: In RealBasic 5.5.2 I am trying to use statement: fld = app.mDatabase.Item.createfield("WebsiteUploadStamp", kV_TypeDateTime) to create a datetime field. I have successfully created multiple other field types this way but my app crashes in the debugger every time when I try above statement. Suggestions? Thanks, Dave -- _______________________________________________ Dave Parizek Bookseller Dave@TradeBaby.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From Dave at TradeBaby.com Mon Aug 23 22:00:45 2004 From: Dave at TradeBaby.com (Dave Parizek) Date: Tue Aug 24 00:00:49 2004 Subject: IGNORE THIS LAST ONE: V4RB: create datetime problem Message-ID: Ignore the last email message that I just sent to the list. It was crashing because I had already created that field and forgot that I had done so. Sorry folks. --Dave In RealBasic 5.5.2 I am trying to use statement: fld = app.mDatabase.Item.createfield("WebsiteUploadStamp", kV_TypeDateTime) to create a datetime field. I have successfully created multiple other field types this way but my app crashes in the debugger every time when I try above statement. Suggestions? Thanks, Dave -- _______________________________________________ Dave Parizek Bookseller Dave@TradeBaby.com "Outside of a dog, a book is a man's best friend. Inside a dog, it's too dark to read." -- Groucho Marx From kray at sonsothunder.com Tue Aug 24 00:59:34 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue Aug 24 01:00:43 2004 Subject: [VXCMD] Record Locks In-Reply-To: Message-ID: On 8/23/04 8:15 PM, "Ruslan Zasukhin" wrote: > On 8/24/04 12:09 AM, "Ken Ray" wrote: > >> I don't understand why it wouldn't be consistent data... user1 is getting >> the current values of the records in the table at the time the query hits >> those records, so *yes*, he will get the changed 95th record, but I don't >> understand why that is a problem if he's just *getting* the data, and not >> *setting* it? > > Because: > > * the first and main rule of TRANSACTIONS and multi-user work say: > > User must work in multi-user environment in such way, > like other users not exists. > User must not see the work of other users. > > You can read this in any book which describe you SQL, > transactions, servers. > > > * Db theory says that user1 see inconsistent data because he HAVE ASK for > records WHERE fld1 = 200. IF user1 see in this cursor record with fld1 = > 350, then what he should think?! He should think: > what a stupid DBMS! I have ask it fld1 = 200. > but what it give me???? I understand now... I was thinking of a SELECT * FROM without a WHERE clause - in which case I wouldn't really care the state of the records at the beginning of the query vs. the end of the query. But I understand why you shouldn't change SQLSelectRecords... although I still can't understand how we're getting record locks with a combination of SQLSelect (noLocks) and SQLSelectRecords (read only). One thing that might help, Ruslan: is there some way that we can set the maximum size for the log file? The reason is that the current maximum size of the log file is only enough to see a few minutes' worth of queries (at VerboseLevel=3) and by the time our client has called us, the relevant portion of the log that would have shown us the query that preceded the record lock is no longer in the log file. If we set it to VerboseLevel=2 that's better (we can see the date/time of the 363) but we can't see the queries themselves. Any way we can set the max size of the log file? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray@sonsothunder.com From sunshine at public.kherson.ua Tue Aug 24 09:47:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 24 01:47:42 2004 Subject: [VXCMD] Record Locks In-Reply-To: Message-ID: On 8/24/04 8:59 AM, "Ken Ray" wrote: > One thing that might help, Ruslan: is there some way that we can set the > maximum size for the log file? The reason is that the current maximum size > of the log file is only enough to see a few minutes' worth of queries (at > VerboseLevel=3) and by the time our client has called us, the relevant > portion of the log that would have shown us the query that preceded the > record lock is no longer in the log file. If we set it to VerboseLevel=2 > that's better (we can see the date/time of the 363) but we can't see the > queries themselves. Any way we can set the max size of the log file? Hi All, I have not understand. Log file grow with more and more info, And ops, some info is lost from it ??? Igor, how this can be ?! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Tue Aug 24 13:39:33 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Aug 24 06:39:44 2004 Subject: V4MD Encryption problems vServer Message-ID: Hi! I am about to make my first steps with database encryption. I have a existing database and tried to encrypt it: ChangeEncryption (VAL[#ID], "", x) if ValentinaError()<>0 then VALerror=ValentinaErrorString() alert "Verschl?sselung fehlgeschlagen"&&VALerror.string exit else alert "Verschl?sselung erfolgreich!" end if I get no errors, all variables are OK, I use a 20 digit encryption key. But when I open the .dat file in a text editor, I can clearly read all data... So why did the encryption not happen and why did'nt I get an error? Best regards, Florian From giv at tlc.kherson.ua Tue Aug 24 15:42:56 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Aug 24 07:43:02 2004 Subject: [VXCMD] Record Locks References: Message-ID: <00a101c489d7$e155b140$3b04a8c0@giv> Hi Ken, > One thing that might help, Ruslan: is there some way that we can set the > maximum size for the log file? The reason is that the current maximum size > of the log file is only enough to see a few minutes' worth of queries (at > VerboseLevel=3) and by the time our client has called us, the relevant > portion of the log that would have shown us the query that preceded the > record lock is no longer in the log file. If we set it to VerboseLevel=2 > that's better (we can see the date/time of the 363) but we can't see the > queries themselves. Any way we can set the max size of the log file? We have no limit for the log file in VServer. Why did you decided that log file is truncated? Do you see this on the time stamp for the log record? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From giv at tlc.kherson.ua Tue Aug 24 17:00:49 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Aug 24 09:00:52 2004 Subject: V4MD Encryption problems vServer References: Message-ID: <00e401c489e2$c27b9630$3b04a8c0@giv> Hi Florian, I tried it on my side and all is working right. Can you send me code example to reproduce the problem? Also: have you tried this code with local V4MD Xtra? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From fb at memedia.de Tue Aug 24 16:04:05 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Aug 24 09:04:14 2004 Subject: V4MD Encryption problems vServer In-Reply-To: <00e401c489e2$c27b9630$3b04a8c0@giv> Message-ID: Hi Igor! > Subject: Re: V4MD Encryption problems vServer > > Hi Florian, > > I tried it on my side and all is working right. > Can you send me code example to reproduce the problem? I would like to send you my DB first (zipped, less than 1 MB), because extracting the code is pretty hard and sending you the whole project would be 12 MB). Would that be OK? > > Also: have you tried this code with local V4MD Xtra? No, I have not been working with it since I got vServer :-) Best regards, Florian From giv at tlc.kherson.ua Tue Aug 24 17:03:34 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Aug 24 09:05:09 2004 Subject: V4MD Encryption problems vServer References: <00e401c489e2$c27b9630$3b04a8c0@giv> Message-ID: <00ed01c489e3$2514fb10$3b04a8c0@giv> > I tried it on my side and all is working right. > Can you send me code example to reproduce the problem? > > Also: have you tried this code with local V4MD Xtra? Even more: can you change encryption of server database with Valentina Studio? -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From giv at tlc.kherson.ua Tue Aug 24 17:10:43 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Aug 24 09:10:45 2004 Subject: V4MD Encryption problems vServer References: Message-ID: <00f401c489e4$24e12460$3b04a8c0@giv> > I would like to send you my DB first (zipped, less than 1 MB), because > extracting the code is pretty hard and sending you the whole project would > be 12 MB). Would that be OK? Yes, of cource. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Tue Aug 24 17:17:05 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 24 09:17:11 2004 Subject: V4MD Encryption problems vServer In-Reply-To: Message-ID: On 8/24/04 5:04 PM, "Florian Bogeschdorfer" wrote: > >> Subject: Re: V4MD Encryption problems vServer >> >> Hi Florian, >> >> I tried it on my side and all is working right. >> Can you send me code example to reproduce the problem? > > I would like to send you my DB first (zipped, less than 1 MB), because > extracting the code is pretty hard and sending you the whole project would > be 12 MB). Would that be OK? We just want make sure that you call ChangeEncryption() after db.Open() -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Aug 24 17:17:38 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 24 09:17:44 2004 Subject: V4MD Encryption problems vServer In-Reply-To: <00f401c489e4$24e12460$3b04a8c0@giv> Message-ID: On 8/24/04 5:10 PM, "Igor Gomon" wrote: >> I would like to send you my DB first (zipped, less than 1 MB), because >> extracting the code is pretty hard and sending you the whole project would >> be 12 MB). Would that be OK? > Yes, of cource. But how DB will help ??? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Tue Aug 24 17:23:30 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Aug 24 09:23:34 2004 Subject: V4MD Encryption problems vServer References: Message-ID: <011101c489e5$edd2d570$3b04a8c0@giv> > On 8/24/04 5:10 PM, "Igor Gomon" wrote: > > >> I would like to send you my DB first (zipped, less than 1 MB), because > >> extracting the code is pretty hard and sending you the whole project would > >> be 12 MB). Would that be OK? > > Yes, of cource. Sorry, I misread this sentence. Will be more useful if you also send me peace of code that is used to change encryption of the database. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From fb at memedia.de Tue Aug 24 16:25:39 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Aug 24 09:25:48 2004 Subject: V4MD Encryption problems vServer In-Reply-To: Message-ID: > > We just want make sure that you call ChangeEncryption() after > db.Open() > You mean I do have to call it immediately after db.Open() withouth searches and cursors in between? This could be the error... Florian From sunshine at public.kherson.ua Tue Aug 24 18:32:23 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 24 10:32:33 2004 Subject: V4MD Encryption problems vServer In-Reply-To: Message-ID: On 8/24/04 5:25 PM, "Florian Bogeschdorfer" wrote: >> We just want make sure that you call ChangeEncryption() after >> db.Open() >> > > You mean I do have to call it immediately after db.Open() withouth searches > and cursors in between? > > This could be the error... In the first turn it is important that you call it AFTER db.open Actually I think it is not required that it is called just after open(). Igor have run all his tests and say it works for him. Igor, wait. Have you look INSIDE of files to see that data are encrypted ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Tue Aug 24 18:04:11 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Aug 24 11:04:15 2004 Subject: V4MD Encryption problems vServer In-Reply-To: Message-ID: > > In the first turn it is important that you call it AFTER db.open > > Actually I think it is not required that it is called just > after open(). > Mmmh, OK, I will make an easy example project... Best regards, Florian From giv at tlc.kherson.ua Tue Aug 24 19:56:25 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Tue Aug 24 11:56:29 2004 Subject: V4MD Encryption problems vServer References: Message-ID: <017e01c489fb$4a700b30$3b04a8c0@giv> > > In the first turn it is important that you call it AFTER db.open > > > > Actually I think it is not required that it is called just > > after open(). > > > > Mmmh, OK, I will make an easy example project... There is no need no longer. I've found bug in VDatabase Xtra source code. So it should work now. -- 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 daniel at monumental-i.com Tue Aug 24 13:20:18 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Tue Aug 24 12:20:24 2004 Subject: [V4MD] Max aggregate function in director In-Reply-To: References: Message-ID: <412B78D2.3000304@monumental-i.com> I hope I am doing something obvioulsy wrong. I am trying to pull the record with the highest record id: set query = "*select catalogid, max(RecID) from product*" set dbCursor = new( xtra "VCursor", GetRef(p_db.db),query) change = GetRecordsAsPropList(dbCursor) dbCursor=VOID The change variable (which is the prop-list with the returned records) returns as an empty list. I'm pulling my hair out! I tried to test this interactively but visql crashes with whenever MAX is invoked. Any suggestions appreciated! - Daniel From cm_sheffield at yahoo.com Tue Aug 24 10:55:25 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Aug 24 12:58:24 2004 Subject: VXCMD client and Database_Dump In-Reply-To: Message-ID: <20040824175525.31223.qmail@web52409.mail.yahoo.com> Hi Ruslan, Haven't received an answer to this yet. I still can't get a Load Dump to work. Any ideas? Thanks, --- Ruslan Zasukhin wrote: > On 8/24/04 12:50 AM, "Chris Sheffield" > wrote: > > > Okay, I can live with that. Would be nice if that > > were documented, though. I lost a couple hours > this > > morning trying to figure out what was going on. > > > > I've got another question regarding > Database_LoadDump. > > I can't get it to work. Again, I've checked > > everything, and all my paths are correct. I'm > using a > > local database, but I keep getting "error 19". > Any > > ideas what that is? > > At morning Igor should explain. > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From daniel at monumental-i.com Tue Aug 24 14:05:27 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Tue Aug 24 13:05:32 2004 Subject: [V4MD] Max aggregate function in director In-Reply-To: <412B78D2.3000304@monumental-i.com> References: <412B78D2.3000304@monumental-i.com> Message-ID: <412B8366.2010907@monumental-i.com> I think I've narrowed down the issue I was having. It has to do with getting a RecID from the table. Basically, all I am trying to do is pull the record with the highest number RecID. 'select max(category_ptr) from product' returns: [[#max: 130]] 'select max(RecID) from product' returns: [] Any suggestions? > I hope I am doing something obvioulsy wrong. > > I am trying to pull the record with the highest record id: > > set query = "*select catalogid, max(RecID) from product*" > set dbCursor = new( xtra "VCursor", GetRef(p_db.db),query) > change = GetRecordsAsPropList(dbCursor) > dbCursor=VOID > > The change variable (which is the prop-list with the returned records) > returns as an empty list. I'm pulling my hair out! I tried to test > this interactively but visql crashes with whenever MAX is invoked. > > Any suggestions appreciated! > > - Daniel From sunshine at public.kherson.ua Tue Aug 24 21:14:52 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 24 13:15:14 2004 Subject: [V4MD] Max aggregate function in director In-Reply-To: <412B8366.2010907@monumental-i.com> Message-ID: On 8/24/04 9:05 PM, "Daniel Crowder" wrote: Hi Daniel, > I think I've narrowed down the issue I was having. It has to do with > getting a RecID from the table. Basically, all I am trying to do is pull > the record with the highest number RecID. > > 'select max(category_ptr) from product' > returns: [[#max: 130]] > > 'select max(RecID) from product' > returns: [] > > Any suggestions? I think problem in RecID field. Workaround is: create BaseObject method of ULONG type with simple formula "ReCID" i.e. This BaseObject method will have the same value. Try apply MAX to this BaseObject method. ------- Also note that the fastest way to get what you need is Table.GertPhysicalRecordCount() But V4MD 1.x do not have such function. V4MD 2.0 will have it >> I hope I am doing something obvioulsy wrong. >> >> I am trying to pull the record with the highest record id: >> >> set query = "*select catalogid, max(RecID) from product*" >> set dbCursor = new( xtra "VCursor", GetRef(p_db.db),query) >> change = GetRecordsAsPropList(dbCursor) >> dbCursor=VOID >> >> The change variable (which is the prop-list with the returned records) >> returns as an empty list. I'm pulling my hair out! I tried to test >> this interactively but visql crashes with whenever MAX is invoked. >> >> Any suggestions appreciated! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Tue Aug 24 21:19:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 24 13:19:14 2004 Subject: VXCMD client and Database_Dump In-Reply-To: <20040823215026.51305.qmail@web52405.mail.yahoo.com> Message-ID: On 8/24/04 12:50 AM, "Chris Sheffield" wrote: > Okay, I can live with that. Would be nice if that > were documented, though. I lost a couple hours this > morning trying to figure out what was going on. > > I've got another question regarding Database_LoadDump. > I can't get it to work. Again, I've checked > everything, and all my paths are correct. I'm using a > local database, but I keep getting "error 19". Any > ideas what that is? Chris, You cannot make it work in LOCAL version also?! Hmm. Do you update paths to NATIVE format of OS ? MC/Rev can work with any path delimiters. VXCMD expect only native WIN / MAC OS : POSIX \ -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From daniel at monumental-i.com Tue Aug 24 14:28:11 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Tue Aug 24 13:28:18 2004 Subject: [V4MD] Max aggregate function in director In-Reply-To: References: Message-ID: <412B88BB.50008@monumental-i.com> Ruslan, Can you give me more information about how to do what you describe below? >Workaround is: > create BaseObject method of ULONG type with simple formula > "ReCID" > > i.e. This BaseObject method will have the same value. > >Try apply MAX to this BaseObject method. > > Also, is there a quick method to get the most recently added record from a table where a date is not stored? This is my first Valentina project so I appologize for all the newb questions! - Daniel From sunshine at public.kherson.ua Tue Aug 24 21:33:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 24 13:33:53 2004 Subject: [V4MD] Max aggregate function in director In-Reply-To: <412B88BB.50008@monumental-i.com> Message-ID: On 8/24/04 9:28 PM, "Daniel Crowder" wrote: > Ruslan, > > Can you give me more information about how to do what you describe below? You create bo method exctly as regular field, Just add one more parameter -- formula. Look into V4MD Refernce for function MakeNewField() Something as MakeNewField( "mRecID", #UlongType, ..., "RecID" ) That is all. Now you have one more VIRTUAL FIELD in the table. Its name is mRecID And you can uese SELECT MAX( mRecID ) FROM ........ >> Workaround is: >> create BaseObject method of ULONG type with simple formula >> "ReCID" >> >> i.e. This BaseObject method will have the same value. >> >> Try apply MAX to this BaseObject method. >> >> > > Also, is there a quick method to get the most recently added record from > a table where a date is not stored? > > This is my first Valentina project so I appologize for all the newb > questions! If you preapre cursor as SELECT RecID, .... FROM .... Then after cursor.AddRecord() The field RecID of this cursor will contain RecID of just added record. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fb at memedia.de Tue Aug 24 21:02:06 2004 From: fb at memedia.de (Florian Bogeschdorfer) Date: Tue Aug 24 14:02:13 2004 Subject: V4MD Encryption problems vServer In-Reply-To: <017e01c489fb$4a700b30$3b04a8c0@giv> Message-ID: OK, very good. Thank you. Best regards, Florian > > > > Mmmh, OK, I will make an easy example project... > There is no need no longer. > I've found bug in VDatabase Xtra source code. > So it should work now. > From kray at sonsothunder.com Tue Aug 24 14:44:05 2004 From: kray at sonsothunder.com (Ken Ray) Date: Tue Aug 24 14:44:41 2004 Subject: [VXCMD] Record Locks In-Reply-To: <00a101c489d7$e155b140$3b04a8c0@giv> Message-ID: On 8/24/04 7:42 AM, "Igor Gomon" wrote: > Hi Ken, > >> One thing that might help, Ruslan: is there some way that we can set the >> maximum size for the log file? The reason is that the current maximum size >> of the log file is only enough to see a few minutes' worth of queries (at >> VerboseLevel=3) and by the time our client has called us, the relevant >> portion of the log that would have shown us the query that preceded the >> record lock is no longer in the log file. If we set it to VerboseLevel=2 >> that's better (we can see the date/time of the 363) but we can't see the >> queries themselves. Any way we can set the max size of the log file? > > We have no limit for the log file in VServer. > Why did you decided that log file is truncated? Sorry guys - false alarm - it turns out that the OS X *console* can only show a portion of the log, and 2x-clicking the .log file will open up the console. When I view it in BBEdit, I get the whole thing. Sorry about that... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray@sonsothunder.com From daniel at monumental-i.com Tue Aug 24 17:07:16 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Tue Aug 24 16:07:22 2004 Subject: [V4MD] Max aggregate function in director In-Reply-To: References: Message-ID: <9409E530-F611-11D8-A72C-000D93326CD0@monumental-i.com> Ruslan, I tried what you suggested and am not having any luck. When I create the table I have added the following field: addField(pdb.db, product_ref, "id", #kTypeUlong, "RecID") If I understand you correctly, this should automatically serialize the "id" field with the RecID of that record. When I do this and view the records all the "id" fields show a value of '0'. On Aug 24, 2004, at 2:33 PM, Ruslan Zasukhin wrote: > On 8/24/04 9:28 PM, "Daniel Crowder" wrote: > >> Ruslan, >> >> Can you give me more information about how to do what you describe >> below? > > You create bo method exctly as regular field, > Just add one more parameter -- formula. > Look into V4MD Refernce for function MakeNewField() > Something as > > MakeNewField( "mRecID", #UlongType, ..., "RecID" ) > > > That is all. > Now you have one more VIRTUAL FIELD in the table. > Its name is mRecID > > And you can uese > > SELECT MAX( mRecID ) FROM ........ > > > >>> Workaround is: >>> create BaseObject method of ULONG type with simple formula >>> "ReCID" >>> >>> i.e. This BaseObject method will have the same value. >>> >>> Try apply MAX to this BaseObject method. >>> >>> >> >> Also, is there a quick method to get the most recently added record >> from >> a table where a date is not stored? >> >> This is my first Valentina project so I appologize for all the newb >> questions! > > If you preapre cursor as > > SELECT RecID, .... FROM .... > > > Then after > > cursor.AddRecord() > > > The field RecID of this cursor will contain RecID of just added record. > > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From cm_sheffield at yahoo.com Tue Aug 24 14:14:08 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Aug 24 16:14:13 2004 Subject: VXCMD client and Database_Dump In-Reply-To: Message-ID: <20040824211408.72632.qmail@web52406.mail.yahoo.com> Sorry if this comes through twice. I'm re-posting because I haven't seen it appear on the list yet. Yes, my paths are correct, and it's still not working. Are there any restrictions on paths and/or filenames? Such as lengths, special characters, etc.? Right now I'm testing on Mac OS X. The path to my xml file is not unusually long. The file name of my xml file does contain a hyphen "-" and an underscore "_". Other than that, all other characters are alphanumeric, and the file name itself is only 19 characters. I don't know if that helps at all or not. Can you think of anything else I can try? I did try loading the same xml file using the VApp, and that worked fine, so I'm guessing it's something in my code; I'm just not sure what. My code simply looks like this: get Valentina("Database_LoadDump", pParam1, pParam2, pParam3) As I indicated, I've checked my variables: pParam1 contains the path to my xml file, pParam2 contains the path to the new database file, and pParam3 contains 2, which is for the xml dump type. I don't have to do anything special beforehand, do I? The docs indicate that it's like the Create function, in that upon success it returns a database connection ID to the new database. Is that correct? I don't see what I'm doing wrong. Thanks again, --- Ruslan Zasukhin wrote: > On 8/24/04 12:50 AM, "Chris Sheffield" > wrote: > > > Okay, I can live with that. Would be nice if that > > were documented, though. I lost a couple hours > this > > morning trying to figure out what was going on. > > > > I've got another question regarding > Database_LoadDump. > > I can't get it to work. Again, I've checked > > everything, and all my paths are correct. I'm > using a > > local database, but I keep getting "error 19". > Any > > ideas what that is? > > Chris, > > You cannot make it work in LOCAL version also?! > > Hmm. > > Do you update paths to NATIVE format of OS ? > > MC/Rev can work with any path delimiters. > VXCMD expect only native > > WIN / > > MAC OS : > > POSIX \ > > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail From sunshine at public.kherson.ua Wed Aug 25 00:21:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 24 16:21:49 2004 Subject: [V4MD] Max aggregate function in director In-Reply-To: <9409E530-F611-11D8-A72C-000D93326CD0@monumental-i.com> Message-ID: On 8/25/04 12:07 AM, "Daniel Crowder" wrote: > Ruslan, > > I tried what you suggested and am not having any luck. > > When I create the table I have added the following field: > > addField(pdb.db, product_ref, "id", #kTypeUlong, "RecID") > > If I understand you correctly, this should automatically serialize the > "id" field with the RecID of that record. > > When I do this and view the records all the "id" fields show a value of > '0'. Strange. Try to open db in the VAPP or Vstudio. Go to record browser and choose SHOW METHODS What you see? If zero then please send me this db compressed. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Tue Aug 24 12:26:46 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Tue Aug 24 16:30:46 2004 Subject: VXCMD client and Database_Dump In-Reply-To: Message-ID: <20040824192646.32116.qmail@web52402.mail.yahoo.com> Yes, my paths are correct, and it's still not working. Are there any restrictions on paths and/or filenames? Such as lengths, special characters, etc.? Right now I'm testing on Mac OS X. The path to my xml file is not unusually long. The file name of my xml file does contain a hyphen "-" and an underscore "_". Other than that, all other characters are alphanumeric, and the file name itself is only 19 characters. I don't know if that helps at all or not. Can you think of anything else I can try? I did try loading the same xml file using the VApp, and that worked fine, so I'm guessing it's something in my code; I'm just not sure what. My code simply looks like this: get Valentina("Database_LoadDump", pParam1, pParam2, pParam3) As I indicated, I've checked my variables: pParam1 contains the path to my xml file, pParam2 contains the path to the new database file, and pParam3 contains 2, which is for the xml dump type. I don't have to do anything special beforehand, do I? The docs indicate that it's like the Create function, in that upon success it returns a database connection ID to the new database. Is that correct? I don't see what I'm doing wrong. Thanks again, --- Ruslan Zasukhin wrote: > On 8/24/04 12:50 AM, "Chris Sheffield" > wrote: > > > Okay, I can live with that. Would be nice if that > > were documented, though. I lost a couple hours > this > > morning trying to figure out what was going on. > > > > I've got another question regarding > Database_LoadDump. > > I can't get it to work. Again, I've checked > > everything, and all my paths are correct. I'm > using a > > local database, but I keep getting "error 19". > Any > > ideas what that is? > > Chris, > > You cannot make it work in LOCAL version also?! > > Hmm. > > Do you update paths to NATIVE format of OS ? > > MC/Rev can work with any path delimiters. > VXCMD expect only native > > WIN / > > MAC OS : > > POSIX \ > > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > ===== Chris Sheffield Read Naturally www.readnaturally.com _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush From sunshine at public.kherson.ua Wed Aug 25 00:31:19 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 24 16:31:25 2004 Subject: VXCMD client and Database_Dump In-Reply-To: <20040824211408.72632.qmail@web52406.mail.yahoo.com> Message-ID: On 8/25/04 12:14 AM, "Chris Sheffield" wrote: Hi Chris, > Yes, my paths are correct, and it's still not working. > Are there any restrictions on paths and/or filenames? > Such as lengths, special characters, etc.? I do not think so. > Right now I'm testing on Mac OS X. The path to my xml file is not unusually > long. > The file name of my xml file does contain a hyphen "-" and an underscore "_". > Other than that, all other characters are alphanumeric, and the file name > itself is only 19 characters. > I don't know if that helps at all or not. Can you think of anything else I > can try? I did try loading the same xml file using the VApp, and that worked > fine, so I'm guessing it's something in my code; I'm just not sure what. > My code simply looks like this: > > get Valentina("Database_LoadDump", pParam1, pParam2, pParam3) > > As I indicated, I've checked my variables: pParam1 contains the path to my > xml file, pParam2 contains the path to the new database file, and pParam3 > contains 2, which is for the xml dump type. Ok. Looks correct. > I don't have to do anything special beforehand, do I? Nothing special. LoadDump in fact simialr to Db.Create(). We say where create new db and we get new db. > The docs indicate that > it's like the Create function, in that upon success it returns a database > connection ID to the new database. Is that correct? Absolutely. > I don't see what I'm doing wrong. 1) so we talk abut LOCAL or CLEINT/server ? 2) am I right that you was able do XML DUMP ? but you cannot now do LoadDump ? 3) does Valentina return an error? since VAPP can load that file then we know that file itsefl is good and correct. 4) Chris, at last of end, you can write simplest scrip with one function Valentina init LoadDump Valentina ShutDown Using LOCAL VXCMD. If this project not works you can send me it and some small XML file. Actually it is never mind which XML file you send. This project must be able use any XML file. --------- I will ask once again. You say that your path is correct. You must have own function in your project which will convert path into native OS X path. Revolution on default return you path which Valentina will not understand. So if you simply pass such path from REV to Valentina then this is source of problem. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From daniel at monumental-i.com Tue Aug 24 19:26:03 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Tue Aug 24 18:26:09 2004 Subject: [V4MD] Max aggregate function in director In-Reply-To: References: Message-ID: I just opened it in VAPP and no methods appeared! Also, where do I find Vstudio? I did not see that on the website - is that a PC version of VAPP? On Aug 24, 2004, at 5:21 PM, Ruslan Zasukhin wrote: > On 8/25/04 12:07 AM, "Daniel Crowder" wrote: > >> Ruslan, >> >> I tried what you suggested and am not having any luck. >> >> When I create the table I have added the following field: >> >> addField(pdb.db, product_ref, "id", #kTypeUlong, "RecID") >> >> If I understand you correctly, this should automatically serialize the >> "id" field with the RecID of that record. >> >> When I do this and view the records all the "id" fields show a value >> of >> '0'. > > Strange. > > Try to open db in the VAPP or Vstudio. > > Go to record browser and choose SHOW METHODS > > What you see? > > If zero then please send me this db compressed. > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From forgete at cafederic.com Tue Aug 24 22:50:36 2004 From: forgete at cafederic.com (Eric Forget) Date: Tue Aug 24 21:50:44 2004 Subject: [ANN] New Software Using Valentina Just Released! Message-ID: Hi All, I've finally released my software that make use of Valentina: iCuistot. You may find it at: . I would like to thank Ruslan for all the hours he spent helping me with my DB problems. I really appreciated it. Cheers, ?ric ___________________________________________________________________ Eric Forget Cafederic ForgetE@cafederic.com From sunshine at public.kherson.ua Wed Aug 25 08:41:58 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 25 00:42:07 2004 Subject: [V4MD] Max aggregate function in director In-Reply-To: Message-ID: On 8/25/04 2:26 AM, "Daniel Crowder" wrote: Hi Daniel, 1) yes, I have open your database in VAPP, and in the table product I see regular field "id". But it is NOT BaseObject method. this means something wrong in the code of field creation. Let's look. addField(pdb.db, product_ref, "id", #kTypeUlong, "RecID") Mistake Daniel. In docs is said that AddField object me, integer boRef,string fldName,symbol fldType, [integer Param1], [integer Param2],[integer Method] You have miss Param1 and Param2. We use this parameters for e.g. String field. Numeric fields simply ignore them. So you need addField(pdb.db, product_ref, "id", #kTypeUlong, 0, 0, "RecID") 2) Link to Valentina Studio you can find on our home page. yes Valentina Studio work on both MAC and PC 3) BTW, please remind me, why you want Max(RecID) ? If you want use this to generate next ID for record, then this is not correct way in Valentina. Because DELETED records make wholes in table, and the next AddRecord() May use that space. So you can have 10 records in table, Delete 3d record, then add new record and it will get RecID = 3. As I see you use ObjectPtr fields, i.e. You use Valentina links instead of RDBBMS FOREIGN KEY. Them why you need at all control ID values ? Just use RecID values. This is easy and comfortable. > I just opened it in VAPP and no methods appeared! > Also, where do I find Vstudio? I did not see that on the website - is > that a PC version of VAPP? > On Aug 24, 2004, at 5:21 PM, Ruslan Zasukhin wrote: > >> On 8/25/04 12:07 AM, "Daniel Crowder" wrote: >> >>> Ruslan, >>> >>> I tried what you suggested and am not having any luck. >>> >>> When I create the table I have added the following field: >>> >>> addField(pdb.db, product_ref, "id", #kTypeUlong, "RecID") >>> >>> If I understand you correctly, this should automatically serialize the >>> "id" field with the RecID of that record. >>> >>> When I do this and view the records all the "id" fields show a value >>> of '0'. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From vidal_olivier at yahoo.fr Wed Aug 25 13:00:53 2004 From: vidal_olivier at yahoo.fr (olivier) Date: Wed Aug 25 05:53:01 2004 Subject: [ANN] New Software Using Valentina Just Released! In-Reply-To: References: Message-ID: <0823ACF9-F686-11D8-A20B-00039310B7DA@yahoo.fr> Congratulations! Very pleasant site also. F?licitations ! site tr?s agr?able ?galement. olivier Le 25 ao?t 04, ? 04:50, Eric Forget a ?crit : > Hi All, > > I've finally released my software that make use of Valentina: > iCuistot. You > may find it at: . > > I would like to thank Ruslan for all the hours he spent helping me > with my > DB problems. I really appreciated it. > > Cheers, > > ?ric > > ___________________________________________________________________ > > Eric Forget Cafederic > ForgetE@cafederic.com > > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From cm_sheffield at yahoo.com Wed Aug 25 09:15:45 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Wed Aug 25 11:15:48 2004 Subject: VXCMD client and Database_Dump In-Reply-To: Message-ID: <20040825161545.70055.qmail@web52410.mail.yahoo.com> > 1) so we talk abut LOCAL or CLEINT/server ? This is local. > > 2) am I right that you was able do XML DUMP ? > but you cannot now do LoadDump ? That's correct. The dump worked perfectly. > > 3) does Valentina return an error? I get error 19, whatever that is. Do you know? > since VAPP can load that file then we know that > file itsefl is good and > correct. > > > 4) Chris, at last of end, you can write simplest > scrip with one function > > Valentina init > > LoadDump > > Valentina ShutDown > > Using LOCAL VXCMD. I've attached a Revolution stack that does this. It'll prompt for the location of the xml file, then it'll prompt for a destination folder (the database name rn.vdb will be added to the end of the destination). A message box will display showing you the source path and the destination path. Check to make sure the paths are valid. They look fine to me. > > If this project not works you can send me it and > some small XML file. > Actually it is never mind which XML file you send. > This project must be able use any XML file. > > > --------- > I will ask once again. > > You say that your path is correct. > > You must have own function in your project which > will convert path into > native OS X path. I do, but it doesn't do anything under OS X. Revolution returns a valid Unix path under OS X, which should be correct. > > Revolution on default return you path which > Valentina will not understand. No, not true. > > So if you simply pass such path from REV to > Valentina then this is source of > problem. > If you could try this sample and see if you get the same results, I would appreciate it. I hope I haven't run into some weird bug in the VXCMD, which really doesn't make sense. Thanks again, ===== Chris Sheffield Read Naturally www.readnaturally.com _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush From sunshine at public.kherson.ua Wed Aug 25 19:24:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 25 11:24:38 2004 Subject: VXCMD client and Database_Dump In-Reply-To: <20040825161545.70055.qmail@web52410.mail.yahoo.com> Message-ID: On 8/25/04 7:15 PM, "Chris Sheffield" wrote: >> 3) does Valentina return an error? > > I get error 19, whatever that is. Do you know? If this is MacOS Xand VXCMD Macho Then #define ENODEV 19 /* Operation not supported by device */ -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Wed Aug 25 19:25:06 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Aug 25 11:25:11 2004 Subject: VXCMD client and Database_Dump In-Reply-To: <20040825161545.70055.qmail@web52410.mail.yahoo.com> Message-ID: On 8/25/04 7:15 PM, "Chris Sheffield" wrote: >> 4) Chris, at last of end, you can write simplest >> scrip with one function >> >> Valentina init >> >> LoadDump >> >> Valentina ShutDown >> >> Using LOCAL VXCMD. > > I've attached a Revolution stack that does this. List do not accept attachments > It'll prompt for the location of the xml file, then > it'll prompt for a destination folder (the database > name rn.vdb will be added to the end of the > destination). A message box will display showing you > the source path and the destination path. Check to > make sure the paths are valid. They look fine to me. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From holly at roundboxmedia.com Wed Aug 25 17:14:14 2004 From: holly at roundboxmedia.com (Holly Bogossian) Date: Wed Aug 25 16:13:27 2004 Subject: SQL with V4MD and viSQL Message-ID: I have had no problems with simple SQL using executeSQL command but cannot get the following to work. I keep getting the error: "603, Field Not Found". Same result regardless of operator. What am I doing wrong? SELECT (field1Number - field2Number) FROM baseObjectName Using Director MX, V4MD v1.10 on Mac G4. This same result also occurs using viSQL on WinXP. Thanks --holly -- --------- The cure for anything is salt water -- sweat, tears, or the sea. --isak dinesen From sunshine at public.kherson.ua Thu Aug 26 08:11:18 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 26 00:11:25 2004 Subject: SQL with V4MD and viSQL In-Reply-To: Message-ID: On 8/26/04 12:14 AM, "Holly Bogossian" wrote: > I have had no problems with simple SQL using executeSQL command but > cannot get the following to work. I keep getting the error: "603, > Field Not Found". Same result regardless of operator. What am I doing > wrong? > > SELECT (field1Number - field2Number) FROM baseObjectName > > Using Director MX, V4MD v1.10 on Mac G4. This same result also occurs > using viSQL on WinXP. Hi Holly, To execute SELECT commands, you should use not SqlExecute() handler, But you should create Cursor Xtra curs = new ( Xtra "Vcursor", "SELECT ...." ) Please check docs of Vcursor Xtra -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From fvanlerberghe at freegates.be Thu Aug 26 11:24:59 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Thu Aug 26 04:23:58 2004 Subject: [V4RB] ValentinaDebugON in Windows XP Message-ID: Is ValentinaDebugON(2) working in Windows XP ? I have installed and opened dbgView but I don't see any valentina event displayed. Thank you From sunshine at public.kherson.ua Thu Aug 26 14:48:39 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 26 06:48:52 2004 Subject: [V4RB] ValentinaDebugON in Windows XP In-Reply-To: Message-ID: On 8/26/04 12:24 PM, "Francois Van Lerberghe" wrote: Hi Francois, > Is ValentinaDebugON(2) working in Windows XP ? > I have installed and opened dbgView but I don't see any valentina event > displayed. Yes it should work... Frankly saying I did not test this self far ago. And it seems my version of DbgView simply did not run on my XP... On Windows Valentina simply calls SYSTEM's DebugStr()...it seems. Or other similar name DbgView must be able collect them. Aha, it seems DbgView have some option to set ON collect system messages -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From frank-list2 at mindstarprods.com Thu Aug 26 08:20:00 2004 From: frank-list2 at mindstarprods.com (Frank Schima) Date: Thu Aug 26 07:20:08 2004 Subject: SQL with V4MD and viSQL In-Reply-To: References: Message-ID: <40253AE6-F75A-11D8-BC4E-0003939246BC@mindstarprods.com> Hi Holly, On Aug 25, 2004, at 5:14 PM, Holly Bogossian wrote: > I have had no problems with simple SQL using executeSQL command but > cannot get the following to work. I keep getting the error: "603, > Field Not Found". Same result regardless of operator. What am I doing > wrong? > > SELECT (field1Number - field2Number) FROM baseObjectName > > Using Director MX, V4MD v1.10 on Mac G4. This same result also occurs > using viSQL on WinXP. You cannot perform mathematical operations in SQL in Valentina 1. The workaround is to use a field method. Best regards, Frank From fvanlerberghe at freegates.be Thu Aug 26 15:12:58 2004 From: fvanlerberghe at freegates.be (Francois Van Lerberghe) Date: Thu Aug 26 08:12:01 2004 Subject: [V4RB] ValentinaDebugON in Windows XP In-Reply-To: Message-ID: le 26/08/04 13:48, Ruslan Zasukhin a ?crit?: > On 8/26/04 12:24 PM, "Francois Van Lerberghe" > wrote: > > Hi Francois, > >> Is ValentinaDebugON(2) working in Windows XP ? >> I have installed and opened dbgView but I don't see any valentina event >> displayed. > > Yes it should work... > > Frankly saying I did not test this self far ago. > And it seems my version of DbgView simply did not run on my XP... > > On Windows Valentina simply calls SYSTEM's > DebugStr()...it seems. Or other similar name > > > DbgView must be able collect them. > > Aha, it seems DbgView have some option to set ON > > collect system messages > I use the 4.31 version of DbgView available on : http://www.sysinternals.com/ntw2k/freeware/debugview.shtml All capture options are enabled, but I don't see any Valentina message Fran?ois Van Lerberghe Rue Thier Monty, 15 A 4570 Marchin Belgique From holly at roundboxmedia.com Thu Aug 26 10:11:17 2004 From: holly at roundboxmedia.com (Holly Bogossian) Date: Thu Aug 26 09:10:30 2004 Subject: SQL with V4MD and viSQL In-Reply-To: <40253AE6-F75A-11D8-BC4E-0003939246BC@mindstarprods.com> References: <40253AE6-F75A-11D8-BC4E-0003939246BC@mindstarprods.com> Message-ID: Frank I am not sure I understand what you mean by a "field method"? Would you please give me an example of 'pseudo' code demonstrating your suggestion. Also, if v1 can not handle mathematical operations does the beta version do them? I also have looked at the manual, ValentinaSQL.pdf and the section "Expressions." Can they be implemented using the Director Xtra? How are these implemented? Thanks, >Hi Holly, > > >On Aug 25, 2004, at 5:14 PM, Holly Bogossian wrote: > >>I have had no problems with simple SQL using executeSQL command but >>cannot get the following to work. I keep getting the error: "603, >>Field Not Found". Same result regardless of operator. What am I >>doing wrong? >> >> SELECT (field1Number - field2Number) FROM baseObjectName >> >>Using Director MX, V4MD v1.10 on Mac G4. This same result also >>occurs using viSQL on WinXP. > >You cannot perform mathematical operations in SQL in Valentina 1. >The workaround is to use a field method. > > >Best regards, >Frank > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina -- --------- The cure for anything is salt water -- sweat, tears, or the sea. --isak dinesen From sunshine at public.kherson.ua Thu Aug 26 17:39:35 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 26 09:44:16 2004 Subject: SQL with V4MD and viSQL In-Reply-To: Message-ID: On 8/26/04 5:11 PM, "Holly Bogossian" wrote: Hi Holly, > Frank > I am not sure I understand what you mean by a "field method"? Would > you please give me an example of 'pseudo' code demonstrating your > suggestion. Frank means BaseObject method aka "Virtual field", aka "Calculate fields" You can look into Valentina SQL.pdf for functions which you can use in BaseObject methods. And into Valentina Kernel.pdf which describe what is this. And into V4MDReference.pdf, Xtra Vdatabse, handler MakeNewField() > Also, if v1 can not handle mathematical operations does the beta > version do them? You mean 2.0 ? Yes. Valentina 2.0 support such syntax. > I also have looked at the manual, ValentinaSQL.pdf and the section > "Expressions." Can they be implemented using the Director Xtra? How > are these implemented? Yes! all these functions can be used in BaseObject methods. > Thanks, > >> Hi Holly, >> >> >> On Aug 25, 2004, at 5:14 PM, Holly Bogossian wrote: >> >>> I have had no problems with simple SQL using executeSQL command but >>> cannot get the following to work. I keep getting the error: "603, >>> Field Not Found". Same result regardless of operator. What am I >>> doing wrong? >>> >>> SELECT (field1Number - field2Number) FROM baseObjectName >>> >>> Using Director MX, V4MD v1.10 on Mac G4. This same result also >>> occurs using viSQL on WinXP. >> >> You cannot perform mathematical operations in SQL in Valentina 1. >> The workaround is to use a field method. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Aug 26 17:40:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 26 09:45:04 2004 Subject: [V4RB] ValentinaDebugON in Windows XP In-Reply-To: Message-ID: On 8/26/04 4:12 PM, "Francois Van Lerberghe" wrote: > le 26/08/04 13:48, Ruslan Zasukhin a ?crit?: > >> On 8/26/04 12:24 PM, "Francois Van Lerberghe" >> wrote: >> >> Hi Francois, >> >>> Is ValentinaDebugON(2) working in Windows XP ? >>> I have installed and opened dbgView but I don't see any valentina event >>> displayed. >> >> Yes it should work... >> >> Frankly saying I did not test this self far ago. >> And it seems my version of DbgView simply did not run on my XP... >> >> On Windows Valentina simply calls SYSTEM's >> DebugStr()...it seems. Or other similar name >> >> >> DbgView must be able collect them. >> >> Aha, it seems DbgView have some option to set ON >> >> collect system messages >> > > I use the 4.31 version of DbgView available on : > http://www.sysinternals.com/ntw2k/freeware/debugview.shtml > > All capture options are enabled, but I don't see any Valentina message We need test this then. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From holly at roundboxmedia.com Thu Aug 26 11:23:49 2004 From: holly at roundboxmedia.com (Holly Bogossian) Date: Thu Aug 26 10:23:01 2004 Subject: SQL with V4MD and viSQL In-Reply-To: References: Message-ID: The DIRECTOR XTRA version 2.0a63, V4MD_Client_Carbon.Xtr causes an error -61 in either DIRECTOR MX and MX2004 on the Macintosh (OS 10.3.2) At 5:39 PM +0300 8/26/04, Ruslan Zasukhin wrote: > > Also, if v1 can not handle mathematical operations does the beta >> version do them? > >You mean 2.0 ? > >Yes. Valentina 2.0 support such syntax. Also, ALL our database work in Director is using the Valentina Xtra ONLY with SQL statements that are passed via the "executeSQL" command. --holly -- --------- The cure for anything is salt water -- sweat, tears, or the sea. --isak dinesen From sunshine at public.kherson.ua Thu Aug 26 18:28:34 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 26 10:34:16 2004 Subject: SQL with V4MD and viSQL In-Reply-To: Message-ID: On 8/26/04 6:23 PM, "Holly Bogossian" wrote: > Also, ALL our database work in Director is using the Valentina Xtra > ONLY with SQL statements that are passed via the "executeSQL" command. But SELECT commands cannot be used in this way!!! To execute SELECT command you must create Cursor Xtra. Please look into our examples. curs = new Xtra( "VCursor", "SELECT * FROM T WHERE ... " ) Now you have cursor and you can iterate found records. Also you can modify them using VCursor Xtra Or what you mean Holly ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Thu Aug 26 18:30:28 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 26 10:34:59 2004 Subject: SQL with V4MD and viSQL In-Reply-To: Message-ID: On 8/26/04 6:23 PM, "Holly Bogossian" wrote: > The DIRECTOR XTRA version 2.0a63, V4MD_Client_Carbon.Xtr causes an > error -61 in either DIRECTOR MX and MX2004 on the Macintosh (OS > 10.3.2) But why you use V4MD_Client_Carbon.Xtr ? This is for Client Server. It require Valentina Server. As I understand you need V4MD LOCAL. Ah, you did think that it work with SELECT f1 - f2 ? No, no. I have told that this will work in Valentina 2.0 You have no access to it yet. Holly, you need to use V4MD 1.10 LOCAL. And You need to use mechanism of BaseObject methods. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From daniel at monumental-i.com Thu Aug 26 17:40:44 2004 From: daniel at monumental-i.com (Daniel Crowder) Date: Thu Aug 26 16:40:51 2004 Subject: [V4MD] & [Vserver] Using Valentina Server temporarily for collaboration In-Reply-To: References: <40253AE6-F75A-11D8-BC4E-0003939246BC@mindstarprods.com> Message-ID: <95989EA0-F7A8-11D8-B411-000D93326CD0@monumental-i.com> I am currently working on a very large catalog CD that has advanced editing tools built-in. There is going to be a huge amount of data entry required prior to release. Now, the way the relational data and error checking is structured there is no way multiple people can work on the data in tandem and then merge all the data together. This wasn't a problem until we got final word concerning the amount of data we need to manually input. We have a lot of data to enter - and it is huge! So here is my question: Could I temporarily use Valentina Server as the datasource so that mulitple people could enter data at the same time and then use the server data files to switch back to using V4MD locally? I would basically just be using the server temporarily until all the data was in - and then go back to using the local editor when the time crunch was over. Is Valentina server stable enough that this would be an option? Would it require a lot of change in the director code other than how I initially accessed the db internally? Thanks! From holly at roundboxmedia.com Thu Aug 26 18:50:40 2004 From: holly at roundboxmedia.com (Holly Bogossian) Date: Thu Aug 26 17:49:51 2004 Subject: SQL with V4MD and viSQL In-Reply-To: References: Message-ID: I *was* using V4MD 1.10 until you told me about v2.0!!! And of course I am using the vCursor, otherwise none of my SQL calls would work. But thanks anyway. --holly At 6:30 PM +0300 8/26/04, Ruslan Zasukhin wrote: >Holly, you need to use V4MD 1.10 LOCAL. >And You need to use mechanism of BaseObject methods. -- --------- The cure for anything is salt water -- sweat, tears, or the sea. --isak dinesen From sunshine at public.kherson.ua Fri Aug 27 01:54:40 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Aug 26 17:54:52 2004 Subject: [V4MD] & [Vserver] Using Valentina Server temporarily for collaboration In-Reply-To: <95989EA0-F7A8-11D8-B411-000D93326CD0@monumental-i.com> Message-ID: On 8/27/04 12:40 AM, "Daniel Crowder" wrote: > I am currently working on a very large catalog CD that has advanced > editing tools built-in. There is going to be a huge amount of data > entry required prior to release. Now, the way the relational data and > error checking is structured there is no way multiple people can work > on the data in tandem and then merge all the data together. This wasn't > a problem until we got final word concerning the amount of data we need > to manually input. We have a lot of data to enter - and it is huge! > > So here is my question: Could I temporarily use Valentina Server as the > datasource so that mulitple people could enter data at the same time > and then use the server data files to switch back to using V4MD > locally? I would basically just be using the server temporarily until > all the data was in - and then go back to using the local editor when > the time crunch was over. > > Is Valentina server stable enough that this would be an option? Would > it require a lot of change in the director code other than how I > initially accessed the db internally? Hi Daniel, 1) it must be very easy update your code to use with Vserver. mainly just how you open db. You need download V4MD_client beta and check its examples. Also working with Vserver it is important that you specify correct lock parameters when you create cursors. 2) yes Vserver is stable and you can use it. of course always is good idea todo backups. 3) Vserver demo which you can download from our site is able work in 7*24 mode the whole month. Each 1 of next month you need download from our site license file. So yes, in general answer if YES, you can do this. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Aug 27 08:48:13 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 27 00:48:34 2004 Subject: VXCMD client and Database_Dump In-Reply-To: <20040825163451.77352.qmail@web52410.mail.yahoo.com> Message-ID: On 8/25/04 7:34 PM, "Chris Sheffield" wrote: > Ruslan, > > Here's what I sent earlier to the list. I thought I > was sending it just to you. Sorry about that. Hi Chris, Oh, I am not expert in revolution. And I always have problems to run it first time. 1) I see one mistake, in Valentina init you do 3*1024. this is 3KB. You need 3 * 1024 * 1024 2) I have Rev 1.1.1 Carbon I have drop VXCMD_Carbon_MC into it and run your project but it say that Valentina methods not found. Should I do something special to stack ? And I have Rev 2.2.1 Classic. Why I was need Classic version? I think I will download now Macho version for now -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Fri Aug 27 20:10:01 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 27 12:10:08 2004 Subject: How to create ListBox/Datagrid in Director? Crossplatform? Message-ID: Hi all, Does anybody know any good/easy/nice way to create in director control which is similar to REALbasic's ListBox Visual BASIC datagrid MacOS X list view ... Yes I know about cXtra. It is great. But it works only on Windows. We need for our V4MD example effective and simple way display database table. How Director community live without such simple tool? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From xyzabc1010 at yahoo.com Fri Aug 27 10:12:59 2004 From: xyzabc1010 at yahoo.com (X Y) Date: Fri Aug 27 12:13:08 2004 Subject: VSRV: Is ExportAscii functioning in VServer In-Reply-To: Message-ID: <20040827171259.17606.qmail@web21125.mail.yahoo.com> Thanks __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From cm_sheffield at yahoo.com Fri Aug 27 10:19:29 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Fri Aug 27 12:19:37 2004 Subject: VXCMD client and Database_Dump In-Reply-To: Message-ID: <20040827171929.18067.qmail@web52401.mail.yahoo.com> Yes, download the OS X version. That's the one that's not working with the LoadDump. Just make sure you place the VXCMD_Macho_MC bundle inside the Revolution program folder. YOu should be good to go after that. If you want to try the OS 9 version, you need to use the VXCMD_Classic, not Carbon. And you'll have to add the CODE resource to the resource fork of the stack file. But my testing was successful when running in OS 9. --- Ruslan Zasukhin wrote: > On 8/25/04 7:34 PM, "Chris Sheffield" > wrote: > > > Ruslan, > > > > Here's what I sent earlier to the list. I thought > I > > was sending it just to you. Sorry about that. > > Hi Chris, > > Oh, I am not expert in revolution. And I always have > problems to run it > first time. > > > 1) I see one mistake, in Valentina init you do > 3*1024. > this is 3KB. You need 3 * 1024 * 1024 > > > 2) I have Rev 1.1.1 Carbon > I have drop VXCMD_Carbon_MC into it and run your > project but it say that > Valentina methods not found. Should I do something > special to stack ? > > > And I have Rev 2.2.1 Classic. > Why I was need Classic version? > > > I think I will download now Macho version for now > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > ===== Chris Sheffield Read Naturally www.readnaturally.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From sunshine at public.kherson.ua Fri Aug 27 21:06:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 27 13:07:06 2004 Subject: VXCMD client and Database_Dump In-Reply-To: <20040827171929.18067.qmail@web52401.mail.yahoo.com> Message-ID: On 8/27/04 8:19 PM, "Chris Sheffield" wrote: > Yes, download the OS X version. That's the one that's > not working with the LoadDump. Just make sure you > place the VXCMD_Macho_MC bundle inside the Revolution > program folder. YOu should be good to go after that. Hmm, But Rev MacOS 2.2.1 self include VXCMD_Macho_MC, Rigth? I see it in the path Rev/components/global environment/database drivers/MacOS X Isn't this enough ? You say that I must move VXCMD from that location up into Rev app folder? > If you want to try the OS 9 version, you need to use > the VXCMD_Classic, not Carbon. And you'll have to add > the CODE resource to the resource fork of the stack > file. But my testing was successful when running in > OS 9. Yes, I know that Carbon version is dropped by Revolution. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Fri Aug 27 21:26:28 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Aug 27 13:31:40 2004 Subject: Is ExportAscii functioning in VServer References: <20040827171259.17606.qmail@web21125.mail.yahoo.com> Message-ID: <003001c48c63$5f4588e0$3b04a8c0@giv> Hi X, Yes, they both are functioning. But note, that paths passed to these function are paths on the server computer and so they must be specified in server's computer format. Also these paths are relative to the directory that was specified in the [SystemCatalog] .ini-variable. -- 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 xyzabc1010 at yahoo.com Fri Aug 27 11:43:54 2004 From: xyzabc1010 at yahoo.com (X Y) Date: Fri Aug 27 13:44:00 2004 Subject: Is ExportAscii functioning in VServer In-Reply-To: <003001c48c63$5f4588e0$3b04a8c0@giv> Message-ID: <20040827184354.36512.qmail@web21125.mail.yahoo.com> So I need to give it a server path..which then outputs the ascii to the server computer --- Igor Gomon wrote: > Hi X, > > Yes, they both are functioning. > > But note, that paths passed to these function are > paths on the server > computer and so they must be specified in server's > computer format. > Also these paths are relative to the directory that > was specified in the > [SystemCatalog] .ini-variable. > > -- > Best regards, > Igor Gomon > ------------------------------------------------------------- > e-mail: giv@tlc.kherson.ua > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://listserv.macserve.net/mailman/listinfo/valentina > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From sunshine at public.kherson.ua Fri Aug 27 21:48:45 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 27 13:48:51 2004 Subject: Is ExportAscii functioning in VServer In-Reply-To: <20040827184354.36512.qmail@web21125.mail.yahoo.com> Message-ID: On 8/27/04 9:43 PM, "X Y" wrote: > So > I need to give it a server path..which then outputs > the ascii to the server computer Yes in the current alpha it works in this way. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From giv at tlc.kherson.ua Fri Aug 27 21:49:22 2004 From: giv at tlc.kherson.ua (Igor Gomon) Date: Fri Aug 27 13:49:28 2004 Subject: Is ExportAscii functioning in VServer References: <20040827184354.36512.qmail@web21125.mail.yahoo.com> Message-ID: <004b01c48c66$92685380$3b04a8c0@giv> > So > I need to give it a server path..which then outputs > the ascii to the server computer Yes. -- Best regards, Igor Gomon ------------------------------------------------------------- e-mail: giv@tlc.kherson.ua web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://listserv.macserve.net/mailman/listinfo/valentina From cm_sheffield at yahoo.com Fri Aug 27 12:50:49 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Fri Aug 27 14:50:52 2004 Subject: VXCMD client and Database_Dump In-Reply-To: Message-ID: <20040827195049.52732.qmail@web52406.mail.yahoo.com> You can leave it in that folder, but you'd have to change the externals property of the stack to point to the bundle in that location. I find it's easier just to place the bundle in the root of the Revolution folder, then I can just set the externals of my stacks to "VXCMD_Macho_MC" and the Revolution engine will find it automatically. Plus there's the advantage that when I build my application, I just need to make sure the VXCMD bundle is right next to my application. I don't have to worry about the path to the bundle changing. Plus, I'm not sure that the version of the bundle that ships with Revolution is the latest. Does that make sense? :-) --- Ruslan Zasukhin wrote: > On 8/27/04 8:19 PM, "Chris Sheffield" > wrote: > > > Yes, download the OS X version. That's the one > that's > > not working with the LoadDump. Just make sure you > > place the VXCMD_Macho_MC bundle inside the > Revolution > > program folder. YOu should be good to go after > that. > > Hmm, > > But Rev MacOS 2.2.1 self include VXCMD_Macho_MC, > Rigth? > > I see it in the path > > Rev/components/global environment/database > drivers/MacOS X > > > Isn't this enough ? > > You say that I must move VXCMD from that location up > into Rev app folder? > > > > If you want to try the OS 9 version, you need to > use > > the VXCMD_Classic, not Carbon. And you'll have to > add > > the CODE resource to the resource fork of the > stack > > file. But my testing was successful when running > in > > OS 9. > > Yes, I know that Carbon version is dropped by > Revolution. > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > ===== Chris Sheffield Read Naturally www.readnaturally.com _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush From sunshine at public.kherson.ua Fri Aug 27 22:57:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 27 14:57:31 2004 Subject: VXCMD client and Database_Dump In-Reply-To: <20040827195049.52732.qmail@web52406.mail.yahoo.com> Message-ID: On 8/27/04 10:50 PM, "Chris Sheffield" wrote: > You can leave it in that folder, but you'd have to > change the externals property of the stack to point to > the bundle in that location. I find it's easier just > to place the bundle in the root of the Revolution > folder, then I can just set the externals of my stacks > to "VXCMD_Macho_MC" and the Revolution engine will > find it automatically. Plus there's the advantage > that when I build my application, I just need to make > sure the VXCMD bundle is right next to my application. > I don't have to worry about the path to the bundle > changing. Plus, I'm not sure that the version of the > bundle that ships with Revolution is the latest. > > Does that make sense? :-) A lots of sense. You have answer a lots of my questions! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gunnarswan at PracticeToPass.com Fri Aug 27 14:39:12 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Fri Aug 27 16:38:31 2004 Subject: How to create ListBox/Datagrid in Director? Crossplatform? Message-ID: <20040827213825.CDE8B1FCBE3@edison.macserve.net> Very poor pickings in these areas for Director developers. I've tried using Active X controls in Director, but the effort and reliability was not on par. There is one company in El Cajon - La Mesa (20 km from me), that advertises these things, But he does not return calls or emails, wants CASH payment in advance. Only a PO Box. I don't give people cash unless I know how to get to them and shake out of their pockets, either my cash back or the product. We ended up rolling our own list box. If Macromedia would make the LDM (Linked Director Movie) reliable, then developing List-combo-datagrids would be more effective. Too bad. Gunnar 8/27/04 10:10:01 AM, Ruslan Zasukhin wrote: >Hi all, > >Does anybody know any good/easy/nice way to create in director control which >is similar to > > REALbasic's ListBox > Visual BASIC datagrid > MacOS X list view > ... > > >Yes I know about cXtra. It is great. >But it works only on Windows. > >We need for our V4MD example effective and simple way display database >table. > >How Director community live without such simple tool? > > >-- >Best regards, >Ruslan Zasukhin [ I feel the need...the need for speed ] >------------------------------------------------------------- >e-mail: ruslan@paradigmasoft.com >web: http://www.paradigmasoft.com > >To subscribe to the Valentina mail list go to: >http://lists.macserve.net/mailman/listinfo/valentina >------------------------------------------------------------- > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina > > Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From sunshine at public.kherson.ua Sat Aug 28 01:26:59 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 27 17:27:05 2004 Subject: VXCMD client and Database_Dump In-Reply-To: <20040827195049.52732.qmail@web52406.mail.yahoo.com> Message-ID: On 8/27/04 10:50 PM, "Chris Sheffield" wrote: > You can leave it in that folder, but you'd have to > change the externals property of the stack to point to > the bundle in that location. I find it's easier just > to place the bundle in the root of the Revolution > folder, then I can just set the externals of my stacks > to "VXCMD_Macho_MC" and the Revolution engine will > find it automatically. Plus there's the advantage > that when I build my application, I just need to make > sure the VXCMD bundle is right next to my application. > I don't have to worry about the path to the bundle > changing. Plus, I'm not sure that the version of the > bundle that ships with Revolution is the latest. > > Does that make sense? :-) Strange, but I still get error executing at 1:21:53 AM Type Function: error in function handler Object Go Line get Valentina("Init", 3*1024*1024) Hint Valentina --------------------- * I have drop VXCMD_Macho_MC 1.10 into Rev folder. * open your stack. * go to 'external references' and choose it /Volumes/Big HD/Applications (Mac OS 9)/Developer applications/Revolution 2.2.1/VXCMD_Macho_MC * run stack, press button, above error. Great. I cannot run VXCMD in Revolution! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Aug 28 01:28:48 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 27 17:28:53 2004 Subject: VXCMD client and Database_Dump In-Reply-To: Message-ID: On 8/28/04 1:26 AM, "Ruslan Zasukhin" wrote: >> You can leave it in that folder, but you'd have to >> change the externals property of the stack to point to >> the bundle in that location. I find it's easier just >> to place the bundle in the root of the Revolution >> folder, then I can just set the externals of my stacks >> to "VXCMD_Macho_MC" and the Revolution engine will >> find it automatically. Plus there's the advantage >> that when I build my application, I just need to make >> sure the VXCMD bundle is right next to my application. >> I don't have to worry about the path to the bundle >> changing. Plus, I'm not sure that the version of the >> bundle that ships with Revolution is the latest. >> >> Does that make sense? :-) > > Strange, but I still get error > > > executing at 1:21:53 AM > Type Function: error in function handler > Object Go > Line get Valentina("Init", 3*1024*1024) > Hint Valentina > > > --------------------- > * I have drop VXCMD_Macho_MC 1.10 into Rev folder. > > * open your stack. > > * go to 'external references' and choose it > > /Volumes/Big HD/Applications (Mac OS 9)/Developer > applications/Revolution 2.2.1/VXCMD_Macho_MC > > > * run stack, press button, above error. I wonder, if Revolution show somehow found plugins. How we can know that stack have found external on run ? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From cm_sheffield at yahoo.com Fri Aug 27 15:41:10 2004 From: cm_sheffield at yahoo.com (Chris Sheffield) Date: Fri Aug 27 17:41:15 2004 Subject: VXCMD client and Database_Dump In-Reply-To: Message-ID: <20040827224110.85271.qmail@web52410.mail.yahoo.com> Try this: 1. Open the stack in Revolution. You'll probably get the error you mentioned. 2. Click the Message Box button in the toolbar to open the message box. 3. In the message box, type: set the externals of this stack to "VXCMD_Macho_MC" 4. Save the stack and close Revolution. 5. Re-open Revolution and the stack. You shouldn't get an error at that point (hopefully). You can check the externalCommands, externalFunctions, and externalPackages properties to make sure Valentina is loaded properly. Just type: "put the externalFunctions" in the message box. --- Ruslan Zasukhin wrote: > On 8/28/04 1:26 AM, "Ruslan Zasukhin" > wrote: > > >> You can leave it in that folder, but you'd have > to > >> change the externals property of the stack to > point to > >> the bundle in that location. I find it's easier > just > >> to place the bundle in the root of the Revolution > >> folder, then I can just set the externals of my > stacks > >> to "VXCMD_Macho_MC" and the Revolution engine > will > >> find it automatically. Plus there's the > advantage > >> that when I build my application, I just need to > make > >> sure the VXCMD bundle is right next to my > application. > >> I don't have to worry about the path to the > bundle > >> changing. Plus, I'm not sure that the version of > the > >> bundle that ships with Revolution is the latest. > >> > >> Does that make sense? :-) > > > > Strange, but I still get error > > > > > > executing at 1:21:53 AM > > Type Function: error in function handler > > Object Go > > Line get Valentina("Init", 3*1024*1024) > > Hint Valentina > > > > > > --------------------- > > * I have drop VXCMD_Macho_MC 1.10 into Rev folder. > > > > * open your stack. > > > > * go to 'external references' and choose it > > > > /Volumes/Big HD/Applications (Mac OS > 9)/Developer > > applications/Revolution 2.2.1/VXCMD_Macho_MC > > > > > > * run stack, press button, above error. > > I wonder, if Revolution show somehow found plugins. > > How we can know that stack have found external on > run ? > > > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need > for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list go to: > http://lists.macserve.net/mailman/listinfo/valentina > ------------------------------------------------------------- > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > ===== Chris Sheffield Read Naturally www.readnaturally.com _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush From sunshine at public.kherson.ua Sat Aug 28 01:36:25 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Aug 27 17:41:41 2004 Subject: RUN IT! // VXCMD client and Database_Dump In-Reply-To: Message-ID: On 8/28/04 1:28 AM, "Ruslan Zasukhin" wrote: I have again extract your project from your letter,. Chris. And it works now (when I have drop VXCMD_Macho_MC into Rev folder.) I see that in YOUR project external references contain simply VXCMD_Macho_MC But not the whole path. How you was able enter/type here just this ? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ When I choose bundle I get full path. And it not works with this full path! May be I need full path inside of bundle? >> /Volumes/Big HD/Applications (Mac OS 9)/Developer >> applications/Revolution 2.2.1/VXCMD_Macho_MC -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From zavpublic at mac.com Fri Aug 27 19:21:16 2004 From: zavpublic at mac.com (Zav - Alex Zavatone) Date: Fri Aug 27 21:21:26 2004 Subject: How to create ListBox/Datagrid in Director? Crossplatform? In-Reply-To: <20040827213825.CDE8B1FCBE3@edison.macserve.net> References: <20040827213825.CDE8B1FCBE3@edison.macserve.net> Message-ID: On Aug 27, 2004, at 2:39 PM, Gunnar Swan wrote: > > Very poor pickings in these areas for Director developers. > I've tried using Active X controls in Director, but the effort and > reliability was not on par. > > There is one company in El Cajon - La Mesa (20 km from me), that > advertises these things, > But he does not return calls or emails, wants CASH payment in advance. > Only a PO Box. > > I don't give people cash unless I know how to get to them and shake > out of their pockets, either my cash back or the product. > > We ended up rolling our own list box. > > If Macromedia would make the LDM (Linked Director Movie) reliable, > then developing List-combo-datagrids would be more effective. Alex LeLivre was going to do them 2 Director's ago but for some reason he bailed. Heard all kinds of nasty rumors. The goal is to "throw a switch" and make a miaw a linked member but that didn't happen. > > Best Regards, > Gunnar Swan > Practice To Pass > 1.888.307.2050 > http://www.PracticeToPass.Com > I practice to catch. This way, we avoid nasty competition. - Zav In Hell. please call back later. From gunnarswan at PracticeToPass.com Fri Aug 27 19:38:58 2004 From: gunnarswan at PracticeToPass.com (Gunnar Swan) Date: Fri Aug 27 21:38:33 2004 Subject: How to create ListBox/Datagrid in Director? Crossplatform? Message-ID: <20040828023827.902B61FCF99@edison.macserve.net> Well actually, Alex Zavatone has great stuff, and really took LDM's quite ... quite far. If you did it his way, they were reliable. We ALMOST deployed them into production. We spent THOUSANDS in labor working the List-Dropdown-Grid issue with Director. I REALLY .... R E A L L Y .... wish that Director supported LDM's better. Because of simple things like DropDown - List - Grid ... we're SERIOUSLY thinking of using an other tool as outside wrapper that will encase simpler Director movies. The business model and customer desires are driving us out of Director. Too sad, too bad. 8/27/04 7:21:16 PM, Zav - Alex Zavatone wrote: > >On Aug 27, 2004, at 2:39 PM, Gunnar Swan wrote: > >> >> Very poor pickings in these areas for Director developers. >> I've tried using Active X controls in Director, but the effort and >> reliability was not on par. >> >> There is one company in El Cajon - La Mesa (20 km from me), that >> advertises these things, >> But he does not return calls or emails, wants CASH payment in advance. >> Only a PO Box. >> >> I don't give people cash unless I know how to get to them and shake >> out of their pockets, either my cash back or the product. >> >> We ended up rolling our own list box. >> >> If Macromedia would make the LDM (Linked Director Movie) reliable, >> then developing List-combo-datagrids would be more effective. > >Alex LeLivre was going to do them 2 Director's ago but for some reason >he bailed. Heard all kinds of nasty rumors. > >The goal is to "throw a switch" and make a miaw a linked member but >that didn't happen. > >> >> Best Regards, >> Gunnar Swan >> Practice To Pass >> 1.888.307.2050 >> http://www.PracticeToPass.Com >> > >I practice to catch. This way, we avoid nasty competition. > >- Zav >In Hell. please call back later. > >_______________________________________________ >Valentina mailing list >Valentina@lists.macserve.net >http://lists.macserve.net/mailman/listinfo/valentina > > Best Regards, Gunnar Swan Practice To Pass 1.888.307.2050 http://www.PracticeToPass.Com From zavpublic at mac.com Fri Aug 27 19:44:53 2004 From: zavpublic at mac.com (Zav - Alex Zavatone) Date: Fri Aug 27 21:45:01 2004 Subject: How to create ListBox/Datagrid in Director? Crossplatform? In-Reply-To: <20040828023827.902B61FCF99@edison.macserve.net> References: <20040828023827.902B61FCF99@edison.macserve.net> Message-ID: <3D766F0C-F89C-11D8-8001-000393CFECE6@mac.com> On Aug 27, 2004, at 7:38 PM, Gunnar Swan wrote: > > Well actually, Alex Zavatone has great stuff, and really took LDM's > quite ... quite far. > If you did it his way, they were reliable. He sucks. I wouldn't trust him with my grandmother. Zavatone. What is that anyway? A poor man's Tuba? - Zav In Hell. please call back later. From sunshine at public.kherson.ua Sat Aug 28 09:01:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 28 01:01:45 2004 Subject: How to create ListBox/Datagrid in Director? Crossplatform? In-Reply-To: <20040828023827.902B61FCF99@edison.macserve.net> Message-ID: On 8/28/04 5:38 AM, "Gunnar Swan" wrote: > > Well actually, Alex Zavatone has great stuff, and really took LDM's quite ... > quite far. > If you did it his way, they were reliable. > > We ALMOST deployed them into production. We spent THOUSANDS in labor working > the List-Dropdown-Grid issue with Director. > > I REALLY .... R E A L L Y .... > > wish that Director supported LDM's better. > > Because of simple things like DropDown - List - Grid ... we're SERIOUSLY > thinking of using an other tool as outside wrapper that will encase simpler > Director movies. > The business model and customer desires are driving us out of Director. > Too sad, too bad. I do not understand why nobody have develop such Xtra?! Is it not possible or so hard? If OS Control Xtra exists then I think it must be possible. Maurico could do that I think. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Aug 28 13:32:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 28 05:37:07 2004 Subject: VXCMD client and Database_Dump In-Reply-To: <20040827224110.85271.qmail@web52410.mail.yahoo.com> Message-ID: On 8/28/04 1:41 AM, "Chris Sheffield" wrote: Hi Chris, First of all. I have reproduce problem. Secret is not in paths. Problem is in XML parser itself. In my macho build. It complain on encoding. I cannot understand why. So it will take time to fix this. > Try this: > > 1. Open the stack in Revolution. You'll probably get > the error you mentioned. > 2. Click the Message Box button in the toolbar to > open the message box. > 3. In the message box, type: set the externals of > this stack to "VXCMD_Macho_MC" > 4. Save the stack and close Revolution. > 5. Re-open Revolution and the stack. You shouldn't > get an error at that point (hopefully). > > You can check the externalCommands, externalFunctions, > and externalPackages properties to make sure Valentina > is loaded properly. > > Just type: "put the externalFunctions" in the message > box. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From zavpublic at mac.com Sat Aug 28 08:13:23 2004 From: zavpublic at mac.com (Zav - Alex Zavatone) Date: Sat Aug 28 10:13:33 2004 Subject: How to create ListBox/Datagrid in Director? Crossplatform? In-Reply-To: References: Message-ID: On Aug 27, 2004, at 11:01 PM, Ruslan Zasukhin wrote: > On 8/28/04 5:38 AM, "Gunnar Swan" > wrote: > >> >> Well actually, Alex Zavatone has great stuff, and really took LDM's >> quite ... >> quite far. >> If you did it his way, they were reliable. >> >> We ALMOST deployed them into production. We spent THOUSANDS in labor >> working >> the List-Dropdown-Grid issue with Director. >> >> I REALLY .... R E A L L Y .... >> >> wish that Director supported LDM's better. >> >> Because of simple things like DropDown - List - Grid ... we're >> SERIOUSLY >> thinking of using an other tool as outside wrapper that will encase >> simpler >> Director movies. >> The business model and customer desires are driving us out of >> Director. >> Too sad, too bad. > > I do not understand why nobody have develop such Xtra?! We talked about it in the dir 5 days or early dir 6 days. I think back at MM, Shepherd and Norm M, were looking in to it but it would cut into the development of other features (or someother reason) and it dropped out. If we could get TRUE encapsulatable movies then many of us could do it. FYI, Alex's stuff is just lovely to look at. - Zav Changing my sig daily under penalty of law. From zavpublic at mac.com Sat Aug 28 08:14:43 2004 From: zavpublic at mac.com (Zav - Alex Zavatone) Date: Sat Aug 28 10:14:50 2004 Subject: VXCMD client and Database_Dump In-Reply-To: References: Message-ID: On Aug 28, 2004, at 3:32 AM, Ruslan Zasukhin wrote: > On 8/28/04 1:41 AM, "Chris Sheffield" wrote: > > Hi Chris, > > First of all. > > I have reproduce problem. Your children are being too loud? Try duct tape and staples. - Zav Changing my sig daily under penalty of law. From sunshine at public.kherson.ua Sat Aug 28 18:37:22 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 28 10:37:30 2004 Subject: VXCMD client and Database_Dump In-Reply-To: Message-ID: On 8/28/04 6:14 PM, "Zav - Alex Zavatone" wrote: > > On Aug 28, 2004, at 3:32 AM, Ruslan Zasukhin wrote: > >> On 8/28/04 1:41 AM, "Chris Sheffield" wrote: >> >> Hi Chris, >> >> First of all. >> >> I have reproduce problem. > > Your children are being too loud? Try duct tape and staples. What you mean, Zav? -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From zavpublic at mac.com Sat Aug 28 08:49:26 2004 From: zavpublic at mac.com (Zav - Alex Zavatone) Date: Sat Aug 28 10:49:37 2004 Subject: VXCMD client and Database_Dump In-Reply-To: References: Message-ID: On Aug 28, 2004, at 8:37 AM, Ruslan Zasukhin wrote: > On 8/28/04 6:14 PM, "Zav - Alex Zavatone" wrote: > >> >> On Aug 28, 2004, at 3:32 AM, Ruslan Zasukhin wrote: >> >>> On 8/28/04 1:41 AM, "Chris Sheffield" wrote: >>> >>> Hi Chris, >>> >>> First of all. >>> >>> I have reproduce problem. >> >> Your children are being too loud? Try duct tape and staples. > > What you mean, Zav? :D In English, "I have reproduce problem." Isn't exactly clear. If you "reproduce" that means "you have children". So if you have a problem with your children, that is probably because they are running around screaming while you are trying to work. At least, when I was a child, that is what I did. And if children ARE being too loud, you can put duct tape over they yapper (mouth) and staple it in place. Works wonders. At least that's what I'd do and because of that fact, it is illegal in the United States for me to have offspring. I think your original line should have been: I have reproduced the problem. Reproduce is present tense. Reproduced, means it happened in the past. That could mean 5 seconds, minutes or hours ago. Articles like "the" or "a" are generally used before nouns that are not a proper name. In fact nobody who speaks English actually knows why or when to use them, we just do. You would not say "the Ruslan" or "a Ruslan" but you would say "the car", "a car" or "the really hot chick over there is looking at you and making silly faces." Sorry man, it's early in California and I have had one hell of a week. - Zav Under pressure. - D. Bowie From sunshine at public.kherson.ua Sat Aug 28 18:53:43 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 28 10:54:24 2004 Subject: VXCMD client and Database_Dump In-Reply-To: Message-ID: On 8/28/04 6:49 PM, "Zav - Alex Zavatone" wrote: > In English, "I have reproduce problem." Isn't exactly clear. If you > "reproduce" that means "you have children". So if you have a problem > with your children, that is probably because they are running around > screaming while you are trying to work. At least, when I was a child, > that is what I did. > And if children ARE being too loud, you can put duct tape over they > yapper (mouth) and staple it in place. Works wonders. > > At least that's what I'd do and because of that fact, it is illegal in > the United States for me to have offspring. > > I think your original line should have been: > > I have reproduced the problem. Aha, I see. I think I will never study these rules ;-) > Reproduce is present tense. Reproduced, means it happened in the past. > That could mean 5 seconds, minutes or hours ago. > > Articles like "the" or "a" are generally used before nouns that are not > a proper name. In fact nobody who speaks English actually knows why or > when to use them, we just do. > > You would not say "the Ruslan" or "a Ruslan" but you would say "the > car", "a car" or "the really hot chick over there is looking at you and > making silly faces." > > Sorry man, it's early in California and I have had one hell of a week. So have a good weekend! -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From sunshine at public.kherson.ua Sat Aug 28 20:25:14 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 28 12:25:20 2004 Subject: FIXED: VXCMD client and Database_Dump In-Reply-To: <20040827224110.85271.qmail@web52410.mail.yahoo.com> Message-ID: On 8/28/04 1:41 AM, "Chris Sheffield" wrote: Hi Chris, I have fix it! What a nasty was bug! rare beast!! I have 10 hours have hunt for it. I have not see such miracles far far ago. :-) Bug was in any and each product which is MACHO and built with CW. I think this is VXCMD_Macho and Vserver (it is also macho). So we will need produce new builds of this products to fix this bug. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From rjb at rz.uni-potsdam.de Sat Aug 28 20:02:28 2004 From: rjb at rz.uni-potsdam.de (Robert Brenstein) Date: Sat Aug 28 13:21:09 2004 Subject: FIXED: VXCMD client and Database_Dump In-Reply-To: References: Message-ID: >On 8/28/04 1:41 AM, "Chris Sheffield" wrote: > >Hi Chris, > >I have fix it! > >What a nasty was bug! rare beast!! >I have 10 hours have hunt for it. >I have not see such miracles far far ago. :-) > > >Bug was in any and each product which is MACHO and built with CW. >I think this is VXCMD_Macho and Vserver (it is also macho). > >So we will need produce new builds of this products to fix this bug. > Great. Hopefully, this will also be included into the forthcoming 1.x release. Or only versions 2.0 are affected? Robert From sunshine at public.kherson.ua Sat Aug 28 22:42:20 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Aug 28 14:45:16 2004 Subject: FIXED: VXCMD client and Database_Dump In-Reply-To: Message-ID: On 8/28/04 9:02 PM, "Robert Brenstein" wrote: >> On 8/28/04 1:41 AM, "Chris Sheffield" wrote: >> >> Hi Chris, >> >> I have fix it! >> >> What a nasty was bug! rare beast!! >> I have 10 hours have hunt for it. >> I have not see such miracles far far ago. :-) >> >> >> Bug was in any and each product which is MACHO and built with CW. >> I think this is VXCMD_Macho and Vserver (it is also macho). >> >> So we will need produce new builds of this products to fix this bug. >> > > Great. Hopefully, this will also be included into the forthcoming 1.x > release. Or only versions 2.0 are affected? I talk about 1.x, Robert. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From wonderfef at noos.fr Mon Aug 30 13:07:49 2004 From: wonderfef at noos.fr (Eric Ferrer) Date: Mon Aug 30 06:07:59 2004 Subject: VDB file: good segment size ? Message-ID: Hello all, When creating a new vdb file, how can I set a good segment size? And, thus, what is the use of the segment size? Thanks all in advance for your answer. Eric From sunshine at public.kherson.ua Mon Aug 30 15:21:36 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 30 07:22:42 2004 Subject: VDB file: good segment size ? In-Reply-To: Message-ID: On 8/30/04 2:07 PM, "Eric Ferrer" wrote: Hi Eric, > When creating a new vdb file, how can I set a good segment size? On default It is 32KB. There was point on this list that 8Kb is good. > And, thus, what is the use of the segment size? Pre-allocation of space on disk. So it is e.g. less fragmented -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin.kloss at gmx.de Mon Aug 30 14:36:23 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Mon Aug 30 07:36:34 2004 Subject: How to create ListBox/Datagrid in Director? Crossplatform? In-Reply-To: References: Message-ID: <6.1.2.0.2.20040830142851.0b54dee8@pop.gmx.de> At 19:10 27.08.2004, you wrote: >Does anybody know any good/easy/nice way to create in director control Hi Ruslan, sorry for the late response, I was out of town for a couple days. As some other developers noted, there is no cross-platform Xtra that can do this. Most developers roll their own, either using simple HTML tables or Imaging Lingo for the display. There is a very nice Table-Builder Widget that Alex da Franca built, using Imaging Lingo: http://www.farbflash.de/ILtable/index.html it can even display images. I have another widget / behavior that works in a similar fashion and also uses Imaging Lingo, if you're interested I'll dig it up and see if I can clean it up a little so it's easier for people to use. Martin. Martin Kloss Need music? http://www.selling-sound.com Like the author? Buy the book at: http://www.amazon.de/exec/obidos/ASIN/3898422194/lingmmugd Get your daily dose of Lingo at the LingoPark: http://www.lingopark.de From sunshine at public.kherson.ua Mon Aug 30 16:24:08 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Aug 30 08:27:58 2004 Subject: How to create ListBox/Datagrid in Director? Crossplatform? In-Reply-To: <6.1.2.0.2.20040830142851.0b54dee8@pop.gmx.de> Message-ID: On 8/30/04 3:36 PM, "Martin Kloss" wrote: > At 19:10 27.08.2004, you wrote: >> Does anybody know any good/easy/nice way to create in director control > > Hi Ruslan, > > sorry for the late response, I was out of town for a couple days. > As some other developers noted, there is no cross-platform Xtra > that can do this. Most developers roll their own, either using simple > HTML tables or Imaging Lingo for the display. There is a very nice > Table-Builder Widget that Alex da Franca built, using Imaging Lingo: > > http://www.farbflash.de/ILtable/index.html > > it can even display images. I have another widget / behavior that > works in a similar fashion and also uses Imaging Lingo, if you're > interested I'll dig it up and see if I can clean it up a little so it's > easier for people to use. Martin, I think such work will be in any case great help to Driector community. What we need is something that can display simplest tables in few records only (5-20) and few fields. We need this for V4MD 2.0 examples. -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From martin.kloss at gmx.de Mon Aug 30 15:34:30 2004 From: martin.kloss at gmx.de (Martin Kloss) Date: Mon Aug 30 08:34:37 2004 Subject: How to create ListBox/Datagrid in Director? Crossplatform? In-Reply-To: References: <6.1.2.0.2.20040830142851.0b54dee8@pop.gmx.de> Message-ID: <6.1.2.0.2.20040830153340.0b5943a8@pop.gmx.de> At 15:24 30.08.2004, you wrote: >Martin, I think such work will be in any case great help to Driector >community. ok, let me see what I can come up with tonight :-) Martin. Martin Kloss Need music? http://www.selling-sound.com Like the author? Buy the book at: http://www.amazon.de/exec/obidos/ASIN/3898422194/lingmmugd Get your daily dose of Lingo at the LingoPark: http://www.lingopark.de From barney at custombased.com Tue Aug 31 14:55:43 2004 From: barney at custombased.com (Barney) Date: Mon Aug 30 21:58:13 2004 Subject: Know if a records locked Message-ID: Hello, Is there any way while debugging in RB IDE using V4RB that we can tell if records are locked. If we call records using a cursor can we somehow find out if the records we're calling are still locked somewhere else ? Thanks Barney From sunshine at public.kherson.ua Tue Aug 31 09:22:37 2004 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Aug 31 01:50:09 2004 Subject: Know if a records locked In-Reply-To: Message-ID: On 8/31/04 5:55 AM, "Barney" wrote: Hi Barney, > Is there any way while debugging in RB IDE using V4RB that we can tell > if records are locked. > If we call records using a cursor can we somehow find out if the records > we're calling are still locked somewhere else ? Just if you try SELECT at least one record which is locked in conflict mode, Then cursor will not be created at all and you get error 363 -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com To subscribe to the Valentina mail list go to: http://lists.macserve.net/mailman/listinfo/valentina ------------------------------------------------------------- From gregkowalski at earthlink.net Tue Aug 31 18:39:10 2004 From: gregkowalski at earthlink.net (Gregory Kowalski) Date: Tue Aug 31 17:38:54 2004 Subject: How to create ListBox/Datagrid in Director? In-Reply-To: <20040831213216.0F3B7201BE8@edison.macserve.net> References: <20040831213216.0F3B7201BE8@edison.macserve.net> Message-ID: <93B8DD92-FB9E-11D8-BAAC-000393DAB46A@earthlink.net> On Aug 31, 2004, at 5:32 PM, valentina-request@lists.macserve.net wrote: >> Does anybody know any good/easy/nice way to create in director control > > Hi Ruslan, > > sorry for the late response, I was out of town for a couple days. > As some other developers noted, there is no cross-platform Xtra > that can do this. Most developers roll their own, either using simple > HTML tables or Imaging Lingo for the display. There is a very nice > Table-Builder Widget that Alex da Franca built, using Imaging Lingo: > > http://www.farbflash.de/ILtable/index.html > > it can even display images. I have another widget / behavior that > works in a similar fashion and also uses Imaging Lingo, if you're > interested I'll dig it up and see if I can clean it up a little so it's > easier for people to use. > > Martin. > If you are looking to display data in a table you can use the Table Xtra by Electronic Ink. I tested it to display query results in a table and it works quite well. It is also cross-platform. http://www.printomatic.com/ Greg From srunkel at hypix.com Tue Aug 31 23:33:37 2004 From: srunkel at hypix.com (Scott Runkel) Date: Wed Sep 1 01:33:44 2004 Subject: Timeout on Mac References: Message-ID: <04ac01c48fed$9ce8cc60$0200a8c0@SCOTT3> Hi, This is probably an easy one. I'm porting a Director/Valentina project from Windows to Mac. I have a full serial number for each platform. I have no problems on Windows, but on Mac I still get the 10-minute error 666 timeout, both in Authoring and Projector. I've double-checked the serial numbers, and they are in the right order. My startup code is: ValentinaInit( 10 * 1024 * 1024, "Vxxx-xxxx-xxxx-xxxx", "Vxxx-xxxx-xxxx-xxxx") pDB = new(xtra"VDataBase") openDatabase (pDB, the moviePath & "sesap12.vdb") This is OS X, Director MX, Valentina 1.10 (V4MD_Carbon.Xtr). Thanks. -SR Scott Runkel Director of Technology Hypix Media, Inc. 503-722-2123 From zavpublic at mac.com Tue Aug 31 23:48:45 2004 From: zavpublic at mac.com (Zav - Alex Zavatone) Date: Wed Sep 1 01:48:55 2004 Subject: Timeout on Mac In-Reply-To: <04ac01c48fed$9ce8cc60$0200a8c0@SCOTT3> References: <04ac01c48fed$9ce8cc60$0200a8c0@SCOTT3> Message-ID: On Aug 31, 2004, at 11:33 PM, Scott Runkel wrote: > Hi, > > This is probably an easy one. I'm porting a Director/Valentina project > from > Windows to Mac. I have a full serial number for each platform. I have > no > problems on Windows, but on Mac I still get the 10-minute error 666 > timeout, > both in Authoring and Projector. I've double-checked the serial > numbers, and > they are in the right order. It appears that the Devil's in the details. 666. The error number of the beast. - Zav Delicious! http://www.krohm.net/bernd.htm