Search found 22 matches: astru

Return to advanced search

Re: Ayuda Error en Combobox URGENTE ??

aStru, aStru2 y aStru3 NO tienen la misma estructura. Los tres deben tener la misma estructura. Organizalos para que tengan la misma estructura, y te lo programaré :-) Maestro Antonio. Muy buenas noches. Espero haber entendido ...
by remtec
Fri Sep 16, 2022 1:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Error en Combobox URGENTE ??
Replies: 15
Views: 1087

Re: Ayuda Error en Combobox URGENTE ??

aStru, aStru2 y aStru3 NO tienen la misma estructura. Los tres deben tener la misma estructura. Organizalos para que tengan la misma estructura, y te lo programaré :-) Maestro Antonio. Muy buenas noches. Espero haber entendido ...
by remtec
Fri Sep 16, 2022 1:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Error en Combobox URGENTE ??
Replies: 15
Views: 1087

Re: Ayuda Error en Combobox URGENTE ??

aStru, aStru2 y aStru3 NO tienen la misma estructura.

Los tres deben tener la misma estructura.

Organizalos para que tengan la misma estructura, y te lo programaré :-)
by Antonio Linares
Thu Sep 15, 2022 5:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Error en Combobox URGENTE ??
Replies: 15
Views: 1087

Re: Import/Export from/to CSV files (; separator)

Correct function Builddbf(aHeader,Alengte,cDbf,cdeli) local aStru := {} local aFields := HB_ATokens(aHeader[1], cdeli ) for i = 1 to len(aFields) cField = (aFields[i]) aAdd( aStru, { cField , "C", 255 , 0 } ) // I insert 255 is the max lenght ...
by Silvio.Falconi
Wed Nov 25, 2020 7:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Import/Export from/to CSV files (; separator)
Replies: 16
Views: 2148

Re: Import/Export from/to CSV files (; separator)

... aData[i] cField is all line and it is bad because cField must be the string until the ";" symbol then this function e not create array astru good
by Silvio.Falconi
Wed Nov 25, 2020 7:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Import/Export from/to CSV files (; separator)
Replies: 16
Views: 2148

Re: MariaDB - CREATE TABLE | text, int(11), tinyint

Hello, As I do not know the right syntax for for oCn:CreateTable( cTable, aStru ) I use oCn:Execute( cSql ) and pass the SQL string. This is working for me. Mr Rao documented FWH - Built-in MySql/MariaDB functionality very well. Thank you for creating the LIB ...
by Otto
Wed Nov 28, 2018 10:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB - CREATE TABLE | text, int(11), tinyint
Replies: 5
Views: 1227

MariaDB - CREATE TABLE | text, int(11), tinyint

... how I can create: Text, int(11) and tinyint(1). `text` text DEFAULT NULL, `is_paid` tinyint(1) DEFAULT NULL `status` int(11) DEFAULT NULL, local aStru := { ; { "start_date", "D", 8, 0 }, ; { "end_date", "D", 8, 0 }, ; { "text", "C", ...
by Otto
Tue Nov 27, 2018 6:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB - CREATE TABLE | text, int(11), tinyint
Replies: 5
Views: 1227

Re: Detect Memo Field

... @ 24,25 GET oGet VAR cNotes TEXT SIZE 80,40 PIXEL OF oDlg ACTIVATE DIALOG oDlg center ENDIF RETURN NIL FUNCTION ChkForMemo( cAlias ) LOCAL aStru := ( cAlias )->( dbStruct() ) LOCAL aMemo := {} aEval( aStru, { | x | if( x[ 2 ] == "M", aAdd( aMemo, x[ 1 ] ) , ) } ) RETURN ( aMemo
by Silvio.Falconi
Thu May 02, 2013 11:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Detect Memo Field
Replies: 8
Views: 1287

Re: PROBLEMA CON TXBROWSE

... LOCAL cFilCompra:=cImpLoc+"WI"+SUBSTR(TIME(),1,2)+SUBSTR(TIME(),4,2)+SUBSTR(TIME(),7,2)+".DBF" LOCAL aStru:={ {"FILIAL","C",2,0},{"CODIGO","C",2,0},{"ALMACEN","C",30,0},{"CANTIDAD","N",12,2} ...
by LuisPonce
Fri Jan 11, 2013 9:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PROBLEMA CON TXBROWSE
Replies: 20
Views: 5498

Re: PROBLEMA CON TXBROWSE

... LOCAL AliasCmp LOCAL cFilCompra:=cImpLoc+"WI"+SUBSTR(TIME(),1,2)+SUBSTR(TIME(),4,2)+SUBSTR(TIME(),7,2)+".DBF" LOCAL aStru:={ {"FILIAL","C",3,0},{"CODIGO","C",3,0},{"ALMACEN","C",2,0},{"CANTIDAD","N",12,2} ...
by LuisPonce
Fri Jan 11, 2013 6:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: PROBLEMA CON TXBROWSE
Replies: 20
Views: 5498

como generar un dialog desde una base de datos

... ver si pueden ayudarme muchas gracias a todos //-------------------------------------- Function NewReg() local oGet,oDlgnew,n,cFile:=alias() local aStru:=DbStruct() local aDatos:=array(len(aStru)) local nLine:=0,nCol:=1,nLing:=0,nColg:=6,nSize local nLeft:=if(len(aStru) > 17,88,44) Aeval(aDatos,{|x,y| ...
by rterraz
Thu Jan 10, 2013 2:50 pm
 
Forum: FiveWin para CA-Clipper
Topic: como generar un dialog desde una base de datos
Replies: 4
Views: 2491

Re: PROBLEMA CON TXBROWSE

... LOCAL AliasCmp LOCAL cFilCompra:=cImpLoc+"WI"+SUBSTR(TIME(),1,2)+SUBSTR(TIME(),4,2)+SUBSTR(TIME(),7,2)+".DBF" LOCAL aStru:={ {"FILIAL","C",3,0},{"CODIGO","C",3,0},{"ALMACEN","C",2,0},{"CANTIDAD","N",12,2} ...
by LuisPonce
Thu Jan 10, 2013 12:04 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: PROBLEMA CON TXBROWSE
Replies: 20
Views: 5498

TMysSql : Cannot create a table

use phcust aStru := phcust->(dbStruct()) IF oServer:CreateTable( "cust", aStru) Error BASE/1066 Argument error: conditional Arguments: ( [ 1] = Type: N Val: 0) Error at ...: (b)TMYSQLSERVER:CREATETABLE(1730) in Module: ...
by mosh1
Wed Aug 08, 2012 2:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TMysSql : Cannot create a table
Replies: 4
Views: 738

Re: It is possible to create a dbf table with two...

Please try this: #include "Fivewin.ch" REQUEST DBFCDX FUNCTION MAIN() LOCAL aStru := { } AADD( aStru , { "FIRST" , "C" , 20 , 0 } ) AADD( aStru , { "LAST" , "C" , 20 , 0 } ) AADD( aStru , { "SAMENAME" , "C" ...
by MarcoBoschi
Wed Mar 09, 2011 2:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: It is possible to create a dbf table with two...
Replies: 15
Views: 2419

Re: Consejos sobre LETODB, SQLWin y AdoRDD

... las tablas en MySQL las creo a partir de código, tengo una array en el código con el nombre de los campos, el tipo y la longitud, similar a la aStru de dbcreate. De tal forma puedo generar un buffer para los registros usando una clase similar a TPublic. ¿Hay algo ya hecho y me ahorro el trabajo? ...
by alvaro533
Wed Oct 21, 2009 11:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consejos sobre LETODB, SQLWin y AdoRDD
Replies: 9
Views: 2707
Next

Return to advanced search