Click here to Skip to main content
15,884,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Master's

Can you give me some suggestions.

i have a problem about the save button.

this button should not accept or save when the existing data on my form is selected

in other world it should not work when a data is selected but work unless i add new data first before i save it.

i have a little bit of background on VB6 (very little that i only know the most basic of the most basic part) what i'm trying to say is i don't know the code..

well Thank you for reading this and please say something if you don't really understand my question.

What I have tried:

i have a solution in mind but i don't know the code's to put

here's my solution:
when the form load, the save button should be in false state or cannot be click
and then when i click on the add button thaen that's the time the save button can be click.
Posted
Comments
Richard MacCutchan 13-Jul-17 10:11am    
Use the Enable property of the Button. Better still forget VB6 it is long dead; switch to VB.NET or C#.
Benits7 14-Jul-17 8:43am    
thank you for your reply Sir.

ah vb6 is long dead, what a sad life

but anyway i'll take your advice sir and jump to VB.Net

Thank you again Sir

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900