aOdata

aOdata

Postby nageswaragunupudi » Tue Mar 11, 2008 5:17 am

The function aOData does not return all Data of an Object in (x)Harbour. I think this subject was discussed earlier. Is it possible to make the following changes in odata.prg, so that the function aOData is useful to us ?
Code: Select all  Expand view  RUN
#ifdef __HARBOUR__
      if AScan( aInfo, "_" + aInfo[ n ], n + 1 ) != 0
#else
      if AScan( aInfo, "_" + SubStr( aInfo[ n ], 1, 9 ), n + 1 ) != 0
#endif

With this modification I guess the code will work correctly on both Harbour and non-Harbour applications.

By the way, can any one advise whether there is any native function in Harbour or xHarbour which gives a list of all Data like aOData, so that I can use that function instead of aOData ?
Regards

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

Postby Antonio Linares » Tue Mar 11, 2008 6:32 am

Nageswararao,

Implemented, thanks! :-)

We are not aware of a Harbour/xHarbour native function that provides the same functionality
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 57 guests