In your latest form, field18 is the product number, so in that case in your "Get Product Number" rules, you'd set the query field18 in the Teklif No Form to the selected Product Number. I've added that rule to this form, just in case I've guessed correctly. Save the file locally, right click and preview. Enter an existing product number (something that is in your library already) and then click your Get Product Number button - that should return only the data from the library where the product number matches. Then it gets the max and adds 1. If there is no data that matches, you'll get NaN - and then you can set it to 1.
Hilary Stoupa
