Hi,
This is a problem i always have, i created a data entry application where users enter their user ID, JOB# they are working on, the time they were working in that job and the description of the job, so i have no problem with that so the form will have some buttons that will allow you to ADD, DELETE, CANCEL, SAVE and CLOSE, to close the form and comeback to the menu, the problem i have is that i don't have an Edit button cause i have not figured out how can add this to the form and be able to edit the record i want in that form, i think the approach i could take should be something like:
1- I will have to create an Edit button in the form where i have the rest of the button
2- Then when the user click the Edit, open another form with a textbox to search by the Employee ID#
3- Then show in a grid or ListBox the Job#s he has been working, then select the one he needs to edit
4- Then show that record into the main form where i have all the buttons
5- now be able to allow all the texrboxes to be editable, like the Time, Job# or any other values shown in the other textboxes.
6 save those changes
any suggestion, this is a multiuser application i did in vfp 5.0 a few years ago, Ok let me clarify that when the users add a new entry and save it they can scroll thru the records in that form using the First, Next and Last buttons that i created in that form but these textboxes are read only once the data had been saved so there is not way to change anything in that form
Thanks
Ernesto
This is a problem i always have, i created a data entry application where users enter their user ID, JOB# they are working on, the time they were working in that job and the description of the job, so i have no problem with that so the form will have some buttons that will allow you to ADD, DELETE, CANCEL, SAVE and CLOSE, to close the form and comeback to the menu, the problem i have is that i don't have an Edit button cause i have not figured out how can add this to the form and be able to edit the record i want in that form, i think the approach i could take should be something like:
1- I will have to create an Edit button in the form where i have the rest of the button
2- Then when the user click the Edit, open another form with a textbox to search by the Employee ID#
3- Then show in a grid or ListBox the Job#s he has been working, then select the one he needs to edit
4- Then show that record into the main form where i have all the buttons
5- now be able to allow all the texrboxes to be editable, like the Time, Job# or any other values shown in the other textboxes.
6 save those changes
any suggestion, this is a multiuser application i did in vfp 5.0 a few years ago, Ok let me clarify that when the users add a new entry and save it they can scroll thru the records in that form using the First, Next and Last buttons that i created in that form but these textboxes are read only once the data had been saved so there is not way to change anything in that form
Thanks
Ernesto