makes automatic code

hi all,
anyone can help me to make automatic code in the DB value (Insert) for the primary key
sample sales table for field sales_id = SS001

Regards
Aditya

[QUOTE=adityaarnugraha;37838]hi all,
anyone can help me to make automatic code in the DB value (Insert) for the primary key
sample sales table for field sales_id = SS001

Regards
Aditya[/QUOTE]

Go to edit fields, then in the list go to the primary value and force the insert value by your value. This can be a fixed value or a global variable, but on each insert this value will be used.