Discussion:
Remote view not found?
(too old to reply)
r***@home.nl
2006-01-31 14:03:14 UTC
Permalink
Hi,

in my app, i use remote views. As long as i use these from within my
project, these work fine. When i build my project and run the
executable i get errors like:
file 'c:\prog\boekpro2\v_orders.dbf' does not exist.

What can be the reason for this?

Thanks!

Rotsj
Stefan Wuebbe
2006-01-31 15:28:00 UTC
Permalink
Post by r***@home.nl
Hi,
in my app, i use remote views. As long as i use these from within my
project, these work fine. When i build my project and run the
file 'c:\prog\boekpro2\v_orders.dbf' does not exist.
What can be the reason for this?
By default, databases and table.DBFs are marked as "excluded"
in the project manager, thus not included in the resulting EXE file -
so my guess is that you did not distribute the database (DBC, DCT,
DCX) containing the remote view definitions?
In addition, you'd need some programmatic Set Path handling in
your code.
That is, as long as the database is not residing in the app's home
folder. The latter might be a valid option though, if the DBC contains
remote view definitions only.


hth
-Stefan
--
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------
r***@home.nl
2006-02-03 12:52:42 UTC
Permalink
Hi Stefan,

thank you for your reply. I still don't understand it. I' ve set the
path, but the problem is the same. What i didn't mentioned before: i
use a form based on a remote view. There is no problem accessing this
form and the data. In this form i use another view to get some other
data for verification from the server, and this view i cannot open.
If i try it on the foxpro command line i can't open eather one of the
views by using select 0, use myview

Any ideas?
Thank you.

Rotsj
Michel LEVY
2006-02-03 18:18:27 UTC
Permalink
Hi Rotsj,

did yo try to prefix with your database name ?

I have sometimes the same problem, and use mydatabase!my_remoteview solves
it...
Post by r***@home.nl
Hi Stefan,
thank you for your reply. I still don't understand it. I' ve set the
path, but the problem is the same. What i didn't mentioned before: i
use a form based on a remote view. There is no problem accessing this
form and the data. In this form i use another view to get some other
data for verification from the server, and this view i cannot open.
If i try it on the foxpro command line i can't open eather one of the
views by using select 0, use myview
Any ideas?
Thank you.
Rotsj
Loading...