Page 1 of 1

The best control

Posted: Mon Jun 12, 2006 11:57 pm
by Ehab Samir Aziz
Doctor has a history for every patient . He has to enter one fixed entry for each kind of operation . one visit could have for one patient :
one entry for each operation and operations may be : check-up or surgey or others....

under the check-up operation there are fixed entries he will chose one of them.

May I do a dbf for each operation and display a list box and each field is entered via a dbcombo box for every operation OR there is a better control ?

Could you please provide sample names .

Posted: Tue Jun 13, 2006 7:44 am
by Antonio Linares
Ehab,

Usually you may need to use "one to many" relational DBFs, unless you want to store everything into a memo field.

You may review samples\gallery\onemany.prg

Posted: Fri Jun 16, 2006 4:26 pm
by Ehab Samir Aziz
How can I make the .rmk file under harbour becuase the rmk file is written for clipper

Code: Select all

OneMany.exe : OneMany.obj
   SET LIB=..\..\..\lib;c:\clipper5\lib
   blinker fi OneMany @..\..\..\include\FiveWin
   Brc -K OneMany

OneMany.obj : OneMany.prg
   c:\clipper5\bin\clipper OneMany /n/i..\..\..\include