Re: Import: ODBC page design

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Quan Zongliang <quanzongliang(at)gmail(dot)com>
Cc: pgadmin-hackers(at)postgresql(dot)org(dot)
Subject: Re: Import: ODBC page design
Date: 2009-02-03 16:11:21
Message-ID: 49886CA9.7090400@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

Quan Zongliang a écrit :
> [...]
> The attachment is a preview of import from ODBC.
>
> I think some ODBC source is slow. So in this page the preview
> will generated manually.
>
> First, the user select a DSN and input username and password (both is optional).
> Then click the <Refresh> button to retrive all table names.
> If successful, the DSN, username and password control will be disabled.
>
> And then, the user can select a table and click <Preview> to preview data.
> Or click <Reset> to select other DSN.
>
> The user can check "Auto preview" to preview automatically and set how many
> rows to be previewed.
>
> It's OK?
>

It seems good so far.

> Question:
> How to get the previous value in wxCombobox?
> Even if someone click the same choice, the EVT_COMBOBOX event will be fired.
> But the wxCommandEvent has no method to get previous value.
>

You may need to save the previous value in a variable.

--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2009-02-03 16:14:36 Re: PATCH: Column Level Privileges
Previous Message Dave Page 2009-02-03 13:30:44 Re: PATCH: Column Level Privileges