Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't report bugs - Create cursor from array
Message
 
To
27/12/2002 08:44:21
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00736027
Message ID:
00736032
Views:
18
Not quite clear, why you need to create the field caption with the space. Anyway the caption will not contain space in VFP6/7.

>As this page doesn't work...
>
>http://support.microsoft.com/default.aspx?scid=/Support/vfoxpro/report/report.asp
>
>I'm posting here this one:
>
>*-----
>*
>* Spaces after a field name in the source array crash a CREATE CURSOR FROM ARRAY in VFP.8, not in previous versions
>*
>*-----
>local laStructure(1)
>dimension laStructure(1, 4)
>laStructure(1, 1) = 'BI_TOPIC ' && <--- There is a space here
>laStructure(1, 2) = 'C'
>laStructure(1, 3) = 60
>laStructure(1, 4) = 0
>create cursor cNewFile from array laStructure && <--- Crash in VFP8 only
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform