Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INSERT ... SELECT and row buffering, bug or not bug ?
Message
De
22/12/2004 11:07:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Titre:
INSERT ... SELECT and row buffering, bug or not bug ?
Divers
Thread ID:
00971447
Message ID:
00971447
Vues:
60
Run this indirect way, the record it is buffered:
CREATE CURSOR PIVOT (FF I)
APPEND BLANK 

CREATE CURSOR abba (f1 I)
CURSORSETPROP("Buffering",3)

SELECT TOP 1 00 FROM PIVOT ORDER BY 1 INTO ARRAY vv
INSERT INTO ABBA FROM ARRAY vv
? 'INSERT FROM ARRAY',GETFLDSTATE(-1),RECCOUNT()
Run this direct way, the record it is updated:
CREATE CURSOR PIVOT (FF I)
APPEND BLANK 

CREATE CURSOR abba (f1 I)
CURSORSETPROP("Buffering",3)

INSERT INTO ABBA SELECT TOP 1 200 FROM PIVOT ORDER BY 1
DEBUGOUT 'INSERT SELECT',GETFLDSTATE(-1),RECCOUNT()
Bug,
undoc behaviour
doc behaviour ?

Fabio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform