Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable a list item
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00983072
Message ID:
00983082
Vues:
17
>I have the following code. Note the "\-" to disable
>the row. But the row is still enabled. What am I doing
>wrong here?
>
>
>SCAN FOR BatchNo # 0
>
>nRow = nRow + 1
>
>  cRecordId  = TRANSFORM(Id)
>  cEntryDate = SUBSTR(TRANSFORM(EntryDate), 1, 10)
>  cTranDate  = SUBSTR(TRANSFORM(TranDate), 1, 10)
>  cBatchId   = TRANSFORM(BatchId)
>  cCount     = TRANSFORM(Cnt)
>  cEntity    = EntityId
>  nRow       = nRow + 1
>				
>  .lstBatches.AddListItem("\-" + cRecordId, nRow, 1)
>  .lstBatches.AddListItem(cEntryDate, nRow, 2)
>  .lstBatches.AddListItem(cTranDate, nRow, 3)
>  .lstBatches.AddListItem(cBatchId, nRow, 4)
>  .lstBatches.AddListItem(cCount, nRow, 5)
>  .lstBatches.AddListItem(cEntity, nRow, 6)
>			
>ENDSCAN
>
I believe you need to use "\\" to disable.
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform