Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wierd behavior with addlistitem
Message
De
14/07/2000 16:54:24
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Wierd behavior with addlistitem
Divers
Thread ID:
00392691
Message ID:
00392691
Vues:
57
I have a list box that I'm adding UNC paths to:

DO WHILE NOT EOF('Mytable')
loList.AddListItem(ALLTRIM(Mytable.fcDatabase), X)
SKIP IN Mytable
ENDDO

mytable.fcDatabase in this case has a path like:
"\\computer\sharename\datapath"

Problem is, the addlistitem() is stripping off the first "\". What ends up being stored is "\computer\sharename\datapath"

I tried assigning field value to a variable first, and then addlistitem(variable, count), but that did the same thing. Is this something wierd with addlistitem, or am I just smokin?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform