Undo and the PictureEdit Control


Author
Message
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
I have a PictureEdit control on a maintenance form.  If a user clicks "New", the form responds properly setting up the window to receive the data.  If the same user then clicks undo (even without doing anything else), he gets the following error:

An error occurred while refreshing the data from field 'PartsBOsketch' to property 'EditValue' on control 'SketchPictureEdit.'

I am using SQL Server 2000 (yes, still) and the field is of type 'image'.  The control works absolutely beautifully in all other contexts, except this one.  What do I make of the error?  How do I solve it?

Btw, my custom field properties are set to: Return Alternate on Null; and, the Null Replacement Value is new byte[] {}.

Thanks,
Bill

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Bill Cunnien - 16 Years Ago
Bill Cunnien - 16 Years Ago
StrataFrame Team - 16 Years Ago
StrataFrame Team - 16 Years Ago
                     Stack Trace: at...
Bill Cunnien - 16 Years Ago
                         Meant to throw this in, too. Your suspicions are correct. Inner...
Bill Cunnien - 16 Years Ago
                             So more than likley you have a filter or sort being set which is...
Trent L. Taylor - 16 Years Ago
                                 Nope...don't think so. Here is my load function: [codesnippet]...
Bill Cunnien - 16 Years Ago
                                     So yup....it is exactly what I said! You have to take this into...
Trent L. Taylor - 16 Years Ago
                                         Thanks, Trent! You got me thinking on the right track. Much...
Bill Cunnien - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search