Search found 36 matches: addfield

Return to advanced search

Re: ADORDD FAQs

Now its not anymore UR_SUPER_ADDFIELD(0).

Can you please check the adordd line where the error is occurring?
by AHF
Tue Apr 19, 2016 8:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD FAQs
Replies: 87
Views: 19600

Re: ADORDD FAQs

You dont need tryadordd you can remove it.

Please be sure that you are using the correct hbusrrdd.ch. Check FAQS.
The error UR_SUPER_ADDFIELD(0) is due to incorrect version of this ch file.

Show me the obras32.prg where you have all adordd SETs.

Please report adoversion() returned value.
by AHF
Tue Apr 19, 2016 2:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD FAQs
Replies: 87
Views: 19600

Re: ADORDD FAQs

AHF wrote:How do I solve error Called from UR_SUPER_ADDFIELD(0) ?

Solution:

must link tryadordd.prg with addorrd.prg, and not use hbusrrdd.ch from adordd repository (rename it or delete of your project, HB has your own hbusrrdd.ch in HB32dev\include)
by AHF
Fri Apr 15, 2016 6:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD FAQs
Replies: 87
Views: 19600

Re: ADORDD FAQs

Ante todo Buenas Tardes Antonio (AHF), estoy haciendo pruebas con ADORDD y he logrado conectarme a la BBDD pero cuando intento hacer USE de una tabla sencilla para probar da el siguiente error marcado en rojo Entorno de desarrollo FWH 16.03 Harbour 3.2 adordd de fecha 08/12/2015 MySQL 5.3 He probado...
by gautxori
Wed Apr 13, 2016 4:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD FAQs
Replies: 87
Views: 19600

Re: ADORDD FAQs

How do I solve error Called from UR_SUPER_ADDFIELD(0) ?

Solution:

must link tryadordd.prg with addorrd.prg, and not use hbusrrdd.ch from adordd repository (rename it or delete of your project, HB has your own hbusrrdd.ch in HB32dev\include)
by AHF
Mon Nov 16, 2015 3:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADORDD FAQs
Replies: 87
Views: 19600

Re: ADO RDD xHarbour

I am trying to compile the ADORDD.PRG but I am getting the following "unresolved externals" (see below). I was using the standard buildx.bat program but then I found the functions in xHarbour\libs\rdds.lib and added this lib to the buildx.bat but the same unresolved externals are still sho...
by James Bott
Tue Jun 30, 2015 6:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446336

Re: ADO RDD xHarbour

Hello, First of all, to compile adordd.prg with Harbour, you need to add before ANNOUNCE ADORDD: #ifndef __XHARBOUR__   #include "fivewin.ch"        // as Harbour does not have TRY / CATCH   #define UR_FI_FLAGS           6   #define UR_FI_STEP            7   #define UR_FI_SIZE            7...
by lucasdebeltran
Tue Mar 31, 2015 6:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446336

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: 446336

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: 446336

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" aField[ UR_FI_TYPEEX...
by AHF
Wed Mar 11, 2015 8:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446336

Re: ADO RDD xHarbour

Here it is [code]FOR n := 1 TO nTotalFields aField := Array( UR_FI_SIZE ) aField[ UR_FI_NAME ] := oRecordSet:Fields( n - 1 ):Name ADO_FIELDINFO( nWA, n, DBS_TYPE, @uInfo ) aField[ UR_FI_TYPE ] := uInfo aField[ UR_FI_TYPEEXT ] := 0 ADO_FIELDINFO( nWA, n, DBS_LEN, @uInfo ) aField[ UR_FI_LEN ] := uInfo...
by AHF
Tue Mar 10, 2015 1:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446336

Re: ADO RDD xHarbour

In https://github.com/harbour/core/blob/master/src/rdd/usrrdd/rdds/arrayrdd.prg UR_SUPER_ADDFIELD() is used this way:   FOR EACH aFieldStruct IN aStruct      aField := Array( UR_FI_SIZE )      aField[ UR_FI_NAME ]    := aFieldStruct[ DBS_NAME ]      aField[ UR...
by Antonio Linares
Tue Mar 10, 2015 10:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446336

Re: ADO RDD xHarbour

Antonio, Continue to get error UR_SUPER_ADDFIELD(0) EG_ARG 1003 SUBSSYSTEM ADORDD May be I have a wrong version of UR_SUPER_ADDFIELD What are the expected parameters of this function? Also the THREAD STATIC does not compile I have to take THREAD out. I dont have function hb_ntos, hb_stod Without &qu...
by AHF
Tue Mar 10, 2015 10:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446336

Re: ADO RDD xHarbour

Antonio, #include "hbusrrdd.ch" was already there. HB_FT_NUMERIC its not defined in hbusrrdd.ch Passing the FOR clause in the first field I get: name user type 1 len 30 its correct according to dbf file. user c 30 Calling UR_SUPER_ADDFIELD( nWA, aField ) I get the same error: arguments non...
by AHF
Thu Mar 05, 2015 10:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446336

Re: ADO RDD xHarbour

Antonio,

Error:

genCode 14: EG_NOVAR
operação HB_FT_NUMERIC

If I change it to HB_FT_INTEGER then I get the same error:

genCode 1: EG_ARG
severity 2
subCode 1003
subSystem ADORDD

Chamado de UR_SUPER_ADDFIELD(0)
Chamado de ADO_OPEN(448)
by AHF
Thu Mar 05, 2015 2:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446336
Next

Return to advanced search