Sartek
Got LOST?
- Local time
- Today, 11:02
- Joined
- Sep 30, 2004
- Messages
- 8
First Off, I must say that for the week or so prior to joining I've been reading the forums here like mad and they have been extremly helpful with everything..except my current issue, and I'll try and be as concise as possible. (done websearches on this one, disected teh NorthwindsDB, disected my "professionally done by someone else DB" that has all my data
I'm developing a personnel records database in Access 2K3.
(According to MS, the A2k file format is standard for 2K, 2K2-XP, and 2K3)
I'm using an unbound combo-box in my main form to pull specific records. these records are displayed in a subform on a tab control. this all works very successfully thanks to the information i found here.
I have made teh subform read only, meaning that the record specific information is only displayed. whoever is viewing the information cannot edit or select the info from this form. this is to prevent someone from randomly editing phone numbers or addresses, etc.
My issue is that when the main form is first displayed, the combobox is empty, as it should be, yet the subform is displaying the first record by default. I woudl like all the fields to be blank untill I select which record i would like to view in the combobox.
So far, I've tried the 'DoCmd' options that have been mentioned, and the Me.txtbox answers, I've tried setting the default value for the textboxes, and I've even tried entering a blank record into the primary table that the form displays info from, all to no avail.
I can't use the GotoRecord, or OpenForm answers becasue I have the form set for no editing allowed, otherwise they display a blank record only that lets me enter data to my heart's content, and nothign else.
the Me.txtbox="" just doesn't seem to have any effect whatsoever.
I have 2 forms (Main + Subform), 2 Queries (combobox data + complete info), and 3 tables (1 to 1 relationship, ID defined as master)
Almost a week of reading these forums has gotten me a long ways, especially since i have ZERO prior experience with a database structure like this and it's been 6 years since i've made a DB using access (way back in highschool).
I'm developing a personnel records database in Access 2K3.
(According to MS, the A2k file format is standard for 2K, 2K2-XP, and 2K3)
I'm using an unbound combo-box in my main form to pull specific records. these records are displayed in a subform on a tab control. this all works very successfully thanks to the information i found here.
I have made teh subform read only, meaning that the record specific information is only displayed. whoever is viewing the information cannot edit or select the info from this form. this is to prevent someone from randomly editing phone numbers or addresses, etc.
My issue is that when the main form is first displayed, the combobox is empty, as it should be, yet the subform is displaying the first record by default. I woudl like all the fields to be blank untill I select which record i would like to view in the combobox.
So far, I've tried the 'DoCmd' options that have been mentioned, and the Me.txtbox answers, I've tried setting the default value for the textboxes, and I've even tried entering a blank record into the primary table that the form displays info from, all to no avail.
I can't use the GotoRecord, or OpenForm answers becasue I have the form set for no editing allowed, otherwise they display a blank record only that lets me enter data to my heart's content, and nothign else.
the Me.txtbox="" just doesn't seem to have any effect whatsoever.
I have 2 forms (Main + Subform), 2 Queries (combobox data + complete info), and 3 tables (1 to 1 relationship, ID defined as master)
Almost a week of reading these forums has gotten me a long ways, especially since i have ZERO prior experience with a database structure like this and it's been 6 years since i've made a DB using access (way back in highschool).