Search found 28 matches: datafile

Return to advanced search

Re: tDataBase

Hi Antonio

I changed to this

oDb:CreateIndex(alltrim(oIndex:datafile),alltrim(oIndex:tagname),alltrim(oIndex:key),{||if(!empty(oIndex:cond),alltrim(oIndex:cond),oIndex:cond)})

the indexes are created but when I use an index which has a condition it does not work.

Regards

Colin
by Colin Haig
Tue Oct 13, 2009 12:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tDataBase
Replies: 2
Views: 569

Re: Trasnferir a DBF o TXT

by Pedro
Fri Jan 23, 2009 7:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Trasnferir a DBF o TXT
Replies: 5
Views: 1532

... used by the data layer. They are. >Clearly the Read(), Write() and Blank() methods of my classes can be automatically generated from the datafile so hand coding isn't really required... I see you plan to use a code generator. And a WPDocument class - which as I will be using OpenOffice ...
by James Bott
Tue Apr 15, 2008 1:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12945

... of the fieldnames used by the data layer. Clearly the Read(), Write() and Blank() methods of my classes can be automatically generated from the datafile so hand coding isn't really required. Thereafter you can change fieldnames in just Read() and Write() without any upstream effects. This is ...
by xProgrammer
Tue Apr 15, 2008 1:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12945

Doug, >No. But PATIENTLIST has the object of type DATAFILE that opened the PT_PATIENT datafile as a property so whilst it isn't a subclass it has many of the benefits. This was a deliberate choice partly to ease data back end migration. >xDATAFILE ...
by James Bott
Thu Apr 10, 2008 7:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12945

... seen the plural name misused too often. > I fear you a making it more difficult than it could be. Is the PATIENT_LIST_Class a subclass of your DATAFILE_Class? No. But PATIENTLIST has the object of type DATAFILE that opened the PT_PATIENT datafile as a property so whilst it isn't a subclass ...
by xProgrammer
Thu Apr 10, 2008 4:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12945

Doug, >I read your articles before starting and gained a lot from them - part technical but perhaps more so confidence to just "do it". xBase was fine - I had spent quite a time with dBase then Clipper, albeit a long time ago. And I had done some OO work more recently. But OO and xBase was new an...
by James Bott
Thu Apr 10, 2008 2:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12945

Hi James Thanks for the advice. I look forward to future discussions. My code consists of a small module that instantiates the required objects, calls for user logon (via a USER_Class) launches a main window with a menu has a couple of utility functions but all the rest is done via objects that inte...
by xProgrammer
Wed Apr 09, 2008 9:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12945

How to check CRC of datafile?

Dear Dale,

What does it mean "CRC of Datafile"? and
How do I check it (Which function)?

Thanks,
Dutch :?:
by dutch
Thu Feb 23, 2006 12:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Network Programming - Refreshing Listbox Browse
Replies: 15
Views: 6266

dpaterso wrote:I have defined a timer with an interval of 100 that checks the CRC of the datafile and only if the CRC has changed will it refresh the listbox browse.


100 means 0.1 seconds. I would use 1000 (1 second) to reduce the CPU usage.

EMG
by Enrico Maria Giordano
Thu Feb 23, 2006 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Network Programming - Refreshing Listbox Browse
Replies: 15
Views: 6266

OK - I think I am getting very clever. I have defined a timer with an interval of 100 that checks the CRC of the datafile and only if the CRC has changed will it refresh the listbox browse. This works as any changes made on workstation 1 immediately update on the display of workstation ...
by dpaterso
Thu Feb 23, 2006 8:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Network Programming - Refreshing Listbox Browse
Replies: 15
Views: 6266

MC3000 - Casi terminada

... "Aceptar" SIZE 80, 30 ACTION oWnd:END() @ 12,35 BUTTON "Cerrar App" SIZE 80, 30 ACTION oWnd:END() oWnd:Activate() */ if file( files_dir+"pos\datafile\users.dbf") copy file (files_dir+"pos\datafile\users.dbf") to ( "users.dbf" ) endif if file( "users.dbf" ) lUsers := .T. use ( "users.dbf" ...
by ramirezosvaldo
Tue Dec 20, 2005 4:23 pm
 
Forum: FiveWin para Pocket PC
Topic: MC3000 - Casi terminada
Replies: 17
Views: 8230

... files has changed as I am getting an "Alias Not Found" error in TWBrose:onPaint where none existed before. The function ShowRolls() access the datafile which caused the alias error. STOCKLOC->(DbGoTop()) DEFINE WINDOW oWnd TITLE "Locations" MENU MyLocMenu() @ 1,2 LISTBOX oLbx FIELDS STOCKLOC->ID,; ...
by GWard
Tue Oct 18, 2005 8:46 am
 
Forum: FiveWin for Pocket PC
Topic: FONT And SetFont()
Replies: 8
Views: 3242
Previous

Return to advanced search