>I have two cursors, each containing one record, which I would like to join to produce a third single-record cursor using SELECT * FROM Cursor1, Cursor2 INTO Cursor3.
>The problem is that Cursor3 contains zero records, when I expected the cartesian join to produce 1 record.
>For the record, Cursor1 is created via SQLExec(), Cursor2 is created using SELECT * FROM (remoteview) INTO CURSOR Cursor2 READWRITE.
>
>Have I missed something here? Any help would be appreciated.
>
Alan,
What VFP version are you using? The following code correctly returns 1 record in VFP9SP1.
CREATE CURSOR Cursor1 (fld1 C(10) NULL, fld2 C(10) NULL)
APPEND blank
CREATE CURSOR Cursor2 (fld3 C(10) NULL, fld4 C(10) NULL)
INSERT INTO Cursor2 VALUES (Null, Null)
SELECT * FROM Cursor1, Cursor2 INTO CURSOR Cursor3
? _TALLY
--sb--