473,467 Members | 1,604 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How can i solve the problem?

23 New Member
Hi
I am making a database for a diagnostic lab.

I am using tables with field like below
TABLE1-DOCTORInfo
Name (value: Dacter x, Dacter y, Dacter z)
Address

TABLE1-DOCTOR x
FIELD-Percentege of TestX
FIELD-Percentege of TestY
FIELD-Percentege of TestZ

TABLE2-DOCTOR Y
FIELD-Percentege of TestX
FIELD-Percentege of TestY
FIELD-Percentege of Testz

TABLE3-DOCTOR Z
FIELD-Percentege of TestX
FIELD-Percentege of TestY
FIELD-Percentege of Testz

TABLE4-Test info
FIELD-TestName (value: TestX, Testy, TestZ)
FIELD-COST Of Test


TABLE5-Memo
FIELD-SrNo.
FIELD-NameOfDacter
FIELD-TestName1
FIELD-Percentege1
FIELD-TestName2
FIELD-Percentege2
FIELD-TestName3
FIELD-Percentege3

Here Every Doctor takes different percentage for Different Test (Example. TestX,TestY,TestZ) from the diagnostic lab.

I want When I select value for “NameOfDacter” and “TestName1” or “TestName2” “TestName3” in Memo Form, Percentege of that test should filled up from the respective DOCTOR table automatically Or by an update query.
How Can I do this? Plz help me…………..
Thanx In Advance.
Nov 19 '13 #1
2 873
zmbd
5,501 Recognized Expert Moderator Expert
moonrb;

Respectfully, your database is very poorly designed at this stage.
Please read:> Database Normalization and Table Structures.

Please work thru:
MS Access 2010 Tutorials
This link also has two links to theory on database design. I highly recommend working thru both of those links.
Nov 19 '13 #2
Patrickwwevans
8 New Member
I think I would concur with the last response if it is true you have separate table for each doctor. Fundamentally, I think what you are trying to do is this: Based on a test, provide a specific percent value to a doctor where for each test, the percent can change.
If the above business problem is stated correctly, then I would think you would need the following. First and obviously a table for the physicians where you have a unique doctor ID and data on the doctor that may be helpful in other business processes. Then you would need a table for the tests with testID, test name, etc. Then a look up table containing DrID, TestID, and Percent Value. Then when you select a test, it could then refer to other queries to provide the total assigned doctors with the numeric percent value for a particular test. This is high level of course and you would need to know more than basic Access to really do a good job. In essence though you need to build the ability to have a relations to a doctor to a test in a table that is many to many
Nov 19 '13 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: wonder | last post by:
Hi, The CRM application said that need to add an option "REGISTER_GLOBALS=On" to the php.ini file, so I did what it told. But I still can't get rid off the following error: The PHP variable...
6
by: Federico | last post by:
Hi, this is what I can do: - Create new solutions using VS.Net ASP.Net - Save the solutions, build the solution, view in browser with the solution still open. But, once I close the solution, I...
0
by: Jitesh | last post by:
I am facing a problem in webservice, I want to know what will be the exact procedure to solve the problem............. What I want to do............ I have a table named order in SQL Server....
5
by: Suresh | last post by:
Hi Guys I have Db2 server installed on remote server. i am connecting to that remote server by using VPN. I want to connect that remote DB2 server instance using my local machine DB2...
1
by: gkellymail | last post by:
I currently have a class with 29 data adapters and I will probably add a few more as time goes on. When I was testing earlier, i had 28 of them pointing to one connection and 1 pointing to a...
17
by: khajeddin | last post by:
the problem is: Create a class HugeInteger which use 40-element array of digits to store integers as larg as 40 digits each.Provide methods input, output, add, subtract how to add to arrays ?
6
by: joseph2000 | last post by:
Hi, I'd like to ask you for some ideas how to solve problem I currently have. The problem is as follows: we have a component which is integrated with w Windows Explorer. From time to time we...
5
by: rsingh | last post by:
HI guies can u help me to solve this problem. Write a program that prints a table of the binary equivalents of the decimal numbers in the range 1 through 256.
1
by: cooklooks | last post by:
http://www.videoriporter.hu/vr/fs?content=/vr/player/1320/date/count
3
by: vagandhi | last post by:
Hello friends, I am having problem while running below program. If anyone can help me.... // create class car #include<conio.h> #include<iostream.h> #include<stdio.h> // class declaration
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.