subform adding rows after update

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i have an MAINFORM and an SUBFORM on it in datasheet view, and one command
button
now code goes like this
on cmd click()
if isnull(forms!mainform!subform!fieldx!.form) then
msg box( " recquired data ")
end sub
here datasheet subform addindg the ros automatically after update hence the
command button click event continues to fire how to avoid it please
 
balu said:
i have an MAINFORM and an SUBFORM on it in datasheet view, and one command
button
now code goes like this
on cmd click()
if isnull(forms!mainform!subform!fieldx!.form) then
msg box( " recquired data ")
end sub
here datasheet subform addindg the ros automatically after update hence the
command button click event continues to fire how to avoid it please


When posting code, please use Copy/Paste so we can see
exactly what you are using when a problem occurs. Your code
above has so many typos that I can't tell if the code is bad
or if you just typed it here improperly.

Your problem description is also dificult to decipher, but
the way I interpret it, I can not see how that code logic
can cause the problem I think you are describing. I'm
guessing that you have some other code that is causing
whatever is going wrong.
 
Back
Top