5114 AE_INVALID_READONLY_OPTION

Advantage Error Guide

The statement read-only type specified was invalid. Valid choices are ADS_CURSOR_READONLY and ADS_CURSOR_READWRITE.