PK and filtered data


Author
Message
Ian Johnston
Ian Johnston
StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)
Group: StrataFrame Users
Posts: 77, Visits: 470
I have a combo populated with filtered data. When adding a record I get a cast error from the PropertyDescriptor class "return ((CertificateBO)component).FK_customer3;". In tracing through debug it appears that the value for FK_customer3 is being set to the begining value for PK in the table for the new record, in this case 1000, the record with PK 1000 is not in the filtered data and I believe this is causing the error. Am I correct and if so what is a fix for this?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Ian Johnston - 14 Years Ago
Ian Johnston - 14 Years Ago
             Glad you got it going, Ian. ;)
Ivan George Borges - 14 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search