Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Powerbuilder Error

Powerbuilder Error

Powerbuilder Error

Hi everyone, can someone help me with my problem. I got an error message when i save the data i entered, this is the message:

SQLSTATE=23000[MERANT][ODBC Sybase ASE Driver][SQL Server]Attemp to insert duplicate key row in object 'TBL_DTL_MHR_PAYMENT' with unique index 'TBL_DTL_MH_15005293482'..


RE: Powerbuilder Error

You are trying to insert a row in the database that contains data which is already in the database. You need to check the index 'TBL_DTL_MH_15....' to determine which columns in the table it contains and then look in the database for a record which already has the values you are trying to insert. It may just be the Key value in which case you need to designate a new key value for the new row.


"Nature forges everything on the anvil of time"

RE: Powerbuilder Error

Thanks for the reply @mbalent...How can i check the index 'TBL_DTL_MH_... i right click on that index but the options are only drop index and properties. How can i check it? Thanks.

RE: Powerbuilder Error

The properties should show you what columns are used in the index. With that information you can check the database for records with those columns the same as the new record you are trying to insert.


"Nature forges everything on the anvil of time"

RE: Powerbuilder Error

I already checked the properties in the index, but their is no column declared twice or have the same name.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close