Page 1 of 1

Isfree of Nages run ok but with others fields not work

Posted: Thu Jun 15, 2023 8:02 am
by Silvio.Falconi
Dear Nageswarao and Antonio,

I don't know if you remember in 2021 that Nages created a test to create an Isfree function to check in the archive if the umbrella was occupied or not.

This year I have a difficulty in the sense that the morning and afternoon or all day bookings have been added to the booking archive.

In practice there are two logical fields "Morning" and "Evening"

So you should modify the IsFree() lookup function for these two fields as well, because now the function does not work correctly


the search in the Nages function was

cSearch := oDbf:ApplyParams( cSearch, { oRec:rooms_id, oRec:type, oRec:RecNo, ;
oRec:check_out, oRec:check_in } )

now I don't understand if adding the other parameters can work

cSearch := oDbf:ApplyParams( cSearch, { oRec:rooms_id, oRec:type, oRec:RecNo, ;
oRec:check_out, oRec:check_in ,oRec:morning, oRec:evening} )


Image



on picture there is a test not run ok see the first record

the room is occupated that period but only on the evening

so on the morning I can make a reservation but the procedure say to me it's occupated

Re: Isfree of Nages not is working good

Posted: Thu Jun 15, 2023 1:54 pm
by nageswaragunupudi
I don't know if you remember in 2021 that Nages created a test to create an Isfree function to check in the archive if the umbrella was occupied or not.
I don't remember now.
Did it work at that time? in 2021?

Re: Isfree of Nages not is working good

Posted: Sat Jun 17, 2023 10:27 am
by Silvio.Falconi
nageswaragunupudi wrote:
I don't know if you remember in 2021 that Nages created a test to create an Isfree function to check in the archive if the umbrella was occupied or not.
I don't remember now.
Did it work at that time? in 2021?
YEs I sent you the test
I add only two fields ( logic) morning and evening

Re: Isfree of Nages not is working good

Posted: Sun Jul 30, 2023 6:37 pm
by Silvio.Falconi
Mr. Nages some solutions please ?

Re: Isfree of Nages not is working good

Posted: Sun Jul 30, 2023 8:20 pm
by nageswaragunupudi
Isfree of Nages not is working good
Sorry.
Then please do not use it.

Re: Isfree of Nages not is working good

Posted: Sun Jul 30, 2023 11:19 pm
by Silvio.Falconi
??
I asked you only to use It with two new parameter
How i can maje to use It ?