Search found 140 matches: ctable

Return to advanced search

Re: New FTDN February 2024 (FWH 24.02)

... * Nuevo: Nuevos métodos en la clase FWMariaConnection: - ListCollations() --> oRs - ListCharSets() --> oRs - TableCollation( cTable ) --> cCollation - TableCharSet( cTable ) --> cCharSet * Nuevo: Nueva función FW_IsUtf8( cText, [@lAscii] ) --> lUtf8 en FWH\SOURCE\WINAPI\msgsapi.c ...
by Antonio Linares
Sun Mar 03, 2024 7:25 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN February 2024 (FWH 24.02)
Replies: 1
Views: 192

New FTDN February 2024 (FWH 24.02)

... * Class FWMariaConnection New Methods: ListCollations() --> oRs ListCharSets() --> oRs TableCollation( cTable ) --> cCollation TableCharSet( cTable ) --> cCharSet * New function FW_IsUtf8( cText, [@lAscii] ) --> lUtf8 (msgsapi.c) * New functions: ...
by Antonio Linares
Sat Mar 02, 2024 8:31 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February 2024 (FWH 24.02)
Replies: 1
Views: 192

Re: erase files

Recordar que existe una función llamada hb_dbdrop la cual elimina la tabla y sus archivos de índices y memo file asociados.
hb_dbDrop([<cTable>],[<cIndex>])->Nil
by carlos vargas
Wed Jan 24, 2024 5:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: erase files - Resolved!!
Replies: 20
Views: 1520

Re: ERROR function FW_ShowAdoError()

hi,
nageswaragunupudi wrote:Ofcourse, NO. Errors is correct

If you read the error log again, you will see that the error is becase oCn is NIL.

That means in the function call FW_ADOINDEXES( oCn, cTable ), oCn must have been NIL.

Ok you are right, sorry
by Jimmy
Thu Sep 07, 2023 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR function FW_ShowAdoError()
Replies: 2
Views: 154

Re: ERROR function FW_ShowAdoError()

IMHO it must be "oCn:Error" without "s"

Ofcourse, NO. Errors is correct

If you read the error log again, you will see that the error is becase oCn is NIL.

That means in the function call FW_ADOINDEXES( oCn, cTable ), oCn must have been NIL.
by nageswaragunupudi
Thu Sep 07, 2023 11:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR function FW_ShowAdoError()
Replies: 2
Views: 154

Re: Incluyendo el SQLRDD

Descubriendo más misterios... Si se usa SR_UseDeleteds(.F.) ANTES de la apertura con USE ( cTable ) EXCLUSIVE VIA ( cRDD ), SQLRDD crea el campo sr_deleted, si no lo tiene, de forma automática Entiendo que SR_UseDeleteds(.F.) no conserva el valor globalmente, si no se ...
by Joaquim Ferrer
Fri Aug 25, 2023 9:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Incluyendo el SQLRDD
Replies: 40
Views: 2537

PostgreSQL and Fivewin

... --- i have learn to use Nextval() when APPEND Data to Table but TABLE must be create using   cQuery += " CONSTRAINT " + cTable + "_pkey PRIMARY KEY (__record)"  // "__record" == "ID" when "edit" cPreText := "INSERT INTO " ...
by Jimmy
Fri Aug 25, 2023 4:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: PostgreSQL and Fivewin
Replies: 1
Views: 152

Re: Incluyendo el SQLRDD

Descubierto el misterio ... Si queremos abrir una tabla con USE cTable VIA SQLRDD, que no haya sido creada con el RDD, tendremos que modificar la estructura y añadir un campo en dicha tabla     `sr_recno` BIGINT(20) NOT NULL AUTO_INCREMENT, UNIQUE ...
by Joaquim Ferrer
Thu Aug 24, 2023 11:42 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Incluyendo el SQLRDD
Replies: 40
Views: 2537

Re: DBF to Excel Sheet, without Excel, using ADO ?

hi,
nageswaragunupudi wrote:Modified FW_OpenADOExcelBook()
Now we can use this function with cTable, instead of using our own connection string.

GREAT, thx
by Jimmy
Wed Aug 16, 2023 5:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF to Excel Sheet, without Excel, using ADO ?
Replies: 50
Views: 2564

Re: DBF to Excel Sheet, without Excel, using ADO ?

Modified FW_OpenADOExcelBook()
Now we can use this function with cTable, instead of using our own connection string.
by nageswaragunupudi
Tue Aug 15, 2023 8:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF to Excel Sheet, without Excel, using ADO ?
Replies: 50
Views: 2564

Re: METHOD SavePQQ() need "id" or how to use own PRIMARY KEY ?

... FIELD ("__xxx") which are "usefull" PRIMARY KEY is based on "__record"    cQuery += " CONSTRAINT " + cTable + "_pkey PRIMARY KEY (__record)" when INSERT it increment next UNIQUE number this Way   cIns += "nextval('" + cTable + "___record_seq')" ...
by Jimmy
Wed Aug 02, 2023 11:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: METHOD SavePQQ() need "id" or how to use own PRIMARY KEY ?
Replies: 21
Views: 717

Re: METHOD SavePQQ() need "id" or how to use own PRIMARY KEY ?

cIns += "nextval('" + cTable + "___record_seq')" + "," // use nextval() for Sequence ! In Oracle, we use sequences to generate unique IDs and use NEXTVAL(..) for the next value. Is there a similar facility in ...
by nageswaragunupudi
Wed Aug 02, 2023 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: METHOD SavePQQ() need "id" or how to use own PRIMARY KEY ?
Replies: 21
Views: 717

Re: Xbrowse, FastEdit y xBrw:Edit() tratando de entender...

... funciona perfectamente. Maestro Rao, creo que hay un pequeño error en la documentación de la clase nativa de fivewin. Dice: 1) oRs := oCn:RowSet( cTable(or)cSql, [lShowError] ) // simple and normal Pero me parece que el segundo parámetro es lreadonly y por eso no funcionaba, porque en .t. no permite ...
by jose_murugosa
Wed Jul 19, 2023 9:57 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Xbrowse, FastEdit y xBrw:Edit() RESUELTO
Replies: 7
Views: 318

Re: Tabla Pivot

In the native class I already found it, it's oRs:PivotArray(cTable, cRowFld, cColFld, cValFld, cAggrFunc ) No. PivotArray(..) is a method of Connection class, not Rowset class. You can use TDolphin mainly for the entire application. At the same time you ...
by nageswaragunupudi
Sun Sep 18, 2022 3:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tabla Pivot
Replies: 6
Views: 575

Re: Tabla Pivot

En la clase nativa ya la encontre, es oRs:PivotArray(cTable, cRowFld, cColFld, cValFld, cAggrFunc )

En Dolphin, lo que hice está incompleto, ya que muestra la tabla con los resultados agrupados pero no pivotea...
by cmsoft
Mon Sep 05, 2022 11:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tabla Pivot
Replies: 6
Views: 575
Next

Return to advanced search