topic
stringlengths
1
63
text
stringlengths
1
577k
dbComboBox and Incremental search
I have a problem using the incrementeal search of dbComboBox class. In line 318 method KeyChar [code=fw:k5g5oxga]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">if</span> nNewAt != nOldAt .and. nNewAT != <span style="color: #000000;">0</span>  <span style="color: #B900B9;">...
dbComboBox and Incremental search
Gabriel, I wrote the original incremental search code for DBCombo, but a lot has changed since then. Most of that code was moved to TCombobox and this broke DBCombo's search. Then incremental searching was made optional since some people wanted the old first character only search. I will take a look at your problem a...
dbComboBox and Incremental search
Any news. If my change fix the problem, will be nice to be included in the Class. Now I must change the source every new FW version.
dbComboBox and Incremental search
Beil, Sorry, I forgot about it. I have put it on my To Do list and will try to get to it soon. Regards, James
dbComboBox and Incremental search
Is there any news?
dbComboBox and Incremental search
Hi, I have changed some lines to be worked incremental search in dbcombo. Can anyone test it to confirm? Thanks, Old Line 316: [code=fw:hq1febf6]<div class="fw" id="{CB}" style="font-family: monospace;">      nNewAT := ascan<span style="color: #000000;">&#40;</span>::<span style="color: #000000;">aList</span>, <span...
dbInfo2xBrowse
Hello, I inserted the dbInfo description into an array to show the Infos in a Xbrowse. Best regrads, Otto [code=fw:9gn55ugp]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">function</span> f_dbInfo<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;...
dbSkip / Tautoget question
Hello, I use TAutoget class in my program. To fill my array I use [code=fw:cabs3wlf]<div class="fw" id="{CB}" style="font-family: monospace;">         <br />        klanten-><span style="color: #000000;">&#40;</span>dbgotop<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style...
dbSkip / Tautoget question
Marc On 6-10 there was a discussion : cmxShared() Have you tried to use cmxShared(.f.) ? Frank
dbSkip / Tautoget question
Frank, I get an error [code=fw:2ivydx2b]<div class="fw" id="{CB}" style="font-family: monospace;">Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_CMXSHARED'</span></div>[/code:2ivydx2b] after adding the code. It seems to be a function of the commercial version of ...
dbSkip / Tautoget question
Hola try directly from table (dbf) [code=fw:3i26olh3]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />&nbsp; &nbsp;<span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">GET</span> oGet <span style="color: #0000ff;">ID</span> <span style="color: #000000;">101</span> <span s...
dbSkip / Tautoget question
Thanks Marcelo, I already changed the code yesterday evening in something like this. I only have to change it to meke in more generic by passing the database-name, indexkey and the fieldname to search. Regards, Marc
dbSkip / Tautoget question
Mark, Please email me at jbott at compuserve dot com. James
db_zap and db_pack error
I' m trying to Convert old progam made with xharbour into harbour Now I use harbour Now here i have this error [code=fw:1ve64geg]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Turbo Incremental Link <span style="color: #000000;">6.70</span> Copyright <span style="color: #000000;">&#40;</span>c<span ...
db_zap and db_pack error
SELECT SP SP->(__DbZap()) SP->(__DbPack())
db_zap and db_pack error
why it's changed ? I used the old command on the last year with the same harbour
db_zap and db_pack error
[url:5rchlu15]http&#58;//www&#46;marinas-gui&#46;org/projects/harbour_manual/__dbzap&#46;htm[/url:5rchlu15] [url:5rchlu15]https&#58;//vivaclipper&#46;wordpress&#46;com/2014/01/18/zap/[/url:5rchlu15] [url:5rchlu15]https&#58;//github&#46;com/vszakats/harbour-core/blob/master/tests/clipper&#46;ch[/url:5rchlu15] [code=f...
dbase III/IV file encrypted
I am asking if it is possible to encrypt an entire .dbf file (without memo) by setting the flag in the dbf header? And then? What do i have to do to read and write the fields in the .dbf ? Thanks Lorenzo
dbase III/IV file encrypted
[quote="lorenzoazz":182xvv84]I am asking if it is possible to encrypt an entire .dbf file (without memo) by setting the flag in the dbf header?[/quote:182xvv84] Add this just after the USE YOURDBF command: [code=fw:182xvv84]<div class="fw" id="{CB}" style="font-family: monospace;">DBINFO<span style="color: #000000;">...
dbase III/IV file encrypted
Ok, but i just want to use the dbf with an old VB6 program that uses a JET connection like this "Provider=Microsoft.Jet.OLEDB.4.0;Extended Properties=dBase IV;Data Source=" I suppose that i must change the encrypted flag in dbf file header in some way (do not know how), and then open with a password that i set in my ...
dbase III/IV file encrypted
Don't know, sorry. EMG
dbase III/IV file encrypted
I tried the suggestion but i cannot find DBI_PASSWORD definition. Anyway my intent is to make the dbf unreadable by normal dbf tools, to protect privacy outside from the specific software that created and use the dbf. Lorenzo
dbase III/IV file encrypted
[quote="lorenzoazz":2t6u0iy8]I tried the suggestion but i cannot find DBI_PASSWORD definition.[/quote:2t6u0iy8] [code=fw:2t6u0iy8]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Dbinfo.ch"</span></div>[/code:2t6u0iy8] [quote="loren...
dbase III/IV file encrypted
Cannot find definition for DBI_PASSWORD here are all DBI_ the constant i found for dbinfo() /* constants for dbInfo() */ #define DBI_ISDBF 1 /* Does this RDD support DBFs? */ #define DBI_CANPUTREC 2 /* Can this RDD Put Records? */ #define DBI_GETHEADERSIZE 3 /* Data file's h...
dbase III/IV file encrypted
Inside dbinfo.ch: [code=fw:2s133iqg]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#define</span> DBI_PASSWORD &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">131</span> &nbsp;<span style="color: #B900B9;">/* Workarea password */</span></div>[/code:2s133i...
dbase III/IV file encrypted
Thanks Enrico Lorenzo
dbcombo blank
I have been using Dbcombos without problem in an existing program unchanged for 2 years. Recently I recompiled with my new FWH 14.08 from FWH 6.12 Afterwards, I noticed that the last 2 dbcombos in the edit module are displaying blank values while all the rest are displaying their proper .dbf fields, upon edit. I have...
dbcombo blank
I am trying to understand your code. Are TComp, TDesc, etc database objects? If so you don't need to create memory vars, you can just use the database object fieldname, ie oCust:name. And please use the code tags when posting code so it retains its format.
dbcombo blank
James, Appreciate the reply. Hopefully, I have used "code tags" properly below. ( learning ! ) Yes, Tcomp, Tdesc, etc. are all database objects. An actual example of how I set them : [code=fw:u6gnfmqg]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />&nbsp; &nbsp;<span style="color: #00C...
dbcombo blank
Bruce, [code=fw:h7u3ymnt]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style="color: #00C800;">Local</span> cDesc1<br /> <br />   <span style="color: #B900B9;">// desc  </span><br />   <span style="color: #00C800;">local</span> oDBC4, oTdesc<br /><br />    <span style="color: #B900B9;">// for desc...
dbcombo blank
Bruce, Oh, back to your original problem, the last two dbcombos are using the same database and the same two itemfields and listfields. This can't work. You can't have the database's index pointer at two records at the same time. You will need two copies of the database open to do this. Using the techniques discusse...
dbcombo blank
Excellent explanation by Mr James. This is very important: [quote:2yeez19m]The exception occurs when you have data in a browse and you then popup a dialog over it to edit one of the records in the browse, then start to edit the data in the dialog. Now, if the user moves a window or another program over the browse, the...
dbcombo no se ve
Amigos:Usando un dbcombo si al dialogo le pongo un brush y laclausula transparent, el dbcombo no se ve, si le saco laclausula transparent si se ve.Estare haciendo algo mal?Saludos y gracias.Ruben Fernandez.Este es el codigoREDEFINE DBCOMBO oCombo VAR cFact ID 110 OF oDlgTodo ; Alias DBFAC ; ItemField "...
dbcombo no se ve
Ruben,Un DbCombo no se puede ver transparente.Como quieres visualizarlo ? Tendrías que hacerte un control propio.
dbcombo no se ve
Antonio:Solo para que me quede claro.Al declarar la CLAUSULA oBrush TRANSPARENT en el dialogo,el dbcombo no se ve?Gracias y saludosRuben Fernandez.
dbcombo no se ve
Ruben,Hemos modificado el ejemplo fwh\samples\DbcTest.prg para que use un BRUSH desde un bitmap y usado la claúsula TRANSPARENT:[code:g5ag8yj9] FUNCTION ShowClient&#40;&#41; LOCAL oIco, oBrush IF oClient != NIL RETURN&#40; NIL &#41; ENDIF DEFINE ICON oIco FILENAME "&#46;&#46;\icons\Person&#46;ico" ...
dbcombo para dolphin o ado
Estimados, para no inventar el agua helada alguien tiene desarrollado alguna clase similar a dbcombo (muestra un lista y retorna un codigo) para para dolphin o ado? es muy necesaria. salu2
dbcombo para dolphin o ado
One quick and easy way is to read the data from ADO RecordSet or Dolphin Query into two arrays aItems and aList and then define DBCOMBO with these arrays Example: @ .... DBCOMBO ............ ITEMS aItems LIST aList ........... For information next release of FWH natively provides for recoresets, dataobjects, etc. Ex...
dbcombo para dolphin o ado
Great ++++1. When will be ready the next reléase?. Thanks <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
dbcombo para dolphin o ado
thank you rao, i wait, for the momento i resolve with: [code=fw:l77givwx]<div class="fw" id="{CB}" style="font-family: monospace;"><br />...<br />aItems := oRecordSet:<span style="color: #000000;">GetRows</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />...<br /><span sty...
dbcombo para dolphin o ado
Esta claro que usando 2 array se resuelve temporalmente el problema y por los momentos es lo que hago asi: oQryOpera := TDolphinQry():New( "SELECT * FROM delipollo_operadores " +; // MAESTRO OPERADORES CON FillArray "ORDER BY opera_id", oDatos:oConex ) oQryOpera:GOTOP(); aOpera1 := oQryOpera:Fil...
dbcre8 libre
Os acordais de dbcre8 ? Tiempo de tener uno libre <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> [code=fw:1jbone7n]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">local</span> aFirst := <span style="color: #000000;">&#123;</span> ;<...
dbcre8 libre
[code=fw:2owhi4gs]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">local</span> aLast := <span style="color: #000000;">&#123;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"Abbott"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbs...
dbcre8 libre
[code=fw:2ckrp0yh]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">local</span> aStreet := <span style="color: #000000;">&#123;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"112th Avenue N.E."</span>,;<br />&nbsp; &nbsp...
dbcre8 libre
[code=fw:1ofpq747]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">local</span> aCity := <span style="color: #000000;">&#123;</span> ;<br />                  <span style="color: #ff0000;">"Adelaide"</span>,;<br />                  <span style="color: #ff0000;">"Akron"</span>,;<br ...
dbcre8 libre
[code=fw:1n0nggjz]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">local</span> aState := <span style="color: #000000;">&#123;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"AK"</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; ...
dbcre8 libre
Primer intento, parece funcionar bien <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> dbcre8.prg [code=fw:2yto2vbe]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// dbcre8 (inspired on dbcre8 from successware)</span><br /><br /><spa...
dbcreate variable
Hola: necesito saber como puedo crear una base de datos que tanga cierta cantidad de campos, que pueden variar de ejecución en ejecución. Por ejemplo, si cargo 3 en un get, que la base tenga 3 campos, campo1, campo2 y campo3, por ej. Si en cambio eljo 2, que la base tenga 2 campos, campo1 y campo2. Probé hacer un case...
dbcreate variable
[code:1jb9u42r] Procedure CriaBanco() Local aStru &#58;= {} aStru &#58;= {"CODIGO","C",5,0} if cGet = 3 aAdd(aStru,{"NOME","C",40,0} end DbCreate("TESTE&#46;DBF",aStru) Return Nil [/code:1jb9u42r]
dbcreate variable
Creo que esto te puede servir : [code:x5pozkoc] Procedure creatabla(cTabla,ncampos) local aEstructura local nveces default ncampos&#58;=1 aEstructura&#58;={} for nveces = 1 to ncampos aadd(aEstructura,{"Campo"+alltrim(str(nveces,2,0)),"C",10,0}) next nveces dbcreate(ctabla,aEstructura) return [/code:x5pozk...
dbcreate variable
Excelente muchachos...!!! Gracias...!!!
dbeval error
to calculate how naly record I have into a archive I usa dbeval function But when the dbeval function found a record empty ( with a field empty ) the application crash sample : MV->( DBEVAL( { || aCanE[ Month( FIELD->FECHA ) ][ 2 ]+= IIF( FIELD->TIPO="E", MV->TOTAL,0) } ) ) how I can resolve it ?
dbeval error
Silvio, from xHarbour guide: [code=fw:3ohxs5us]<div class="fw" id="{CB}" style="font-family: monospace;">DbEval<span style="color: #000000;">&#40;</span> <bBlock>,<span style="color: #000000;">&#91;</span><bForCondition><span style="color: #000000;">&#93;</span>,<span style="color: #000000;">&#91;</span><bWhileCondit...
dbeval error
thanks run ok
dbexist en harbour?
Estoy mas perdido que mi perro cuando le apago la luz. en xharbour mas dolphin [code=fw:30skyyj9]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span>::<span style="color: #000000;">oCnx</span>:<span style="color: #000000;">DBEXIST<...
dbexist en harbour?
[url:34rmpgy3]https&#58;//github&#46;com/harbour/core/blob/master/contrib/hbnetio/tests/netiotst&#46;prg[/url:34rmpgy3]
dbexist en harbour?
necesito saber si con DOLPHIN sigue funcionando, esta integrado ahora dolphin con fwh? donde puedo ver los sources? gracias.
dbf a mysql
Estimados, durante años y años, trabaje con clipper 5.2, de ahi a FW 4.2, luego FWH 13.2.. pero siempre con dbf.. las cuales jamas me generaron problemas.. pero ahora con los motores de busqueda de los sistemas ya sea web o en mobiles, donde el usuario coloca una palabra y esta es encontrada en cualquier parte de la ca...
dbf a mysql
Antes de descartar las dbfs, informate, si no lo hiciste ya, de: * OrdWildSeek * ADO Rdd
dbf a mysql
Estimado he tratato de usar la funcion OrdWildSeek, pero por algun motivo que no logro entender, me busca la palabra en la cadena que necesito... pero si esta palabra, se encuentra en 10 registros... en varios casos, solo me la encuentra en 4 o 5, como que ignora o se salta en algunos casos registros con ese campo busc...
dbf a mysql
Evidentemente esa es la "madre del cordero" cuando te enfrentas a ese posible cambio Has de separar entre la capacidad de obtener determinadas consultas, etc. con la posibilidad de conectarte en remoto a una base de datos. En el primer caso, seguro que hay soluciones, pero para el segundo, lo mejor es MARIADB. MariaDB ...
dbf a mysql
Estimado señor, En general, para poder probar, siempre se pide un ejemplo sencillo y autocontenido. Ciertamente dudo mucho que OrdWildSeek() no funcione. Si puede, busque en este foro o en el de harbour algun ejemplo sencillo y parta de el para sus pruebas. Saludos PD. Este artículo es un buen ejemplo de lo que se...
dbf a mysql
Estimados, lei la información de la pagina The Full, y de ahi saque su función (genial el).. y tal como la vi, la construi pero como indique debo estar haciendo algo mal, que no me muestra todo lo que esta almacenado en los registros... filtra.. pero deja algo afuera..
dbf a mysql
[code=fw:2fxj1lzb]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">SELECT</span> <span style="color: #000000;">06</span><br />xNro++<br />SKIP &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// <<--- Diria que este SKIP sobra. Reviselo.</span></div>[/code:2fxj1lzb]
dbf a mysql
In DBFCDX, OrdWildseek() works and also Filters with WildMatch() In FWHMYSQL also both work. oRs:Seek( cSeek, [lSoft], [lWild] ) Also wild match filters.
dbf a mysql
Estimado hmpaquito, saque el skip y corrió de lujo.. que pena y falta de no saber leer o interpretar bien el código... en este foro me he encontrado con notables mentes en la construcción, de clases, funciones y otras en desarrollo de la evolución de FW, lo unico que podría reprochar en mi humilde opinión es la falta d...
dbf a mysql
[quote:1ak9dx8o]saque el skip y corrió de lujo.. que pena y falta de no saber leer o interpretar bien el código...[/quote:1ak9dx8o] Genial !! [quote:1ak9dx8o]falta de documentación mas estructurada de apoyo, y con eso estas herramientas nos llevarían a otros niveles.[/quote:1ak9dx8o] OrdWildSeek() es una funcion del c...
dbf a sql
Hola. Tengo una aplicación bastante compleja, que utiliza bases de datos .dbf. Quisiera encarar la tarea de migrar mi sistema a SQL. ¿como se puede hacer esto? a saber: - que librerías utilizarían?? - existe alguna opción sencilla para hacer esto?? Gracias desde ya. Atte.
dbf a sql
Hola. Tengo una aplicación bastante compleja, que utiliza bases de datos .dbf. Quisiera encarar la tarea de migrar mi sistema a SQL. ¿como se puede hacer esto? a saber: - que librerías utilizarían?? - existe alguna opción sencilla para hacer esto?? Gracias desde ya. Atte.
dbf a sql
Diego, No soy experto aun en el tema, pero te puedo decir lo siguiente: Hay varias posts en el foro acerca de este tema, y por supuesto que hay varias opciones a elegir. Le opcion que decidi a usar, no es la mas facil, ni mucho menos la mas rapida a implementar, pero te puedo asegurar que no me arrepiento haberla to...
dbf a sql
Diego: NAVICAT es una muy buena opcion, tiene un sistema de importacion de dbfs bastante fiel, eso si lo he probado para mysql 5.0 y 5.1., para usarlo como manejador de tablas, ADO + MYSQL + ODBC puede ser una plataforma sencilla y hay bastantes ejemplos en este foro, SQLRDD + MYSQL es otra opcion solo que el SQLRDD ...
dbf a sql
En las listas de harburminigui ó oohg, en utilitarios tenés un conversor me parece hecho por Paola Bruccoleri que se llama dbfsql. Funciona bien, yo lo utilizé y me las paso correctamente. Luis
dbf a sql
Tambien tienes el DBF2SQL que hace la migración para MySQL o para PostgreSQL. Puedes bajarlo desde <!-- m --><a class="postlink" href="http://www.sqllib.com.br/v4/index.php?artigo=dbf2sql">http://www.sqllib.com.br/v4/index.php?artigo=dbf2sql</a><!-- m --> o si deseas puedo enviarte por mail. Saludos
dbf a sql
Echa un vistazo a Eagle1: <!-- m --><a class="postlink" href="http://es.groups.yahoo.com/group/eagle1/">http://es.groups.yahoo.com/group/eagle1/</a><!-- m -->
dbf at Microsoft OneDrive
Hi! Have somebody experiences with DBF Files saved on OneDrive. We have a tool that works with dbf. These are saved on a server. Over network working everything fine. Now i would like to save the dbf at OneDrive. So i can access from a other pc. this pc have no access to the sever. best regards Aljoscha
dbf at Microsoft OneDrive
Aljoscha, I don't think that onedrive will allow you to use a DBF that way You can only save the file or download it, but you can not open it remotely Maybe you could try it with bitbucket, but I think the same limitation will apply
dbf at Microsoft OneDrive
Aljoscha Antonio is correct .. it is my understanding that any file is encrypted that lives in the Microsoft cloud and probably can not be accessed naitively or directly from the cloud. Rick Lipkin
dbf at Microsoft OneDrive
Aljoscha, Perhaps, may solve if establish NetDrive. [url:3fqupqzd]http&#58;//www&#46;netdrive&#46;net[/url:3fqupqzd]
dbf at Microsoft OneDrive
Hello, thanks I will test this tool and give you a feedback. best regards Aljoscha
dbf at Microsoft OneDrive
Aljoscha, have you tried to map OneDrive as a network drive letter. Best regards, Otto
dbf at Microsoft OneDrive
I was trying to use a fivewin program of my own on the web by mapping it as a network drive with noooo luck. Finally (in windows 10) i decide to try to use onedrive without mapping any drive but, simply using the c:\pathtoLocalOnedrive\myexe.exe And booom, it works like a charm. You may also use it without beeing co...
dbf at Microsoft OneDrive
Thanks for the info anyhow I think you can not have shared DBFs and what will happen if different users want to use the app from different locations at the same time ?
dbf at Microsoft OneDrive
To All I am in the middle of rolling out Office 365 all our Corporate Staff, and that includes One Drive. In my tests One Drive is only able to be visible to other intended users through SharePoint ( web browser ) and is not interactive, meaning you can not map to or manipulate the shared file from any other location ...
dbf corrupta en harbour
Hola compañeros tengo una base de datos con dos campos uno de ellos memo (ftp). En un programa compilado con harbour en esta base de datos me dice que esta corrupta, y los mimos prg compilados con xharbour me la abre correctamente ??? En otras dbf con campos memos no existe el problema. Alguna sugerencia Luis
dbf corrupta en harbour
estimado: no se si estoy en lo correcto pero te puede orientar a solucionar el problema, revisa si las lib de rdd esten bien, para harbour o xharbour, tube un problema similar al cambiar de archivos .ntx a .cdx con xharbour, y una dbf con campo memo: para ntx tenia lo siguiente: dbfntx dbfcdx dbffpt para cdx tenia d...
dbf corrupta en harbour
Gracias Armando por contestar, no se el porque no lo leía en harbour. Lo que hice fue lo siguiente, desde el programa de xharbour abrí la base de datos hice un pack, y luego la indexe y funcionó en Harbour Luis
dbf file extension
Is it possible to rename the dbf files to something else. Only to obscure the database format you use. example: customer.dbf customer.abc Regards, Otto
dbf file extension
Otto, Yes, you can open them using the extension that you want or use RddInfo( RDDI_TABLEEXT, ".abc" ) so it will be used by default. #define RDDI_TABLEEXT 5 /* Default data file's file extension */ #define RDDI_MEMOEXT 6 /* Default memo file's file extension */ #define RDDI_ORDBAGEX...
dbf file extension
The above method may be better. But you can also simply open the file with extention example: USE CUSTOMER.ABC But you should use the extention every where you open the table.
dbf file extension
Thank you. Maybe this way you can keep off EXCEL user opening important files. Regards, Otto
dbf file extension
Hi Otto: There was an old trick in Clipper to hide dbfs to programs, it consisted in changing the first byte of dbf file (dbf file's first byte is always Chr(3)), something like this:[code:3mtka3gd] If &#40; nHandle &#58;= FOpen&#40; "MGFCES&#46;DBF", 2 &#41; &#41; >= 0 FSeek&#40; nHandle, 0, 0 &#41; FWrite...
dbf file extension
Always beware of Excel user, particularity if he is knowledgeable. Excel is so powerful that he can see and tinker with any RDMS ( oracle, mssql ) if he knows the passwords. ADS is, in a way, better. We can hide the folder to all except ADS. Still he can break through if ADS OLEDB is installed. One of the aspects of d...
dbf file extension
[quote="mmercado":1c947tfs]Hi Otto: There was an old trick in Clipper to hide dbfs to programs, it consisted in changing the first byte of dbf file (dbf file's first byte is always Chr(3)), something like this:[code:1c947tfs] If &#40; nHandle &#58;= FOpen&#40; "MGFCES&#46;DBF", 2 &#41; &#41; >= 0 FSeek&#40; nHa...
dbf file extension
Some denominated function exists [b:163l1crl]ISBDF()[/b:163l1crl] ?
dbf file extension
Another idea is to make them hidden files. What the snooping Excel user doesn't see he possibly won't fiddle with. Just a thought. xProgrammer
dbf file extension
[quote="xProgrammer":2517rnnu]Another idea is to make them hidden files. What the snooping Excel user doesn't see he possibly won't fiddle with. Just a thought. xProgrammer[/quote:2517rnnu] Yes. Good. Need to do anything and everything to protect the data. Level of implementation depends on the assessment of the ris...
dbf file extension
To all, Thank you for your help and suggestions. Question: Is there a function to hide files? Regards, Otto
dbf file extension
Try [b:3svyx4fe]SetFAttr()[/b:3svyx4fe] info below (I use Linux so can't test for you). [b:3svyx4fe]SetFAttr()[/b:3svyx4fe] Sets file attributes. [b:3svyx4fe]Syntax[/b:3svyx4fe] SetFAttr( [i:3svyx4fe]<cFileName>[/i:3svyx4fe], [[i:3svyx4fe]<nAttributes>[/i:3svyx4fe]] ) --> nErrorCode [b:3svyx4fe]Arguments[/b:...
dbf file extension
xProgrammer, thank you for your help. Do you use xHarbour? Regards, Otto
dbf file extension
Otto #define FILE_ATTRIBUTE_NORMAL 128 // 0x00000080 #define FILE_ATTRIBUTE_READONLY 1 // 0x00000001 #define FILE_ATTRIBUTE_HIDDEN 2 // 0x00000002 #define FILE_ATTRIBUTE_SYSTEM 4 // 0x00000004 #define FILE_ATTRIBUTE_DIRECTORY 16 // 0x00000010 #define FILE_ATTRIBUTE_ARCHIVE ...