L
Leslie Isaacs
Hello All
A very strange thing has happenned to one of my forms - at least it's
strange to me. I hope someone can help.
I'll try to be succinct!
I have a form which contains a few textboxes and buttons, plus a subform
[child0] which displays in datasheet view.
Everything has been working fine until this morning.
I created a new textbox on the main form, with data source set as:
=[Me]![child0]![form]![presc_collected]
(what I wanted was the value of [presc_collected] from the currently
selected record in the subform.)
This didn't work, so I edited the expression to:
=[child0]![presc_collected]
This immediately appeared to work - each time a different record was
selected on the subform, the value of the new textbox on the main form
updated.
I then closed the form, saying Yes when asked if I wanted to save the
change.
But then on re-opening the form the new textbox was't working - it simply
remained blank irrespective of whichever record was selected in the subform.
That was frustrating enough, but the real pain is that the above process
seems to have corrupted the database!
None of the buttons now work - on the form that I had just edited or in fact
on any other form in the db.
Not even the cross in the form's top-right corner works.
Believing the db to be corrupted, I closed it then attempted to delete it
(it's a split db so the data is safe, and I've an up-to-date backup of the
frontend thankfully) but it wouldn't delete - I got a message saying there
was a sharing violation.
I made a copy of the frontend backup on which I repeated the whole exercise:
same result.
That's it!
Have I done something silly (it wouldn't be the first time), or is it a bug,
or what?
I would be very grateful for any ideas/suggestions.
Many thanks
Leslie Isaacs
A very strange thing has happenned to one of my forms - at least it's
strange to me. I hope someone can help.
I'll try to be succinct!
I have a form which contains a few textboxes and buttons, plus a subform
[child0] which displays in datasheet view.
Everything has been working fine until this morning.
I created a new textbox on the main form, with data source set as:
=[Me]![child0]![form]![presc_collected]
(what I wanted was the value of [presc_collected] from the currently
selected record in the subform.)
This didn't work, so I edited the expression to:
=[child0]![presc_collected]
This immediately appeared to work - each time a different record was
selected on the subform, the value of the new textbox on the main form
updated.
I then closed the form, saying Yes when asked if I wanted to save the
change.
But then on re-opening the form the new textbox was't working - it simply
remained blank irrespective of whichever record was selected in the subform.
That was frustrating enough, but the real pain is that the above process
seems to have corrupted the database!
None of the buttons now work - on the form that I had just edited or in fact
on any other form in the db.
Not even the cross in the form's top-right corner works.
Believing the db to be corrupted, I closed it then attempted to delete it
(it's a split db so the data is safe, and I've an up-to-date backup of the
frontend thankfully) but it wouldn't delete - I got a message saying there
was a sharing violation.
I made a copy of the frontend backup on which I repeated the whole exercise:
same result.
That's it!
Have I done something silly (it wouldn't be the first time), or is it a bug,
or what?
I would be very grateful for any ideas/suggestions.
Many thanks
Leslie Isaacs