Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GATHER NAME problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00806421
Message ID:
00806449
Vues:
19
This message has been marked as the solution to the initial question of the thread.
Hi Jamie,

Yup, I see the same. Looks like another quirk of the collection FOR EACH - FWIW avoiding it seems to work:
 *!*	  SELECT Items
  *!*	  LOCATE
  *!*	  FOR EACH loItem IN loItems
  *!*	    *-- LoItem.Field2 = "Changed"
  *!*	    GATHER NAME loItem MEMO
  *!*	    IF NOT EOF()
  *!*	      SKIP 1
  *!*	    ENDIF
  *!*	  ENDFOR
  *!*	  *-- But it doesn't here

  LOCAL loTemp,x
  SELECT Items
  LOCATE
  FOR x = 1 TO loItems.COUNT
    loTemp = loItems(x)
    GATHER NAME loTemp MEMO
    IF NOT EOF()
      SKIP 1
    ENDIF
  ENDFOR
Regards,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform