Search found 35 matches: ctipo

Return to advanced search

Re: Grabar imagen en tabla mysql

... en el apartado Data / Memory Size le cambias a Max Packed size (yo le puse 16M) Para subir un archivo cualquiera FUNCTION GUARDADIR(cFILE,cTIPO) APROG :=DIRECTORY(cFILE) PUBLIC PROGNOM:=APROG[1,1] PUBLIC PROGTAM:=APROG[1,2] PUBLIC PROGFEC:=APROG[1,3] PUBLIC PROGHRS:=APROG[1,4] * cFileG ...
by Marco Augusto
Fri Jan 19, 2024 1:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Grabar imagen en tabla mysql
Replies: 5
Views: 401

Re: COMBOBOX WITH Sort

Perhaps, if you are using pellesC, you need to "remove" the SORT variable in the combobox as NO.

Maybe:
ON Change := cTipo_Cli[ oCbx:nAt ]

Regards, saludos.
by karinha
Fri Mar 24, 2023 2:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: COMBOBOX WITH Sort
Replies: 2
Views: 201

COMBOBOX WITH Sort

Hello
I have a COMBOBOX ( in a RC file with Sort = Yes )

aTipi := {'Paolo', 'Gianni','Andrea' 'Cesare' }

I set cTipo_Cli = 'Gianni'

REDEFINE COMBOBOX oCom Var cTipo_Cli ITEMS aTipi ID 4009 OF oDlg

but when I open the dialog on the combobox I have 'Cesare' and not 'Gianni'

Thanks
by Maurizio
Fri Mar 24, 2023 9:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: COMBOBOX WITH Sort
Replies: 2
Views: 201

Variable en consulta MySql

Buenas estimados

Cómo se aplica una variable en una consulta?
Algo como: ClipValue2SQL ó ("..... ?", { cTipo })
Code: Select all  Expand view

cTipo:='HYR"
nRetVal = mysql_query( hConnection, "select * from users WHERE tipo = ", cTipo)


Gracias por la ayuda
by acuellar
Wed Sep 08, 2021 10:14 pm
 
Forum: mod_harbour
Topic: Variable en consulta MySql
Replies: 1
Views: 466

Re: TDatabase: Parameterized filters and ReFilter()

cFilter := "TRIM(TIPO) == ? .AND. GIORNI == ? .AND. IDELEMENTO == ? .AND. " + ;
"SETTORE == ? .AND. ALLTRIM(IDLISTINO) == ? .AND. MESE == ?"

oDbf:SetFilter( cFilter, { cTipo, nGiorni, cidelemento, cSettore, clistino, nmese } )
by nageswaragunupudi
Tue May 25, 2021 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase: Parameterized filters and ReFilter()
Replies: 9
Views: 1106

Re: Editsource() Problem

... un error de sintaxis para MYSQL WINRUN( 0 )<-TMDIFRAME:ACTIVATE( 1078 )<-START( 96 )" cSql = "SELECT * FROM tipos as TIP ORDER BY CTIPO LIMIT 1000 WHERE `TIP`.`CTIPO` = '01'"
by Marco Augusto
Fri Jun 05, 2020 6:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HBMK2 Problem linking
Replies: 49
Views: 5336

Re: Editsource() Problem

LE QUITARIA LA OPCION "AS TIP"


oRs := oBD:QUERY("SELECT * FROM tipos ORDER BY ctipo LIMIT 1000")
by Marco Augusto
Fri Jun 05, 2020 2:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HBMK2 Problem linking
Replies: 49
Views: 5336

HBMK2 Problem linking

... it's doing wrong changes in my sql statement. Please look at this little code: oRs := oBD:QUERY("SELECT * FROM tipos AS tip  ORDER BY ctipo LIMIT 1000")oRs:bEdit   := { |oRec| ManTab( oRec,"M") }oBrw:EditSource( .t. ) When oBrw:EditSource( ...
by vilian
Thu Jun 04, 2020 5:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HBMK2 Problem linking
Replies: 49
Views: 5336

Re: No encuentra Registro con FWHMariaDB

Thanks Mr Rao

May we know why and where do you need to use this directly?
oRs:Filter:="TIPO = " + oCn:ValToSQL( cTipo )

Regards
by acuellar
Sat Jul 06, 2019 4:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No encuentra Registro con FWHMariaDB
Replies: 14
Views: 1434

Re: Converting sample test of Tplan

... dialog I make the seek ::oReserva:SetOrder( "room_in" ) ::oReserva:GoTop() ::oReserva:Seek( oPlan:GetRowID() + DToS( dCheckIn )+ALLTRIM(cTipo) ) any solution please I need have the room_id and room type because I have diiferent type of rooms having the same number
by Silvio.Falconi
Sat Jun 22, 2019 10:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Converting sample test of Tplan
Replies: 26
Views: 2638

Re: Complex Search on dbf from an array

... with a easy setfilter I had difficulty finding the way how to pass the values contained in the tips Local cFilter := "trim(Tipo) == '" + cTipo +; "' .and. alltrim(str(giorni))== '" + alltrim(str(nGiorni)) +; "' .and. idelemento== '"+cidelemento+; "' .and. settore== ...
by Silvio.Falconi
Mon Feb 18, 2019 4:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Complex Search on dbf from an array
Replies: 6
Views: 843

Re: Reservation Nages Test with New Xbrowse

... type "O" is ok When i show the reservation on other rooms it make errors on Load data function I tak eonly the type of table I select (ctipo) static function LoadData(cTipo)   local i, n, aRes  := Array( NUM_TABLES, 0 )   local dMonth      := AddMonth( BOY( DATE() ...
by Silvio.Falconi
Mon May 07, 2018 7:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Reservation Nages Test with New Xbrowse
Replies: 8
Views: 1718

Re: Empezando con ADO

... los tipos de campo y presentarla en pantalla, y devuelvo un array con: { oCat:Tables( i ):Columns( j ):Name , ; // Nombre de la Tabla cTipo, ; // Tipo de campo -> Estilo DBF nLen, ; // Longitud nDec, ; // Decimales Upper(cTipoEx), ; // Tipo de Campo -> ADO nTipo } ) // Nº del ...
by cnavarro
Thu Oct 03, 2013 7:14 pm
 
Forum: Off Topic / Otros temas
Topic: Empezando con ADO
Replies: 48
Views: 17902

Re: TO ANTONIO CONTROL GET BITMAP ACTION ERROR

... ; ACTION (AtSeleccion( cApactivida, aGet[1], oDlg )); VALID CaricaIveRep(cApactivida,@aIvaRep1,@aIvaRep2,@aGet,@lActivaRep,@lRicaricoRep,cTipo) Now I change with @ 10, 56 GET aGet[1] VAR cApactivida OF oDlg SIZE 105, 9 PIXEL FONT oFont ; VALID CaricaIveRep(cApactivida,@aIvaRep1,@aIvaRep2,@aGet,@lActivaRep,@lRicaricoRep,cTipo) ...
by Eoeo
Thu Sep 13, 2012 8:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO ANTONIO CONTROL GET BITMAP ACTION ERROR
Replies: 9
Views: 1458

função DLL demora e sistema parece estar travado

Ola pessoal, Eu chamo do meu sistema uma função de uma DLL de uma impressora fiscal, ex: Bematech_FI_ArquivoMFD("", xIni, xFim, cTipo, "01", 2, cPublica, cPrivada, 1) O problema é que esta função demora cerca de 5 minutos até terminar de ler os dados, e, o sistema parece ...
by MGA
Fri Sep 17, 2010 8:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: função DLL demora e sistema parece estar travado
Replies: 1
Views: 687
Next

Return to advanced search