Search found 37 matches: dbf01

Return to advanced search

Re: TDatabase Class

James I have been able to use the sample dbf01.prg ... I have created my table traditionally and my index traditionally .. this so far works DO WHILE .T.   CUSTDBF := "TEMP"+(SUBSTR(TIME(),7,2)+SUBSTR(TIME(),4,2))//+".DBF"  ...
by Rick Lipkin
Wed May 19, 2021 3:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase Class
Replies: 18
Views: 2872

bkeydown WITH GET using oDatabase

Dear Sir, How to use trap F2 KEY using get with oDatabase // from sample dbf01.prg REDEFINE GET oDbf:First ID ID_NAME OF oDlg UPDATE oDbf:First:bKeyDown:= { |nKey| If( nKey == VK_F2, msginfo("F2 Pressed"), nil ) } give following error Error description: ...
by dagiayunus
Tue Feb 02, 2016 3:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bkeydown WITH GET using oDatabase
Replies: 2
Views: 443

Re: FiveLinux on Raspberry PI - Dead or alive ?

Thanks Antonio. DBF01.PRG is working :) Only a few samples are no linking: FiveDBU.prg, FiveForm and VMH reporting 'Undefined Reference to Symbol PCRE_FREE" Dozip.prg 'Undefined Reference to Symbol InflateInit2_" Install.prg ...
by George
Tue Feb 02, 2016 5:22 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: FiveLinux on Raspberry PI - Dead or alive ?
Replies: 21
Views: 12820

Re: FiveLinux on Raspberry PI - Dead or alive ?

Hi Antonio, Thanks for allow us to develop, using fivelinux, in Raspberry Pi ARM architecture. Almost every PRG example is working fine. But the dbf01.prg can't compile and generate the following message: compiling... Harbour 3.2.0dev (r1601282333) Copyright (c) 1999-2016, http://harbour-project.org/ ...
by George
Sat Jan 30, 2016 11:31 pm
 
Forum: FiveLinux / FiveDroid (Android)
Topic: FiveLinux on Raspberry PI - Dead or alive ?
Replies: 21
Views: 12820

Re: Consulta Web

... con Dbfs, si accedo con la aplicación que las abre, desde 2 PC, al conectarse la segunda, cre copias de cada archivo dbf con el nombre: "dbf01 copia en conflicto de fulano". Nunca me hago problemas porque es una de mis aplicaciones que solo yo uso, en distintas PCs. Pensando que ...
by MarioG
Wed Mar 05, 2014 12:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta Web
Replies: 16
Views: 2845

Re: Ayuda con una duda en xbrowse porfis !!

... y MiDBF->DescripcionoDBF:DBRUNLOCK() //Desbloqueas el registro para que ya lo puedan usar otros  Puedes ver mas informacion en SAMPLES\DBF01.prg Espero te sirva. Salu2
by RodolfoRBG
Thu May 16, 2013 5:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con una duda en xbrowse porfis !!
Replies: 16
Views: 3357

Re: Clase TDb o TDatabase....cual usar?

Mi consejo es que uses la Clase TDataBase de FiveWin :-) Revisa FWH/samples/dbf01.prg

está más avanzada y muy probada. Me referia antes a que el concepto de bookmarks es algo que se le podria añadir facilmente
by Antonio Linares
Thu Feb 28, 2013 9:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase TDb o TDatabase....cual usar?
Replies: 10
Views: 2974

Re: GET & SPACE()

Antonio Linares wrote:Usa un objecto DATABASE y él se encarga de todo eso :-)

samples/dbf01.prg


¿Dónde puedo descargarlo? Gracias.
by nixbeau
Wed Feb 13, 2013 3:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GET & SPACE()
Replies: 12
Views: 2052

Re: GET & SPACE()

Usa un objecto DATABASE y él se encarga de todo eso :-)

samples/dbf01.prg
by Antonio Linares
Wed Feb 13, 2013 3:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GET & SPACE()
Replies: 12
Views: 2052

Re: New User of FiveLinux

Colin,

We have just commited several changes to FiveLinux, in order to update it, please do this:

svn update fivelinux
make

samples/dbf01.prg is included now and it is already working fine :-)
by Antonio Linares
Wed Feb 13, 2013 3:07 pm
 
Forum: FiveLinux / FiveDroid (Android)
Topic: New User of FiveLinux
Replies: 7
Views: 4301

Re: First time tDataBase user

Antonio, Thank for for the new version of Fivehm.lib. I linked it into dbf01.exe and my own application. Both applications simply end abruptly without any error message. I modified dbf01.prg: msginfo("ready to try") <-- this line works. USE Customer ...
by DonDrew
Tue Feb 12, 2013 8:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: First time tDataBase user
Replies: 15
Views: 2548

Re: First time tDataBase user

My compiler is Microsoft so I made the changes suggested by Antonio to FiveHM.lib. I then compiled a copy of dbf01.prg. Running the program with the modified FiveHM.lib the program crashed with the error: Error description: Error BASE/44 Assigned value is wrong class: TDATABASE:BBOF ...
by DonDrew
Tue Feb 12, 2013 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: First time tDataBase user
Replies: 15
Views: 2548

Re: First time tDataBase user

Don,

No, I haven't compiled dbf01.


Please try this. If it works OK, then the problem is in your code. If not, then the problem is elsewhere (compiler, linker, ch files, your code, fwh).

James
by James Bott
Mon Feb 11, 2013 11:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: First time tDataBase user
Replies: 15
Views: 2548

Re: First time tDataBase user

No, I haven't compiled dbf01.

oDBF := tDataBase():New() produces the same error,

Error BASE/44 Assigned value is wrong class: TDATABASE:CALIAS
Args:
[ 1] = C CUSTOMER

The only header I'm using is FiveWin.ch. Am I missing something? Should I be linking with a special LIB?
by DonDrew
Mon Feb 11, 2013 6:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: First time tDataBase user
Replies: 15
Views: 2548

Re: First time tDataBase user

Can you compile and run dbf01.prg?

Did you possibly have the customer.dbf file already open in another program?

Also, instead of this line:

DATABASE oDBF

Try this:

oDbf := TDataBase():New()

Regards,
James
by James Bott
Mon Feb 11, 2013 4:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: First time tDataBase user
Replies: 15
Views: 2548
Next

Return to advanced search