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
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
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
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
-
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
[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
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
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:
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
: [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
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
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
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
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
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
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
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
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
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
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,
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]
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,
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
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
: [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
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
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
, 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
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
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
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
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
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..
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
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
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,
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
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
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
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
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
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
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;
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
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:
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
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
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
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
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?
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
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,
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
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:
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
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
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
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
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
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 :
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
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]
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
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
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
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
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]
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
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
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
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,
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
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 :
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
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
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
-
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
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
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
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
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
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.
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
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
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
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]
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 :-)
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]:
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
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
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
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
-
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
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
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
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
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
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:
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 -
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"
401 - 500 of 942 matches
Mail list logo