Solved
How to compare two infotable fields
Hello all,
Can anyone tell me, how to compare two infotable fields are same ?
Thanks,
VR
Hello all,
Can anyone tell me, how to compare two infotable fields are same ?
Thanks,
VR
Ok, then you need to recover Infotable definition fields, to do that you can use the following code:
var fields ;//
if ((infotable.dataShape==null)||(infotable.dataShape==undefined)) {
fields = infotable.ToJSON().dataShape.fieldDefinitions;
} else {
fields = infotable.dataShape.fields;
}
Than you do for both infotables, and check if they have the same fields.
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.