topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
de Mysql a PostgreSQL o Oracle via ADO ( Solucionado ) | [quote="Adolfo":3ef2jqg4]Aqui tienen 2 OLE DB provider para postgress
[/quote:3ef2jqg4]
Gracias Adolfo. ¿Puedes usar Postgress como local, es decir, en un solo ordenador, o es necesario que funcione independiente en un servidor? |
de Mysql a PostgreSQL o Oracle via ADO ( Solucionado ) | Si...
Yo lo probe en mi Pc sin problemas.
Desde Chile
Adolfo |
de Mysql a PostgreSQL o Oracle via ADO ( Solucionado ) | Adolfo, gracias de nuevo.
¿De que ciudad eres de Chile? |
de Mysql a PostgreSQL o Oracle via ADO ( Solucionado ) | Manuel
Soy de CHILLAN...
Tierra de heroes y artistas, de las sustancias ( una golisina ) y de las longanizas ( un embutido de carne de cerdo muy famoso aqui en chile )
Con las termas de Chillan a solo pocos kilometros
<!-- m --><a class="postlink" href="http://www.termaschillan.cl/hs/esp/inv_tc_wallpaper.aspx">ht... |
de Vertical a Horizontal treport | Saludos
Inicio con el uso de la clase treport
Tengo la duda de como cambiar tanto los tamaños de la hoja (impresion) como la orientacion de la hoja, de vertical a horizontal.
Resvisando el report.prg, me encuentro esto solamente:
::oDevice:SetLandScape()
Gracias. |
de Vertical a Horizontal treport | PrnSetSize(2160,2790) //media hoja=2160 x 1395, carta=2160 x 2790
PrnLandScape() //horizontal
REPORT oReport;
TITLE "XXXXXXX";
PREVIEW
COLUMN TITLE "FECHA","DOCUMENT";
DATA FIELD->FECHA;
CENTERED;
SIZE 8;
GRID 1
***
***
END REPORT
... |
de dbf-ntx a adt-adi | Hola a todos!!
Estoy usando ADS hace rato con DBF y NTX pero me intereza ahora pasar a ADT-ADI, [b:1qn2eb4z]que tengo que cambiar en mi codigo??[/b:1qn2eb4z]
De esta manera estoy usando ADS:
[code:1qn2eb4z]RddRegister("ADS",1)
RddSetDefault("ADS")
SET SERVER LOCAL
SET FILETYPE TO NTX[/code:1qn2eb4z]
... |
de dbf-ntx a adt-adi | NO TIENES QUE CAMBIAR NADA !!!!!
Eso es lo maravilloso de ADS, la migracion es transparente, solo tienes que cambiar el tipo de archivo:
REQUEST ADS
RddSetDefault("ADS")
AdsSetServerType(7) // cualquier servidor
AdsSetFileType(3) // ADT / ADI
Y listo todo lo demas funciona tal como funciona con los DBF normales, no... |
de dbf-ntx a adt-adi | Mil gracias Rene!!!
Lo estoy probando y creo que funciona, cualquier cosa te vuelvo a consultar.
Gracias!! <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> |
de dbf-ntx a adt-adi | Rene tengo una pregunta ya que anduvo hasta ahora lo que me pasaste. Hay alguna manera de indicarle que ponga los indices todos juntos en un archivo?
Reindexo de esta manera:
[code:33nyca3n]USE Iva NEW
oDlg:cTitle("Procesando IVA.ADT")
oMeter:nTotal=RecCount()
PACK
ERASE Iva1.Cdx
ERASE... |
de dbf-ntx a adt-adi | Natalia:
1) Tienes que crear los indices asi:
INDEX ON <llave> TAG <nombre del indice> FOR <condicion>
Donde :
<llave> es la llave de TODA la vida
<nombre del indice> es un nombre con el cual tu vas a identficar al indice creado dentro del archivo ADO
<condicion> es la condicion de indexamiento.
En tu caso
INDEX ... |
de dbf-ntx a adt-adi | Hola Rene,
Veo que estás por venir a Argentina el 3 de Noviembre.
Donde puedo obtener más información al respecto?
Desde ya muchas gracias.
Saludos, Esteban |
de msgbar y status bar | Hola,
En mis programas tengo una msgbar en la venana principal que defino de esta manera:
[code=fw:us6xs7eg]<div class="fw" id="{CB}" style="font-family: monospace;">SET <span style="color: #0000ff;">MESSAGE</span> <span style="color: #0000ff;">OF</span> ::<span style="color: #000000;">oWndMain</span> <span style="col... |
de msgbar y status bar | Yo lo hago asi con un Font definido para la aplicacion y no tengo ningun problema
[code=fw:389js5rn]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> <span style="color: #0000ff;">DEFINE</span> MSGBAR ::<span style="color: #000000;">oMsgBar</span> <span style="color: #0000ff;">OF</span... |
de msgbar y status bar | José Luis,
> Por otra parte, he vsto que hay una clase StatusBar que desconocía ¿ Puedo sustituir MsgBar por StatusBar ?
Comprueba primero que la Clase StatusBar te proporcione toda la funcionalidad que usas con MsgBar.
La clase StatusBar es propia de Windows y no ofrece toda la funcionalidad que ofrece MsgBar. |
de un get a un folder... no hace el salto correcto | hola.
tengo un dialogo.
con 2 GET y a la derecha un folder con 2 get dentro.
estando en el get 1 o 2 del dialogo princial, al presionar TAB no entra a ninguno de los get del folder.
Que puede estar pasando? |
de un get a un folder... no hace el salto correcto | Creo que el mejor, és usar el comando OJUMP.
Salu2 |
de un get a un folder... no hace el salto correcto | Ejemplo:
[code=fw:3vzlkiu8]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> aGet<span style="color: #000000;">[</span><span style="color: #000000;">025</span><span style="color: #000000;">]</span>... |
de un get a un folder... no hace el salto correcto | Gracias.
[quote="karinha":2x23hs90]Ejemplo:
[code=fw:2x23hs90]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> aGet<span style="color: #000000;">[</span><span style="color: #000000;">025</span><span style="col... |
de un get a un folder... no hace el salto correcto | [quote="carlos vargas":2o1004tr]si trabajas con recursos, verifica si el control que tiene para el folder tiene el WS_TABSTOP aplicado, en caso contrario no realizara el saldo de un get de fuera a get dentro del folder.[/quote:2o1004tr]
ok. reviso. gracias |
de un get a un folder... no hace el salto correcto | si trabajas con recursos, verifica si el control que tiene para el folder tiene el WS_TABSTOP aplicado, en caso contrario no realizara el saldo de un get de fuera a get dentro del folder. |
deactive the fist window | In my application I have defined a window oWnd ,
next I open new window oWnd1,
How my I deactive the fist window (oWnd) ? |
deactive the fist window | oWnd:Disable() |
dealing with a CSV file | I am importing a comma delimited file and I need to make certain the user has set up the file properly.
Is there a way to count the delimiters (commas) in the file and fix it if it has too may delimiters. All has to be at run time and behind the scenes. |
dealing with a CSV file | Harvey,
You can use NumAt() to count the commas in each line:
NUMAT(<cStringToMatch>, <cString>, [<nIgnore>]) --> nCount
To extract each line, in a fast way, you can use this code:
[code=fw:307vjf7m]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #00C800;">local</span> cTex... |
dealing with a CSV file | Thanks Antoonio.
I'll give it a try tomorrow. |
dealing with a CSV file | Antonio
Where is the function numat() located. Won't compile. |
dealing with a CSV file | Harvey,
If you are using Harbour then you have to link hbct.lib, if you use xHarbour then link ct.lib |
debugger current FWH / xHarbour | I have run the xHarbour debugger with recent upgrade to FWH 7.07 / xHarbour 99.71 and encounter 2 issues.
issue 1 - abend due to different circumstances in SHOWVARS method. The abend seems to happen as I repeatedly "step" with the F8 key into subordinate functions and/or back again.
-------------------------------... |
debugger current FWH / xHarbour | Don,
Are you using the xHarbour console mode debugger ?
If yes, then you should report it at comp.lang.xharbour, thanks |
debugger current FWH / xHarbour | Yes I am using the console version. Do I have any other options? |
debugger current FWH / xHarbour | I tryed for many times debug my FW program but I had no success.
I use FWH 7.01 and xHarbour comercial (march/2007).
If anybody can help me I'll be glad
Regards,
Maurilio |
debugger current FWH / xHarbour | [quote="Maurilio Viana":392a4om4]I tryed for many times debug my FW program but I had no success.
I use FWH 7.01 and xHarbour comercial (march/2007).
If anybody can help me I'll be glad
Regards,
Maurilio[/quote:392a4om4]
Hello Maurilio,
We are doing final tests to debug a FWH app with Visual xDebugger.
Will let you ... |
debugger current FWH / xHarbour | Maurilio,
I am able to run debugger, but sometimes I have problems.
To get it to work similar to Clipper Debugger,
compile .prg with /b switch.
Include in your .lnk script debug.lib from the xharbour lib folder
For borland linker, xHarbour v99.5, omit the -aa switch from the Ilink32 command line.
For xHarbour v... |
debugger sample | I compile altd.prg sample for the compiler debugger but with failure though I changed the copmilation and linking options into /b ,remove -aa:%hdir%\bin\harbour %1 /b /n /i%fwh%\include;%hdir%\include /w /p %2 %3 > clip.log%bcdir%\bin\ilink32 +%bcdir%\bin\ilink32.cfg -Tpe -s @b32.bc |
debugger sample | Ehab,To use the debugger you have to link GTWIN.lib instead of GTGUI.lib |
decimales en c++ | Buenas, una ligera duda
¿Como paso un numero decimal a una funcion de C hecha por mi? pues _parnl(x) no me va.
¿Como hago para que esa funcion me devuelva un decimal? pues _retnl( ... ) me devuelve un entero
Gracias |
decimales en c++ | Antolín,
Aqui tienes un ejemplo:
[code=fw:qkw2zovb]<div class="fw" id="{CB}" style="font-family: monospace;"><br />double dbl = hb_parnd<span style="color: #000000;">(</span> <span style="color: #000000;">1</span> <span style="color: #000000;">)</span>;<br /> </div>[/code:qkw2zovb]
para devolver un numero deci... |
decimales en c++ | Muchas Gracias Antonio |
declare array | I must declare a multi array type
aVal := { { } ,;
{ } }
But I not Know how many records there are
How I can say to fivewin if
aVal:={ }
is multiple array ? |
declare array | Silvio,
maybe ( sample ) :
LOCAL aArray := { { 1, 2 },{ 1, 2 },{ 1, 2 } }
? LEN ( aArray ) // Result = 3
? LEN ( aArray[1] ) // Result = 2
regards
Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> |
declare array | Uwe,
Pls
I not Know how many record I can have
I need it for the nages test of circular graph [url:1curha5h]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=33772[/url:1curha5h]
it wants multiple array ... |
declare array | aData := ARRAY( nRows, nCols ) |
declare array | Function IsMultipleArray( aArray )
Return iif( valtype( aArray[1]="A", .T., .F. ) |
declare array | yes of course !!!
BUT I not Know the value of nRows and nCols
if at init I made
aVal:={ }
then not run because the procedure understood the array is simply and not multiple as
aVal:={ { } ,;
{ },;
{ } }
I insert 3 records for make a sample |
define button of oBar (Tamano del Boton) | Saludos Colisteros
Tengo una consulta, espero sencilla, estoy haciendo una barra de botones y necesito "cambiar el tamano de cada uno si es posible", sucede que son varias las opciones de la barra y se pasa del tamano de la pantalla, quisiera asignar el tamano de cada boton de la barra, es eso posible ??
Muchas graci... |
define button of oBar (Tamano del Boton) | [quote="Enrrique Vertiz":txofsk4l]Saludos Colisteros
Tengo una consulta, espero sencilla, estoy haciendo una barra de botones y necesito "cambiar el tamano de cada uno si es posible", sucede que son varias las opciones de la barra y se pasa del tamano de la pantalla, quisiera asignar el tamano de cada boton de la barr... |
define button of oBar (Tamano del Boton) | Gracias Cristobal, revisando |
define msgitem color - Resolved!! | I made
DEFINE MSGITEM ::oMsgItem1;
OF ::oWnd:oMsgBar ;
PROMPT ::aStatus[1] ;
SIZE 100 ;
COLOR RGB(0x9a,0xcd,0x32), RGB(0x9a,0xcd,0x32)
but I have a text colored and on msgitem is not refill with the background color
any solution please ?
I wish as this
[img:2... |
define msgitem color - Resolved!! | [url:gbej2srf]http://shibolete.tripod.com/RGB.html[/url:gbej2srf]
[url:gbej2srf]http://www.erikasarti.com/html/tabela-cores/[/url:gbej2srf]
[url:gbej2srf]https://celke.com.br/artigo/tabela-de-cores-html-nome-hexadecimal-rgb[/url:gbej2srf]
Example:
C:\FWH...\SAMPLES\FWEXPLOR.P... |
define msgitem color - Resolved!! | No need color but refill the msgitem background
fwexplorer.prg ????????????????????????????????????????????????????????????????????? |
define msgitem color - Resolved!! | I think, that is not possible, because it has the SET MESSAGE area.
FWEXPLOR.PRG
Regards. |
define msgitem color - Resolved!! | I couldn't find a problem.
[quote:33o392qm]but I have a text colored and on msgitem is not refill with the background color [/quote:33o392qm]
[img:33o392qm]http://www.pflegeplus.com/IMAGES/Itemcol.jpg[/img:33o392qm]
regards
Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title=... |
define msgitem color - Resolved!! | With the code i post i not see the background on each msgitem
let me see your command code to create it |
define msgitem color - Resolved!! | Please have a look at
[color=#0000FF:1is1gke4][b:1is1gke4]Testmsg3.prg[/b:1is1gke4] [/color:1is1gke4]for colored items
regards
Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
define msgitem color - Resolved!! | thanks
this was the problem .....I use 2015 on set message control...now run ok as i wish..
[img:zk8e7563]https://i.postimg.cc/fypTS6g0/ff.jpg[/img:zk8e7563] |
define msgitem color - Resolved!! | You can not have background color if you create message-bar with syles 2007 or later.
You can have background color for the msgitems if you create without styles 2007 or later. |
defining a constant at compile time. | Guys:
Using the buildx.bat command line, how can I define a constant at compile time. In old Clipper days it was like this:
[code=fw:3wm4l52f]<div class="fw" id="{CB}" style="font-family: monospace;">Clipper MyPrg /dMYVAR</div>[/code:3wm4l52f]
Thank you. |
defining a constant at compile time. | Gustavo,
buildx.bat MyPrg /dMYVAR
whatever you supply as second and third parameters will go directly to harbour.exe as second and third params |
defining a constant at compile time. | Antonio:
Thank you. Worked like a swiss clock. |
defining a key to a function | Hello,
I have a browse with all plantnames. If I doubleclick on a row a new window is opened that shows all the details of that plant. On this window I have two buttons to go to the previous row or the next row.
Now i want to do this by clicking on the keyboard with the go-left or go-right button. Is this possible? So ... |
defining a key to a function | René,
Pease try this:
oBrowse:bKeyDown = { | nKey | MsgInfo( nKey ) }
and check if GoLeft and GoRight keys get trapped with that |
defining a key to a function | Hello Antonio,
Thanks, that works. The GoLeft has number 63234 and the GoRight has 63235. I use the bKeyDown on a window instead of a browse. The window that is opened has seven tabs and on 4 of them there are browses. It also works on Get's |
defining columns in browse | Hello,
I use a lot of browses in my program. I use these browses with arrays. Now I want to define the visible columns with variables. This is my code now:
[code=fw:dai3jai0]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@ <span style="color: #000000;">30</span>, <span style="color: #000000;">10</span... |
definir funciones que están en DLL | hola amigos.. estoy haciendo una pequeña clase. y en ella me gustaría llamar a unas funciones que están en una DLL escrita en c.
tengo ésta definicion, pero cuando la ejecuto no hace nada :S si alguien pudiera echarme una manito.. le estaría eternamente agradecido <!-- s:P --><img src="{SMILIES_PATH}/icon_razz.gif" al... |
definir funciones que están en DLL | Miguel,
if you want a pdf class you can download at my site : <!-- w --><a class="postlink" href="http://www.harbour.it">www.harbour.it</a><!-- w -->
Regards |
definir variable | buenas a ver si me podeis ayudar quiero definir esta variable
local cText := " TButton():New( 250, 240," Imprimir", oDlg, {|| imOctubre()}, 60, 20,,, .F., .T., .F.,, .F.,,, .F. )"
Build: 000004 - 20230609170656150
Harbour 3.2.0dev (Rev. 17516)
Copyright (c) 1999-2012, <!-- m --><a class="postlink" href="http://harbou... |
definir variable | Saludos estimado.
La palabra IMPRIMIR debes colocarla dentro de comillas simples -> 'Imprimir' |
definir variable | [code=fw:39jf10dq]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00C800;">FUNCTION</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</sp... |
definir variable | muchas gracias efectivamente es como tu dices comillas simples y no da error y funciona
gracias un saludo |
definir variable | tambien funciona con [ ] muchas gracias a los dos
saludos |
dejar más espacio entre grupos del Treport | Hola,
¿Cómo puedo dejar más espacio entre grupo y grupo en Report?.
Gracias. |
dejar más espacio entre grupos del Treport | Amplia la barra de grupo, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> |
dejar más espacio entre grupos del Treport | Lucas:
Si quiero dejar mas espacio entre grupos yo pondria asi
[code=fw:1j8ubk84]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">ACTIVATE</span> REPORT oRpt <span style="color: #0000ff;">on</span> endline iif<span style="color: #000000;">(</span>oRpt:<span style="color: #000... |
dejar más espacio entre grupos del Treport | Muchas gracias. Funciona <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) --> |
dejar más espacio entre grupos del Treport | Disculpa mi respùesta, confundi por un momento Fast report con Report, fue un lapsu, jejeje, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> |
del a group section | can I canc a section and his variables on ini file ? |
del a group section | Silvio,
there are INI-functions :
[color=#0000FF:2np457rk][size=150:2np457rk]DelIniEntry( <Section>, <Entry>, <File> ) --> lSuccess
DelIniSection( <cSection>, <cFile> ) --> lSuccess [/size:2np457rk][/color:2np457rk]
best regards
Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy... |
del a group section | thanks |
del a group section | and how copy one ? |
del an Item on treview | I must del a item into a tree object ( treeview of fwh)
I found a solution to del a item from treview but it make error when I try to del a category
[b:gop69u0x]I have a dbf with two fields [/b:gop69u0x]
DbCreate('GE', {{'GEMATERIA' , 'C', 40, 0} ,;
{'GEPCLAVE' , 'C', 45... |
del an Item on treview | Silvio,
Puedes poner que muestra xBrowse( oPadre ) despues de hacer oPadre := oLink:GetParent() ? Pon lo que se muestra cuando borras una subcategoria y una categoria |
del an Item on treview | I not use xbrowse for tree I use tree class of Linares
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=31594&p=184291&hilit=tree#p184291">viewtopic.php?f=3&t=31594&p=184291&hilit=tree#p184291</a><!-- l --> |
del an Item on treview | Can you put MsgInfo( type( oPadre:aItems ) ) after oPadre := oLink:GetParent() ? |
del an Item on treview | see your mail |
del an Item on treview | Silvio,
If you put here some example, i'll try to help you... thanks |
del an Item on treview | sorry I found the error..thanks |
del an tree Item | How I can del an Item of a Tree ?
I try with :
local oLink := oTree:GetSelected()
local cPrompt := oLink:cPrompt
local cCargo := oLink:Cargo
oLink:end() ----> make error
oLink:DeleteBranches()----> make error
someone Know the tree class ? |
del an tree Item | Perhaps I found a solution
TVDeleteItem( oTree:hWnd, oLink:hItem )
it del the item tree but I not sure it is the right solution
it not run ok |
del section from a ini | is there a function for delete a section into a ini file ? |
del section from a ini | [code=fw:1o9k5b9d]<div class="fw" id="{CB}" style="font-family: monospace;">DELINISECTION<span style="color: #000000;">(</span> cSection, cIniFile <span style="color: #000000;">)</span></div>[/code:1o9k5b9d]
EMG |
del section from a ini | fwh function or harbour ? |
del section from a ini | FWH.
EMG |
del xml a dbf | Como puedo pasar a Dbf una base que se da en formato xml desde un web server?
Necesitaría tomar los datos de dicha base y pasarlos a una dbf temporal, desde la cual pasarlo al destino definitivo.
Cualquier ayuda que me puedan dar se agradecerá ampliamente.
Gracias desde ya. |
del xml a dbf | Prueba con usar la clase xml que tiene xharbour, ya que deberia leer estos archivos sin problemas.
Atte,
Lautaro |
del xml a dbf | Lautaro,
Gracias!!! por tu respuesta!!!!!!!!!!!!!!!!!!!! <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Una pregunta, esta clase....., donde encuentro información de como funciona, el ejemplo xmltest.prg que aparece en el directorio de tests de xharbour utiliza esta ... |
del xml a dbf | Hola,
La documentacion esta en el archivo hbxml.txt en la carpeta doc, y alli encontraras todo lo necesario para usarla, ya esta opcion es parte del xharbour rtl library y el en directorio samples estan xmliter.prg que muestra y xmltest.prg, ademas de un archivo de pruebas el xmltest.xml.
Atte.,
Lautaro Moreira |
del xml a dbf | Gracias Lautaro,
Esa documentación está ausente en el xHarbour que se distribuye con FWH de Marzo 2006, pero la bajé del sitio de xHarbour.
Ahora la voy a estudiar.
Saludos, |
delete a pixel | [img:20yq8yl9]https://i.postimg.cc/9fCvbn9B/pin.png[/img:20yq8yl9]
when I scroll through the xbrowse it draws a pixel according to the coordinates (column 3 and 4)
how do i delete a pixel previously drawn?
to draw I use setpixel or FillSolidRect
SomeOne can help me Pls ? |
delete identical records | By creating an array with three for next loops I have to delete the records where I find equal numbers in the three columns
[code=fw:3ctnoqk4]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #00C800;">for</span> h=<span style="color: #000000;">1</span> <span style="color: #0000ff;">to</sp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.