Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create a powerbuilder Connection Object

Status
Not open for further replies.

bigpapi

Programmer
Aug 1, 2006
16
CA
Hey Guys;

I am getting an integrity constraint error in my powerbuilder Insert Into statement.

I have two inserts and the second insert has a foreign key dependant on the first insert. It seems like my second insert can't find the associative value that it should, because it seems like it is treating it like two separate transactions as opposed to one.

I need a way to create my own connection so that i can run both inserts using my new connection.
Using SQLCA doesn't work either.

Hopefully someone can help
thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top