Hi All
WinXPPro (SP2)
Access 2002 (SP3) and Access 2007
I have a mainform with a number of tabs on it. On the 1st tab there is a subform.
On subseqent tabs there are controls some of which are bound to fields in the table 'Tracks'and the mainform has many buttons (including my own navigation buttons). I wanted to display a datasheet-view of the table 'Tracks' but wanted the main form to remain in form-view such that all these features can be used; this is the purpose of the subform on the 1st tab.
The main and sub forms both have a recordsource of :-
SELECT * FROM Tracks;
I syncronise bookmarks in the current events of main and subforms to ensure they both are 'looking' at the same record in the 'Tracks' table.
I have various other tables that record the properties of each main 'Tracks' record; 'Media Type' and 'Owner' for example. The 'master' Tracks table has fields in which are stored the autonumbers of the other property tables.. so 'Media_Type_ID' and 'Owner_ID' in my examples.
Unbound comboboxes on my subform are populated from these other tables via SQL in their rowsources (controlsources are left blank). In the current event of the mainform, I scroll to the appropriate row in the subform comboboxes so relevant data is displayed for the selected 'Tracks' record. Edits of Tracks' properties data are recorded via SQL updates in Vb.
All works marvellously well until I switch the subform to Datasheet view.
As the datasheet is scolled through, the columns contaning the comboboxes all display the same data for every record. This is quite difficult to put in text so I have attached some jpgs.
subform1.jpg - Shows Track75 selected - Track75 has no media defined for it yet and so the Media field is empty.
subform2.jpg - Shows Track75 selected and the possible options from the media combobox.
subform3.jpg - Shows Track79 selected. This track has a media property of 3.5" Floppy ... but this property is displayed for all records??
subform4.jpg - Shows Track89 selected. This track has a media property of CDR ... but, again, this property is displayed for all records??
I have the default view for the subform set to continuous forms?
Any idea why this is happening please?
Thanks in advance...
WinXPPro (SP2)
Access 2002 (SP3) and Access 2007
I have a mainform with a number of tabs on it. On the 1st tab there is a subform.
On subseqent tabs there are controls some of which are bound to fields in the table 'Tracks'and the mainform has many buttons (including my own navigation buttons). I wanted to display a datasheet-view of the table 'Tracks' but wanted the main form to remain in form-view such that all these features can be used; this is the purpose of the subform on the 1st tab.
The main and sub forms both have a recordsource of :-
SELECT * FROM Tracks;
I syncronise bookmarks in the current events of main and subforms to ensure they both are 'looking' at the same record in the 'Tracks' table.
I have various other tables that record the properties of each main 'Tracks' record; 'Media Type' and 'Owner' for example. The 'master' Tracks table has fields in which are stored the autonumbers of the other property tables.. so 'Media_Type_ID' and 'Owner_ID' in my examples.
Unbound comboboxes on my subform are populated from these other tables via SQL in their rowsources (controlsources are left blank). In the current event of the mainform, I scroll to the appropriate row in the subform comboboxes so relevant data is displayed for the selected 'Tracks' record. Edits of Tracks' properties data are recorded via SQL updates in Vb.
All works marvellously well until I switch the subform to Datasheet view.
As the datasheet is scolled through, the columns contaning the comboboxes all display the same data for every record. This is quite difficult to put in text so I have attached some jpgs.
subform1.jpg - Shows Track75 selected - Track75 has no media defined for it yet and so the Media field is empty.
subform2.jpg - Shows Track75 selected and the possible options from the media combobox.
subform3.jpg - Shows Track79 selected. This track has a media property of 3.5" Floppy ... but this property is displayed for all records??
subform4.jpg - Shows Track89 selected. This track has a media property of CDR ... but, again, this property is displayed for all records??
I have the default view for the subform set to continuous forms?
Any idea why this is happening please?
Thanks in advance...