Isfree of Nages run ok but with others fields not work

Post Reply
User avatar
Silvio.Falconi
Posts: 7104
Joined: Thu Oct 18, 2012 7:17 pm

Isfree of Nages run ok but with others fields not work

Post 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
Last edited by Silvio.Falconi on Mon Jul 31, 2023 11:02 am, edited 1 time in total.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Isfree of Nages not is working good

Post 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?
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 7104
Joined: Thu Oct 18, 2012 7:17 pm

Re: Isfree of Nages not is working good

Post 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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
Posts: 7104
Joined: Thu Oct 18, 2012 7:17 pm

Re: Isfree of Nages not is working good

Post by Silvio.Falconi »

Mr. Nages some solutions please ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Isfree of Nages not is working good

Post by nageswaragunupudi »

Isfree of Nages not is working good
Sorry.
Then please do not use it.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 7104
Joined: Thu Oct 18, 2012 7:17 pm

Re: Isfree of Nages not is working good

Post by Silvio.Falconi »

??
I asked you only to use It with two new parameter
How i can maje to use It ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Post Reply