Topic: Clear Data

Sir,

i am creating temporary batch manegment,

in that Batch Time And PC No are permanent &
Student & Trainer Are Changing periodicaly.

i created a clear button but when i go to other row its show blank data.

how to solve it.

please see attach file.

Thank You
Nitin Ingale

Post's attachments

Attachment icon Clear Data.gif 217.98 kb, 325 downloads since 2017-04-14 

Re: Clear Data

Sir

please see attach file.

Post's attachments

Attachment icon Clear Data.rar 5.15 kb, 419 downloads since 2017-04-14 

Re: Clear Data

what is your purpose?
Tell step by step what is wrong

Re: Clear Data

Hello Nitin,
I believe your problem is fixed by updating the comboboxes after you've clicked 'clear';  for example
form1.combobox1.dbupdate
However, I think this will only work if you are using Version 3.
If you are using an earlier version and this doesn't work, let the Forum know and I'm sure there will be another solution.
Please see the attachment.
Regards,
Derek.

Post's attachments

Attachment icon Clear Data.zip 338.57 kb, 374 downloads since 2017-04-14 

Re: Clear Data

Thank Sir,

Its Working in 3.3 version

not working in 3.2 version

Regards

Nitin Ingale

Re: Clear Data

Hello Nitin,
Another approach you could take is -
1.  Add a trainer name of '-' and a student name of '-'.
2.  Tick the 'sorted' object property for combobox3 and combobox4
3. When you click the 'clear data' button, set trainer name and student name to '-' instead.
This should work with versions before 3.3.
Regards,
Derek.

Post's attachments

Attachment icon Clear Data 2.zip 338.63 kb, 389 downloads since 2017-04-14