J
JulieD
Hi
i'm being driven slowly mad by a continuous form ... i'm using code from
Stephan Leban's site to make the background of the current record a
different colour and most of the time it works. However, in the same form i
want to set disable edits to no - but i can't get it to work. I've set the
form properties (in the properties sheet), i've set it in code in the
form_open event BUT it still doesn't work. Any ideas?
Additionally, i want to be able to add to reference tables where an item
isn't in the drop down list - and normally i have no problem with doing
this. I basically use two methods - a direct add to the table (from Dev
Ashish's code) when the reference table consists of only one field and i
also open a from linked to the reference table and allow the addition of the
new record into the form when there is more than one field, using the
following code
Private Sub CoilInfo_DblClick(Cancel As Integer)
me.coilinfo.value = null
DoCmd.OpenForm "FRM_CoilInfo", , , , acFormAdd
me.coilinfo.requery
End sub
normally, this opens the forms, allows me to add a new record and then
updates the combo box to include the record i've just entered - however, i
just could not get it to work today ... the record is added but the combo
box is not updated. - what am i missing.
Cheers
JulieD
i'm being driven slowly mad by a continuous form ... i'm using code from
Stephan Leban's site to make the background of the current record a
different colour and most of the time it works. However, in the same form i
want to set disable edits to no - but i can't get it to work. I've set the
form properties (in the properties sheet), i've set it in code in the
form_open event BUT it still doesn't work. Any ideas?
Additionally, i want to be able to add to reference tables where an item
isn't in the drop down list - and normally i have no problem with doing
this. I basically use two methods - a direct add to the table (from Dev
Ashish's code) when the reference table consists of only one field and i
also open a from linked to the reference table and allow the addition of the
new record into the form when there is more than one field, using the
following code
Private Sub CoilInfo_DblClick(Cancel As Integer)
me.coilinfo.value = null
DoCmd.OpenForm "FRM_CoilInfo", , , , acFormAdd
me.coilinfo.requery
End sub
normally, this opens the forms, allows me to add a new record and then
updates the combo box to include the record i've just entered - however, i
just could not get it to work today ... the record is added but the combo
box is not updated. - what am i missing.
Cheers
JulieD