hey kenG and sawatzky,
The default setting for the textbox is .visible = false, the textbox only shows up on the form if the approveddate is more than a week past the receiveddate.
I have that part programmed though, and the textbox only appears when the criteria is met. My problem is that i need to make it, so the user is required to enter something in the textbox, an explanation of why it took longer than a week to process, if the textbox is visible. Writing this, ive just realized, well how about if the person enters the wrong date, the textbox pops up and then it wont let them go back and change the date. I guess it will once they enter something in, but then when they fix it, the textbox will dissappear and the data will stay in the table.
hhhmmmmmmmmm, this may end up causing some unnecessary entries, maybe i should also set it, so if the explanation is being set back to .visible = false then a msgbox asks if this explanation remains valid. I figure, if the explanation is needed then the textbox wouldnt be set back to .visible = false, but if the person goes back to the date after theyve been forced to enter something, and im sure theyll just enter some random letters or something to that effect, unless theyre really dumb...
So i guess that property should be set in the approveddate_afterupdate event. Maybe something like:
if len(me.processing_comments) <> 0 AND me.processing_comments.visible = false then
msgbox "Whatever"
end if
well this is just a thought, i hope ive been clear, sometimes i just type as things rush through my head, let me know your opinions please, i really hope theres a feasible way to go about this.
Omar Qureshy
SUN SPOTS