AssassinUK
Technical User
Hi
I'm trying to create an application using MS Access using an existing database, but I've suddenly hit on a problem where the main forms, subforms are dissappearing when there is no data and I haven't a clue how I've managed to mess it up.
I have four subtables all linked with 1-many relationships to the main master table.
The master form contains mini forms of the other four tables, allowing the user to see if there is any additional data, they can then click on the SHOW DETAILS button to open the subform up in full view to display all of its data. When I started setting up the DB I had the subforms displaying all the time, empty fields where shown when there was no data matching the main forms primary key. I also had an ADD button on the main form to allow the user to enter new information. This was working fine until a couple of days ago.
Over the last few days something has changed and now the subforms just appear blank (no fields) when there is no data in the subtables. The forms only appearing when there is data. The problem now is the forms look a mess and when clicking ADD you can't add data to the subforms as the form is missing. When viewing the main form you now just get a grey box the size of the missing form, until a matching record is found when the form does appear. I can see the structure of the form in the grey box but without any field boxes. Just the headings show.
I'm using Windows 2000 & Office 2000
Anyone any ideas what I've messed up and why its only just started doing this, and more importantly how to fix it ?
I'm trying to create an application using MS Access using an existing database, but I've suddenly hit on a problem where the main forms, subforms are dissappearing when there is no data and I haven't a clue how I've managed to mess it up.
I have four subtables all linked with 1-many relationships to the main master table.
The master form contains mini forms of the other four tables, allowing the user to see if there is any additional data, they can then click on the SHOW DETAILS button to open the subform up in full view to display all of its data. When I started setting up the DB I had the subforms displaying all the time, empty fields where shown when there was no data matching the main forms primary key. I also had an ADD button on the main form to allow the user to enter new information. This was working fine until a couple of days ago.
Over the last few days something has changed and now the subforms just appear blank (no fields) when there is no data in the subtables. The forms only appearing when there is data. The problem now is the forms look a mess and when clicking ADD you can't add data to the subforms as the form is missing. When viewing the main form you now just get a grey box the size of the missing form, until a matching record is found when the form does appear. I can see the structure of the form in the grey box but without any field boxes. Just the headings show.
I'm using Windows 2000 & Office 2000
Anyone any ideas what I've messed up and why its only just started doing this, and more importantly how to fix it ?