Tables in free connections don't support a primary key. (They do support unique indexes however.)
Tables in dictionaries support primary keys by the table property TABLE_PRIMARY_KEY
.
http://devzone.advantagedatabase.com/dz/webhelp/Advantage11.1/master_sp_modifytableproperty.htm
EXECUTE PROCEDURE sp_ModifyTableProperty(
'TableName'
, 'TABLE_PRIMARY_KEY'
, 'IndexName'
, 'RETURN_ERROR'
, NULL
)
You have to add a unique index using the CREATE UNIQUE INDEX
statement first.
CREATE UNIQUE INDEX IndexName ON TableName (ColumnName)
http://devzone.advantagedatabase.com/dz/webhelp/Advantage11.1/master_create_index.htm