>* This does not work, no error gets shown, but the replace command
>* does not put anything in the field
>REPLACE prceng.prcpqtyby2t WITH THIS.LIST(THIS.LISTINDEX,1)
>
>* This works
>SELECT prceng
>REPLACE prcpqtyby2t WITH THIS.LIST(THIS.LISTINDEX,1)
>
>Is this a bug, feature, or my misusing a replace on a table that is not selected?
Add the IN prceng to the end. VFP has a peculiar behavior that if you are sitting at the end of the file in your current area and you attempt to replace in another work area, the replace will fail.
HTH
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement