Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best Placement of Code
Message
From
09/11/2021 10:27:17
 
 
To
09/11/2021 09:54:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01679489
Message ID:
01682675
Views:
54
Looks like the code I referred to, isn't complete. This is another link which refers to the same problem, and with almost identical code: https://fox.wikis.com/wc.dll?Wiki~AppendCSV~Wiki

You will note that the code in this link has one "extra" line, "DIMENSION aDV[nFieldCount]". You will need the same line, but you must change the name of the array,


>Ahhhhh.... aDataValues is the only one not populating with a value.
>
>>Thanks. It's the code:
>> aDataValues[nField] = ;
>> LEFT(cString,nCommaPos-1)
>>
>>>
>>>I apologize up front if this is wrong to message you directly, ...Wanted to drop you aline directly instead of posting to the All group folks. I have a problem getting my excel csv file added to my table (it has some memo fields to capture long texts in certain cells. Someone pointed me to your article from 2003 amount appending memos. The code errors off with syntax error
>>>
>>>I'm attaching the code and the error message.
>>
>>Start the debugger, and tell us exactly which variable is not found.
>>
>>NB! Please don't present pictures of code, show the actual code as text instead.
>
>so which one of those is missing?
>- [ ] aDataValues
>- [ ] nField
>- [ ] cString
>- [ ] nCommaPos
>?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform