topic
stringlengths
1
63
text
stringlengths
1
577k
netio
no me funciona netio_FuncExec() después de establecer la conexión necesito saber si existe una fichero concreto, pero siempre devuelve NIL netio_FuncExec( "HB_DirExists", "/DIC/DB_DIC01.DBF" Un Saludo
netio
Buenas tardes asi llamo a un procedimiento en el server net:jn_makefactura( aParametros ) donde jn_makefactura es una funcion que le agregue al programa hbnetio.prg y lo volvi a compilar ese funciona en la parte servidora saludos Wilson
netio
al inicio de tu programa debes poner #require "hbnetio" #xtranslate net:<!func!>( [<params,...>] ) => ; netio_FuncExec( #<func> [,<params>] ) #xtranslate net:[<server>]:<!func!>( [<params,...>] ) => ; netio_FuncExec( [ #<server> + ] ":" + #<func> [,<params>] ) #xtranslate net:[<server>]:<port>:<!func!>( [<params,...>] ) => ; netio_FuncExec( [ #<server> + ] ":" + #<port> + ":" + #<func> ; [,<params>] ) #xtranslate net:exists:<!func!> => ; netio_ProcExists( #<func> ) #xtranslate net:exists:[<server>]:<!func!> => ; netio_ProcExists( [ #<server> + ] ":" + #<func> ) #xtranslate net:exists:[<server>]:<port>:<!func!> => ; netio_ProcExists( [ #<server> + ] ":" + #<port> + ":" + #<func> ) para poder usar net:funcioenserver( parametro1, ... ) saludos
netio
Wilson, en cuanto a los (#xtranslate ...) ya los había puesto, pero lo hbnetio.prg ese no lo tengo para poder compilarlo Un saludo de nuevo
netio
Hola esta en c:\harbour\contrib\hbnetio\utils\hbnetio se llama hbnetio.prg en ese directorio esta todo para que lo compiles te recomiendo // que las aperturas , busquedas y grabaciones de datos te hagas funciones en este modulo y desde el cliente solo las llames y te devuelvan resultados asi es super rapido porque si lo abres desde el cliente es muy lentoooooooooooo saludos Wilson
netio
Wilson, Gracias por tu ayuda, he encontrado el hbnetio.prg, pero la verdad es que no me aclaro mucho, intentaré, de todas formas con la funcion netio_funcexe() sigue sin funcionarme Un Saludo
netio
estimado solamente debes porner al final de hb_netio.prg algo asi #include 'mis_funciones.prg' y lo recompilas en mis_funciones.prg van a estar todas las funciones que necesitas para abrir cerrar tablas extraer info, etc para no cansar al grupo de donde eres ? te puedo contactar via Skype ? saludos Wilson <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> es mi cuenta en skype
netio_Connect y fivetouch
Antonio, perdon que te moleste como hago funcionar hb_neio me da error que no halla el simbolo netio_Connect en este codigo [code=fw:3iczcki3]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">method</span> conecta<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00C800;">class</span> tWg_Android<br /><br />&nbsp; &nbsp; <span style="color: #B900B9;">/* connect to the server */</span><br />&nbsp; &nbsp; <span style="color: #B900B9;">//? "CONNECTING..."</span><br />&nbsp; &nbsp; ::<span style="color: #000000;">lConecta</span> = netio_Connect<span style="color: #000000;">&#40;</span> NETSERVER, NETPORT,, NETPASSWD <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #0000ff;">msginfo</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"netio_Connect():"</span> + AnyToChar <span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">lConecta</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #00C800;">if</span> !::<span style="color: #000000;">lConecta</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">return</span> ::<span style="color: #000000;">lConecta</span><br />&nbsp; &nbsp; end<br />&nbsp; &nbsp; <span style="color: #B900B9;">/* display text on server console */</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> Replicate<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"="</span>, <span style="color: #000000;">70</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"This is RPC TEST"</span>, hb_DateTime<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, Version<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'terminal &nbsp; &nbsp; &nbsp;: '</span> + netname<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'fecha ingreso : '</span> + dtoc<span style="color: #000000;">&#40;</span> date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'hora &nbsp;ingreso : '</span> + time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'sist operativo: '</span> + os<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> Replicate<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"="</span>, <span style="color: #000000;">70</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br /><br /><span style="color: #00C800;">return</span> ::<span style="color: #000000;">lConecta</span></div>[/code:3iczcki3] gracias Wilson
netio_Connect y fivetouch
Wilson, te estoy enviando una nueva versión que incluye netio, gracias! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
netio_Connect y fivetouch
Antonioi muchas gracias Cualquier novedad te aviso por cierto, para cuando se necesite otra libreria habría la posibilidad que generes unas librerias e incluyas como archivos externos para poder poner en un setup de fivetouch cuales cargar y con eso tenerlas en runtime ? Que se yo como .hrb o .hbc o dll o .so buenos son solo ideas y necesidades saludos y gracias Wilson
netio_Connect y fivetouch
Antonio,me esta dando error en netio_FuncExec me dice que no hay ese simbolo, lo tengo aca definido [code=fw:pezcv1rr]<div class="fw" id="{CB}" style="font-family: monospace;">#xtranslate net:<!func!><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#91;</span><params,...><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> => ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; netio_FuncExec<span style="color: #000000;">&#40;</span> #<func> <span style="color: #000000;">&#91;</span>,<params><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span><br />#xtranslate net:<span style="color: #000000;">&#91;</span><server><span style="color: #000000;">&#93;</span>:<!func!><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#91;</span><params,...><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> => ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; netio_FuncExec<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#91;</span> #<server> + <span style="color: #000000;">&#93;</span> <span style="color: #ff0000;">":"</span> + #<func> <span style="color: #000000;">&#91;</span>,<params><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span><br />#xtranslate net:<span style="color: #000000;">&#91;</span><server><span style="color: #000000;">&#93;</span>:<port>:<!func!><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#91;</span><params,...><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> => ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; netio_FuncExec<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#91;</span> #<server> + <span style="color: #000000;">&#93;</span> <span style="color: #ff0000;">":"</span> + #<port> + <span style="color: #ff0000;">":"</span> + #<func> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#91;</span>,<params><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span><br /><br />#xtranslate net:<span style="color: #0000ff;">exists</span>:<!func!> => ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; netio_ProcExists<span style="color: #000000;">&#40;</span> #<func> <span style="color: #000000;">&#41;</span><br />#xtranslate net:<span style="color: #0000ff;">exists</span>:<span style="color: #000000;">&#91;</span><server><span style="color: #000000;">&#93;</span>:<!func!> => ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; netio_ProcExists<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#91;</span> #<server> + <span style="color: #000000;">&#93;</span> <span style="color: #ff0000;">":"</span> + #<func> <span style="color: #000000;">&#41;</span><br />#xtranslate net:<span style="color: #0000ff;">exists</span>:<span style="color: #000000;">&#91;</span><server><span style="color: #000000;">&#93;</span>:<port>:<!func!> => ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; netio_ProcExists<span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#91;</span> #<server> + <span style="color: #000000;">&#93;</span> <span style="color: #ff0000;">":"</span> + #<port> + <span style="color: #ff0000;">":"</span> + #<func> <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:pezcv1rr] saludos Wilson
netio_Connect y fivetouch
Wilson, Te envio una versión actualizada que lo soporta, gracias! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> En cuanto a las librerías a cargar, conforme vayamos recibiendo peticiones de más usuarios de FiveTouch, iremos viendo lo que siempre debe estar incluido, y como comentas sería muy interesante poder cargar módulos (DLLs) según la configuración de FiveTouch. Habrá que investigar la forma de hacerlo.
netio_Connect y fivetouch
muchas gracias Antonio cualquier asunto ya te pregunto saludos Wilson
netio_Connect y fivetouch
Wilson Disculpa mi ignorancia, Que funcionalidad tiene Netio?
netio_Connect y fivetouch
Juan buenas tardes puedes tener en la tablet un programa que se conecte via internet a un servidor corriendo netio server sin necesitar nada mas y grabar en el remoto o en el local informacion en tablas, etc saludos Wilson
netio_Connect y fivetouch
Wilson Encontre esta literatura de Netio con Harbour <!-- m --><a class="postlink" href="http://harbourlanguage.blogspot.com/2010/04/harbour-netio.html">http://harbourlanguage.blogspot.com/201 ... netio.html</a><!-- m --> [quote="wilsongamboa":2wrcrrf9]Juan buenas tardes puedes tener en la tablet un programa que se conecte via internet a un servidor corriendo netio server sin necesitar nada mas y grabar en el remoto o en el local informacion en tablas, etc saludos Wilson[/quote:2wrcrrf9]
netio_Disconnect aun no esta disponible?
Me esta dando error que no halla esta función saludos Wilson
netio_Disconnect aun no esta disponible?
Wilson, Incluido, envio un nuevo build que lo incluye. Gracias! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
netio_Disconnect aun no esta disponible?
Gracias Antonio ya funciona saludos Wilson
netio_Disconnect aun no esta disponible?
Hola wilsongamboa espero que este sea un buen dia para ti Serias serias tan amable de facilitarme el codigo del ejercicio que hacer en donde involucras netio_diconnect. Gracias Jairo
netio_Disconnect aun no esta disponible?
Estimado Jairo aca está [code=fw:3n62jihs]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">method</span> conecta<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00C800;">class</span> tWg_Android<br /><br />&nbsp; &nbsp; <span style="color: #00C800;">if</span> ::<span style="color: #000000;">lConecta</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">msginfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'ya estamos conectados no intente nuevamente'</span> + CRLF + <span style="color: #ff0000;">'se va a cansar el maquinista'</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">return</span> ::<span style="color: #000000;">lConecta</span><br />&nbsp; &nbsp; end<br /><br /><br />&nbsp; &nbsp; <span style="color: #B900B9;">/* connect to the server */</span><br />&nbsp; &nbsp; <span style="color: #B900B9;">//? "CONNECTING..."</span><br />&nbsp; &nbsp; ::<span style="color: #000000;">leaini</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; ::<span style="color: #000000;">lConecta</span> = netio_Connect<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">ipserver</span>, ::<span style="color: #000000;">nPort</span> ,, ::<span style="color: #000000;">cPassword</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #00C800;">if</span> !::<span style="color: #000000;">lConecta</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">return</span> ::<span style="color: #000000;">lConecta</span><br />&nbsp; &nbsp; end<br />&nbsp; &nbsp; <span style="color: #B900B9;">/* display text on server console */</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> Replicate<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"="</span>, <span style="color: #000000;">70</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Acceso remoto &nbsp; : "</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"fecha y hora &nbsp; &nbsp;: "</span> , hb_DateTime<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Version Compil &nbsp;: "</span> + Version<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'terminal remoto : '</span> + netname<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'fecha ingreso &nbsp; : '</span> + dtoc<span style="color: #000000;">&#40;</span> date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'hora &nbsp;ingreso &nbsp; : '</span> + time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'sist operativo &nbsp;: '</span> + os<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> Replicate<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"="</span>, <span style="color: #000000;">70</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> ::<span style="color: #000000;">lConecta</span><br />&nbsp;</div>[/code:3n62jihs] es en donde conecto aca es donde se desconecta [code=fw:3n62jihs]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">method</span> desconectar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00C800;">class</span> tWg_Android<br /><br />&nbsp; &nbsp; <span style="color: #00C800;">local</span> lDesconecta := .f.<br /><br />&nbsp; &nbsp; <span style="color: #00C800;">if</span> ::<span style="color: #000000;">lConecta</span><br />&nbsp; &nbsp; &nbsp; &nbsp; lDesconecta = netio_Disconnect<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">ipserver</span>, ::<span style="color: #000000;">nPort</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; ::<span style="color: #000000;">sayserver</span><span style="color: #000000;">&#40;</span> netname<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">' Desconectado.. '</span> + dtoc<span style="color: #000000;">&#40;</span> date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">' '</span>+ time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; ::<span style="color: #000000;">lConecta</span> = .f.<br />&nbsp; &nbsp; &nbsp; &nbsp; ::<span style="color: #000000;">msgsay</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'desconectado...'</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; end<br /><br /><br /><br /><span style="color: #00C800;">return</span> lDesconecta</div>[/code:3n62jihs] cualquier duda aca estamos voy muuy lento por falta de tiempo solo estoy probando en Windows saludos Wilson
netio_Disconnect aun no esta disponible?
asi calculo el amino remoto de las tablas [code=fw:1u9az8og]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; &nbsp;#ifdef __REMOTO__<br />&nbsp; &nbsp; &nbsp; &nbsp; GLB_Work = <span style="color: #ff0000;">'net:'</span> + alltrim<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">ipserver</span> <span style="color: #000000;">&#41;</span> +<span style="color: #ff0000;">':'</span>+ alltrim<span style="color: #000000;">&#40;</span> str<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">nport</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> +<span style="color: #ff0000;">':'</span> + alltrim<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">cPassword</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">':'</span><br />&nbsp; &nbsp; &nbsp; &nbsp; GLB_Work += <span style="color: #ff0000;">'<span style="color: #000000;">\s</span>istemas<span style="color: #000000;">\j</span>osenet<span style="color: #000000;">\e</span>mpre'</span> + strzero<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">nEmpresa</span>,<span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</span> +<span style="color: #ff0000;">'<span style="color: #000000;">\'</span>+ alltrim( ::cGestion ) + '</span>\<span style="color: #ff0000;">'<br />&nbsp; &nbsp; #else<br />&nbsp; &nbsp; &nbsp; &nbsp; GLB_Work = '</span>\sistemas\josenet\empre<span style="color: #ff0000;">' + strzero( ::nEmpresa,3 ) +'</span>\<span style="color: #ff0000;">'+ alltrim( ::cGestion ) + '</span>\<span style="color: #ff0000;">'<br />&nbsp; &nbsp; #endif<br /><br /></span></div>[/code:1u9az8og]
netio_Disconnect aun no esta disponible?
Gracias trabajare en el y me reporto Podrías compartir tu correo? el mio es <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> o <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> Un cordial Abrazo
netio_Disconnect aun no esta disponible?
wilson.josenet arroba gmail punto com
netio_Disconnect aun no esta disponible?
Wilson Podrias documentar tus pruebas, de mi parte voy a documentar en formato Word todo lo que he aprendido de las clases de QT con Fivetouch, especialmente el BROWSE. [quote="wilsongamboa":1q69y4dx]Estimado Jairo aca está [code=fw:1q69y4dx]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">method</span> conecta<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00C800;">class</span> tWg_Android<br /><br />    <span style="color: #00C800;">if</span> ::<span style="color: #000000;">lConecta</span><br />        <span style="color: #0000ff;">msginfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">'ya estamos conectados no intente nuevamente'</span> + CRLF + <span style="color: #ff0000;">'se va a cansar el maquinista'</span><span style="color: #000000;">&#41;</span><br />        <span style="color: #00C800;">return</span> ::<span style="color: #000000;">lConecta</span><br />    end<br /><br /><br />    <span style="color: #B900B9;">/* connect to the server */</span><br />    <span style="color: #B900B9;">//? "CONNECTING..."</span><br />    ::<span style="color: #000000;">leaini</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />    ::<span style="color: #000000;">lConecta</span> = netio_Connect<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">ipserver</span>, ::<span style="color: #000000;">nPort</span> ,, ::<span style="color: #000000;">cPassword</span> <span style="color: #000000;">&#41;</span><br />    <span style="color: #00C800;">if</span> !::<span style="color: #000000;">lConecta</span><br />        <span style="color: #00C800;">return</span> ::<span style="color: #000000;">lConecta</span><br />    end<br />    <span style="color: #B900B9;">/* display text on server console */</span><br />    net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> Replicate<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"="</span>, <span style="color: #000000;">70</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />    net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Acceso remoto   : "</span> <span style="color: #000000;">&#41;</span><br />    net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"fecha y hora    : "</span> , hb_DateTime<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />    net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Version Compil  : "</span> + Version<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>  <span style="color: #000000;">&#41;</span><br />    net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'terminal remoto : '</span> + netname<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>  <span style="color: #000000;">&#41;</span><br />    net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'fecha ingreso   : '</span> + dtoc<span style="color: #000000;">&#40;</span> date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />    net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'hora  ingreso   : '</span> + time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />    net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'sist operativo  : '</span> + os<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />    net:<span style="color: #000000;">QOut</span><span style="color: #000000;">&#40;</span> Replicate<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"="</span>, <span style="color: #000000;">70</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> ::<span style="color: #000000;">lConecta</span><br /> </div>[/code:1q69y4dx] es en donde conecto aca es donde se desconecta [code=fw:1q69y4dx]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">method</span> desconectar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00C800;">class</span> tWg_Android<br /><br />    <span style="color: #00C800;">local</span> lDesconecta := .f.<br /><br />    <span style="color: #00C800;">if</span> ::<span style="color: #000000;">lConecta</span><br />        lDesconecta = netio_Disconnect<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">ipserver</span>, ::<span style="color: #000000;">nPort</span> <span style="color: #000000;">&#41;</span><br /><br />        ::<span style="color: #000000;">sayserver</span><span style="color: #000000;">&#40;</span> netname<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">' Desconectado.. '</span> + dtoc<span style="color: #000000;">&#40;</span> date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">' '</span>+ time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />        ::<span style="color: #000000;">lConecta</span> = .f.<br />        ::<span style="color: #000000;">msgsay</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">'desconectado...'</span> <span style="color: #000000;">&#41;</span><br />    end<br /><br /><br /><br /><span style="color: #00C800;">return</span> lDesconecta</div>[/code:1q69y4dx] cualquier duda aca estamos voy muuy lento por falta de tiempo solo estoy probando en Windows saludos Wilson[/quote:1q69y4dx]
netio_Disconnect aun no esta disponible?
Wilson Como puedo instalar o crear un servidor NETIO? cual es su funcion? Busque en internet no encontre mucha información al respecto. [quote="Jairo Barbosa":2e7o7p0l]Gracias trabajare en el y me reporto Podrías compartir tu correo? el mio es <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> o <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> Un cordial Abrazo[/quote:2e7o7p0l]
netio_Disconnect aun no esta disponible?
Estimado Juan buenos dias HbNetio es una libreria para acceso de datos de una forma remota, tenemos dos partes, hbnetio.exe que ejecutas en donde se halla la parte servidora, puede ser una computadora conectada a internet, un maquina en una red local y una parte cliente que es el programa que tu escribes Desde el cliente es factible acceder a los datos que estan remotos en el arranque del server se debe especificar el puerto, la ip y donde esta el Root Dir que es desde donde parte el servidor ara hallar los archivos, en mi caso particular y he probado con 1.- En el mismo computador en este caso en una ventana de consola abro el server asi c:\hb32\bin\hbnetio -port=2941 -pass=topsecret -iface=127.0.0.1 -rpc -rootdir=c:\hb32\bin\data es decir desde el directorio data van a estar mis datos en otra ventana de consola arranco el cliente cliente.exe para abrir una tabla que este en el server ipserver = '127.0.0.1' nport = 2941 cPassword = ''topsecret' GLB_Work = 'net:' + alltrim( ipserver ) +':'+ alltrim( str( nport ) ) +':' + alltrim( cPassword ) + ':' if netio_Connect( ipserver, nPort ,, cPassword ) use ( GLB_Work + 'clientes' ) new alias clientes exclusive browse() //desconecto netio_Disconnect( ipserver, nPort ) end bueno eso es mas o menos ahora el .hbp lo tengo asi ( sin usar fivetouch) hbnetio.hbc -mt -w3 -es2 espero te de una idea OJO solo uso tablas dbf, esa es mi necesidad Tambien lo he probado en maquinas distintas dentro de una lan y funciona bien, aun no he probado via internet saludos Wilson
netio_Disconnect aun no esta disponible?
perdon en la varable glb_work falta un bac slach al final asi GLB_Work = 'net:' + alltrim( ipserver ) +':'+ alltrim( str( nport ) ) +':' + alltrim( cPassword ) + ':\' saludos Wilson
network print status
Tem alguma maneira de saber o status: on-line/off-line de uma impressora na rede?Obrigado
network print status
Estimado SGSTambién estoy buscando una solución para averiguar el estado de la impresora de red. Hasta hoy no he encontrado una soluciónPor favor, revise mis entradas<!-- m --><a class="postlink" href="http://www.fivetechsoft.com/forums/viewtopic.php?p=69057">http://www.fivetechsoft.com/forums/view ... hp?p=69057</a><!-- m --><!-- m --><a class="postlink" href="http://www.fivetechsoft.com/forums/viewtopic.php?p=69396">http://www.fivetechsoft.com/forums/view ... hp?p=69396</a><!-- m -->GraciasAnser
network print status
Gracias Anser,pelo que observei não será facil a solução deste problema. <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: -->
network print status
Execute el test:Codigo:[code:3cmsz62l] #include "FiveWin&#46;ch" Function main&#40;&#41; aArray &#58;= GetPrinters&#40;&#41; for i = 1 to len&#40;aArray&#41; cPrinterName &#58;= substr&#40; aArray&#91;i&#93;, 1, at&#40; ",", aArray&#91;i&#93;&#41;-1 &#41; ? "A impressora " + cPrinterName, IsPrint&#40; alltrim&#40; cPrinterName &#41; &#41; next Return nil Function GetPrinters&#40;&#41; Local aPrinter &#58;= &#123;&#125; Local cAllEntries Local cEntry Local nStart Local cName Local cPrn Local cPort Local nJ cAllEntries &#58;= STRTRAN&#40; GetProfString&#40; "Devices" &#41;, Chr&#40; 0 &#41;, CRLF &#41; For nStart &#58;= 1 To MlCount&#40; cAllEntries &#41; cName &#58;= MemoLine&#40; cAllEntries,,nStart&#41; cEntry &#58;= GetProfString&#40; "Devices",cName,""&#41; nJ &#58;= 2 Do While ! Empty&#40;cPort &#58;= StrToken&#40;cEntry,nJ++,","&#41;&#41; Aadd&#40;aPrinter,Trim&#40;cName&#41;+" , "+Trim&#40;cPort&#41;&#41; EndDo Next Return&#40;aPrinter&#41; function IsPrint&#40; QuePrinter &#41; LOCAL nStatus DEFAULT QuePrinter &#58;= "LPT1&#58;" nStatus &#58;= PrnStatus&#40; QuePrinter &#41; if nStatus < 1 ; return "Impressora OK" elseif nStatus = 1 ; return "Impressora Pausada" elseif nStatus = 2 ; return "Impressora com Erro" elseif nStatus = 4 ; return "Impressora Deletando" elseif nStatus = 8 ; return "Impressora em Modo Bandeja" elseif nStatus = 16 ; return "Impressora Sem Papel" elseif nStatus = 32 ; return "Impressora em Modo Manual" elseif nStatus = 64 ; return "Impressora com Problema no Papel" elseif nStatus = 128 ; return "Impressora OffLine" elseif nStatus = 256 ; return "Impressora com IO Ativo" elseif nStatus = 512 ; return "Impressora Ocupada" elseif nStatus = 1024 ; return "Impressora Imprimindo" elseif nStatus = 2048 ; return "Impressora Memoria Lotada" elseif nStatus = 4096 ; return "Impressora Nao Instalada" elseif nStatus = 8192 ; return "Impressora Aguardando" elseif nStatus = 16384 ; return "Impressora Processando" elseif nStatus = 32768 ; return "Impressora Inicializando" elseif nStatus = 65536 ; return "Impressora em Atencao" elseif nStatus = 131072 ; return "Impressora Toner Baixo" elseif nStatus = 262144 ; return "Impressora Sem Toner" elseif nStatus = 524288 ; return "Impressora PAGE_PUNT" elseif nStatus = 1048576 ; return "Impressora Intervencao do Usuario" elseif nStatus = 2097152 ; return "Impressora Sem Memoria" elseif nStatus = 4194304 ; return "Impressora Tampa Aberta" elseif nStatus = 8388608 ; return "Impressora Servidor Desconhecido" elseif nStatus = 16777217 ; return "Impressora POWER_SAVE" endif [/code:3cmsz62l]Link <!-- m --><a class="postlink" href="http://www.5volution.com/forum/kapiaba.zip">http://www.5volution.com/forum/kapiaba.zip</a><!-- m -->
network print status
Rochinha, muito obrigado por responder, mais o seu exemplo sempre retorna IMPRESSORA OK, mesmo que uma impressora na rede não esteja ligada ou não esteja sequer conectada.O que eu e o anser precisamos, é identificar se uma impressora na rede esta on line/off line.Mesmo assim, muito obrigado. <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
network print status
Estimado Rochinha,Como dice SGS, el código proporcionado por usted siempre da el mensaje de impresora en Aceptar, incluso si la impresora está fuera de línea.GraciasAnser
network print status
El código se utiliza para ver si hay una impresora registrada en Win.Ini, solamente... no sirve para averiguar si está activa !!!
neuer User
hi, mein Name ist Jimmy, Baujahr 1956 in Shanghai / China. mit xBase hab ich angefangen auf einem Apple ][ und dBase ][ unter CP/M über dBase III, Cl*pper, VO bis ich bei Xbase++ gelandet [url:345p4nsm]https&#58;//www&#46;xbaseforum&#46;de[/url:345p4nsm] in der letzten Zeit hab ich mich mit dem Thema 64 Bit beschäftigt und da speziell mit PostgreSQL. --- ich habe liblibpq.a und Libhbpgsql.a die 32 Bit sind. ich benötige die 64 Bit Versionen liblibpq-64.a / Libhbpgsql-64.a wenn ich das richtig verstehe besteht hbpgsql aus [code=fw:345p4nsm]<div class="fw" id="{CB}" style="font-family: monospace;">postgres.c<br />rddcopy.c <br />tpostgre.prg</div>[/code:345p4nsm]das File postgres.c ist das [quote:345p4nsm]PostgreSQL RDBMS low level (client api) interface code.[/quote:345p4nsm] nun habe ich ein MakeLib.bat was aber mit BCC arbeitet also 32 Bit. wie mache ich das mit MING64 für 64 Bit <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> --- hm ... kein Attachment möglich <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> [code=fw:345p4nsm]<div class="fw" id="{CB}" style="font-family: monospace;">@echo off<br /><br />rem Builds Harbour <span style="color: #0000ff;">library</span> hbpgsql.lib and converts original POstgreSQL libpq.lib <span style="color: #000000;">&#40;</span>COFF<span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">to</span> OMF format <span style="color: #000000;">&#40;</span><span style="color: #00C800;">for</span> Borland<span style="color: #000000;">&#41;</span><br />set PQ_VER=<span style="color: #000000;">9.5</span><br /><br />:<span style="color: #000000;">OPT</span><br />  call ..\..\batch\makelibopt.bat hbpgsql h %<span style="color: #000000;">1</span> %<span style="color: #000000;">2</span> %<span style="color: #000000;">3</span> %<span style="color: #000000;">4</span> %<span style="color: #000000;">5</span> %<span style="color: #000000;">6</span> %<span style="color: #000000;">7</span> %<span style="color: #000000;">8</span> %<span style="color: #000000;">9</span><br />  <span style="color: #00C800;">if</span> %MV_EXIT%==Y    goto END<br />  <span style="color: #00C800;">if</span> %MV_DODONLY%==Y goto CLEANUP<br />  <span style="color: #00C800;">if</span> %MV_USEXHRB%==N goto BUILD<br />  echo hbpgsql.lib is not compatible with xHarbour.<br />  goto END<br /><br /><br />:<span style="color: #000000;">BUILD</span><br />  <span style="color: #00C800;">if</span> exist %MV_BUILD%\hbpgsql.lib del %MV_BUILD%\hbpgsql.lib<br />  %MV_HRB%\bin\harbour.exe tpostgre.prg -n -w3 -es2 -gc0 -i%MV_HRB%\include<br />  %MG_BCC%\bin\bcc32 -c -O2 -I%MG_HRB%\include -I.\%PQ_VER% postgres.c rddcopy.c tpostgre.c<br />  %MG_BCC%\bin\tlib %MV_BUILD%\hbpgsql.lib +postgres.obj +rddcopy.obj +tpostgre.obj<br />  <span style="color: #00C800;">if</span> exist %MV_BUILD%\hbpgsql.bak del %MV_BUILD%\hbpgsql.bak<br /><br />  <span style="color: #00C800;">if</span> exist .\%PQ_VER%\libpq.lib coffimplib .\%PQ_VER%\libpq.lib %MV_BUILD%\libpq.lib<br />  <span style="color: #00C800;">if</span> not exist .\%PQ_VER%\libpq.lib echo original libpq.lib <span style="color: #000000;">&#40;</span>COFF<span style="color: #000000;">&#41;</span> is MISSING: %MV_BUILD%\libpq.lib <span style="color: #000000;">&#40;</span>OMF<span style="color: #000000;">&#41;</span> is not created!<br /><br /><br />:<span style="color: #000000;">CLEANUP</span><br />  <span style="color: #00C800;">if</span> exist postgres.obj del postgres.obj<br />  <span style="color: #00C800;">if</span> exist rddcopy.obj  del rddcopy.obj<br />  <span style="color: #00C800;">if</span> exist tpostgre.obj del tpostgre.obj<br />  <span style="color: #00C800;">if</span> exist tpostgre.c   del tpostgre.c<br /><br />:<span style="color: #000000;">END</span><br />  call ..\..\batch\makelibend.bat</div>[/code:345p4nsm]
neuer User
Jimmy, cd c:\harbour\contrib\hbpgsql\ c:\gcc81w64\bin\gcc -c postgres.c -Ic:\harbour\include -I"c:\Program Files"\PostgreSQL\11\include\ c:\gcc81w64\bin\gcc -c rddcopy.c -Ic:\harbour\include -I"c:\Program Files"\PostgreSQL\11\include\ [url:zt0kfve3]https&#58;//bitbucket&#46;org/fivetech/harbour-xharbour-builds/downloads/gcc81w64&#46;zip[/url:zt0kfve3] [url:zt0kfve3]https&#58;//github&#46;com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/harbour3&#46;2_gcc81_64bits&#46;zip[/url:zt0kfve3]
neuer User
hi Antonio, thx for you Answer [quote="Antonio Linares":sfvf4cxv] [code=fw:sfvf4cxv]<div class="fw" id="{CB}" style="font-family: monospace;">cd c:\harbour\contrib\hbpgsql\<br />c:\gcc81w64\bin\gcc -c postgres.c -Ic:\harbour\include -I<span style="color: #ff0000;">"c:<span style="color: #000000;">\P</span>rogram Files"</span>\PostgreSQL\<span style="color: #000000;">11</span>\include\<br />c:\gcc81w64\bin\gcc -c rddcopy.c -Ic:\harbour\include -I<span style="color: #ff0000;">"c:<span style="color: #000000;">\P</span>rogram Files"</span>\PostgreSQL\<span style="color: #000000;">11</span>\include\</div>[/code:sfvf4cxv] [/quote:sfvf4cxv]YES ... that what i'm searching for 64 Bit <!-- s:!: --><img src="{SMILIES_PATH}/icon_exclaim.gif" alt=":!:" title="Exclamation" /><!-- s:!: --> [quote="Antonio Linares":sfvf4cxv] [url:sfvf4cxv]https&#58;//bitbucket&#46;org/fivetech/harbour-xharbour-builds/downloads/gcc81w64&#46;zip[/url:sfvf4cxv] [url:sfvf4cxv]https&#58;//github&#46;com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/harbour3&#46;2_gcc81_64bits&#46;zip[/url:sfvf4cxv][/quote:sfvf4cxv]thx for Link now i got [code=fw:sfvf4cxv]<div class="fw" id="{CB}" style="font-family: monospace;">postgres.o <br />rddcopy.o</div>[/code:sfvf4cxv] em, äh ... how to make LibLibPQ-64.a from Object <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> what about CLASS TPQServer in tpostgre.prg sorry about those Question but i'm a Newbie outside Xbase++
neuer User
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=34118&p=225539#p225539">viewtopic.php?f=3&t=34118&p=225539#p225539</a><!-- l -->
new ADO functions
Hello, Continuing with great and very usefull ADO functions created by Mr. Nages, it would be very interesting to have also the following: - Optimice table. - Backup table. Thank you very much.
new ADO functions
Lucas [quote:f59g4ouh] - Optimice table. - Backup table. [/quote:f59g4ouh] Both of your requests are have different answers depending on your Database. With MS Access you can 'compact and repair' as well as just copying the .mdb or .accDb using code .. however, Sql Server and Oracle are not that simple and require a Data Base Administrator to perform those tasks. RIck Lipkin
new ADO functions
Rick, [quote:2sxnqfo0]With MS Access you can 'compact and repair' [/quote:2sxnqfo0] How to do it from ADO ? thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
new ADO functions
Antonio, [quote="Antonio Linares":34vcqmjp]Rick, [quote:34vcqmjp]With MS Access you can 'compact and repair' [/quote:34vcqmjp] How to do it from ADO ? thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:34vcqmjp] [code=fw:34vcqmjp]<div class="fw" id="{CB}" style="font-family: monospace;">oJro = CREATEOBJECT<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"JRO.JetEngine"</span> <span style="color: #000000;">&#41;</span><br /><br />oJro:<span style="color: #000000;">CompactDatabase</span><span style="color: #000000;">&#40;</span> cConnectionString1, cConnectionString2 <span style="color: #000000;">&#41;</span></div>[/code:34vcqmjp] EMG
new ADO functions
Enrico From my notes I recall the parameters defined as ?? [code=fw:3gppblc0]<div class="fw" id="{CB}" style="font-family: monospace;"><br />cConnectionString1 := <span style="color: #ff0000;">"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=MyDatabase.mdb"</span><br />cConnectionString2 := <span style="color: #ff0000;">"Provider=Microsoft.Jet.OLEDB.4.0;ataSource=MyCompactedDatabase.mdb"</span><br />&nbsp;</div>[/code:3gppblc0] Thanks Rick Lipkin
new ADO functions
Rick, [quote="Rick Lipkin":28hged1n]Enrico cConnectionString1 is the path and name of the current .mdb ? cConnectionString2 is the path and name of the new ( repaired ) .mdb ? Thanks Rick Lipkin[/quote:28hged1n] cConnectionString1 is the ConnectionString of the current .mdb cConnectionString2 is the ConnectionString of the new ( repaired ) .mdb <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> EMG
new ADO functions
Enrico Thanks .. I went back and edited my post from my notes as you described it to me recently. I have not had a chance to try it yet <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> Rick Lipkin [code=fw:365kazif]<div class="fw" id="{CB}" style="font-family: monospace;"><br />cConnectionString1 := <span style="color: #ff0000;">"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=MyDatabase.mdb"</span><br />cConnectionString2 := <span style="color: #ff0000;">"Provider=Microsoft.Jet.OLEDB.4.0;ataSource=MyCompactedDatabase.mdb"</span><br />&nbsp;</div>[/code:365kazif]
new ADO functions
Hello, Very exciting funcions. MySQL has the command OPTIMIZE TABLE. Oracle has it too. Kind regards
new Array for XBROWSE -> only 1st Column ?
hi, i try to "SET" a new Array for XBROWSE [code=fw:4mparvj3]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">STATIC</span> oMain<br /><span style="color: #00C800;">STATIC</span> aData<br /><br />PROCEDURE MAIN<span style="color: #000000;">&#40;</span> cDbf1, cDbf2 <span style="color: #000000;">&#41;</span><br /><br />   aData := <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span><br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oMain ...<br /><br />      @ <span style="color: #000000;">120</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">800</span><span style="color: #000000;">-40</span>,<span style="color: #000000;">600</span><span style="color: #000000;">-160</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oMain ;<br />          DATASOURCE aData <span style="color: #0000ff;">AUTOCOLS</span><br />      oBrw:<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />      oBrw:<span style="color: #000000;">hide</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span></div>[/code:4mparvj3] later i "fill" Array aData and try to "show" it [code=fw:4mparvj3]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style="color: #00C800;">IF</span> ! EMPTY<span style="color: #000000;">&#40;</span>aData<span style="color: #000000;">&#41;</span><br />      * DoXBROWSE<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// work</span><br /><br />      * oBrw:<span style="color: #000000;">aArrayData</span> := aData<br />      oBrw:<span style="color: #000000;">SetArray</span><span style="color: #000000;">&#40;</span>aData,,,aCols<span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// aCols := {1,2,3,...}</span><br />      oBrw:<span style="color: #000000;">show</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />      oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">ELSE</span><br />      <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"no Data"</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">ENDIF</span></div>[/code:4mparvj3] but it does show me only 1st Column "A" <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> --- it does work when create XBROWSE after "fill" Array [code=fw:4mparvj3]<div class="fw" id="{CB}" style="font-family: monospace;">PROCEDURE DoXBROWSE<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">LOCAL</span> nWidth   := oMain:<span style="color: #000000;">nWidth</span><br /><span style="color: #00C800;">LOCAL</span> nHeight  := oMain:<span style="color: #000000;">nHeight</span><br /><span style="color: #00C800;">LOCAL</span> oBrw<br /><br />   <span style="color: #00C800;">IF</span> !EMPTY<span style="color: #000000;">&#40;</span>aData<span style="color: #000000;">&#41;</span><br />      @ <span style="color: #000000;">120</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">SIZE</span> nWidth<span style="color: #000000;">-20</span>,nHeight<span style="color: #000000;">-120</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oMain ;<br />          DATASOURCE aData <span style="color: #0000ff;">AUTOCOLS</span><br /><br />      oBrw:<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />      oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">ENDIF</span><br /><br /><span style="color: #00C800;">RETURN</span></div>[/code:4mparvj3] what i´m doing wrong <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
new Array for XBROWSE -> only 1st Column ?
Jimmy, have you tried inserting some dummy data into your initial `aData`? Best regards, Otto
new Array for XBROWSE -> only 1st Column ?
hi Otto, [quote="Otto":2vl4bu08]have you tried inserting some dummy data into your initial `aData`? [/quote:2vl4bu08] LEN(aArray) is much bigger than 1 and "wide" is FCOUNT(). but with my CODE it show only 1st Column "A" when assign "on-fly" to XBROWSE --- instead of APPEND to DBF i want to "show" Data using XBROWSE [code=fw:2vl4bu08]<div class="fw" id="{CB}" style="font-family: monospace;">                <span style="color: #0000ff;">SELECT</span> <span style="color: #000000;">1</span><br />               aValues := Scatter<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// FieldGet()</span><br />               AADD<span style="color: #000000;">&#40;</span>aData,aValues<span style="color: #000000;">&#41;</span>  <span style="color: #B900B9;">// add for XBROWSE</span><br />#IFDEF Use_Append<br />               <span style="color: #0000ff;">SELECT</span> <span style="color: #000000;">2</span><br />               APPEND BLANK<br />               Gather<span style="color: #000000;">&#40;</span> aValues <span style="color: #000000;">&#41;</span>    <span style="color: #B900B9;">// Fieldput()</span><br />#ENDIF</div>[/code:2vl4bu08] aValues have Value of all FIELD which i add to aData as i say it work correct when get Array aData first, but how to assign it later to XBROWSE <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> is oBrw:SetArray() right <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
new Array for XBROWSE -> only 1st Column ?
Please try [code=fw:371jdz6r]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">SetArray</span><span style="color: #000000;">&#40;</span>aData,,, .T.<span style="color: #000000;">&#41;</span></div>[/code:371jdz6r] instead of [code=fw:371jdz6r]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">SetArray</span><span style="color: #000000;">&#40;</span>aData,,,aCols<span style="color: #000000;">&#41;</span></div>[/code:371jdz6r] Please let us know if this works for you. (Note: This worked for me here in my test) Note: In any case, we see the need to fecilitate reconfigure the columns at runtime in a much easier way. We will attend to this.
new Array for XBROWSE -> only 1st Column ?
When we start with an empty array and we know that the array, later will have n columns, then we recommend defining the array with n columns. Example: [code=fw:tj594abs]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; <span style="color: #00C800;">local</span> oDlg, oBrw<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> aData := <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">400</span>,<span style="color: #000000;">400</span> <span style="color: #0000ff;">PIXEL</span> TRUEPIXEL<br /><br />&nbsp; &nbsp;@ <span style="color: #000000;">20</span>,<span style="color: #000000;">20</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">-20</span>,<span style="color: #000000;">-20</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />&nbsp; &nbsp; &nbsp; DATASOURCE aData COLUMNS <span style="color: #000000;">1</span>,<span style="color: #000000;">2</span>,<span style="color: #000000;">3</span> ;<br />&nbsp; &nbsp; &nbsp; CELL LINES NOBORDER<br /><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">bRClicked</span> := <span style="color: #000000;">&#123;</span> || AAdd<span style="color: #000000;">&#40;</span> aData, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"A"</span>,<span style="color: #ff0000;">"B"</span>,<span style="color: #ff0000;">"C"</span> <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span>, oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><br /><br />&nbsp; &nbsp;oBrw:<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br />&nbsp;</div>[/code:tj594abs]
new Array for XBROWSE -> only 1st Column ?
hi, [quote="nageswaragunupudi":3h14o69o]Please try [code=fw:3h14o69o]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">SetArray</span><span style="color: #000000;">&#40;</span>aData,,, .T.<span style="color: #000000;">&#41;</span></div>[/code:3h14o69o][/quote:3h14o69o] Yes, this work thx <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
new Array for XBROWSE -> only 1st Column ?
hi, [quote="nageswaragunupudi":3f1widqz]When we start with an empty array and we know that the array, later will have n columns, then we recommend defining the array with n columns.[/quote:3f1widqz] i do not know how many FIELD a DBF have so i can´t assign it when XBROWSE is "open" i use Array "temporary" to hold difference of 2 x DBF "to sync" them
new Array for XBROWSE -> only 1st Column ?
[quote="Jimmy":3akoar20]hi, [quote="nageswaragunupudi":3akoar20]When we start with an empty array and we know that the array, later will have n columns, then we recommend defining the array with n columns.[/quote:3akoar20] i do not know how many FIELD a DBF have so i can´t assign it when XBROWSE is "open" i use Array "temporary" to hold difference of 2 x DBF "to sync" them[/quote:3akoar20] In that case, please use :SetArray( aData,,,.T. )
new Codegear C++ version
Hi,There is a new 2009 version of Codegear C++. Someone is using it?
new Codegear C++ version
Moises,Where is the URL to download it ? thanks,
new Codegear C++ version
Antonio:<!-- m --><a class="postlink" href="http://www.codegear.com/products/cppbuilder">http://www.codegear.com/products/cppbuilder</a><!-- m -->
new Codegear C++ version
This company produces some very nice looking controls. We've got some threads here about using them, and some apparently are OK with Harbour, and others were not running. Some people who were working with the controls reported some of their progress but I'm not sure if they ever got the whole library activated.I talked to the company last year and they seemed to be very supportive. If we can get some guidelines on implementing their controls, this would be a nice 3rd party library to add to our collection.
new Codegear C++ version
Moises,What a "monster" to install this 2009 version. I have used a virtual machine to avoid cyber rubish in all the computer.Now I am trying to isolate the compiler, libs and includes required.But how to "distribute" this ? Surely CodeGear licence does not allow redistribution.
new Codegear C++ version
IMO we should consider in short term to migrate to MingW:<!-- m --><a class="postlink" href="http://en.wikipedia.org/wiki/MinGW">http://en.wikipedia.org/wiki/MinGW</a><!-- m -->
new Codegear C++ version
Timm,Are you refering to Codejock controls or the new Office 2007 Look controls that include C++ 2009?.
new Codegear C++ version
AntonioIf 5.9 is like the other versions .. YES, you have to install all the 'prerequisits' .. and I think the license ( may ) be limited to the IDE .. not the use of the compiller .. however, you better make sure.Rick Lipkin
new Codegear C++ version
Rick,It is version 6.10 already. In case that it properly works, I just could imagine a ZIP file with bin, include and lib folders inside in order to make an easy and simple distribution.But we need to check CodeGear licence first.Wouldn't it better to migrate to a modern, used by lots of users, open source and free C compiler like MingW (gcc for Windows) ? gcc = [b:35tr9va3]G[/b:35tr9va3]NU [b:35tr9va3]C[/b:35tr9va3] [b:35tr9va3]c[/b:35tr9va3]ompiler.
new Codegear C++ version
AntonioYou pose an interesting scenario and I think that is one we all have to deal with from time to time . Case in point is our Agency ( 5k employees ) has a standard on the MS Office suite, Word, Excel, however the licenses we have purchased are for the 2000 professional suite and that is 'really' old.To purchase a ( new ) Office license ( on state contract ) we are looking at 308.00 usd per seat, or .. you can consider Open Office.org ( for free ) A difficult delima, purchase and continue a relationship and standard with Microsoft and work out an EA ( enterprise agreement ) which when you pay your license load amortized over three years and then pay maint from the 4th year out.. or .. establish a new standard based on open source and abandon your relationship and move in a different direction ..Nothing wrong with either solution and I guess it really comes down to compatability and perhaps some new training and the size of your wallet.As to the question you pose on C++ compilers, Borland 5.5 is still free ( but aging ) and MingW is open source ( free ) and modern.I don't have an answer for you .. a very compelling argument !Rick Lipkin
new Codegear C++ version
Antonio,I think the user has to decide it, so there should be more than one alternative: a free compiler and a new version of the rocky and stable Borland-Codegear C++. And what about Microsoft c++ Express, wich is free?.I think is time to update from old BCC 5.5 and MSVC98!!.
new Codegear C++ version
Moises,> a new version of the rocky and stable Borland-Codegear C++> And what about Microsoft c++ Express, wich is free?Have you tried yourself to build an EXE with them ?If you want to promote them, please help with them. You talk a lot but I see very little code and work from you.Its time to cooperate, not just to ask others to do the work for you.
new Codegear C++ version
Hi all[quote:w1jj2i5y]As to the question you pose on C++ compilers, Borland 5.5 is still free ( but aging ) and MingW is open source ( free ) and modern.[/quote:w1jj2i5y] and presumably gives us the greatest potential FiveWin FiveLinux compatability? Run GTK+ on windows as an option?Regarding Microsoft suite versus OpenOffice the usd 308 (or whatever) will keep recurring as you go to new versions. Its hard to jump off the bandwagon but the best thing you can do in the longer term.RegardsxProgrammer
new Codegear C++ version
Doug,> Run GTK+ on windows as an option?IMO we shouldn't, as we can directly access the Windows API and its GUI. No need for another layer.The beauty of FiveWin, FiveLinux, FWPPC, FiveMac, FiveIPhone is that they are the real compatibility layer between all of them, to use the Clipper language and the same GUI Classes in different operating systems <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
new XBrowse features for next build
Using trees from XBrowse: [url=http&#58;//imageshack&#46;us:t9mu9d4c][img:t9mu9d4c]http&#58;//img404&#46;imageshack&#46;us/img404/969/xbrtreewj0&#46;jpg[/img:t9mu9d4c][/url:t9mu9d4c] Using a brush for a specific column: [url=http&#58;//imageshack&#46;us:t9mu9d4c][img:t9mu9d4c]http&#58;//img297&#46;imageshack&#46;us/img297/4773/xbrushkh8&#46;jpg[/img:t9mu9d4c][/url:t9mu9d4c]
new XBrowse features for next build
Antonio, Nice work! Can you show me the sample code part for the "Trees browse"? Patrick
new XBrowse features for next build
Antonio, I have been wanted to do trees in a browse for a long time. Nice! I would also like to see the code. James
new XBrowse features for next build
Assuming you have grouped data and built a Tree, the code for browsing the Tree is simple Syntax: oBrw:SetTree( oTree, [ { resOpen, resClose [, resNoChildren ] } ], [ <bDataLink> ] ) Example: [code:3476iays] REDEFINE XBROWSE oBrw ID <id> OF oDlg oBrw&#58;SetTree&#40; oTree, &#123; "OPEN","CLOSE","NONE" &#125; &#41; ACTIVATE DIALOG oDlg [/code:3476iays] XBrowse creates one column showing the oItem:cPrompt with the bitmaps specified. Based on nLevel, the cPrompt along with bitmaps, if any, is indented within the first column. If there is any data linked to the TreeItems that is to be shown in the next columns, simple alternative is to assign all such data as an array to oItem:cargo. Then columns can be created for this data. Example: [code:3476iays] ADD TO oBrw DATA oBrw&#58;oTreeItem&#58;Cargo&#91; 1 &#93; PICTURE "999" HEADER "Employees" ADD TO oBrw DATA oBrw&#58;oTreeItem&#58;cargo&#91; 2 &#93; PICTURE "999,999" HEADER "Salary" [/code:3476iays] It is possible for some reason, you may not like to copy all the data into arrays and assign to oItem:Cargo. This may be the case when the data is very large and copying all the data may be time consuming or memory intensive. In such cases, there is another alternative. You can assign to oItem:Cargo a pointer to the relavant row in the datsource. For example it can be RecNo() of DBF or AbsolutePosition of a Recordset, etc. In such a case you need to specify a codeblock as 3rd paramter of SetTree method. The codebock can be like { |oItem| (cAlias)->( DbGoTo( oItem:Cargo ) ) }. In that case, Browse object takes care of positioning the datasource by evaluating the codeblock with every skip. Then you may add columns like this: [code:3476iays] ADD TO oBrw DATA &#40;cAlias&#41;->EMPCOUNT PICTURE "999" HEADER "Employees" or ADD TO oBrw oRs&#58;Fields&#40;"TotSalary"&#41;&#58;Value PICTURE "999,999" HEADER "TotSalary" [/code:3476iays] Rest are cosmetics. We welcome any suggestions for further simplification <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
new XBrowse features for next build
Antonio, Great! Could add drag some cells like EXCEL ? a black colored area,so to copy ,delete,click ? Regards! Shuming Wang
new XBrowse features for next build
This feature is in the to-do list. But in 8.04, we can achieve same results by selecting multiple rows and hiding unwanted columns. Methods Copy() to clipboard ( by pressing Ctrl-C ), report and export to excel work on the selected rows and visible columns only.
new XBrowse features for next build
New display modes: 1. Entire selected line, with highlighted cell [url=http&#58;//imageshack&#46;us:t954vj8k][img:t954vj8k]http&#58;//img142&#46;imageshack&#46;us/img142/7994/browse1vs4&#46;png[/img:t954vj8k][/url:t954vj8k] 2. Same as before, but after having selected a group of lines [url=http&#58;//imageshack&#46;us:t954vj8k][img:t954vj8k]http&#58;//img142&#46;imageshack&#46;us/img142/2259/browse2vu0&#46;png[/img:t954vj8k][/url:t954vj8k]
new XBrowse features for next build
Fantastic!
new and important bug in FW 11.11
Hello, In samples\testget.prg. In second get, Number. Paste a test. [code=fw:1jx70jnh]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; Error occurred <span style="color: #00C800;">at</span>: <span style="color: #000000;">12</span>/<span style="color: #000000;">20</span>/<span style="color: #000000;">2011</span>, <span style="color: #000000;">22</span>:<span style="color: #000000;">01</span>:<span style="color: #000000;">25</span><br />&nbsp; &nbsp;Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1111</span> &nbsp;Argument error: <span style="color: #000000;">LEN</span><br />&nbsp; &nbsp;Args:<br />&nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> &nbsp; <span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> = N &nbsp; <span style="color: #000000;">0.00</span><br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> LEN<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\TGET.PRG => TGET:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">552</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">WINDOW</span>.PRG => _FWH<span style="color: #000000;">&#40;</span> <span style="color: #000000;">3160</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: &nbsp;=> DIALOGBOXINDIRECT<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: .\source\classes\<span style="color: #0000ff;">DIALOG</span>.PRG => TDIALOG:<span style="color: #0000ff;">ACTIVATE</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">266</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">testget</span>.prg => MAIN<span style="color: #000000;">&#40;</span> <span style="color: #000000;">30</span> <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:1jx70jnh] Thanks.
new and important bug in FW 11.11
John, This change is required in Class TGet: [code=fw:1cniybf3]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">case</span> nMsg == WM_PASTE<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">if</span> GetFocus<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> == ::<span style="color: #000000;">hWnd</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CallWindowProc<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">nOldProc</span>, ::<span style="color: #000000;">hWnd</span>, WM_PASTE, <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> ValType<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Original</span> <span style="color: #000000;">&#41;</span> $ <span style="color: #ff0000;">"CM"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SetWindowText<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hWnd</span>, <span style="color: #0000ff;">SubStr</span><span style="color: #000000;">&#40;</span> GetWindowText<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hWnd</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">1</span>, Len<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Original</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elseif ValType<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Original</span> <span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">"N"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SetWindowText<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hWnd</span>, Val<span style="color: #000000;">&#40;</span> GetWindowText<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hWnd</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<br />&nbsp;</div>[/code:1cniybf3] Thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
new and important bug in FW 11.11
Antonio, I am afraid is not working. Pasting numbers into a number field does not work. It does paste nothing. Thanks.
new and important bug in FW 11.11
HI, im using fwh 11.11 released 13/12 in several appls production, i need fix this and anothers?? please can list fix to apply after 13/12. thanks
new and important bug in FW 11.11
John, This is right code, thanks: [code=fw:1ig1lxgr]<div class="fw" id="{CB}" style="font-family: monospace;">      <span style="color: #00C800;">case</span> nMsg == WM_PASTE<br />           <span style="color: #00C800;">if</span> GetFocus<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> == ::<span style="color: #000000;">hWnd</span><br />              CallWindowProc<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">nOldProc</span>, ::<span style="color: #000000;">hWnd</span>, WM_PASTE, <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span><br />              <span style="color: #00C800;">if</span> ValType<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Original</span> <span style="color: #000000;">&#41;</span> $ <span style="color: #ff0000;">"CM"</span><br />                 SetWindowText<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hWnd</span>, <span style="color: #0000ff;">SubStr</span><span style="color: #000000;">&#40;</span> GetWindowText<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hWnd</span> <span style="color: #000000;">&#41;</span>, <span style="color: #000000;">1</span>, Len<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Original</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />              <span style="color: #00C800;">endif</span><br />              ::<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Buffer</span> = GetWindowText<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hWnd</span> <span style="color: #000000;">&#41;</span><br />              ::<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Pos</span> = GetCaretPos<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span><br />              ::<span style="color: #000000;">oGet</span>:<span style="color: #000000;">Assign</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />              <span style="color: #00C800;">if</span> ::<span style="color: #000000;">bChange</span> != <span style="color: #00C800;">nil</span><br />                 Eval<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">bChange</span>,,, <span style="color: #00C800;">Self</span> <span style="color: #000000;">&#41;</span><br />              <span style="color: #00C800;">endif</span><br />           <span style="color: #00C800;">endif</span><br />           <span style="color: #00C800;">return</span> <span style="color: #000000;">0</span></div>[/code:1ig1lxgr]
new and important bug in FW 11.11
Norberto, [img:1mh239kk]http&#58;//img269&#46;imageshack&#46;us/img269/2820/capturexq&#46;png[/img:1mh239kk] [img:1mh239kk]http&#58;//img192&#46;imageshack&#46;us/img192/2408/capturecbc&#46;png[/img:1mh239kk]
new and important bug in FW 11.11
Antonio, Thanks. It works now. Also, it´s pending the other bug in clause NO MODIFY. In method initiate() you could also comment out SetColor( GetSysColor(COLOR_GRAYTEXT) , GetSysColor( COLOR_BTNFACE )): if ::lReadOnly .and. ::nClrText == GetSysColor( COLOR_WINDOWTEXT ) ; .and. ::nClrPane == GetSysColor( COLOR_WINDOW ) // ::SetColor( GetSysColor(COLOR_GRAYTEXT) , GetSysColor( COLOR_BTNFACE )) // ::Disable() endif Thanks
new and important bug in FW 11.11
Antonio, Working code is: [code=fw:1fxsv9rb]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> Initiate<span style="color: #000000;">&#40;</span> hDlg <span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TGet<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">Super</span>:<span style="color: #000000;">Initiate</span><span style="color: #000000;">&#40;</span> hDlg <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;::<span style="color: #000000;">oGet</span>:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> lAnd<span style="color: #000000;">&#40;</span> GetWindowLong<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hWnd</span>, GWL_STYLE <span style="color: #000000;">&#41;</span>, ES_PASSWORD <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; ::<span style="color: #000000;">lPassword</span> = .t.<br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;<span style="color: #B900B9;">// Ballon tooltip when CapsLock is on on XP</span><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> ::<span style="color: #000000;">lPassword</span><br />&nbsp; &nbsp; &nbsp; SetWindowLong<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hWnd</span>, GWL_STYLE,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nOr<span style="color: #000000;">&#40;</span> GetWindowLong<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hWnd</span>, GWL_STYLE <span style="color: #000000;">&#41;</span>, ES_PASSWORD <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> ::<span style="color: #000000;">lReadOnly</span> .and. ::<span style="color: #000000;">nClrText</span> == GetSysColor<span style="color: #000000;">&#40;</span> COLOR_WINDOWTEXT <span style="color: #000000;">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; .and. ::<span style="color: #000000;">nClrPane</span> == GetSysColor<span style="color: #000000;">&#40;</span> COLOR_WINDOW <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; ::<span style="color: #000000;">SetColor</span><span style="color: #000000;">&#40;</span> GetSysColor<span style="color: #000000;">&#40;</span>COLOR_GRAYTEXT<span style="color: #000000;">&#41;</span> , GetSysColor<span style="color: #000000;">&#40;</span> COLOR_BTNFACE <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">//::Disable()</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp;</div>[/code:1fxsv9rb] ::Disable() can´t be used as the first GET with NO MODIFY clause in a Dialog does not retrive the value. So just comment out ::SetColor(...). Thanks.,
new bug FW 13.05:can´t append records to ACCESS and TDatarow
Hello, With this simple, I can´t append records, the xBrowse at Edit() does not allow to change values: [img:3orl8lwz]http&#58;//i42&#46;tinypic&#46;com/fd4mly&#46;png[/img:3orl8lwz] [code=fw:3orl8lwz]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"xbrowse.ch"</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"dbstruct.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"adodef.ch"</span><br /><br />REQUEST DBFCDX<br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> oCn<br />   <span style="color: #00C800;">local</span> nChoice, uDataSource<br /><br />   SET DATE ITALIAN<br />   SET CENTURY <span style="color: #0000ff;">ON</span><br />   SET DELETED <span style="color: #0000ff;">ON</span><br />   FWNumFormat<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"A"</span>, .t. <span style="color: #000000;">&#41;</span><br /><br />   oCn         := FW_OpenAdoConnection<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"ACCESS.mdb"</span> <span style="color: #000000;">&#41;</span><br />   uDataSource := FW_OpenRecordSet<span style="color: #000000;">&#40;</span> oCn, <span style="color: #ff0000;">"CUENTAS"</span> <span style="color: #000000;">&#41;</span><br /><br /><br />   BrowseData<span style="color: #000000;">&#40;</span> uDataSource <span style="color: #000000;">&#41;</span><br /><br />   uDataSource:<span style="color: #000000;">Close</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">if</span> oCn != <span style="color: #00C800;">nil</span><br />      oCn:<span style="color: #000000;">Close</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">endif</span><br /><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><span style="color: #B900B9;">// TESTING XBROWSE WITH TDATAROW</span><br /><span style="color: #B900B9;">// Both XBrowse and TDataRow Code is the same for all Data Sources</span><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">static</span> <span style="color: #00C800;">function</span> BrowseData<span style="color: #000000;">&#40;</span> uData <span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> oDlg, oBrw, oFont, oRec<br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">FONT</span> oFont <span style="color: #0000ff;">NAME</span> <span style="color: #ff0000;">"TAHOMA"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">0</span>,<span style="color: #000000;">-14</span><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">900</span>,<span style="color: #000000;">400</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">FONT</span> oFont ;<br />      <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"TDataRow test : "</span> + FWVERSION<br /><br />   @ <span style="color: #000000;">30</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">XBROWSE</span> oBrw <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">-10</span>,<span style="color: #000000;">-10</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />      DATASOURCE uData <span style="color: #0000ff;">AUTOCOLS</span> AUTOSORT ;<br />      FOOTERS CELL LINES NOBORDER<br /><br />   WITH OBJECT oBrw<br />      <span style="color: #B900B9;">//</span><br />      :<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   END<br /><br /><br /><br />   @ <span style="color: #000000;">10</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"Edit"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">40</span>,<span style="color: #000000;">12</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />      <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> oRec := TDataRow<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> uData <span style="color: #000000;">&#41;</span>, oRec:<span style="color: #00C800;">Edit</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />   @ <span style="color: #000000;">10</span>,<span style="color: #000000;">60</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"Append"</span> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">40</span>,<span style="color: #000000;">12</span> <span style="color: #0000ff;">PIXEL</span> <span style="color: #0000ff;">OF</span> oDlg ;<br />      <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> oRec := TDataRow<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> uData, <span style="color: #00C800;">nil</span>, .t. <span style="color: #000000;">&#41;</span>, oRec:<span style="color: #00C800;">Edit</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oBrw:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>, oBrw:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br />   <span style="color: #0000ff;">RELEASE</span> <span style="color: #0000ff;">FONT</span> oFont<br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /> </div>[/code:3orl8lwz] And Access.mdb: <!-- m --><a class="postlink" href="http://rapidgator.net/file/3435501255ccaa3e347b379ea55930d9/ACCESS.MDB.html">http://rapidgator.net/file/3435501255cc ... S.MDB.html</a><!-- m --> Thank you. Best regards
new bug FW 13.05:can´t append records to ACCESS and TDatarow
Hello, With this Little sample I get this error: no data type mismatch in criteria expression. [code=fw:3k4tmfrv]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">static</span> <span style="color: #00C800;">function</span> addManual<span style="color: #000000;">&#40;</span> uData <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">local</span> oRec<br /><br />oRec := TDataRow<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> uData, <span style="color: #00C800;">nil</span>, .t. <span style="color: #000000;">&#41;</span><br /><br />oRec:<span style="color: #000000;">Codigo</span> := <span style="color: #000000;">2</span><br />oRec:<span style="color: #000000;">Nombre</span> := <span style="color: #ff0000;">"ACCOUNT two"</span><br /><br />oRec:<span style="color: #000000;">Save</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />xbrowser uData<br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br />&nbsp;</div>[/code:3k4tmfrv] Thank you.
new bug FW 13.05:can´t append records to ACCESS and TDatarow
Hello, The problem does not occur with MySQL. It has to be with numeric fields with decimals (in my table sample, NINGRESO AND NGASTO). TDatarow do not manage them fine under Access. Hope it helps. Best regards,
new bug FW 13.05:can´t append records to ACCESS and TDatarow
Hello, Any update, please?. Thanks
new bug FW 13.05:can´t append records to ACCESS and TDatarow
Please wait Mr Lucas
new bug FW 13.05:can´t append records to ACCESS and TDatarow
Friends, Is there any fix for the bug?. Thank you very much <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->.
new bug FW 13.05:can´t append records to ACCESS and TDatarow
Hello, I would appreciate any fix for this bug please, as we need to work with Access. This is a very easy s ample: [code=fw:5zy6ve7b]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">static</span> <span style="color: #00C800;">function</span> addManual<span style="color: #000000;">&#40;</span> uData <span style="color: #000000;">&#41;</span><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br />&nbsp;<span style="color: #00C800;">local</span> oRec := TDataRow<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span> uData, <span style="color: #00C800;">nil</span>, .t. <span style="color: #000000;">&#41;</span><br /><br />&nbsp;oRec:<span style="color: #000000;">Fecha</span> &nbsp; &nbsp;:= date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp;oRec:<span style="color: #000000;">Apunte</span> &nbsp; := <span style="color: #ff0000;">"NAME OF THE CONCEPT"</span><br />&nbsp;oRec:<span style="color: #000000;">Cuenta</span> &nbsp; := <span style="color: #000000;">21</span><br />&nbsp;oRec:<span style="color: #000000;">Notas</span> &nbsp; &nbsp;:= <span style="color: #ff0000;">"notas random by Lucas now "</span>+cvaltochar<span style="color: #000000;">&#40;</span>nrandom<span style="color: #000000;">&#40;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />&nbsp;oRec:<span style="color: #000000;">nIngreso</span> := <span style="color: #000000;">100.21</span><br /><br /><br />&nbsp;oRec:<span style="color: #000000;">Save</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><br /><br /><br />&nbsp;xbrowser uData<br /><br /><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br />&nbsp;</div>[/code:5zy6ve7b] And the error: [img:5zy6ve7b]http&#58;//i44&#46;tinypic&#46;com/2pyb8f8&#46;png[/img:5zy6ve7b] Thank you very much. We are stopped for more than a week with this. Best regards
new bug FW 13.05:can´t append records to ACCESS and TDatarow
This was the sample program you sent me. When I compiled and run the program as it is, it was running as expected without any run-time errors. After running several times without any errors, this is the screen shot. [url=http&#58;//img259&#46;imageshack&#46;us/i/qrai&#46;jpg/:1ivx02rg][img:1ivx02rg]http&#58;//img259&#46;imageshack&#46;us/img259/9195/qrai&#46;jpg[/img:1ivx02rg][/url:1ivx02rg] I was wondering what was the bug you were referring to because I did not get any errors here. Ran once again and this time I adjusted the column sizes to get a full view of the table. [url=http&#58;//img203&#46;imageshack&#46;us/i/hb9d&#46;jpg/:1ivx02rg][img:1ivx02rg]http&#58;//img203&#46;imageshack&#46;us/img203/8146/hb9d&#46;jpg[/img:1ivx02rg][/url:1ivx02rg]
new bug FW 13.05:can´t append records to ACCESS and TDatarow
Mr Nages, Maybe I don´t have latest TDatarow class, can you please sent it to my email to test it and recompile?. Do you use harbour or xHarbour?. thank you, I await your answer. best regards
new bug FW 13.05:can´t append records to ACCESS and TDatarow
Mr Lucas I compiled the program sent by you as it is. You have included the entire source of TDataRow inside this program. So, we both are using the same class code. I used Harbour because I knonw you are using Harbour. Actually for the last few days I was searching for a bug because I did not find any. While it is true that it is running fine here, you are getting runtime error. Then there should be some difference. This program uses FW_OpenAdoConnection("ACCESS.MDB") On my computer this function uses the first preferred provder OLE.12.0 and in your case it may be falling back to JET OLEDB. Let me force JET and try again. Also can you please translate the error message to English?
new bug FW 13.05:can´t append records to ACCESS and TDatarow
I tried with Jet oledb. I am not getting any errors. Both addManual() and the buttons Add and Edit in BrowseData are working perfectly as they should.
new bug FW 13.05:can´t append records to ACCESS and TDatarow
Mr Lucas I tested with FWH 1305, BCC 5,82 and Harbour 3.2.0 (18881) I advise using FWH1305 in full without mixing 1304 and 1305 codes for testing After the fix in tmsgitem.prg, FWH1305 is quite stable.
new bug FW 13.05:can´t append records to ACCESS and TDatarow
Mr Ngaes, Thank you, it is quite strange. Please, could you try ONLY addmanual with this database? <!-- m --><a class="postlink" href="http://www.gigasize.com/get/ng8p95xvknd">http://www.gigasize.com/get/ng8p95xvknd</a><!-- m --> or this other link: <!-- m --><a class="postlink" href="http://demo.ovh.co.uk/en/489fbd23a5ce10548cd567f19a811e44/">http://demo.ovh.co.uk/en/489fbd23a5ce10 ... 19a811e44/</a><!-- m --> Thank you very much.
new bug FW 13.05:can´t append records to ACCESS and TDatarow
Mr Lucas Dowloaded and tested. Working fine.
new bug FW 13.05:can´t append records to ACCESS and TDatarow
Mr. Nages, Thank you. Did you use the empty Access.mbd in the link or you use previous database?. You have to use blank database. This is the error I get on a different XP machine, in English SO this one: [img:35gd61o6]http&#58;//i42&#46;tinypic&#46;com/2w74dq1&#46;jpg[/img:35gd61o6] And this is an .exe to test please. <!-- m --><a class="postlink" href="http://demo.ovh.es/en/fbc228b82ac18e37418802dc26f0f7e6/">http://demo.ovh.es/en/fbc228b82ac18e37418802dc26f0f7e6/</a><!-- m --> In my exe, do you get any error please?. I attach the .prg too. Thank you very much. The key is to use the empty Access database. Best regards