Skip site navigation (1) Skip section navigation (2)

Re: idea catalog column

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: 'Frank_Lupo Frank_Lupo' <frank_lupo(at)telemail(dot)it>
Cc: "'pgadmin-hackers(at)postgresql(dot)org'" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: idea catalog column
Date: 2002-03-11 11:49:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers

> -----Original Message-----
> From: Frank_Lupo Frank_Lupo [mailto:frank_lupo(at)telemail(dot)it] 
> Sent: 08 March 2002 14:02
> To: Dave Page
> Subject: idea catalog column
> Sorry for my question...
> The idea is:
> - possibility to catalog the column for creation the table.
> E.s 
> Every tables for my project are the columns cod,des.
> I developer the part of idea.
> In the form of columns button "categories" show form catalog 
> columns. The version of pgadmin2 (in zip) is old.

Hi Frank,

Thanks for the code. It looks very useful, unfortunately though there are a
number of things that must be sorted out before we can include it with

1) The correct licence should be included at the top of each file.

2) Variable and control names should use Hungarian notation (e.g. IdCat as
Long should be lIDCat As Long). See for more info.

3) Tooltips should be included on controls.

4) clsCategories has no logging or error handling.

5) The table names used in frmCatColumns don't match those used in

6) It doesn't work! When I select a column template to add to a new table
and click OK, nothing happens.

7) Please add Add/Remove buttons to move columns between listviews in
addition to the current double click.

8) We are trying to minimise the amount of objects we create in the target
database. I think the sequence can be removed by using a SELECT MAX(idcat)+1
to get the next unused category number.

9) Use frmMain.svr.Databases(ctx.CurrentDB).Tables.Exists(Table_Categories)
to test whether tables exist, and
frmMain.svr.Databases(ctx.CurrentDB).Tables.Add to create the tables. SQL in
pgAdmin itself should be avoided as much as possible.

I think this is about all. For the future, please send updates/comments to
pgadmin-hackers(at)postgresql(dot)org so the whole team can review them.

Thanks again for the code,

Regards, Dave.

pgadmin-hackers by date

Next:From: Frank_Lupo Frank_LupoDate: 2002-03-11 18:01:02
Subject: create table which colums array
Previous:From: Tim Finch, FosterFinch LtdDate: 2002-03-09 11:12:38
Subject: Re: Wine..?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group