Home > Archive > FoxPro database connector > February 2006 > Remote view not found?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Remote view not found?
r.knipscheer@home.nl

2006-01-31, 9:25 am

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, 11:24 am


<r.knipscheer@home.nl> schrieb im Newsbeitrag
news:1138716194.838164.39110@g14g2000cwa.googlegroups.com...
> 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?


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.knipscheer@home.nl

2006-02-03, 7:24 am

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, 1:24 pm

Hi Rotsj,

did yo try to prefix with your database name ?

I have sometimes the same problem, and use mydatabase!my_remote
view solves
it...

<r.knipscheer@home.nl> a écrit dans le message de news:
1138971162.955119.269990@g47g2000cwa.googlegroups.com...
> 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
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com