View Replace History not working

12 views
Skip to first unread message

Tamar Granor

unread,
Sep 20, 2022, 3:59:31 PM9/20/22
to GoFish
Still writing -> still testing. I'm finding that I can't get the View Replace History button in the Replace pane to work at all. When I click it (and I've tried two different machines), I get:

---------------------------
File(s) missing
---------------------------
One of your Replace History files is missing. Cannot browse Replace History.
---------------------------
OK  
---------------------------

On one of the machines, I used the option to delete and recreated configuration files; did a replace, so there'd be some history; and still get this.

Has anyone seen this work?

Jim Nelson

unread,
Sep 20, 2022, 4:02:06 PM9/20/22
to foxpro...@googlegroups.com
Works without problem for me.

--
You received this message because you are subscribed to the Google Groups "GoFish" group.
To unsubscribe from this group and stop receiving emails from it, send an email to foxprogofish...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/foxprogofish/2b37707d-08c8-4650-9d26-4c5c4de0af1bn%40googlegroups.com.


--
Jim Nelson

(805) 498-9195 (preferred)
(720) 837-3536 (cell)

Tamar Granor

unread,
Sep 20, 2022, 4:22:25 PM9/20/22
to GoFish
Hmm, suggests some kind of configuration issue on my side then, but weird that I'd have it on two different machines, and that it would persist after blowing away my settings.

Thoughts about what I ought to be looking for? When I look in my HOME(7) folder, I see (among other things):
GFReplaceFiles.jpg
I've opened the tables and they open. I also have the GoFishBackups folder.

This gets weird now. I used GoFish on the GoFish source to see where the error message is coming from and it appears to be this block of code:

lcMaster = Addbs(Home(7)) + 'GF_Replace_History.dbf'
lcDetail = Addbs(Home(7)) + 'GF_Replace_DetailV5.dbf'
lcDetailDBC = Addbs(Home(7)) + 'GF_Replace_Detail.dbc'

If !File(lcMaster) or !File(lcDetail) or !File(lcDetailDBC)

    MessageBox('One of your Replace History files is missing. Cannot browse Replace History.', 16, 'File(s) missing')

    Return .f.
Endif

Ah, I see it. It's looking for GF_Replace_Detail.db, but I have  GF_Replace_DetailV5.dbc. I'm using V5.0.205 dated 08/16/2022. Looks like someone changed the name of the DBC (and I see where in the code that happens) and didn't update this code to reflect that.

Doug, you here and seeing this?

Tamar

Tamar

Art Bergquist

unread,
Sep 20, 2022, 4:27:54 PM9/20/22
to GoFish
I don't know GoFish that well but it appears that it could be that one (or more) of the following files is (are) missing:
  • GF_Replace_DetailV5.CDX
  • GF_Replace_History.cdx
  • GF_Replace_History.fpt

Jim Nelson

unread,
Sep 20, 2022, 4:28:05 PM9/20/22
to foxpro...@googlegroups.com
The only two files of mine changed in the last six years are

GF_Replace_History
GF_Replace_DetailV5

Jim Nelson

unread,
Sep 20, 2022, 4:30:07 PM9/20/22
to foxpro...@googlegroups.com
Good guesses, but I do not have those files (and this GF feature works for me)

Reply all
Reply to author
Forward
0 new messages