February 20th, 2004, 11:21 AM
First, you don't have to manually build up a variable to hold the id and token. CF generates one already, called "session.urltoken". So in all your links and form posts, you do:
Next, as far as I can tell this is just wrong:
| <cfquery database="#application.ds#> |
Without a WHERE clause, this will update ALL rows in your table. And I guess I'm still unclear what you are trying to do. Do you want to insert the newest id and company into the odernumbers table?