Search found 159 matches: reservation

Return to advanced search

Re: Error on search a record on dbf with tdatabase

It is not an error of TDatabase but rather an error in logic.

practically now it seems that I do a search of the free rooms excluding the reservation concerned, how resolve ?


Code: Select all  Expand view
If ROOM_ID = cROOM_ID
   oReservations:skip()
endif
by James Bott
Tue Jul 06, 2021 8:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error on search a record on dbf with tdatabase
Replies: 18
Views: 1531

Re: multiple reservations

Hi Silvio: If you do not use the cargo of each btnbmp, you can use that data to save an array with all the reservations that that umbrella has in the selected period. It's an idea. i did it this way open reservation filter reservation with my parameter( range date, number and ...
by Silvio.Falconi
Mon Jul 05, 2021 11:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: multiple reservations
Replies: 2
Views: 495

Re: Error on search a record on dbf with tdatabase

Silvio, As you have found, your current method is not going to help. Think outside the box. What would a reservation clerk at an expensive hotel do? What would they try first, and next, and after that, just trying to find a solution for the customer? Make a list in order of ...
by Silvio.Falconi
Tue Jun 29, 2021 8:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error on search a record on dbf with tdatabase
Replies: 18
Views: 1531

Re: Error on search a record on dbf with tdatabase

Silvio, As you have found, your current method is not going to help. Think outside the box. What would a reservation clerk at an expensive hotel do? What would they try first, and next, and after that, just trying to find a solution for the customer? Make a list in order of ...
by James Bott
Tue Jun 29, 2021 7:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error on search a record on dbf with tdatabase
Replies: 18
Views: 1531

Error on search a record on dbf with tdatabase

I am modifying a reservation in the reservation I have two datepick controls dFirst and dLast in Insertion I have no problems but in modification if the operator changes a date I always have to carry out a search to see if there is ...
by Silvio.Falconi
Tue Jun 29, 2021 11:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error on search a record on dbf with tdatabase
Replies: 18
Views: 1531

Re: edit a record with tdatabase - I am in trouble

... now it's ok now I'm here asking you something else once I have found the record in the Reserva.dbf file I have to load all the data I need for the reservation, in particular I should also search for invoice in the oRigheInvoice archive which would be the lines of the invoice body, and I have them ...
by Silvio.Falconi
Tue Jun 22, 2021 7:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: edit a record with tdatabase - I am in trouble
Replies: 8
Views: 1304

Re: Problem with date - I not understood

Silvio, I would present the customer a extra column with the income for that periode of reservation. (just to make your point) He will see that he will be losing 1 day of income and this will happen for every reservation period. (will become a lot of money) If he still ...
by Marc Venken
Sun Jun 20, 2021 9:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with date - I not understood
Replies: 4
Views: 659

Problem with date - I not understood

I have a reservation from 20.06.2021 to 14.08.2021 in a procedure that I have broken down by the interval of the months and I calculate the days for each month in this case the months of June, July and August are concerned https://i.postimg.cc/VLpnxq9n/agiorni.png ...
by Silvio.Falconi
Sun Jun 20, 2021 2:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with date - I not understood
Replies: 4
Views: 659

Re: check existing first and last on customer

... then this doesn't matter--you can have ten customers with the same first and last names--they will each have a different CUSTNO. You just link the reservation by adding the CUSTNO to the reservation. And with this you can find the right customer information in the customer file from the reservation ...
by James Bott
Tue Jun 15, 2021 3:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: check existing first and last on customer - RESOLVED !!!
Replies: 23
Views: 2509

Re: check existing first and last on customer

... time a user cancels a new record entry. Is that the issue you are referring to? And by the way, how are they going to respond to not even having a reservation number (the way you are doing it now)? It just came to me. The way to use the primary key and have it displayed on the data entry screen ...
by James Bott
Mon Jun 14, 2021 5:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: check existing first and last on customer - RESOLVED !!!
Replies: 23
Views: 2509

Re: check existing first and last on customer

... is the way to avoid these kinds of problems. It also prevents you from having duplicate data in different files. For instance, all you need in a reservation database is the person's primary-key. This way the address (for instance) is only stored in the customer file, yet you can print the address ...
by James Bott
Mon Jun 14, 2021 3:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: check existing first and last on customer - RESOLVED !!!
Replies: 23
Views: 2509

destroy a xbrowse

for the reservations program I show the list of services in an xbrowse, if I change my reservation and it doesn't have the services I must not show the xbrowse I tried with IF oBrw != NIL oBrw:Destroy() //end() Endif but nothing ...
by Silvio.Falconi
Wed Jun 09, 2021 4:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: destroy a xbrowse
Replies: 5
Views: 895

Re: Mod Harbour challenge project

Otto,

The sample for the reservation of table (yours) seems to be a far better sample for my purpose.
The sample is not on the sample list. Can I have access to it or should I contact you ?
by Marc Venken
Wed Mar 31, 2021 2:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mod Harbour challenge project
Replies: 15
Views: 2111

HELP HELP FOR PLANNING TO NAGES TO ANTONIO

tPLAN the problem of tplan : I use and open the archives exclusively in the old way because with tdata (base) I have an error when I move a reservation. the error comes out WITH TDATABASE when the class calls these methods: MoveReservation( oData, nRowId, oPlann ) ResizeReservation( oData, ...
by Silvio.Falconi
Tue Aug 11, 2020 2:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HELP HELP FOR PLANNING TO NAGES TO ANTONIO
Replies: 0
Views: 288

Re: bad calculation prices for days

Another sample reservation from 1/July to 29 July I set the price local n1Day := 9, n7Days := 60, n15Days := 120, n30Days := 180 ( see third row - the last columns on the right of the picture ) your calc made 232 cannot be good because ...
by FranciscoA
Tue Jul 07, 2020 1:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bad calculation prices for days
Replies: 13
Views: 1907
PreviousNext

Return to advanced search