Issue with a PK...


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I had a BO that I was setting the PK for manually, then realized I actually wanted it to be an auto-increment PK. I updated the db, rebuilt the BO, got rid of my SetDefaultValues code, and changed the PrimaryKeyIsAutoincremented and PrimaryKeyIsUpdatable to True and False respectively.



Now, whenever I try to navigate to a new row, I get a type conversion error from dbnull to integer. I must be missing something. Any ideas?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Greg McGuffey - 16 Years Ago
Edhy Rijo - 16 Years Ago
Greg McGuffey - 16 Years Ago
                 [quote][b]Greg McGuffey (06/18/2008)[/b][hr]The...
Edhy Rijo - 16 Years Ago
                 [quote]...looks at properties of BO...
Bill Cunnien - 16 Years Ago
Trent L. Taylor - 16 Years Ago
                         Just put some RICE* it. :P


*RICE=Rest Ice...
Greg McGuffey - 16 Years Ago
                             LOL...good advice :)
Trent L. Taylor - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search