If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > I need a kick start

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-12-06, 12:36
bobpawley bobpawley is offline
Registered User
 
Join Date: May 2006
Posts: 1
I need a kick start

Hi Folks

I'm new to the forum and am attempting to learn how to interface a Delphi application with a Postgresql database.

The database has been mostly completed and works well through SQL.

I have created a Delphi interface holding the components needed to add one field of data to a table in which I need a serial ID column.

Without the serial ID column I can insert a new value into the database with no problems.

Adding the serial column gives me an error stating that the serial column needs a value.

How do I get the serial column to generate?

Here's the code generated by Delphi.

Basic
insert into p_id.p_id (process_name)
values (rocess_name)

Bob
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On