Thanks. I ended up with this which worked perfectly. perform using conn as type MySqlConnection = new MySqlConnection(gm::GetConnection) invoke conn:: Open() perform using cmd as type MySqlCommand = new MySqlCommand("UserRights", conn) set cmd::CommandType to type CommandType::StoredProcedure perform using dr as type MySqlDataReader = cmd::ExecuteReader perform until not dr::Read set trObj::_userrights = dr['Rights'] invoke userList::Add(trObj) end-perform end-perform end-perform end-perform
↧