Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wierd behavior with addlistitem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00392691
Message ID:
00392699
Views:
9
>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?

Something weird. :-) Backslash in a list means the item is disabled, so that's why you're losing it here. Try trimming the '\\' off when you add it, and then when you select it, put it back on.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform