Adding record to a filtered subset

M

Mike Matheny

I have a form that opens up to choose companies from. The key field is CID.
I then have a button that opens up a maintenance form for the selected
company, i.e. to add users, equipment, etc. So when I click Maintenance, it
open the form for contact info for the company, and below I have buttons for
user maintenance, equipment maintenance, etc. When I click on the user
maintenance button it shows just the users for the company I am working
with. I added Add, Save, Delete, Undo buttons using the button wizard.
Problem is, if I add a record, the CID changes from the CID I am working
with, to 0. I have a CID field on the form for troubleshooting, and when I
first bring up the user maintenance form, it shows a CID of say 4, and I can
scroll through all the users for that particular company. If I click Add,
the CID changes to 0! Even if I click the right arrow on the navigation bar,
it changes to 0 also. How do I let it know I want the user added and to
update the CID with the currently in-use CID?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top