On 3/16/06, johnf <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thanks all for the recent help.  I am now able to retreive data without any
> trouble (so far).  And using a dataset allows the data aware controls to
> display data but I can't save the edit fields (even if I tab off the
> control).  Everything I've read suggest that I need to set the
> 'datasource1.edit:=True' and the 'readonly' property to false for controls -
> to allow editing and saving (Update table).  But when I attempt to save a
> record I get no error message but I also have no record changes.  My postgres
> log has a rollback as the last statement.  But I also don't see an "update"
> statement.  So I guess I'm missing a step (of course I could be missing the
> entire concept).

Just a question like this.... are you using a SQLQuery to get your
information and display it? If yes, (from Delphi experience), you
can't commit like that the changes. In Delphi the programmer required
to use another object... a kind of SQLCommit (???) object and define
there the required SQL commands to send the updates and other actions.

I can't help any more because I never used that thechnique and data
aware controls when working in SQL. (Maybe I should have.)

Regards.

--
Alexandre Leclerc

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to