for each index

for each index

Hello All

I know I need to somehow reference which records in the index.. but and not have any success.




contrec = zoho.crm.getRelatedRecords("Contacts",("Accounts"),accid,1,3);
for each index ii in contrec
{
stremail = contrec.get("Email");
        strfname = contrec.get("First Name");
strm = contrec.get("Mobile");
}

This is the error that return.. Again I know I need to access the by index ....not sure how.

Mismatch data type for function get at argument index 1 expected data type BIGINT found dataType STRING

Any help would be great. !