The best control

The best control

Postby Ehab Samir Aziz » Mon Jun 12, 2006 11:57 pm

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 .
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby Antonio Linares » Tue Jun 13, 2006 7:44 am

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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Ehab Samir Aziz » Fri Jun 16, 2006 4:26 pm

How can I make the .rmk file under harbour becuase the rmk file is written for clipper
Code: Select all  Expand view
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
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 46 guests