Remote view / cursor oddity



I just ran into something that I don't understand. VFP 8 SP1,
although I doubt that matters.

With nothing open in the data environment, open a remote view:

USE track IN 0 ALIAS track_curs
* At this point 'track_curs' is the only thing open.

* The following statement apparently reads data from track_curs,
* since when it completes there is no alias 'track' open.
SELECT * FROM track WHERE ... INTO CURSOR xxx
* At this point 'track_curs' and 'xxx' are open.

* Likewise, the following statement inserts into track_curs:
INSERT INTO track .....

If the initial USE is removed, the SELECT will silently open the
remote view 'track' and leave it open, and the INSERT will insert into
that remote view, which is the expected behavior.

Is inserting into the alias when the remote view name is used the
expected behavior? It seems wrong to me.
.



Relevant Pages

  • Re: grid behaviour in modal vs modeless forms
    ... <<how could you put a remote view in the data environment when the tables ... you should create/define it by using the remote view designer of VFP. ... > are on sql server? ...
    (microsoft.public.fox.programmer.exchange)
  • Re: 10.4.7 Mac-to-Mac Networking: Comprehensive Report
    ... make an alias of the remote volumes (CMD L in Finder or contextual ... move the alias to the sidebar in a Finder mounted window. ... without putting it into a folder (I don't have a Favorites folder ...
    (comp.sys.mac.system)
  • Re: 10.4.7 Mac-to-Mac Networking: Comprehensive Report
    ... make an alias of the remote volumes (CMD L in Finder or contextual ... move the alias to the sidebar in a Finder mounted window. ... without putting it into a folder (I don't have a Favorites folder ... Most of mine are when a remote Mac has gone to sleep or both ...
    (comp.sys.mac.system)
  • Re: bind timeouts
    ... > If the response contains an answer which is a CNAME RR, ... > indicates that REMOTE is actually an alias for some other domain ... > bar IN MX 10 mail ... > of the value of a MX resource record must not be an alias. ...
    (freebsd-current)
  • Re: Remote Call Profiler not connecting
    ... Since your other tools connect just fine to the image and just Remote ... Call Profiler and Remote Kernel Tracker are affected. ... Please do not send e-mail directly to this alias. ...
    (microsoft.public.windowsce.platbuilder)

Loading