Cancel
Showing results for 
Search instead for 
Did you mean: 

copy from table column issue

Genius
Genius

He,

 

I have an issue with the method array.copyFromTableColumn

 

If you use it with the type date or datetime an error appear : Type mismatch.

 

bug-copyFromTableColumn.pngIs there a mistake or this is a bug ?

2 REPLIES

Betreff: copy from table column issue

Valued Contributor
Valued Contributor
Hi rpinon, If I am not mistaken, I think "Copyfromtablecolumn" copies the values of the column to a One-dimensional array of type string. This could work. var array: string[ ] array.copyfromtablecolumn(table, ColumnNo) Regards, Simpulse

Re: copy from table column issue

Genius
Genius

Hi, 

 

no copyFromTableColumn use the type of the column selected because the line with the real[] works fine.

 

The real strange thing is that my array is set with the data :bug-copyFromTableColumn2.png

You can see on my screen shot. d is set and I have the error Type mismatch...