July 14, 200025 yr quote: Originally posted by JLPSch: I am updating an order program I wrote to include a function to process backorders. I would like to write a script to create a new record to process a backorder, but I'm stuck on how to create the new order no. for the backorder. It has to be combination of the original order number with a -001 to it. I also have to be able to process another backorder off the first backorder and assign it a new order number. Any suggestions would be appreciated. Thanks! Start by changing the "Order Number" to a text field. Then simply append "-001" to the end of the field. You can use any method you like for determining what numnber "-001", "-002", etc. ------------------ =-=-=-=-=-=-=-=-=-=-=-=-= Kurt Knippel Senior Filemaker Developer http://www.database-resources.com mailto:[email protected] =-=-=-=-=-=-=-=-=-=-=-=-=
July 15, 200025 yr Newbies I am updating an order program I wrote to include a function to process backorders. I would like to write a script to create a new record to process a backorder, but I'm stuck on how to create the new order no. for the backorder. It has to be combination of the original order number with a -001 to it. I also have to be able to process another backorder off the first backorder and assign it a new order number. Any suggestions would be appreciated. Thanks!
Create an account or sign in to comment