Runtime error message - unable to perform operator BAND on object
for code in segmented control and toggle (active) .
if (index == 0 & activepat ==true) {
MasterTable.dataSet = PostgreSQL1.ActiveID
} else if (index == 0 & activepat == false) {
MasterTable.dataSet = PostgreSQL1.AllID
} else if (index == 1 & activepat == true) {
MasterTable.dataSet = PostgreSQL1.ActiveLastname
} else {
MasterTable.dataSet = PostgreSQL1.AllLastname
}
Thanks
Joel