Initialize form with blank fields

I referred this post.

but after setting datasource’s AutoSearchproperty to yes all fields are now not editable.

AutoSearch property only says whether the query should be run automatically when you open the form. It’s not about fields being editable or not.

All I know about your form is what you told us, which is nothing, therefore I can’t give you any specific advice. But in general, you either didn’t create a new record (which may be done automatically or in code) or you have a record, but the fields aren’t editable (because the whole data source or individual fields are set with AllowEdit = No or something like that).