Date:  07/19/2006 05:18:20 AM Msg ID:  003059
From:  Thread:  003025
Subject:  Re: perplexing intermittent error
 Hello,

My openDbf() now looks like this:

close data all
if !used("PEOPLE")
  sele 0
  use .\database\people alias PEOPLE
endif
if !used("WORKORDERS")
  sele 0
  use .\database\workOrders alias WORKORDERS
endif
...

I'm still getting the perplexing intermittent error:

 There was an error during the interpretation of your request.

Error #:              13
Message:         Alias 'WORKORDERS' is not found.
Program:         c:\inetpub\potter\stoutmarinedatabase\mgmt.fxp
Line #:         9
Line:         sele WORKORDERS

If I hit the browser's refresh the error vanishes and all works fine.

Any more ideas?

Ciao,

Alden



Sent by on 07/06/2006 02:04:09 PM:
Hello,

I'm getting a perplexing intermittent error:

 There was an error during the interpretation of your request.

Error #:              13
Message:         Alias 'WORKORDERS' is not found.
Program:         c:\inetpub\potter\stoutmarinedatabase\mgmt.fxp
Line #:         9
Line:         sele WORKORDERS

If I hit the browser's refresh the error vanishes and all works fine.

mgmt.fwx
line 8 =openDBFs()
line 9 sele WORKORDERS

opendDBFS.prg
if !used("PEOPLE")
  sele 1
  use .\database\people alias PEOPLE
endif
if !used("WORKORDERS")
  sele 2
  use .\database\workOrders alias WORKORDERS
endif
retu(.t.)