is there a way to allow the user to add ONLY ONE record on a form based on a table. i don't want the user to see previous records or edit them. any ideas? thank!
What I think you are asking is can you make a form that allows a user to add a new record and then not let them see any records they have added. In other words, you open the form add a new records and go to the next next new record, but not be able to go to the previously added record(s). The simplest way I can think of would be to set your form DataEntry property to yes, and then either disable all the navigation buttons by setting the NavigationButton Property to No or have the form close and re-open after every recrod is entered. Programming isn't a profession of choice.
It's a profession of calling...
"Hey Programmer, your application broke again!"
Robert L. Johnson III, A+, Network+, MCP
robert.l.johnson.iii@citi.com
Based on your last post you want the user to be able to enter only one record - that's it, no more, no less.....two option. The first would be to simply close the form....Why keep it open??? The second is using the OnCurrent Event for the form (which is fired every time the record is changed) set the NavigationButtons Property to No and the AllowAdditions Porperty to No. The user now opens the form set to DataEntry Yes, enters one record, and when they "move" to the next record, the navigation buttons are gone to go back and the additions property is set to no. Programming isn't a profession of choice.
It's a profession of calling...
"Hey Programmer, your application broke again!"
Robert L. Johnson III, A+, Network+, MCP
robert.l.johnson.iii@citi.com
thanks for the help. unfortunetly, the form in question is a pop up form that adds records to a combo box. the problem is that the on current event fires when the form is opened thus not allowing additions at all. anyway, i worked around it by just plain old getting rid of the form and now i have it added directly to the table. thanks again for the help though.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.