Subject Re: Can't run reports from form
From Mervyn Bick <invalid@invalid.invald>
Date Sun, 14 Jul 2019 11:42:31 +0200
Newsgroups dbase.getting-started

On 2019-07-14 7:25 AM, Ken Mayer wrote:

> Sleuthing, where is Previewform defined? Check the code for this. It
> *sounds* like this is the preview.wfm file in the dUFLP, which makes it
> then sound like somehow the program doesn't know where that file is.
>
> If that's the case:
>
> 1) Are you loading it properly with the set procedure statement?
>     set procedure to :dUFLP:preview.wfm
>
> 2) If you are, is the dUFLP set correctly?
>
> 3) If this is in an executable, did you make sure the file was included
> in the .exe when you built it?

To expand a bit on this, you should have a separate dUFLP folder for
each version of dBASE you use. The compiled *.??o files are not
necessarily compatible with the different versions of dBASE.

If you have removed dBASE 2.6 completely you can keep the same folder
but you need to delete the *.??o files.  There is, however, one problem.
FIXCORUP.ICO is not a compiled file, it is an icon.  Save a copy of this
file somewhere handy.

In dBASE select the Tables tab in the Navigator. Select the dUFLP
folder.  In the command panel enter !del *.??o  The ! is telling dBASE
to use the DOS del command.  All the *.??o files are gone and they can't
be recovered so it's important that the .ico fie was saved.  Later you
can replace the saved .ico file.   While you're there select the
Programs tab and run setup.prg.

If you installed a second copy of the dUFLP in a different folder select
that folder and run setup.prg.

Once you have run setup.prg the sourcealias :dUFLP: will find the
correct folder and create a  .??o for the version of dBASE you are using.

Mervyn.







Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0