Thanks Ray. I found the code you referenced in 3 of the 5 pages created by Data Assist (usergroups_detail.php, usergroups_results.php and usergroups_update.php). I also saw that while I selected the table "ps4_usergroups",. Data Assist was looking for the tabel "usergroups". I think I fixed those. But I am still getting the same error on the results page.