kvarnerexpress 0 Report post Posted April 18, 2005 now i want to update the item in the maskedbox but the problem is the item is static(cannot be edited by the user)i just want to know whether i can edit the item in masked box or not?if can,what can i do to make it can be edit by the user?statement2 = "UPDATE suratarahan SET letterDate = '" & MaskEdBox2.Mask & "'"plz help.. Share this post Link to post Share on other sites
miCRoSCoPiC^eaRthLinG 0 Report post Posted April 20, 2005 Why is your masked textbox static ? Unless you've set its enabled propety to false, why would it not let yuor user edit the values ? Besides, if you want to rip off the value in the maskedtextbox and insert it into your SQL statement, I believe you'd have to do this: statement2 = "UPDATE suratarahan SET letterDate = '" & MaskEdBox2.Text & "'" Why are you trying to read the mask property ? Can you be a little more clear about your objective - that'd help in getting a better reply. Share this post Link to post Share on other sites