Search found 122 matches: odata

Return to advanced search

Re: Problem with Tplan : Cargo Error

Silvio,

Correct, oData is not a database object. It appears to be a very simple object that just contains some data and a GetNewID() method.

Also, I notice in the newest version that oData is declared as class data but not used anywhere. Perhaps you should try that version.

James
by James Bott
Tue Jul 02, 2019 10:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tplan : Cargo Error
Replies: 26
Views: 2968

Re: Problem with Tplan : Cargo Error

I tried to talk with Daniel but he seem vanished and I haven't heard for two years since we met in Sillian in Otto's hotel
Only Daniel could help us
then I think id oData is a Data class perhaps it not change my error
by Silvio.Falconi
Tue Jul 02, 2019 7:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tplan : Cargo Error
Replies: 26
Views: 2968

Re: Problem with Tplan : Cargo Error

Silvio,

In my copy in the method MoveReservation() oData is ::oData. I see your copy doesn't have that so ignore my suggestion.

James
by James Bott
Tue Jul 02, 2019 6:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tplan : Cargo Error
Replies: 26
Views: 2968

Re: Problem with Tplan : Cargo Error

there are not ::odata data class in my source Please see it ( where are these DATA ::odata?)     #include "fivewin.ch"    #include "ord.ch"    #include "planning.ch"    #include "dtpicker.ch"  ...
by Silvio.Falconi
Tue Jul 02, 2019 5:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tplan : Cargo Error
Replies: 26
Views: 2968

Re: Problem with Tplan : Cargo Error

Well, I don't have much to work with, but it looks like you may have added the class data ::oData and there are lots of oData's in the program too. I would first suggest making a backup, then removing all the double colons from in front of ::oData, then trying it again.

James
by James Bott
Tue Jul 02, 2019 5:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tplan : Cargo Error
Replies: 26
Views: 2968

Re: Problem with Tplan : Cargo Error

... NOw I compiled the test of the tplan with the rest of the program that I am carrying out and when I went to test it again it gives me an error on odata: CARGO, I really am staco and I can't take it anymore ... I ask you to help me please !!!!
by Silvio.Falconi
Tue Jul 02, 2019 4:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tplan : Cargo Error
Replies: 26
Views: 2968

Re: Problem with Tplan : Cargo Error

I was just looking at the TSPlan source (dated 6/26/19), you sent me, and I notice that you have oData defined as a class variable (::oData) and elsewhere you define it as a local (oData) and then pass it around to methods. The point of making something a class variable ...
by James Bott
Tue Jul 02, 2019 4:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tplan : Cargo Error
Replies: 26
Views: 2968

Re: Problem with Tplan : Cargo Error

... COLOR HEADER ( If( Dow( dDate ) == 1 .OR. Dow( dDate ) == 7, CLR_WHITE, ::oPlann:nClrText ) ); COLOR CELL ::ColorData( oData ) ; START DAY Date() - 5; END DAY Date() + 5; ON RIGHT SELECT oSelf:BuildPop( nRow, nCol, Self, dCheckIn, dCheckOut ); ON CAPTURE oSelf:MoveReservation(oData, ...
by Silvio.Falconi
Tue Jul 02, 2019 9:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tplan : Cargo Error
Replies: 26
Views: 2968

Re: Problem with Tplan : Cargo Error

Code: Select all  Expand view

          oData = oPlann:AddData( ::oReserva:ROOMS_ID,;
 

In this line, oPlann:AddData(..) is returning NIL and so, oData is NIL.
You need to check your Class SamplePlan.
by nageswaragunupudi
Mon Jul 01, 2019 6:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tplan : Cargo Error
Replies: 26
Views: 2968

Re: Problem with Tplan : Cargo Error

 METHOD MoveReservation( oData, nRowId, oPlann ) CLASS SamplePlan       local oItem := oData       local cDescribe, cTooltip, nStatus       ::oReserva:Seek( oItem:Cargo['INDICE'] )       if oPlann:nDaysOffset != ...
by Silvio.Falconi
Mon Jul 01, 2019 6:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tplan : Cargo Error
Replies: 26
Views: 2968

Problem with Tplan : Cargo Error

... where I insert Tplan Obj as you can see on Picture I have error when I wish move the bargraph or resize I have problem on MoveReservation( oData, nRowId, oPlann ) and on ResizeReservation( oData, nRowId, oPlann ) ) I have error on oData:CARGO I not change anything on SamplePlan class (sample01.prg) ...
by Silvio.Falconi
Mon Jul 01, 2019 10:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tplan : Cargo Error
Replies: 26
Views: 2968

Re: Converting sample test of Tplan

... oRec:STATUS = StrZero( oCbx:nAt, 2 ) oRec:GUEST = cName oRec:save() now the record is saved on archive Now the method METHOD ResizeReservation( oData, nRowId, oPlann ) not make error but not save on date right date
by Silvio.Falconi
Fri Jun 21, 2019 9:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Converting sample test of Tplan
Replies: 26
Views: 2705

Re: Converting sample test of Tplan

... does not go to save anything as seen in the figure Third error https://i.postimg.cc/x12mwgCM/error2.png on METHOD MoveReservation( oData, nRowId, oPlann ) there is an error when go to save as you can see on picture Four error When I try to resize a bar there is strange error as ...
by Silvio.Falconi
Fri Jun 21, 2019 7:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Converting sample test of Tplan
Replies: 26
Views: 2705

Re: PHP with dbase

Hello Carlos/Everyone; Advantage has focused more on oData and Json with Advantage web api service they introduced with version 11. So you can use any web development platform and still be able to access .dbf data all the same via Json or oData. Having ...
by fraxzi
Fri Aug 10, 2018 1:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PHP with dbase
Replies: 10
Views: 1958

Re: PHP with dbase

Hello Carlos/Everyone; Advantage has focused more on oData and Json with Advantage web api service they introduced with version 11. So you can use any web development platform and still be able to access .dbf data all the same via Json or oData. Having ...
by reinaldocrespo
Thu Aug 09, 2018 7:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PHP with dbase
Replies: 10
Views: 1958
PreviousNext

Return to advanced search