hi i need some help again... i have 2 forms, first form is the "insert announcement", 2nd form is my "main form" in my main form you can find a LABEL "LBLANNOUNCEMENT" here is the situation, one you add a announcement in 1st form then click add announcement in the 2nd form it will show in the lblannouncement, it working but my problem is updating it, i add menu editor and put announcement there, so once you click announcement in the menu the form 1 will again appear but when you click the send announcement button, the text in the lblannouncement is not changing.. here is my code:
Form 1 is frmannounce
Form 2 is frmnumber
in my menu editor i added Announcement it is located at the frmnnumber
Code:Private Sub Announce_Click() frmannounce.Show End Subi tried to addCode:'it is located the frmannoune Private Sub cmdsend_Click() 'to send the announcement to form2 Text1.Text = frmnumber.lblannounce.Caption frmnumber.Show Unload Me End Sub 'it is located at the frmnumber Private Sub Form_Load() lblannounce.Caption = "Default Message" & frmannounce.Text1.Text End Subin my form load but it is not updatingCode:lblannounce.refresh
thnx hope you get my point.....




Reply With Quote