>USE DBname!RemoteViewName NODATA &&-Parameterised
>USE DBname!LocalViewName NODATA &&-Not parameterised
>
>As soon as the second line is run it asks me for the order_id that the remote view needs to retieve order lines! Am I doing something wrong? Is this a bug? Is there a workaround?
when you open a view with no data VFP still opens it - it just uses some value that does not retrive any data
the problem when you use a parameter for the order is that it must be defined when you open a view - because if you substitute it with something meaningless
it you get an error
you can probably solve this by defining your parameter in the BeforeOpenTables event or only opening the view inside the form after you've defined the parameter
Arnon