Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Substituting arrays of VB
Message
From
30/04/2002 16:48:55
 
 
To
25/04/2002 10:59:27
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00649148
Message ID:
00651103
Views:
22
< snip >
>The following line has the array command of VB, which I have difficulty implementing in VFP.
>
>loAddBook.TextFileColumnDataTypes = Array(1, 1, 1, 1, 1, 1)
>
>How can I pass the right values to 'TextFileColumnDataTypes' Property in VFP. I tried passing an array in VFP, but failed.
< snip >

Actually you do not need of it if you leave all the values to 1 - General data type. So if in your case it is applicable - just skip this line - it will work without it.
But... as an option - this is probably the thing you need:
loAddBook.TextFileColumnDataTypes = CREATEBINARY(Replicate(Chr(1),6))
HTH
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform