473,473 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Form Problem

3 New Member
So I have 2 tables in my project, one is the patient table (Patient ID is the primary key) with their demographics info and the other is claim table (Claim ID) with the claims linking to each patient.

I have a 1 to many relationship with Patient and Claims table and when I create a form having info from these 2 tables seem to cause problem.

So my patient ID field is automatically a dropdown list where all the numbers are lined up but when I try to click on one of them I saw that the subform info linked to ID that i picked will change but the Name and address fields from my patient table will not change.

Can someone help me with it?
May 18 '10 #1
4 1023
Jerry Maiapu
259 Contributor
If the info in the sub form changes then i don't understand why the info in the parent form is not changed when an ID is selected.

Ok first check to see if the Name and address fields are bound to the right table if not select the correct field source from the table.

Else try this:
Create a combo box follow the wizard (make sure "CONTROL WIZRAD" button is enabled) and placed on the parent form.

On the pop up window select the third option " IFind the record on my form based on the value I selected in my combo box"

Click next and select the ID.
The rest should be easy follow the steps.
Once done Save and try select the Id from the new combo you created and see if it works..



JM
May 18 '10 #2
imrainbow
3 New Member
Thanks! Works like a charm.
May 19 '10 #3
imrainbow
3 New Member
@Jerry Maiapu
There's another problem now, it looks like the combo box that I created is all by its own other than it can help me pull up info. When i add in an 'Add new patient' the patient ID field is not editable, so there will always be a # in the patient ID box.
It's the same for adding buttons like go to next record/previous record, everything changes but the patient ID won't change. What's the problem now?
May 19 '10 #4
TheSmileyCoder
2,322 Recognized Expert Moderator Top Contributor
The combobox you created is a "goto" box, its not bound to the other data. Thats why its not updating with the other information. You can still have a regular textbox in your form, showing the patient ID.
May 19 '10 #5

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

Similar topics

9
by: Paradigm | last post by:
I am using an Access2K front end to a MYSQL database. If I enter a new record in a continuous form the record appears as #deleted as soon as I move to a different record in the form until I requery...
2
by: Chris | last post by:
Hi, I'm new to ASP.Net and Crystal but I've been playing with some samples and have run into a problem. If I put all my code into the Page_Init sub of a single form and run that form, the...
0
by: 42 | last post by:
I implemented a simple class inherited from Page to create a page template. It simply wraps some trivial html around the inherited page, and puts the inherited page into a form. The problem I...
1
by: crawlerxp | last post by:
Does anyone know what is the problem here: I have installed IIS and asp.net 1.1 on windows XP SP1. asp.net 1.1 is a production not development version I downloaded from ms site. Welll this is...
0
by: Sakharam Phapale | last post by:
Hi All, I am developing an application which works similar to MS WORD. I have a main form which acts as MDI container and I am using a third party menu control so that it looks like XP style...
2
by: zoneal | last post by:
Ok I got 3 problems and I aint very good at this, but here goes. First problem: I got an application with an listbox and a richtextbox and three buttons, when I press the diffrent button the...
4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
4
by: asad.naeem | last post by:
hi to all this is the problem about inheritence. I have designed a form with some essential controls which are required for every form which will inherited from it. for example i have Button1 on...
4
by: erick-flores | last post by:
Hello I am using an If statement to test if a field = IsNull then close that form and open another one. Here is the code: Private Sub Form_Load() If IsNull(Me.loc_fk) Then MsgBox "This...
17
by: radio1 | last post by:
Configuration: Access 2002 and SQL Server 2000 using a .ADP Project. I would VERY MUCH appreciate anyone's input into this problem I'm having. I have a form in Access that does not permit...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
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.