J jolly_83 akhil Local time Tomorrow, 03:23 Joined Oct 22, 2008 Messages 16 Nov 3, 2008 #1 hi all pls tell me how to add a cmd button in access 2003 using vb code
KenHigg Registered User Local time Today, 17:53 Joined Jun 9, 2004 Messages 13,327 Nov 3, 2008 #2 I would recomend just put in your button on the form and hide or disable it until the correct condition is met.
I would recomend just put in your button on the form and hide or disable it until the correct condition is met.
1 1jet Registered User. Local time Tomorrow, 05:53 Joined Sep 15, 2008 Messages 117 Nov 3, 2008 #3 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
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 Registered User Local time Today, 17:53 Joined Jun 9, 2004 Messages 13,327 Nov 3, 2008 #4 Something like: Code: If MsgBox("Delete Record?", vbYesNo + vbQuestion) = vbNo Then Goto Exit_cmdDelete_Click End if Exit_cmdDelete_Click: Exit Sub
Something like: Code: If MsgBox("Delete Record?", vbYesNo + vbQuestion) = vbNo Then Goto Exit_cmdDelete_Click End if Exit_cmdDelete_Click: Exit Sub
1 1jet Registered User. Local time Tomorrow, 05:53 Joined Sep 15, 2008 Messages 117 Nov 3, 2008 #5 cheers ken works perfectly
KenHigg Registered User Local time Today, 17:53 Joined Jun 9, 2004 Messages 13,327 Nov 3, 2008 #6 Glad to help -
1 1jet Registered User. Local time Tomorrow, 05:53 Joined Sep 15, 2008 Messages 117 Nov 3, 2008 #7 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?
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 Registered User Local time Today, 17:53 Joined Jun 9, 2004 Messages 13,327 Nov 3, 2008 #8 Thanks - (btw, I looked at your other question on the list box. Better let someone else take a stab at that one )
Thanks - (btw, I looked at your other question on the list box. Better let someone else take a stab at that one )
1 1jet Registered User. Local time Tomorrow, 05:53 Joined Sep 15, 2008 Messages 117 Nov 3, 2008 #9 yeah no probs i wonder if jolly_83 got what he was looking for too