Subject Re: BLOB File not found
From Leif <leif.abrahamsson@masterelectronic.se>
Date Wed, 19 May 2021 09:16:02 -0400
Newsgroups dbase.getting-started

Mervyn Bick Wrote:

> On 2021/05/09 15:46, Leif wrote:
> > When printing from inside a dBase form I get the message "BLOB file not found" . This has not been the case previously with the same code. Something new have happend. Any suggestion what ?
> >
>
> It means that the .dbt file associated with the .dbf file is missing.
> The .dbt file contains memofields and/or images.
>
> If you have a backup you should restore from that.
>
> If you open the .dbf file in the Navigator you will be given the some
> choices.  You can open the file without the BLOB file so that you can
> inspect the fields in the .dbf file.  Another option is to empty the
> blob file.  This will recreate the .dbt file but you will then need to
> replace all the lost data in the memofields and/or the image fields.
>
> Mervyn.

I checked the .dbf files and they all seems to both memo and image they should. It is in the report file (.rep) it comes up, saying:
-Open without blob file
-Fail Open
-Empty all blob fields
I do "Open without blob file" which I then have to do a 11 times and therafter choose printer comes up. After choosing the printer I have to do the same 11 times again the the print out comes OK.

I did run the debugger and found following,

this.DATAMODREF1 = new DATAMODREF()
   this.DATAMODREF1.parent = this
   with (this.DATAMODREF1)
      filename = "Rapporter.dmd"
      dataModClass = "RapporterDataModule"
      active = true
      left = 205.3166
      top = 19.3146
   endwith

   with (this.DATAMODREF1.ref.VERIFIKAT11)
      active = true
   endwith

It's when it comes to active = true it hooks up.

Leif.