Search found 46 matches: afield

Return to advanced search

Re: TWeb for mod Harbour is ready

... .OR. lSingleSelect cHtml += '<th data-field="st" data-checkbox="true"></th>' ENDIF FOR n := 1 TO Len(hCols) aField := HB_HPairAt( hCols, n ) cField := aField[1] hDef := aField[2] cHtml += '<th data-field="' + cField + '" ' cHtml += 'data-width="' ...
by Taavi
Fri Apr 10, 2020 2:29 pm
 
Forum: mod_harbour
Topic: TWeb for mod Harbour is ready
Replies: 17
Views: 2749

Re: Write a Block

I made function bCampo2( aFields, nFor,oDbf) return oDbf:fieldWBlock(aField[nFor] ) and seem run , it's wrong ? >If you do not want a simple, straightforward and reliable approach and you insist on complicating your programs it is ...
by Silvio.Falconi
Thu Jun 27, 2019 10:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Write a Block
Replies: 4
Views: 848

TDolphin UPDATE,INSERT error

Daniel Is there an working example for update or insert into MySQL database with TDolphin Afield: = {"id", "sound", "maried", "total", "description", "date_maried"} Avalue: = {"12345", "c: \ ring.wav". ...
by metro
Wed Apr 15, 2015 11:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDolphin UPDATE,INSERT error
Replies: 9
Views: 1768

Re: ADO RDD xHarbour

... of FWH or Harbour or xHarbour. The alternatives in hbusrdd.ch are (one of wich shoul work) : a) #define UR_FI_SIZE 5 comment in ado_open // aField[ UR_FI_FLAGS ] := 0 // xHarbour expecs this field // aField[ UR_FI_STEP ] := 0 // xHarbour expecs this field b) #define UR_FI_SIZE 7 add in hbusrrd.ch ...
by AHF
Wed Apr 01, 2015 6:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446009

Re: ADO RDD xHarbour

Hello, In hbusrrdd.ch, there is: #define UR_FI_SIZE 5 Yes, before posting I comment out with no luck: // aField[ UR_FI_FLAGS ] := 0 // xHarbour expecs this field // aField[ UR_FI_STEP ] := 0 // xHarbour expecs this field Antonio, maybe as Antonio´s developing a great efford ...
by lucasdebeltran
Tue Mar 31, 2015 7:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446009

Re: ADO RDD xHarbour

Lucas,

You re right Ill apply your changes.

Comment these and check what is the UR_FI_SIZE in hbusrdd.ch

aField[ UR_FI_FLAGS ] := 0 // xHarbour expecs this field
aField[ UR_FI_STEP ] := 0 // xHarbour expecs this field

I think Harbour ony accepts 5 ele.
by AHF
Tue Mar 31, 2015 6:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446009

Re: ADO RDD xHarbour

... you are using DBFS with ADS: STATIC FUNCTION ADO_OPEN( nWA, aOpenInfo )   LOCAL aWAData := USRRDD_AREADATA( nWA )   LOCAL cName, aField, oError, nResult   LOCAL oRecordSet, nTotalFields, n   LOCAL nCountIndexes // see below   /* When there is no ALIAS we will create new one using ...
by lucasdebeltran
Tue Mar 31, 2015 6:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446009

Re: ADO RDD xHarbour

Antonio,

In ADO_OPEN we load all fieldinfo UR_SUPER_ADDFIELD( nWA, aField ).

How can we get back after the information save there?
by AHF
Fri Mar 27, 2015 8:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446009

Re: ADO RDD xHarbour

Antonio,

FieldLen and FieldSize return nil

I've tested in the adorrd before UR_SUPER_ADDFIELD( nWA, aField ) and the values are correct.

What can we do?
by AHF
Mon Mar 23, 2015 10:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446009

Re: ADO RDD xHarbour

AHF wrote:Antonio,

I checked usrrdd.c from xHarbour and it expects aField[ UR_FI_FLAGS ] aField[ UR_FI_STEP ] that I now send := 0.


Its ok now :D

Will keep you posted


Very good! :-)
by Antonio Linares
Fri Mar 13, 2015 7:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446009

Re: ADO RDD xHarbour

Antonio,

I checked usrrdd.c from xHarbour and it expects aField[ UR_FI_FLAGS ] aField[ UR_FI_STEP ] that I now send := 0.


Its ok now :D

Will keep you posted
by AHF
Thu Mar 12, 2015 10:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446009

Re: ADO RDD xHarbour

Antonio,

Passed array its corrected.This is the print out:

aField[ UR_FI_NAME ] = NRENCOMEND
aField[ UR_FI_TYPE ] = 1
aField[ UR_FI_TYPEEXT ] = 0
aField[ UR_FI_LEN ] = 10
aField[ UR_FI_DEC ] = 0


It seems the error its not here.
by AHF
Wed Mar 11, 2015 3:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446009

Re: ADO RDD xHarbour

Antonio, Yes and I checked with : msginfo(str(HB_Decode( aField[ DBS_TYPE ], "C", HB_FT_STRING, "L", HB_FT_LOGICAL, "M", HB_FT_MEMO, "D", HB_FT_DATE, "N", IIF( aField[ DBS_DEC ] > 0, HB_FT_DOUBLE, ...
by AHF
Wed Mar 11, 2015 9:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446009

Re: ADO RDD xHarbour

Antonio, I checked with msginfo() and the values in aField passed to UR_SUPER_ADDFIELD( nWA, aField ) are: nWa = workarea number aField[ UR_FI_NAME ] := "name of field" aField[ UR_FI_TYPE ] := one of "C","L","D","N","M" ...
by AHF
Wed Mar 11, 2015 8:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446009

Re: ADO RDD xHarbour

Antonio, All that we can do here is to double check that we have properly filled aField before calling that function. I doubt there is an error like this in the Harbour RDD engine, so I guess we are suplying wrong values to aField If everything is ok, we may need ...
by Antonio Linares
Wed Mar 11, 2015 8:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446009
Next

Return to advanced search