Hi,
This has been driving be nuts!!! I'm trying to replace the names in MySqlRecord with the values in cols.
ie: In MySqlRecord "VendorId": "398" would become "Vendor Id No": "398"
Code:
var cols= {
"IDno":"Id No",
"VendorId": "Vendor Id No:",
"AccountNo": "Account No:"
}
var MySqlRecord = {
"IDno": "111",
"VendorId": "398",
"AccountNo": "2398-A"
}
Any help in doing this will be appreciated.
R