Re: [DUG]: Destroying Objects

2001-07-18 Thread Neven MacEwan
Ross I'm glad that my first impresion was correct - I was going to leap in an give you the std answer ie NO especially when the object has no owner but then i read your question more carefully 'application exits in the normal way' then the feeing of memory is in the control of the OS so the

Re: [DUG]: Destroying Objects

2001-07-18 Thread Neven MacEwan
Suppose the answer is You can do it yourself or rely on Microsoft - you choose Neven - Original Message - From: Andreas Toth [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Thursday, 19 July 2001 17:16 Subject: RE: [DUG]: Destroying Objects The

LRe: [DUG]: Single MASSIVE table. Recommendations?

2001-07-16 Thread Neven MacEwan
Phil As stated elsewhere the data would be immediately available via a Union Query, though i'd be wary of using a union view ie create view AllData as select * from MainTable union select * from TempTable as I think your queries would thow a hissy fit!, As I would predict that selection

Re: [DUG]: Single MASSIVE table. Recommendations?

2001-07-15 Thread Neven MacEwan
Phil Have you considered bulk loading the new data into a temp table and then merging it into the main database - overall the load would be slower (indices being updated constantly) but the database would be continually available (you could use a server side process to merge) Neven -

Re: [DUG]: Delphi Kylix compatibility

2001-07-14 Thread Neven MacEwan
Ross To be portable from D6 to Kylix you'd have to use the clx component set - ie things like ttreeview and tdatetimepicker at this point don't exist! There seems to be a dirth of 3rd party clx components at this point - try polling the vendors I'd be surprised if someone doesn't fill the void

Re: [DUG]: Copying Files

2001-07-05 Thread Neven MacEwan
[EMAIL PROTECTED] Sent: Thursday, 5 July 2001 23:20 Subject: Re: [DUG]: Copying Files Off-Topic I know, but how much data, and how long did it take? --On Thursday, July 05, 2001 22:41:41 +1200 Neven MacEwan [EMAIL PROTECTED] wrote: arrived, so we set up rsnch to backup their system over

Re: RE: [DUG]: Zero-footprint database drivers

2001-06-27 Thread Neven MacEwan
Corey Had to smile at the IB suggestion, It sings! It dances! its Interbasee!!! Seriously tho FootprintSmall ne Zero/Footprint: kbmMemtable would be my suggestion too, best thing is the support that Kim Bo gives (the man has endless patience) Neven PS has anyone suggested we should

Re: [DUG]: Zero-Footprint Databases - Initial Decision Made DBISAM looks good

2001-06-27 Thread Neven MacEwan
Aaron Just a note on the kbmMemTable list they did a comp of DBISAM and kbmMemTable the outcome was that DBISAM had a much higher instance memory usage (something to watch for if you are doing a large number of tables) Neven - Original Message - From: Delphi [EMAIL PROTECTED] To:

Re: [DUG]: Blockwrite strings

2001-06-24 Thread Neven MacEwan
Ross Welcome to the Wonderful World of Delphi (and DUG) Re Previously using Dataflex for DOS (for the last 13 years) which is similar to Pascal. In what way? As a Dataflex programmer (of 15 years experiance) I can cartegorically state that the Dataflex Macro Assembler is only like Pascal

Re: [DUG]: Blockwrite strings

2001-06-24 Thread Neven MacEwan
: [DUG]: Blockwrite strings Neven MacEwan wrote: Previously using Dataflex for DOS (for the last 13 years) which is similar to Pascal. In what way? As a Dataflex programmer (of 15 years experiance) I can cartegorically state that the Dataflex Macro Assembler is only like Pascal

Re: [DUG]: [DUG-DB]: SQL

2001-06-24 Thread Neven MacEwan
Jim Bit cumbersome but declare @result varchar(255) declare @sql varchar(255) select @sql='create proc temp_proc @@LName VARCHAR(255) OUTPUT as select @@LName = au_lname from authors where au_id=172-32-1176' exec(@SQL) exec temp_proc @result OUTPUT select @result drop proc temp_proc HTH Neven

Re: [DUG]: [DUB-DB] trigger with parameter

2001-06-21 Thread Neven MacEwan
Jim What is the 'parameter' you want to log in the audit table? some things like user_name() are available other that that you could a/ add a the paramerter as a column of the primary table b/ use a connection temporary table HTH Neven - Original Message - From: Jim Zheng [EMAIL

Re: [DUG]: [DUB-DB] trigger with parameter

2001-06-20 Thread Neven MacEwan
Jim As I understand it you are insertinging into one table and on that event want to unsert anther value in another table (in a log table with the user name in it for example) Unless the data you wish to put in the table is available ,either as a field in the primary table or as some system

Re: [DUG]: Use of TQuery's

2001-06-19 Thread Neven MacEwan
Mark Re your prposed methods 1. Just like a TTable, with a Select * from MyTable in the SQL property (at one extreme); Simple port (but doe nothong for your bandwidth problem) 2. As a purely open Query with nothing in either parameters or SQL, relying on code supplied by the app at

[DUG]: OFFTOPIC PC Tools

2001-06-17 Thread Neven MacEwan
Hi all Just a quick off topic message - does anyone khow of a free directory management tool for win32 (like disk manager under PC Tools) that dives a quick display of the space used in each Dir Regards Neven N.K. MacEwan B.E. EE Ph 649 574 0027 Fax 649 570 2706 [EMAIL PROTECTED] A truth

[DUG]: UML Tools

2001-06-12 Thread Neven MacEwan
OK Guys CodeRush V ModelMaker v [Other suggestions] What is the best UML tool for Delphi Regards Neven N.K. MacEwan B.E. EE Ph 649 574 0027 Fax 649 570 2706 [EMAIL PROTECTED] A truth denied the light of action will wither to a promise, propaganda and then a lie

Re: [DUG]: Interfaces

2001-06-12 Thread Neven MacEwan
Sandeep Simple Answer - HUGE Neven - Original Message - From: Sandeep [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Wednesday, 13 June 2001 10:27 Subject: [DUG]: Interfaces Is there any advantage of using interfaces? Sandeep Software Developer

Re: [DUG]: Interfaces

2001-06-12 Thread Neven MacEwan
recipients of list delphi [EMAIL PROTECTED] Sent: Wednesday, 13 June 2001 11:56 Subject: Re: [DUG]: Interfaces On 13 Jun 2001, at 10:46, Neven MacEwan wrote: Sandeep Simple Answer - HUGE I haven't used them yet. And if it is used for automatic garbage cleaning (I think I'm right here

Re: [DUG]: Interfaces

2001-06-12 Thread Neven MacEwan
Nic I design with them now - much easier, from my POV. They are used extensivly in Java as well, so its good practice if you are ever going to move. Also good practive if your not, A lot of the OO Technology is centred around the concept of interfaces (since I think multiple inheritance has

Re: RE: [DUG]: Interfaces

2001-06-12 Thread Neven MacEwan
Sandeep You can also delegate the inplemenation of an interface in delphi So in your case ClassC inherits from ClassA and implements InterfaceB (defined alongside ClassB) ClassC has a subject of Class B which it delegates its implementation of InterfaceB to ie TClassC - class(TClassA,

Re: [DUG]: [DUB-DB] trigger with parameter

2001-06-12 Thread Neven MacEwan
Jim A trigger is internal (fired by an event on the table) so what do you mean by pass a value to it? Neven - Original Message - From: Jim Zheng [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Wednesday, 13 June 2001 15:10 Subject: [DUG]: [DUB-DB]

Re: [DUG]: Tuning SQL

2001-06-10 Thread Neven MacEwan
Mark I understand that I can distribute Interbase for 6 simultaneous users from my existing D5 Pro license. I didn't think so..but i could be wrong, I would suggest MSDE here but the anti M$ crowd would prob shout me down (even if it is free) I will have no need to scale my app beyond this,

Re: Re: Re: [DUG]: Tuning SQL

2001-06-10 Thread Neven MacEwan
Firebird might be worth looking into if you don't want to shell out bucks on licensing, but I guess if you want to maintain future compatibility you'll have to pay for IB6. So why not PostgreSQL? Neven --- New

Re: Re: Re: [DUG]: Tuning SQL

2001-06-10 Thread Neven MacEwan
James Suspect it doesn't work on 95/98 systems? Wrong..CYGWIN works on Windows 95/98/NT (We have it on NT here) Neven -Original Message- From: Neven MacEwan [mailto:[EMAIL PROTECTED]] Sent: 11 June 2001 12:11 To: Multiple recipients of list delphi Subject: Re: Re: Re: [DUG

Re: Re: Re: [DUG]: Tuning SQL

2001-06-10 Thread Neven MacEwan
: [DUG]: Tuning SQL On 11 Jun 2001, at 12:10, Neven MacEwan wrote: Firebird might be worth looking into if you don't want to shell out bucks on licensing, but I guess if you want to maintain future compatibility you'll have to pay for IB6. So why not PostgreSQL? Interbase was placed

Re: Re: Re: [DUG]: Tuning SQL

2001-06-10 Thread Neven MacEwan
on the machine (ok, so Oracle doesn't either, but IB does :) ) N - Original Message - From: Neven MacEwan [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Monday, June 11, 2001 1:05 PM Subject: Re: Re: Re: [DUG]: Tuning SQL Sandeep Do you want

Re: Re: Re: [DUG]: Tuning SQL

2001-06-10 Thread Neven MacEwan
Nic ya sure? Especially on the first and last counts? Prob as sure as you are on IB. There has been a bit of barny recently re PostgreSQL WAL (write ahead logging) interferrring or being interferred with (performance wise) with the Linux jounalling file system so you could say it it overly

Re: Re: Re: [DUG]: Tuning SQL

2001-06-10 Thread Neven MacEwan
, at 13:05, Neven MacEwan wrote: Sandeep Do you want URL's where PostgreSQL outperforms Oracle? Anyway I thought we were comparing Open Source DB's U mean to say PostgreSQL is the best RDBMS around? Sandeep Software Developer CFL [EMAIL PROTECTED] http://www.cfl.co.nz

Re: Re: Re: [DUG]: Tuning SQL

2001-06-10 Thread Neven MacEwan
Nic What do you mean by got :-). Fair enough - what method does it employ for logging of transactions? the same type as MSSQL and Oracle or the versioning type one that IB uses (which means even really large DB's take seconds to come back up) I could be sarcastic and say what was it doing

Re: [DUG]: Tuning SQL

2001-06-09 Thread Neven MacEwan
packaged with D6 that would assist this exercise? I see there's MYSQL, which would make deployment of Demo copies of the software much more straightforward than having to use the BDE. - Original Message - From: Neven MacEwan [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL

Re: [DUG]: Tuning SQL

2001-06-08 Thread Neven MacEwan
Mark Paradox is an ISAM with a 'local' SQL like engine and you are really seeing how bandwidth intesive this type of DB is 600 secs to 27 (22 times) is not bad considering you are going from 10Mb to ? (it would indicate 256Kb) The problem is no matter how hard you tune it you are still pulling

Re: [DUG]: SQL Server 7

2001-06-08 Thread Neven MacEwan
Server 7 better? Different? I haven't really looked into this yet. Dave. - Original Message - From: Neven MacEwan [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, June 08, 2001 11:39 AM Subject: Re: [DUG]: SQL Server 7 David If you don't

Re: [DUG]: Tuning SQL

2001-06-08 Thread Neven MacEwan
Mark So, there is no point whatsoever in trying to tune the SQL as long as I'm using Paradox? Basically Yes Neven, what exactly do you mean here? Say I port to IB, what speed should I expect (given the above times) just from the change of Database? That would depend on several things..

Re: [DUG]: String in Case Statement

2001-06-07 Thread Neven MacEwan
Reginald For another approach look at www.delphizine.com (if you are a member) They have an article called Sets to Strings, and Back Employing Sets, Strings, and Run-type Type Information By Ray Lischner Which is worthwhile Neven - Original Message - From: Reginald Ebenezer [EMAIL

Re: [DUG]: getting date/time

2001-06-06 Thread Neven MacEwan
Rob I thought they were typing competitions for us! Alan seems to be winning Neven - Original Message - From: Robert Martin [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Thursday, 7 June 2001 15:33 Subject: Re: [DUG]: getting date/time If these

[DUG]: Using Com 'Collections'

2001-06-03 Thread Neven MacEwan
Hi all I'm trying interface with a VB app that has a COM class with a collection property, but everytime i try to add a com object to this collection I get OLE Error 800A0005 var ItemVar, Param1, Param2, Param3: OLEVariant; ItemVar := CoClass.Create; ComObject.Collection.Add(ItemVar,

Re: [DUG]: Re Borland Seminars

2001-06-01 Thread Neven MacEwan
Jeremy, since you didn't read it first time... I am finally considering the move to enterprise after the demo! A mixture of the WebSnap/DataSnap gives me a complete development platform (Fat clients communicating via SOAP to a DataSnap based middle layer, RAD WEB Development for the remote thin

Re: [DUG]: D6 Product Launch

2001-05-31 Thread Neven MacEwan
Alan I am finally considering the move to enterprise after the demo! A mixture of the WebSnap/DataSnap gives me a complete development platform (Fat clients communicating via SOAP to a DataSnap based middle layer, RAD WEB Development for the remote thin client), Though I have posed the following

[DUG]: Do NOT calculate Pi in binary

2001-05-31 Thread Neven MacEwan
WARNING: Do NOT calculate Pi in binary. It is conjectured that this number is normal, meaning that it contains ALL finite bit strings. If you compute it, you will be guilty of: * Copyright infringement (of all books, all short stories, all newspapers, all magazines, all web sites, all

Re: [DUG]: [Q] Intercepting Database Changes...

2001-05-30 Thread Neven MacEwan
D, I remember from the Kylix Launch that this was going to be available in D6 (with DB Express), I'll check the D6 I've got here Your other option is to at runtime 'hook' those events HTH Neven - Original Message - From: Donovan J. Edye [EMAIL PROTECTED] To: Multiple recipients of

Re: [DUG]: [Q] Intercepting Database Changes...

2001-05-30 Thread Neven MacEwan
D, More from D6 TSQLMonitor intercepts messages that pass between an SQL connection component and a database server and saves them in a string list. Unit SqlExpr Description Use TSQLMonitor when debugging the communication between your application and a database server. Each TSQLMonitor

Re: [DUG]: SQL and Parameters

2001-05-29 Thread Neven MacEwan
James/Mike The parameter is created when the onchange event of the SQL property fires and if parses the SQL, The advantages of using parameters (over just embedding them in the SQL Text) is that is is more efficient if you execute the query multiple times as the BDE et al compile the query and

Re: [DUG]: SQL and Parameters

2001-05-29 Thread Neven MacEwan
Mark Sorry called you Mike is the last email, You don't have to create the param It sounds like the error you are getting is from the BDE, so I'll be interested to see if my suggestions work If you want to do a 'static' param do SQL.Text := 'select * from table where date = '''%s;

Re: [DUG]: SQL and Parameters

2001-05-29 Thread Neven MacEwan
Forget that use DateTimeToString Neven --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of

Re: [DUG]: Fetching details in a ClientDataSet

2001-05-27 Thread Neven MacEwan
Moises For this type of behaviour you are probably better to code the master detail link yourself. I have a component that does this, you may have the source if you wish by emailing me direct at [EMAIL PROTECTED] Neven - Original Message - From: Moises Lopez [EMAIL PROTECTED] To:

Re: [DUG]: Can D5 Pro handle it?

2001-05-21 Thread Neven MacEwan
Mark If you have a working app,(be it single tier) I wouldn't port it to 2 tier to implement it on a WAN. Firstly it would probably take a major paradigm shift to make the change to client server and in the end I would doubt if the bandwidth drop would be sufficient to deploy on a wan, or in

Re: [DUG]: ADO Performance

2001-05-16 Thread Neven MacEwan
Moises Make sure you are using static/client datasets (work like a BDE cached dataset) HTH Neven - Original Message - From: Moises Lopez [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Thursday, 17 May 2001 14:06 Subject: [DUG]: ADO Performance hi

[DUG]: Delphi XP Pro

2001-05-11 Thread Neven MacEwan
Hi With the release of D6, Borland could release a cross platform package Delphi XP Pro which would have future upgrades to .Net and Win64, I'd be in I noticed as a plus that D6 pro includes dbGo (ADOExpress?) but pettily doen't supply the DBGrid that support RecordSet fields (Hierachal Nested

Re: [DUG]: basic question?

2001-05-10 Thread Neven MacEwan
Graham for i := 0 to Form.ComponentCount-1 do if Form.Components[i].InheritsFrom(TButton) then TButton(Form.Components[i]).Enabled:=true; HTH Neven - Original Message - From: Graham Mayes [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, 11 May

Re: [DUG]: basic question?

2001-05-10 Thread Neven MacEwan
James For Counter := 1 to Form1.Controlscount do Do a bit of VB programming do you? :-) Neven - Original Message - From: James Low [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, 11 May 2001 11:02 Subject: RE: [DUG]: basic question?

[DUG]: OK I've heard enough

2001-05-09 Thread Neven MacEwan
Hmmm Firstly - We don't like Microsoft Product but we like their price? Please! Purchasing on Price has always been a bad idea (or that what we all try to convince our clients) and Secondly - Probably like a lot of you I use Pro, the price for Enterprise is set by where Enterprise sits in the

Re: [DUG]: OK I've heard enough

2001-05-09 Thread Neven MacEwan
Steve I'm a Pascal man - eat, sleep talk and think in Pascal. I was using Pascal even before Borland was born (anybody remember Pascal MT+ in CP/M?). So am I to a point, (My BE thesis was on the hardware design of a Pascal P-Code Machine) But I would not use Delphi for Web based development,

Re: [DUG]: Try This

2001-05-09 Thread Neven MacEwan
Chrissy If you are getting strange component positional behaviour then it could be your display driver Neven - Original Message - From: Chrissy R [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Thursday, 10 May 2001 02:06 Subject: Re: [DUG]: Try This

Re: [DUG]: d6 - pricing, mutter...

2001-05-09 Thread Neven MacEwan
The most effective method of stopping piracy is to keep the cost down. Or free! you can't steal that which is free Neven --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website:

Re: [DUG]: [Q] SQL Question....

2001-05-09 Thread Neven MacEwan
Donovan Try this, Assumes you can type the PK (and it is a single field) but with a little fiddling you could make that dynamic (use syscolums) you can also get the PK Constrain field out of syscontraints, all depends on how 'smart' you want to get For eff reasons i'd submit the synch raw data

Re: [DUG]: Form inheritance

2001-05-07 Thread Neven MacEwan
Luke 3 ways of doing this kind of thing 1/ Some of those methods have 'ancilliary' methods which can be overridden like 'DoShow' 2/ Overload Show with a different signiture ie Show(string: Caption) you can still call inherited Show, this will work if you are calling Show on the Child Class

[DUG]: ActiveX MDI Forms

2001-05-04 Thread Neven MacEwan
Hi all I'm trying to create an ActiveX MDI Child Form (to be embedded in a vb app) Though it works sort of (you create the form with CreateParented - the help hints at this) It will maximize like a mdi child but the window does not get highlighted Has anyone else tried this or with all the MDI

Re: [DUG]: Accessing 'Fields' in a String List

2001-05-03 Thread Neven MacEwan
Mark does this help procedure Split(const S: string; List: TStrings; Sep: char); var i, StartPos, Pos: integer; begin StartPos := 1; Pos := 1; for i := 1 to Length(S) do begin if (S[i] = Sep) or (i = Length(S)) then if StartPos = Pos then begin Pos := i+1; if

Re: [DUG]: Best Practice

2001-05-02 Thread Neven MacEwan
Hi all My 2 Cents worth... It would be more useful to think in terms of various degrees of scope rather than 'local' and 'global' The answer therefore is to declare a 'variable' (since a property also is a variable) in the most restrictive scope possible I think the original question was

Re: [DUG]: Hi

2001-05-02 Thread Neven MacEwan
Do you mean Biorhythms? - Original Message - From: João [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Thursday, 3 May 2001 06:23 Subject: [DUG]: Hi 1. Anyone has a calculation or source (prefereable) do do Byorritms ?? 2. How to do a X , Y, Z :

Re: [DUG]: MS SQL Server

2001-05-01 Thread Neven MacEwan
Stephen I've used ADO and generally found it fat and a pain in the ass, ADOexpress makes it palatable but as usual borland have to play catchup I'm currently working on a combination of mODBC and Kim Bo Madsen's kbmMemTable (its sort of freeware TClientDataSet or ADO Client Dataset) Neven

Re: [DUG]: IDE Shortcut?

2001-05-01 Thread Neven MacEwan
Max Who remembers using WordStar? Who could forget Ctrl KY Ctrl Y is still supported in somethings (Delphi, Edit...) Neven --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]

Re: [DUG]: MS SQL Server

2001-05-01 Thread Neven MacEwan
Stephen 6.5 was ok only thing is the fixed database size allocation Are you going to use ODBC, ADO or BDE? Neven - Original Message - From: Stephen Barker [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Tuesday, 1 May 2001 18:19 Subject: [DUG]: MS SQL

[DUG]: MDIExtender and Delphi

2001-04-30 Thread Neven MacEwan
Hi all I'm writing an activex form (which works ok) but the calling program is VB which uses this MDIExtender OCX Thingy which I was wondering if I could use or is it too VB centric (has anyone tried this before or am i pushing it up hill) TIA Regards Neven N.K. MacEwan B.E. EE Ph 649 574 0027

[DUG]: format

2001-04-29 Thread Neven MacEwan
Hi Guys'n'Gals 2 Quick questions 1/ How can extract a 'colour' from a screen? I want to copy a particular colour on the screen 2/ Does anyone know of a way of calling the 'format' routine with a variable number of array of constants i.e instead of format('My Name is %s',['Neven']) s := 'My

Re: [DUG]: Basic OO/Delphi Question

2001-04-23 Thread Neven MacEwan
Mike Have the constructor of your 'comments' form include either an interface reference or a method (the interface is more extensible) to the 'parent' form i.e. constructor Create(CommentableForm: IComForm); Then the event handlers of your 'Comments' form can notify the parent form If you

Re: [DUG]: Scripting Languages...

2001-04-23 Thread Neven MacEwan
Mark What's wrong with python - I only can see you going backwards unless you want users to script in that case use the NS VBS and wrap everything as a COM object Neven - Original Message - From: Mark Derricutt [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED]

Re: [DUG]: Access DateTime

2001-04-22 Thread Neven MacEwan
Alan What about Update tablename set field = '2001-04-23 14:23:00' - Original Message - From: Alan Rose [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Monday, 23 April 2001 09:43 Subject: [DUG]: Access DateTime Hi, I have been using the following

Re: [DUG]: Access DateTime

2001-04-22 Thread Neven MacEwan
website and all their examples have been in a simple date format like #1/1/1999# with no time stamp. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Neven MacEwan Sent: Monday, April 23, 2001 10:03 AM To: Multiple recipients of list delphi Subject: Re

Re: [DUG]: Report component/s

2001-04-21 Thread Neven MacEwan
Sergei I've used Crystal for quite a while now and has the advantage that as a erport designer it has wide acceptance, but the downsides are seagate are very windows centric (linux turns up little in their plans, tho I did find a German Co that had pure Java 3rd part CR engine) I think M$ might

Re: [DUG]: Using a string with a record definition ?

2001-04-11 Thread Neven MacEwan
Sammy Can't you just use a pascal record structure with a case statement and a string 'overlaying' the indvidual parts or a mem move HTH Neven - Original Message - From: "Sammy" [EMAIL PROTECTED] To: "Multiple recipients of list delphi" [EMAIL PROTECTED] Sent: Wednesday, April 11,

Re: [DUG]: Parser

2001-04-11 Thread Neven MacEwan
Joel after using TCL the best things were split and join you can use this procedure Split(const S: string; List: TStrings; Sep: char); overload; var i, StartPos, Pos: integer; begin StartPos := 1; Pos := 1; for i := 1 to Length(S) do begin if (S[i] = Sep) or (i = Length(S)) then

Re: [DUG]: Using a string with a record definition ?

2001-04-11 Thread Neven MacEwan
Sammy Try this procedure TForm1.Button1Click(Sender: TObject); type TCobolRec = record case Cobol: boolean of True: (CobolRecord: array[0..49] of char); False:(Name : array[0..7] of char; Description : array[0..19] of char; Flag1 : char; Flag2 :

Re: [DUG]: SQL2K Hardware Requirements.......

2001-04-04 Thread Neven MacEwan
PROTECTED]]On Behalf Of Neven MacEwan Sent: Wednesday, April 04, 2001 10:03 AM To: Multiple recipients of list delphi Subject: Re: [DUG]: SQL2K Hardware Requirements... Chris Thats why I suggested leaping straight to Raid-10 (I should have also insisted on a Hardware Raid Controller) Stri

Re: [DUG]: deleting from a File

2001-04-04 Thread Neven MacEwan
Jeremy Are the records fixed length?, Why not use a 'empty record' marker and reuse them when you next insert, Even if you can reuse them the unused record can be skipped and then you could recode the xBase 'pack' utility Neven - Original Message - From: [EMAIL PROTECTED] To: Multiple

Re: [DUG]: Clientdataset

2001-04-04 Thread Neven MacEwan
James There are prob quite a few 'in memory' datasets you could use I found this article interesting http://www.delphi3000.com/articles/article_1871.asp seemed a relatively simple solution (and could be altered to buffer a single record) Neven - Original Message - From: James Sugrue

Re: [DUG]: Clientdataset

2001-04-04 Thread Neven MacEwan
- From: Neven MacEwan [mailto:[EMAIL PROTECTED]] Sent: Thursday, 5 April 2001 15:06 To: Multiple recipients of list delphi Subject: Re: [DUG]: Clientdataset James There are prob quite a few 'in memory' datasets you could use I found this article interesting http://www.delphi3000.com

Re: [DUG]: SQL2K Hardware Requirements.......

2001-04-03 Thread Neven MacEwan
log on a separate independant spindle. if you raid it with the data, you will dramatically reduce your write speed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Neven MacEwan Sent: Monday, April 02, 2001 11:03 PM To: Multiple recipients of list

Re: [DUG]: SQL2K Hardware Requirements.......

2001-04-02 Thread Neven MacEwan
Donovan Lots of RAM! Several CPU's, only constructive advice I can give you is to suggest that you go staight to duplexed drives, Raid 10 (over the usual Raid 5) with the current prices of drives and the disk IO demands of all SQL servers this would probably work the best Unless you want real

[DUG]: SQL Query Builder

2001-04-02 Thread Neven MacEwan
Hi All Can anyone suggest a good open source (prefdelphi)SQL Query Builder, Sort of Like a cross between the MS SQL One (visual linking, field picking) without the clumsy Access type literal where clause input (and the ability to order) with acolumn 'browse data' and paste value ala

Re: [DUG]: Debugging question

2001-03-26 Thread Neven MacEwan
Stephen You'll could find that there are2 sysutils dcu's and the first one on the path has been rebuilt with debug info on HTH Neven - Original Message - From: Stephen Bertram [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Tuesday, 27 March 2001

[DUG]: COM/Active X

2001-03-25 Thread Neven MacEwan
Hi all After avoiding it for all this time i've been called upon to write a 'COM Object' that exposes several forms I struggled though the Docs on COM/DLL/ActiveX and I am still at step 1, has anyone out there a simple 'COM Object' project that would give me a few clues? TIA Regards Neven N.K.

Re: [DUG]: Storing a file

2001-03-19 Thread Neven MacEwan
J Why not get trewndy and use XML, could you ADO - XML HTH Neven - Original Message - From: Jeremy Coulter [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Tuesday, 20 March 2001 07:56 Subject: [DUG]: Storing a file Hi all. I have the need to store

Re: [DUG]: Storing a file

2001-03-19 Thread Neven MacEwan
J Ok then Stream It and Copy Mem into an array of records HTH Neven - Original Message - From: [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Tuesday, 20 March 2001 21:41 Subject: Re: [DUG]: Storing a file because, I cany use ADO. Its has to be free

Re: [DUG]: Storing a file

2001-03-19 Thread Neven MacEwan
J Yes tho my preferred OO aproach would be to use TComponent objects (rather that records) and a TObjectList (rather than an array) and then use the streaming method to compile them into a TFileStream (see the examples under ObjectBinaryToText) or alternatively just use a TCollection and

Re: [DUG]: Number of lines in text file

2001-03-19 Thread Neven MacEwan
Sergei You could prob speed it up by reading 'Blocks' into mem and counting CR/LF pairs, only thing you'd have to check for is CR/LF split on block Boundaries HTH Neven - Original Message - From: Sergei Stenkov [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED]

Re: [DUG]: Number of lines in text file

2001-03-19 Thread Neven MacEwan
Max You are right (as usual) that the VM manager would be the best solution as it gets the first bite of the cherry. It does of course mean you are a bit at the mercy of the OS, something most of us would hate to admit (let alone acknowledge) Just suck it up and behave like it aint Win32 :-)

Re: [DUG]: SQL question

2001-03-12 Thread Neven MacEwan
Alex Group by and Sum(1) ie select f1, f2, sum(1) from table a join table b on a.pk = b.fk group by f1, f2 HTH Neven - Original Message - From: Alex Kouznetsov [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Tuesday, 13 March 2001 14:39 Subject: [DUG]:

[DUG]: Kylix

2001-03-07 Thread Neven MacEwan
Hi Guys With the recent Kylix launch I'm really surprised how little traffic there has been re Kylix/D6 Did anyone else notice with the advent of "CustomVariant" Type that you could not "operater overload" in Delphi Mystery is why they made a whole new class branch with this property (which

Re: [DUG]: Kylix

2001-03-07 Thread Neven MacEwan
Correction "CustomVariant" Type that you could NOW operater overload" Neven - Original Message ----- From: Neven MacEwan [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Thursday, 8 March 2001 08:19 Subject: [DUG]: Kylix Hi Guys With t

Re: [DUG]: RTTI question

2001-02-28 Thread Neven MacEwan
Mark Why not use a string indexed array prop? TMyObject = class private function GetValue(const Name: string): Boolean; procedure SetValue(const Name, Value: boolean); public property Options [const Name: string]: boolean read GetBool write SetValue; end; HTH Neven

Re: [DUG]: Mucking with Controls.pas

2001-02-14 Thread Neven MacEwan
Stephen Rather than inserting an ancestor, why not define an interface (this enforces implementation) and if there is a great level of commonality you can implement it (the interface) by delegation in your own 'subjobject' which is passed it's owner (as the base class) at construction, easy to

Re: [DUG]: Mucking with Controls.pas

2001-02-14 Thread Neven MacEwan
- From: Neven MacEwan [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 February 2001 5:11 p.m. To: Multiple recipients of list delphi Subject: Re: [DUG]: Mucking with Controls.pas Stephen Rather than inserting an ancestor, why not define an interface (this enforces implementation

[DUG]: 3rd party CLX

2001-02-06 Thread Neven MacEwan
Nicky With the launch of Kylix is there going to be any public announcement about who have been working on third party CLX - and will we be able to purchase at the launch Neven

Re: [DUG]: Join SQL?

2001-01-30 Thread Neven MacEwan
Steve Interesting, Mainly it was a practical method of making the ANSI join syntax 'scannable' Mostly (like everybody I suspect) I use inner (or natural if MS SQL supported them!) so I can see the field's selected and the list of tables they are from, I'd prob use a more heavily indented style

Re: [DUG]: Join SQL?

2001-01-25 Thread Neven MacEwan
Mark also clearer if you use ansi join syntax (which we all should do), means if you have any NULL FK (ie project manager has not been appointed) you can use and OUTER join SELECT p.project_name, s.staff_name, m.staff_name FROM project p JOIN staff s ON s.staff_id = s.staff_id JOIN

Re: [DUG]: FW: Storing enumerated sets in a db...

2001-01-24 Thread Neven MacEwan
Colin Have a look at this http://www.delphizine.com/features/2000/04/di24rl_f/di24rl_f.asp it uses rtti to converts enum sets to strings and back so you could for TSomeTime = set of (stOne, stTwo, stThree), var SomeType: TSomeType; SomeType := [stOne, stTwo] Store it in the db as

Re: [DUG]: Delphi Acrobat Distiller

2001-01-24 Thread Neven MacEwan
Could always try http://www.softseek.com/Internet/Web_Publishing_Tools/Adobe_PDF_Utilities/Re view_49450_index.html Distiller is notoriously buggy Neven - Original Message - From: Eion McIntosh (CHCH) [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent:

Re: [DUG]: BCD et al

2001-01-17 Thread Neven MacEwan
James BCD stores 2 decimal digits per byte (one in each nibble) hence your 13 digit number fits in a 7 Byte BCD (with one nibble unused) conversion would be rlatively simple assuming a byte (2 digit BCD) then i := ord(b or 00FFH) + (10*ord(b shl 4)) hth Neven - Original Message -

[DUG]: ZEOS

2001-01-16 Thread Neven MacEwan
Hi all Has anyone used the ZEOS library (native access to Postgress, Interbase) Any comments Regards Neven N.K. MacEwan B.E. EE Ph 649 574 0027 Fax 649 570 2706 "A truth denied the light of action will wither to a promise, propaganda and then a lie"

<    1   2   3   4   5   6   7   8   9   10   >