Page 1 of 1

DCGET to capture schedule data

Posted: Thu Oct 07, 2021 10:22 pm
by Diego Euri Almanzar
I am developing an employee roster, where the work schedule for each employee may vary. Therefore, I must capture with DCGET, the time of entry and the time of departure. Does the Express library have an example or function to capture data related to time?

Best regards.

Re: DCGET to capture schedule data

Posted: Tue Oct 12, 2021 8:20 am
by rdonnay
That is a vague question.

Please be more precise about what you are looking for.

Re: DCGET to capture schedule data

Posted: Tue Oct 12, 2021 8:59 am
by Tom
I guess Diego is looking for a picture/validate for gets to enter a time, accepting numbers and maybe a double point ("99:99"), but checking if the entered number is a correct time (15:59 is, 15:79 is not). @Diego, this is simple inside a validation function.

Re: DCGET to capture schedule data

Posted: Tue Oct 12, 2021 11:35 am
by rdonnay
Look at the functions DC_PopDate() and DC_PopTime().

Re: DCGET to capture schedule data

Posted: Fri Jan 21, 2022 2:20 pm
by Diego Euri Almanzar
Excellent, wonderful. Thanks a lot, Rdonnay and Tom.

Re: DCGET to capture schedule data

Posted: Fri Jan 21, 2022 11:43 pm
by Wolfgang Ciriack
There is a function timevalid() in XBase++ Tools III.

Re: DCGET to capture schedule data

Posted: Mon Jan 24, 2022 10:49 pm
by Diego Euri Almanzar
Thanks, Wolfgang.

Best regards.