FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Isfree of Nages run ok but with others fields not work
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Isfree of Nages run ok but with others fields not work
Posted: Thu Jun 15, 2023 08: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} )






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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Isfree of Nages not is working good
Posted: Thu Jun 15, 2023 01: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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Isfree of Nages not is working good
Posted: 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 March-April 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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Isfree of Nages not is working good
Posted: Sun Jul 30, 2023 06:37 PM

Mr. Nages some solutions please ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Isfree of Nages not is working good
Posted: Sun Jul 30, 2023 08:20 PM
Isfree of Nages not is working good
Sorry.
Then please do not use it.
Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Isfree of Nages not is working good
Posted: 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 March-April 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

Continue the discussion