I'm not sure yet how to explain the problem. I think if I could explain the problem better I may be able to figure out what needs fixing. But alas, I am spending my days and nights trying to run my business and haven't really learned what I need to know about programming in Alpha Five. I was hoping I could just click and place and it would work. Okay, here goes my attempt at explaining what I need help with.
Up until yesterday I had a working embedded browse on my main Customer Management form. This browse would show me a list of all "Units" owned by the Customer when I clicked on the Units tab. This form is based on a set that starts with my Customer table and links several other tables that hold information about several aspects of what I track for each customer. I have a Request table to log customer requests, a Transaction table to log monies received on Invoices or Contracts, and a Units table to hold records for each separate appliance owned/purchased by this customer, including where it is installed, it's serial number, etc.
BTW, this database was started before I had version 9. I now am using it with Version 11. Version 9 has been removed. All my edits are being done in Version 11.
My form consists of a main information area that holds the customer number, name, contact info, etc. Under this main area I have placed a tabbed sub-form with a tab for each of the linked tables. One tab holds fields for the Customer Account info, one for the Requests, one for the Units, and one for the Transactions. By clicking on each tab of the subform I can quickly see all records associated with this one customer and each table is linked to the Customer table with a CustomerID field.
Yesterday I tried getting fancy and added another embedded browse to the requests tab, under the main requests browse, that would show me the linked Units for each request when I clicked on the specific Request record in the requests browse. I couldn't get it to work at first so I figured out that if I edited the set to include a link from the Request table to the Units table I could get the correct unit to show up. Great! It now works.
Unfortunately, now when I click on the seperate Units tab to look at the Units browse I now have a bad browse. The broswe now shows me a continuously repeating list of the same Unit number. It used to show me a list of all the Units owned by this customer. Now I only get one record repeated down the browse, filling the browse from top to bottom.
I tried removing the browse and redoing it. I tried creating a named browse and then linking to it. Nothing is working.
I have a feeling it has something to do with the set definitions. But I really don't know. It could be completely unrelated.
Is it okay to add more than one link to the same table in a set definition? The first link is from Customers to Units, as a One-to-many. I also linked the Units table to the Request table so I could see the model number when I clicked on a request in my request browse. So now I have the Units table linked twice in different branches of the set diagram and one of the links is named with an alias of "Units1" and the other is "Units".
I'll try to lay out my set diagram here:
What have I done? Did my change to the set diagram break my browse of the Units records associated with each Customer?
Is there a way to copy this database/workspace and remove all the personal data at the same time? If so, I could send a copy of my database so you all could take a look at what I've done. If not, I'll try to explain the best I can.
Thanks,
Sean
Up until yesterday I had a working embedded browse on my main Customer Management form. This browse would show me a list of all "Units" owned by the Customer when I clicked on the Units tab. This form is based on a set that starts with my Customer table and links several other tables that hold information about several aspects of what I track for each customer. I have a Request table to log customer requests, a Transaction table to log monies received on Invoices or Contracts, and a Units table to hold records for each separate appliance owned/purchased by this customer, including where it is installed, it's serial number, etc.
BTW, this database was started before I had version 9. I now am using it with Version 11. Version 9 has been removed. All my edits are being done in Version 11.
My form consists of a main information area that holds the customer number, name, contact info, etc. Under this main area I have placed a tabbed sub-form with a tab for each of the linked tables. One tab holds fields for the Customer Account info, one for the Requests, one for the Units, and one for the Transactions. By clicking on each tab of the subform I can quickly see all records associated with this one customer and each table is linked to the Customer table with a CustomerID field.
Yesterday I tried getting fancy and added another embedded browse to the requests tab, under the main requests browse, that would show me the linked Units for each request when I clicked on the specific Request record in the requests browse. I couldn't get it to work at first so I figured out that if I edited the set to include a link from the Request table to the Units table I could get the correct unit to show up. Great! It now works.
Unfortunately, now when I click on the seperate Units tab to look at the Units browse I now have a bad browse. The broswe now shows me a continuously repeating list of the same Unit number. It used to show me a list of all the Units owned by this customer. Now I only get one record repeated down the browse, filling the browse from top to bottom.
I tried removing the browse and redoing it. I tried creating a named browse and then linking to it. Nothing is working.
I have a feeling it has something to do with the set definitions. But I really don't know. It could be completely unrelated.
Is it okay to add more than one link to the same table in a set definition? The first link is from Customers to Units, as a One-to-many. I also linked the Units table to the Request table so I could see the model number when I clicked on a request in my request browse. So now I have the Units table linked twice in different branches of the set diagram and one of the links is named with an alias of "Units1" and the other is "Units".
I'll try to lay out my set diagram here:
Code:
Customers |===Requests |===Request_Dtl |___Units1 |===Transactions |===Units
Is there a way to copy this database/workspace and remove all the personal data at the same time? If so, I could send a copy of my database so you all could take a look at what I've done. If not, I'll try to explain the best I can.
Thanks,
Sean
Comment