Value requires (more) subscripts -

Rewriting my import app for all the changes in the new csv file. When compiling this error now occurs. Not sure what it means and how to correct.

Value requires (more) subscripts - C:\NewFMCSA\ImportFMCSA002.clw:257,11

que:dot=bas:DOT_NUMBER

Compiles when this line is removed.

Perhaps that field is an array

One of those fields is sn array and needs a [index]

One of those fields is sn array and needs a [index]

As others have said, there’s an array in there somewhere.

Thanks Everyone,

How is the best approach to find it.

Read the clw and look for those field declarations. If necessary read the MEMBER clw if the declarations are there.

In the declaration if its defjned as ,DIM then its an array.

Use File Open and pick ImportFMCSA002.clw
Find Pre(que)
Then scroll down to the field named DOT
How is that declared?
Does it have a DIM(
If Yes, should it?

Repeat the above
searching for Pre(bas) then DOT_NUMBER

You probably won’t find it, I would guess it’s in your Dictionary
So open your DCT
Find the file with PRE(bas)
Find the field DOT_NUMBER
It probably has a DIM number that you entered accidentally when you meant to enter that number into size

Failing that you could search in your root module
ImportFMCSA.clw
for Pre(bas) then DOT_NUMBER

YES, thought I had checked but missed one file. Many thanks Carl and everyone. Have been struggling with this for days. Now to reconcile the other 2 dataset changes which are keyed to the DOT number. Thanks again for the help.