Compute with form

I have found that when i create a new document in script and save it, it does not appear in view - the view searches by subject and the document contains a subject. However if i edit and save the document or use compute with form the document is visable?

Could someone please tell me what causes this

Many thanks

Subject: Compute with form

Does your view selection formula also look for the form name ? Has the form name been set by the script that creates the document ?

Please paste the complete selection formula of the view here if you still have trouble.