Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP new bug: UPDATE with SET RELATION fails
Message
From
01/12/2001 15:17:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
VFP new bug: UPDATE with SET RELATION fails
Miscellaneous
Thread ID:
00588420
Message ID:
00588420
Views:
86
Please confirm, is this VFP bug ?
CREATE CURSOR Cursor1 ( Field1 c(10) )
INSERT INTO Cursor1 VALUES ('HLADU' )
INSERT INTO Cursor1 VALUES ('POOD')

CREATE CURSOR RCursor ( Field1 c(10) )
INSERT INTO RCursor VALUES ( 'HLADU' )
INDEX ON Field1 TAG T

SELECT Cursor1
SET RELA TO Field1 INTO RCursor

UPDATE Cursor1 ;
    SET Field1=Field1 ;
    WHERE !EOF('RCursor') AND ;
       Field1 IN (SELECT Field1 FROM RCursor )
* Result: 0
* Expected result: 1
messagebox( STR(_TALLY) )
Andrus
Next
Reply
Map
View

Click here to load this message in the networking platform