Hello Friends, I would appreciate if some of you help me on these two problems about Form:
1) I have made a complaint database, where I register complaint received from customer. To know about complaint registered in a month, I have made a parameter query where I enter begining and ending dates. I have made a form (dialog box) to enter this prompt. This works well when I enter dates. However, when I close the form (dialog box), by clicking close button, a Run-time error '2501' appears with message "You used a method Docmd object to carry out an action in visual basic, but then clicked cancel in a dialog box"
2) To get the customer contact information, I have copied and used 'Customer Phone list' from MS Northwind sample database with macro, option filters and others. The contact information works well with filtered data when I press the toggle button. However, only one record appears on the form, when there are several records. I have to use bottom navigator to get other records. But when I see Northwind sample database, Customer Phone list, all records for, example, "letter 'A' " appears. Am I missing something in my code, when I copied?
Thanks in advance,
Jit
1) I have made a complaint database, where I register complaint received from customer. To know about complaint registered in a month, I have made a parameter query where I enter begining and ending dates. I have made a form (dialog box) to enter this prompt. This works well when I enter dates. However, when I close the form (dialog box), by clicking close button, a Run-time error '2501' appears with message "You used a method Docmd object to carry out an action in visual basic, but then clicked cancel in a dialog box"
2) To get the customer contact information, I have copied and used 'Customer Phone list' from MS Northwind sample database with macro, option filters and others. The contact information works well with filtered data when I press the toggle button. However, only one record appears on the form, when there are several records. I have to use bottom navigator to get other records. But when I see Northwind sample database, Customer Phone list, all records for, example, "letter 'A' " appears. Am I missing something in my code, when I copied?
Thanks in advance,
Jit