Hi,
I have a form to create new customers, and I use the “F3” to insert a new record, but when “ESC” is pressed the form show the last Record and I want to prevent that.
On ESC, should close the Form.
I guess you can put a Menu button shortcut that closes the form with the ESC key, but I think that it's silly and will have consequences (like no more ESC key to even undo your typing, much less abandoning the import of a record).
This form is a quick insert customer form from the sales Order and, on close, brings the customer to the sales order. It’s not supposed to see other customers.
I was looking for some trigger that could be used to prevent this, but I don’t know what the form does when we press “ESC” in this case…. Can anyone help me? For sure that anyone already had to create a “Insert form”.
Of course that I can try to use a Temp Customer table, and Insert in real in the end, but I have to change everything in this form!!!
What about inserting the customer, then running the form with a filter for that new customer number? We did a similar thing with Ship-to Addresses. If it finds a record with a blank name / address / etc it uses opens to that one instead of a new one.
This form is a quick insert customer form from the sales Order and, on close, brings the customer to the sales order. It’s not supposed to see other customers.
I was looking for some trigger that could be used to prevent this, but I don’t know what the form does when we press “ESC” in this case…. Can anyone help me? For sure that anyone already had to create a “Insert form”.
Of course that I can try to use a Temp Customer table, and Insert in real in the end, but I have to change everything in this form!!!
Thanks
What about teaching them the Navision way, and get them to do it properly. [-(
Comments
What's the problem with a user seeing a customer?
My Blog - nav.education
I was looking for some trigger that could be used to prevent this, but I don’t know what the form does when we press “ESC” in this case…. Can anyone help me? For sure that anyone already had to create a “Insert form”.
Of course that I can try to use a Temp Customer table, and Insert in real in the end, but I have to change everything in this form!!!
Thanks
My Blog - nav.education
What about teaching them the Navision way, and get them to do it properly. [-(