Hello
I have SQL sentence in my forms. And can get from it two results. 'SA' or nothing. When there is 'SA' i can commit my rows and go to the next record. But when there is nothing i can't commit and i allways find myself in the item so i could write something in. But i mustn't. How can i program so it will commit when it's 'SA' or nothing? There are just those two options and must be commited. How can i get rid of message (with exception) and commit like it's everything normal, like nothing is something too?
Thanks
I have SQL sentence in my forms. And can get from it two results. 'SA' or nothing. When there is 'SA' i can commit my rows and go to the next record. But when there is nothing i can't commit and i allways find myself in the item so i could write something in. But i mustn't. How can i program so it will commit when it's 'SA' or nothing? There are just those two options and must be commited. How can i get rid of message (with exception) and commit like it's everything normal, like nothing is something too?
Thanks