jolly_83
11-03-2008, 03:24 AM
hi all
pls tell me how to add a cmd button in access 2003 using vb code:confused:
pls tell me how to add a cmd button in access 2003 using vb code:confused:
|
View Full Version : command button jolly_83 11-03-2008, 03:24 AM hi all pls tell me how to add a cmd button in access 2003 using vb code:confused: KenHigg 11-03-2008, 03:42 AM I would recomend just put in your button on the form and hide or disable it until the correct condition is met. 1jet 11-03-2008, 03:58 AM i also have a similar question ive done a search but never came across what i needed my form button "delete" will need to have a msgbox popup box asking "are you sure you want to delete?" with a "yes" and "no" button. can anyone give me some example code or link to where i can read up on this? thanks KenHigg 11-03-2008, 04:24 AM Something like: If MsgBox("Delete Record?", vbYesNo + vbQuestion) = vbNo Then Goto Exit_cmdDelete_Click End if Exit_cmdDelete_Click: Exit Sub 1jet 11-03-2008, 05:19 AM cheers ken works perfectly KenHigg 11-03-2008, 05:24 AM Glad to help - :) 1jet 11-03-2008, 05:26 AM im sure you are btw ive tried to give u some reputation points but ive got to spread out b4 i give more to you? KenHigg 11-03-2008, 05:28 AM Thanks - :) (btw, I looked at your other question on the list box. Better let someone else take a stab at that one :) ) 1jet 11-03-2008, 05:30 AM yeah no probs i wonder if jolly_83 got what he was looking for too |