topic
stringlengths
1
63
text
stringlengths
1
577k
sending mail trought Lotus Notes
Yes, this is the code: oNotesSession := CreateObject( "Notes.Notessession" ) oNotesDb := oNotesSession:GetDatabase( "","" ) oNotesDb:Invoke("CreateDocument") but I get the error that I've posted in the spanish forum. Regards,
sending mail trought Lotus Notes
Jose, I believe Lotus Notes supports MAPI. Have you tried it? James
sending mail trought Lotus Notes
Jose Luis, Prueba lo siguiente: MsgInfo( oNotesSession:hObj ) oNotesDb := OleInvoke( oNotesSession:hObj, "GetDatabase", "", "" ) MsgInfo( oNotesDb ) y dinos que valores te aparecen.
sending mail trought Lotus Notes
Antonio: Los dos mensajes me devuelven valores númericos de 7 digitos y no me dan error. Saludos,
sending mail trought Lotus Notes
Jose Luis, Intenta ahora esto: OleInvoke( oNotesDb, "CreateDocument" )
sentencia sql
Hola amigos, hace tiempo que estoy construyendo un sistema para mi empresa en sql, utilizando la clase tmysql de wormar. Esta funcionando bien, en lo que respecta a facturas, recibos etc. Ahora se me complica, no porque no lo haya resuelto pero sí por que esta mal resuelto, ya no utilizó la potencia de sql en lo que re...
sentencia sql
Saludos, en si que es lo que quieres RELACIONAR, es traer los movimientos de la factura a un xbrowse con el nombre del producto? te dejo un ejemplo de como hago para traer un listado de facturas donde esta el codigo del cliente y lo relaciono con el maetro de clientes para traerme el nombre del cliente, haber si eso te...
sentencia sql
Gracias José esta noche voy a tratar de adaptarlo a lo que quiero hacer Luis
sentencia sql
Esta es una idea [code=fw:2j1o8lq8]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #ff0000;">'SELECT f.*, d.codigo, d.cantidad, p.descripcion, p.unidad <br />FROM facturas f, detalle d, productos p<br />WHERE f.nrofac = '</span>+ numfac +<span style="color: #ff0000;">' <br />AND d.n...
sentencia sql
Probé lo que me indicaron en el programa y no me respondía nada Escribí lo siguiente en sqlyog [code=fw:1yvy12ap]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #0000ff;">SELECT</span> f.*, d.codigo, d.cantidad, d.costo, p.producto, p.marca, p.modelo <span style="color: #000...
sentencia sql
Hola, La condicion para f.nrofac, debes encerrarla en ' ', quedaria asi : ... where f.nrofac='0001-00001712' AND d.nro... , la delimitacion de las cadenas literales debes anotarlas en las consultas. Atte., Lautaro
sentencia sql
surgom, SELECT f.*, d.codigo, d.cantidad, d.costo, p.producto, p.marca, p.modelo WHERE f.nrofac =0001-00001712 AND d.nrofac = f.nrofac AND d.codigo = p.codigo y el FROM ??? no lo veo Saludos
sentencia sql
Surgom yo lo hago asi SELECT v.*,m.comentarios FROM ventas v INNER JOIN movimientos m ON m.idticket = v.id WHERE v.esanticipo = '1' AND v.saldoanticipo > '0' ORDER BY v.id saludos
sentencia sql
Paco me lo olvide de poner. Hoy por la mañana lo probé en la oficina (había puesto el from) y me daba el mismo error y ahora estoy en mi casa l y me comí el from, y como daba el mismo error no lo revisé. Entré al foro para informar mi error cuando ví que habías contestado Al arreglar me dió el siguiente error Err...
sepueden poner bmp en un browse ?
un codigo similar a este se podria poner ?: [code:75fttj7g] local ahBmp&#58;=&#123;ReadBitmap&#40; "bmp\si16&#46;bmp" &#41;, ReadBitmap&#40; "bmp\no16&#46;bmp" &#41; &#125; @ 2,0 LISTBOX oBrw FIELDS Iif&#40;&#40;Alicli&#41;->vis_cli == &#46;t&#46; ,ahBmp&#91;1&#93;,ahBmp&#91;2&#93; &#41; , str&#40;&#40;alicli&#...
sepueden poner bmp en un browse ?
Jose Luis, Sí funciona bien, lo que ocurre es que tienes que usar CurDir() antes del nombre del fichero: local ahBmp:={ReadBitmap( CurDir() + "\bmp\si16.bmp" ), ReadBitmap( CurDir() + "\bmp\no16.bmp" ) } Aqui puedes ver un ejemplo (aunque he usado un bitmap algo grande): [url=http&#58;//imageshack&#46;us:3uksxb60][...
sera posible oner el numero de linea en el error
Estimado Antonio sera factuible que en el mensaje de error me salga el numero de línea del codigo fuente .prg ya que no me sale sale algo como: Argument error STR args ,etc pero me falta el numero de línea gracias Wilson pd: no pongo imagenes porque no se como ?
sera posible oner el numero de linea en el error
Wilson, Aqui sale bien, mira: [img:3k0sf9ej]https&#58;//bitbucket&#46;org/fivetech/screenshots/downloads/fivetouch_error&#46;JPG[/img:3k0sf9ej] Este es el formato para poner una imagen: [ img ] <!-- m --><a class="postlink" href="https://bitbucket.org/fivetech/screenshots/downloads/fivetouch_error.JPG">https://bitb...
sera posible oner el numero de linea en el error
A mi tampoco me sale e numero de la linea en el reporte de error Antonio se puede implementar richedit para el manejo de texto_?
sera posible oner el numero de linea en el error
Antonio el error al que hago mención se produce en un segundo diálogo que es llamado desde el dialogo principal talvez por ahí esta el asunto ? saludos Wilson
sera posible oner el numero de linea en el error
Wilson, Voy a probarlo, gracias
sera posible oner el numero de linea en el error
Antonio Sera posible publicar la secuencia de ejecución indicar por Errorsys() al estilo clipper/harbour, asi poder conocer la traza que se ha ejecutado.
sera posible oner el numero de linea en el error
Juan, Implementado: [img:ie0n5ebi]https&#58;//bitbucket&#46;org/fivetech/screenshots/downloads/fivetouch_callstck&#46;JPG[/img:ie0n5ebi] Te lo envio y a todos los usuarios de FiveTouch por email
sera posible oner el numero de linea en el error
Antonio Gracias, excelente para ejecutar un programa desde otro programa existe alguna funcionalidad, trate con las funciones __HRBLOAD() y no esta linkada
sera posible oner el numero de linea en el error
Perdon Antonio, con laultima actualizacion esta dando problemas netio_disconnect dice que no esta definida gracias Wilson
sera posible oner el numero de linea en el error
Enviando un nuevo build, gracias!
sera posible oner el numero de linea en el error
Antonio muchas gracias
serial number SD CARD
How to get serial number of a SD CARD? Thanks in advance Otto
serial number SD CARD
Otto test anyfile on the sd sample NSER := NumserieTarjeta(Fopen(curdir()+"\CBATIPKSAV.EXE") ) hth Richard [code=fw:1fqggvde]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00D7D7;">#pragma</span> BEGINDUMP<br /><br /><span style="color: #00D7D7;">#include</span> <hbap...
serial number SD CARD
Hello Richard, Thank you for your help. I get back a number. It is working. Do I understand the code right: F_open creates a file handle which you pass to GetFileInformationByHandle. DwVolumeSerialNumber is a volume serial number, all files on that volume will have the same dwVolumeSerialNumber. Do you know what ha...
serial number SD CARD
Otto Every SD card has its own serial number if you "xcopy" all the files from one to another, you do not copy the serial number , you can just retreive it HTH Richard
serial number SD CARD
Richard, thank you. That is good, that is what I need. So I can use this number to protect the software. Thanks again, Otto
serious problems on TPlann
I'm looking for a willing friend to edit Daniel Garcia's Tplann class. I tried to communicate with Daniel Garcia but I couldn't I also asked Linares to help me communicate with Daniel but he never even answered me via googletalk I have two serious problems [img:1lvgldvk]https&#58;//i&#46;postimg&#46;cc/Nj06D9hg/e...
serious problems on TPlann
For the first I have not solved anything, [b:2w8sbaeh]someone[/b:2w8sbaeh] suggested that the tPlann class was born f[b:2w8sbaeh]or a hotel situation[/b:2w8sbaeh] (I also ask Otto for help) that is, a room is occupied on a day x until the night of the next day, but if in the fields [b:2w8sbaeh]RE> CHECK_IN RE> CHECK...
server for mod harbor
Hello, how can I easily provide server for mod harbor? I have now created an additional virtual server in my Archer TP Link WLAN router. my public IP on port 80/443 is redirected to my PC with internal IP 192.168.0.21. There is Apache server and mod harbor listening. my public IP + port 800/4430 is redirected to my...
servidor dbf (eleben) 2da revision web con php
ok,gracias le hecho un vistaso saludos
servidor dbf (eleben) 2da revision web con php
Hola buenos dias anexo un modulo de cliente servidor realizado con la clase tsocket el cual por lo pronto hace la conexion al servidor regresa las bases de datos regresa la estructura de una base de datos regresa el contenido de un archivo (20 registros por lo pronto ) des...
servidor dbf (eleben) 2da revision web con php
Hola benjiben143 , Creo que puedes ver el hbnetio de harbour que implementa esta funcionalidad, creo que completa, te puede servir para ejemplo o ver como hacer Saludos, Lautaro Moreira
servidor dbf (eleben) 2da revision web con php
ben10, Excelente aporte.
servidor dbf (eleben) 2da revision web con php
Hola, SÓLO por si puede servir la info: En Harbour existen Rdds Cliente-Servidor: - LetoDb - Pritpal Bedhi Cliente-Servidor (desconozco el nombre del rdd), basado en hbNetio, que al parecer dejó muy avanzado pero por al parecer por falta de interés de los colegas abandonó su desarrollo. Creo que este es una muy bue...
servidor dbf (eleben) 2da revision web con php
hola buenas buenas de antemano este pequeño avanze me sirvio en una empresa donde lo estan probando y estan contentos con la presentacion de la informacion por internet si usar sql, mysql y mucho mas rapido los browse en la red local ( aqui mando una lista de 20 registro , en donde lo estan probando manda tod...
servidor dbf (eleben) 2da revision web con php
benjiben143, Amigo, los comentarios de los colegas son para que veas otras opciones, claro esta que tu avance es mucho muy importante, y desde luego, lo que vale es el esfuerzo que cada quien imprime a sus logros. Colegas, lo que hizo Ben10 no es buscarle la vuelta a la rueda, sino es algo que generó en base a una ne...
servidor dbf (eleben) 2da revision web con php
hola buenas buenas ... ya que actualizada con el browse ya listo con avanze de pagina regreso de pagina inicio de pagina final de pagina el cliente [url:1qulwsif]http&#58;//www&#46;eleben&#46;com&#46;mx/elebenc&#46;prg[/url:1qulwsif] el servidor [url:1qulwsif]http&#58;//www&#46;eleben&#46;com&#46;mx/elebens&#4...
servidor dbf (eleben) 2da revision web con php
hola ,,, con una pequeña adecuacion en la clase tsocket , al momento de mandar los mensajes ya es multiusuario modificacion en clase tsocket,,, en el metodo senddata ,,,, le mando el socket ya que con el anterior no mandaba el socket adecuado de la peticion [code=fw:3ldm9hoz]<div class="fw" id="{CB}" style="fo...
servidor dbf (eleben) 2da revision web con php
Coincido con el amigo, Willy, es bueno tener mas opciones total, "Programar siempre sera un placer".
servidor dbf (eleben) 2da revision web con php
hola le agregue conexcion con php lo que hace es mostar via web las bases de datos del servidor con php sockets que nos quiere decir que podemos mandar lo que queramos de las base de datos ,,,, lo pueden bajar [url:kwwefzxm]http&#58;//www&#46;eleben&#46;com&#46;mx/elebens&#4...
servidor linux y windows 7 starter
En la empresa compraron una máquina con windows seven starter, quiero correr una aplicación que usa como bbdd Mysql que se encuentra montado en un servidor linux. Con windows 7 o XP no tengo problemas para conectarme pero con starter si. Alguien sabe si esto es una limitación de este sistema. Gracias de antemano
servidor linux y windows 7 starter
Amigo: Tengo la conexión a un servidor linux con W7 starter sin problemas. Saludos
servidor linux y windows 7 starter
Ok, gracias por la respuesta. A buscar la solución entonces ... Saludos
sesion tdolphin
Estimados tengo una aplicación que se conecta con mysql, con una base remota en un hosting, y la típica situación, el usuario abre una ventana, lo llaman o lo que sea y pasa un rato y se cae el sistema... que se perdió la conexion con el host... como puedo resolver esto... yo vi esto. oServer:Execute("SET SESSION wai...
sesion tdolphin
sorry, ya lo vi... vere si funciona...
sesion tdolphin
Mira amigo lo mas simple es mandar un ping a server cada cierto tiempo. Yo utilizo la version Mysql de Sr. William y en ella viene un llamado a un ping al server ASi dejo el programa conectado a server remoto y no tengo problemas con el time out. .... llamado del diaglo o Window Function PInGtimer() DEFINE TIME...
sesion tdolphin
Estimados, coloque esta opción, y no me corre, se me cae la conexion a los 3 minutos de activar la señal.
sesion tdolphin
Donde la colocaste? Yo la ubique despues de hacer la conexion: oServer := TDolphinSrv():New( .... oServer:Execute( "SET SESSION wait_timeout = 86400;" ) He tenido el sistema abierto por horas y no se me ha desconectado nunca. Saludos!
sesion tdolphin
kpidata, [quote:2uqytq4c] Estimados tengo una aplicación que se conecta con mysql, con una base remota en un hosting [/quote:2uqytq4c] Debes tener en cuenta que el tiempo de la sesion de conexion en los HOSTING son autonomas y no duran mas de 30 segundos, por lo tanto la instruccion SET SESSION wait_timeout = 86400;...
sesion tdolphin
Amigo Albeiro. entonces dices que cada vez que grabas algo en una TABLA abres la BASE DE DATOS, saludos
sesion tdolphin
Lo que comenta albeiro es cierto, pero si estas en una pantalla con un xbrowse abierto con una query, si la coexion se cae, el programa se caera al querer hacer algun proceso sobre el. Lo que yo instrumente que me funciona bien tanto en bases de datos almacenadas en hosting como en local, es hacer una simple query para...
session object
Hello, When I programmed with ASP we use the session object to swap data between the different web sides.What are the disadvantages of using the javascript session object instead of the post method. Thank you in advance Otto
session object
Hi Otto. I simulate the way PHP use sessions with a file. You can create a cookie with the name of the user and a string with the name of the file. This file is a dbf placed in a folder with some columns a one row for every string you want to use and its value. With some functions you can create a session, write it, re...
session object
Hello Massimo, I am using javascript session object and this is working perfectly. Only - as nobody seems to use it - I do not know if I will face problems with these objects. Development is much easier as with the post method and also speed is better. Best regards Otto
session object
Hello, I found good documentation for this here: [url:uu6wlwvs]https&#58;//javascript&#46;info/localstorage[/url:uu6wlwvs] The limit is 2mb+, depends on the browser. Best regards, Otto
session object
Hello, session object is working perfectly. Save Javascript objects in sessionStorage <!-- m --><a class="postlink" href="https://stackoverflow.com/questions/6193574/save-javascript-objects-in-sessionstorage">https://stackoverflow.com/questions/619 ... ionstorage</a><!-- m --> calling web page: [code=fw:175hph9f]...
session object
Hello friends, Does anyone know the disadvantages of using the session object for the CRUD methods (ADD, EDIT, DELETE) records instead of AJAX? Best regards, Otto
set a dialog on a position
I wish set a dialog at x,y but I not found the position of the msgitem og Msgbar oApp:oMsgItem1:bAction := { |oBtn| ::ConteggioTotali(oApp:oWndMain:oMsgBar) } Function ConteggioTotali(obtn) Local aPoint := AdjustWnd( oBtn, -27*2, 15*2 ) DEFINE DIALOG oDlgConteggio size 400,250 TRANSPARENT; TITLE...
set a dialog on a position
Try this sample and adapt the logic to your program [code=fw:2lorui72]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #B900B9;">//-----------------------------------------------------...
set a dialog on a position
Try this sample and adapt the logic to your program [code=fw:14plochg]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #B900B9;">//-----------------------------------------------------...
set a dialog on a position
that's just what I was looking for. thank's my friend
set Filter to with set Relation to not work for ""ADS&qu
hi all: "Set Filter to" with "Set Relation to" not work for RDD "ADS", same source work fine for RDD "DBFCDX" . ******************* LOCAL cSALSMAN:="TIM",cCOND cCOND:="SAL->SALSMAN="+"'"+cSALSMAN+"'" ...
set Filter to with set Relation to not work for ""ADS&qu
Kokoo: I think I explained it to you in comp.lang.xharbour newsgroup, but here it goes again anyway: ADS is an EXTERNAL program to your application, so, you cannot use anything related to your program to indicate filters, relations or indexes. I mean, you cannot use alias, variables or used defined functions in the...
set Filter to with set Relation to not work for ""ADS&qu
hi Rene : Thank you for help Again. In this sample. there is no field "salsman" define in sal1.dbf . [code:2s4tpgg3] cCOND&#58;="SAL->SALSMAN="+"'"+cSALSMAN+"'" edit to &#58; cCOND&#58;="SALSMAN="+"'"+cSALSMAN+"'" // Can not work , SAL1->SALSMAN==>no such field [/code:2s4tpgg3] What I edit : 1)add field "salsma...
set Report Orientation
Silvio, It uses the same source code. It does not work like that. It is very complicated to change. It's an open case. Best regards, Otto
set Report Orientation
.
set Report Orientation
Maybe: [code=fw:1qhmkrq3]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// \samples\RPTLINHA.PRG</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span styl...
set Report Orientation
PERHAPS YOU NOT READ THE QUESTION. I make [b:2fbsxt65]oBrw[/b:2fbsxt65]:Report( 'Stampa elenco ', , , ; { |oRep, oBrw | MySetUp( oRep, oBrw, lLandscape ) } ) I know how make the orientation if i must use the prg you wrote, but I call report() from [b:2fbsxt65]oBrw [/b:2fbsxt65]directly
set Report Orientation
If I make local lLandscape :=.t. ... DEFINE DIALOG oDlgStampa @ 14,70 CHECKBOX oGetland VAR lLandscape PROMPT "Stampa in Orizzontale"; SIZE 120,26 of oDlgStampa ACTIVATE DIALOG oDlgStampa CENTER IF oDlgStampa:nresult == IDOK ?llandscape //[b:2ghcjdq8]here is .t. [/b:2ghcjdq8] bSetUp := {|oRep...
set Report Orientation
Silvio, please look here: <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=40526&p=242094&hilit=orientation&sid=e2593be1086c9bedebb3a003fb838c89#p242094">viewtopic.php?f=3&t=40526&p=242094&hilit=orientation&sid=e2593be1086c9bedebb3a003fb838c89#p242094</a><!-- l --> Best re...
set Report Orientation
[quote="Otto":31lfx7ux]Silvio, please look here: <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=40526&p=242094&hilit=orientation&sid=e2593be1086c9bedebb3a003fb838c89#p242094">viewtopic.php?f=3&t=40526&p=242094&hilit=orientation&sid=e2593be1086c9bedebb3a003fb838c89#p24209...
set Report Orientation
[quote="Otto":12vkyrw7]Silvio, It uses the same source code. It does not work like that. It is very complicated to change. It's an open case. Best regards, Otto[/quote:12vkyrw7] sorry U are usinf printer class instead report class i know how it must be done with the printer class, but in this context i am calling a ...
set Report Orientation
Silvio, you use TPrinter. Look into xBrowse class. There you see that xBrowse class uses printer class. xbrowse.prg [code=fw:gn4gcuyh]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">METHOD</span> Report<span style="color: #000000;">&#40;</span> cTitle, lPreview, lModal, bSe...
set Report Orientation
Silvio, here you see | i zi pi zi| handling orientation. Best regards, Otto [img:2d8r1p1s]https&#58;//mybergland&#46;com/fwforum/orientation&#46;gif[/img:2d8r1p1s]
set Report Orientation
and wich is the command I not understood oBrw:Report( 'Stampa elenco ', , , ; { |oRep, oBrw | MySetUp( oRep, oBrw, lLandscape ) } ) I not want make report with ziziz zipizizi or another bullshit you did when you saw that I was doing something to print I ask for a specific thing [b:12efqfq1]oBrw:report() [/b:12efqf...
set Report Orientation
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=40145&p=242740&hilit=orientation&sid=1e156c84b09d5a82f13dda3a84ef6cd1#p242740">viewtopic.php?f=6&t=40145&p=242740&hilit=orientation&sid=1e156c84b09d5a82f13dda3a84ef6cd1#p242740</a><!-- l --> Silvio, sorry, there is no solu...
set Report Orientation
[quote="Otto":ghq5e911]http://forums.fivetechsupport.com/viewtopic.php?f=6&t=40145&p=242740&hilit=orientation&sid=1e156c84b09d5a82f13dda3a84ef6cd1#p242740 Silvio, sorry, there is no solution available at the moment. I use these workarounds. Best regards, Otto [code=fw:ghq5e911]<div class="fw" id="{CB}" style="font...
set Report Orientation
Silvio, currently there is no solution available in Fivewin. If you find a solution, please post it here to help others. Best regards, Otto
set Report Orientation
Very kind, as always. [quote="Silvio.Falconi":2xtk2i62]and wich is the command I not understood oBrw:Report( 'Stampa elenco ', , , ; { |oRep, oBrw | MySetUp( oRep, oBrw, lLandscape ) } ) I not want make report with ziziz zipizizi or another bullshit you did when you saw that I was doing something to print I ask for...
set Report Orientation
We are going to start the year in peace, right ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
set Report Orientation
in fact dear massimo you are one of those who always bother me, where do you come from? where have you been all this time ? Did your jailers set you free or did you run away or are you on probation?
set Report Orientation
[quote="Antonio Linares":30408j1n]We are going to start the year in peace, right ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:30408j1n] Right for me Antonio
set column
Nages , I ask on this topic How select the column to print [url:2utckt82]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=3&t=40956&sid=487478362ab4a54540a59f1b0e59eb8f&sid=487478362ab4a54540a59f1b0e59eb8f#p245511[/url:2utckt82] the problem is I have a Xbrowse with :SetMultiSelectCol() and on the colu...
set date format
I used browse class How can I set the date format for ctod() function ?
set date format
From the Clipper 5.3b Norton Guides: SET DATE Set the date format for input and display ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Syntax SET DATE FORMAT [TO] <cDateFormat> SET DATE [TO] AMERICAN | ansi | British | French | German | Italian | Japan | USA Argu...
set default printer
Does someone have a function to change the default printer. Thanks in advance, Otto
set default printer
Otto, WriteProfString( "windows", "device", cPrinter )
set filter con xbrowse da error
Quisiera saber si hay solución para este error que sucede cuando se aplica un filtro usando un control xbrowse******************************************Application=========== Path and name: C:\DATASOL\Datasol.Exe (32 bits) Size: 3,490,304 bytes Time from start: 0 hours 0 mins 19 secs Error occurred at: 27/09/2...
set filter con xbrowse da error
Ricardo,Prueba a aplicar el filtro asi:SET FILTER TO Sto->activo == .T.y a continuación haz:MsgInfo( DbFilter() )para comprobar que la expresión es la escritaDe paso comprueba que tengas esta línea en el método DelRepos() de la Clase TXBrowse y que no falte la "&": bFilter := ( ::cAlias )->( &cFilter )
set filter con xbrowse da error
Este ejemplo funciona bien aqui:[code:13z6kclj] #include "FiveWin&#46;ch" #include "XBrowse&#46;ch" function Main&#40;&#41; local oWnd, oBrw, oCol, nRecords USE Customer SET FILTER TO Left&#40; Customer->First, 1 &#41; == "S" COUNT TO nRecords GO TOP DEFINE WINDOW oWnd @ 0, 0 XBRO...
set filter con xbrowse da error
Antonio, me funcionó de la forma que tu me sugieres, pero si utilizo macro en la lína de filtro me da el mismo error, pude notar que bfilter puede devolver una cadena de caracteres como valor lógico.A mi browse le hago un filtro luego de creado para filtrar los clientes de una base de datos de acuerdo a lo que se ingre...
set filter con xbrowse da error
> pero si utilizo macro en la lína de filtro me da el mismo errorSi, pues al aplicarle macro a una expresión que empieza por & dará error.Me alegro que esté solucionado <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
set filter con xbrowse da error
Antonio, no entendí tu comentario anterior cuanto dices que dará error si le aplico macro a la expresión que comienza por &, pero mi filtro es:at( alltrim( m->cFiltroDbf ) , cli->&( m->cField ) ) > 0, no comienza por macro, o solamente por tenér macro en algún lugar me dará siempre error ?Qué me sugieres tu para poder ...
set filter con xbrowse da error
Ricardo,Da error pues la expresión contiene &.Puedes cambiar:at( alltrim( m->cFiltroDbf ) , cli->&( m->cField ) ) > 0por:at( alltrim( m->cFiltroDbf ) , cli->( FieldGet( FieldPos( m->cField ) ) ) ) > 0