Need help fixing an error populating a select box in the insert page but works in the editpage

Thanks I have it working now.