` Printed Icetips Article

Icetips Article



ABC: Forcing updates of blob fields only
1998-07-17 -- Richard Taylor
 
Newsgroups: topspeed.products.c4

>I have TPS file with a couple fields and a blob. I change the blob
>only and it does not get saved. I change another field and the blob
>and the blob gets saved.

You can add one line of code to the file's FileManger EqualBuffer method,
before the parent call:

    IF Pre:BlobField{PROP:Touched} = TRUE THEN RETURN(0).

This will detect the changed BLOB and cause the form to update the record.



Printed November 21, 2024, 7:34 am
This article has been viewed/printed 35392 times.
Google search has resulted in 22 hits on this article since January 25, 2004.