Isfree of Nages run ok but with others fields not work

Isfree of Nages run ok but with others fields not work

Postby Silvio.Falconi » Thu Jun 15, 2023 8:02 am

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
Silvio.Falconi
 
Posts: 7066
Joined: Thu Oct 18, 2012 7:17 pm

Re: Isfree of Nages not is working good

Postby nageswaragunupudi » Thu Jun 15, 2023 1:54 pm

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
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Isfree of Nages not is working good

Postby Silvio.Falconi » Sat Jun 17, 2023 10:27 am

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: 7066
Joined: Thu Oct 18, 2012 7:17 pm

Re: Isfree of Nages not is working good

Postby Silvio.Falconi » Sun Jul 30, 2023 6:37 pm

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
Silvio.Falconi
 
Posts: 7066
Joined: Thu Oct 18, 2012 7:17 pm

Re: Isfree of Nages not is working good

Postby nageswaragunupudi » Sun Jul 30, 2023 8:20 pm

Isfree of Nages not is working good


Sorry.
Then please do not use it.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Isfree of Nages not is working good

Postby Silvio.Falconi » Sun Jul 30, 2023 11:19 pm

??
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
User avatar
Silvio.Falconi
 
Posts: 7066
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 80 guests