473,396 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Subform Visible

21
Good Morning

I was hoping someone could possible assist

First I hope this makes sense

I have 3 Tables

TblEmployee (Employee ID and all extra details)
TblInductionlist (Which lists all the items to be inducted on With IndId)
TblInduction (Where EmpID and IndID gets Accosiated with some extra fields for additional info.

My Main From wich is based on TblEmployee has a subform on it for Induction details

The Idea

If the user views the induction form they will see all the items in the tblinductionlist, and just tick next to the relevant one and put in the date next to it,

so all the ones that are not not completed would not have a tick next to it.

So i based my sub form on a query,

TblInduction And TblInductionlist

Linked the two INDID's (left empid there) and on the join properties set (2nd Option)
Show all records from TblInductionList, and just the records from TblInduction

Add my form to my main EmployeeInfo Form

Linked the ID Master field and ID Child Field

Now if i do that, it does not show any records from my form.. IF i do remove Master it will, but if i update any records on the form,No ID Gets associated.

Is is possible to view all the records in my subform from my Induction List and just update the relevant info (via my Yes/No and Date and Comments)but all will still stay visible.
Aug 12 '08 #1
5 2024
hjozinovic
167 100+
Hi Natural,

It looks you have not joined the tables in relationships window.

I created a database based on your description and it works great.

Also I don't know how are you entering IndID in the Induction table.
I have done this using subform based on the query you described.
In that subform I changed the field named IndID (from tblInduction) to combo box control.
This combo box has row source property set to tblInductionList.

Now you can open the list from the combobox and choose single item from InductionList table.
Suggestion: You can base this combo box on a query that shows only unfinished items.
Aug 12 '08 #2
natural
21
Hi

Thank you very much for the reponse, and help

I did use the combo function earlier, but will then only be presented with the current records that has been been updated and then addiding as needed.

I would like to make it as easy for the user, and therefor would like to list all the records currently in the TblInductionList

The user will then tick Yes this is done and the date.
She will then have the form infront of her and all the ones that are ticket and not ticked will be visible on the same form.

I will attached a small copy of what i have,

I do not know if this might be possible. Because i would like to link the empID with the EmpId on my mainform. But also would like it to list all the others items that should still be completed.


Unless i create Two seperate forms and

One Section on what has been completed
And another on what has not been completed.

However if i decide to make use of the section options, how would i associate what has not been completed..

MMM my apologies, but i am struggeling to see if i am doing this correctly.

Thank you very much for any assistance.

Oops can an item be attached ?
Attached Files
File Type: zip db2.zip (64.0 KB, 76 views)
Aug 12 '08 #3
hjozinovic
167 100+
Natural, thank you for the attachment. This problem is much clearer now.
As you can see in a db attached I made some changes in order to get the result.
I also made some design changes, and much more which is hard to keep track of.
I redefined the link between your tables and made PK in table Induction.
Table Induction - Primary key (first delete duplicate values in fields ID and INDID)

New subform is there: Subform sfFinalInd - In the before update event put code that vould write employee ID and Induction ID in to the Induction table.

Table EmpInfo - this table should be splitted into few other tables. There is no need that all these information are stored in a single table.
You can learn more if you read about Entities and Atributes.

e.g. Bank name, address and other info related to banks should go into table called Banks (this way you enter bank info only once and it's the same for all employees that have their account in that bank)
This goes for Contract details, Offers, Interviews etc. - all this should be kept in a separate table!!!

Sorry, but if I were you I would redesign the database before it became too complicated to make changes later.

Regards, H.
Attached Files
File Type: zip db2 - ver02.zip (381.6 KB, 96 views)
Aug 12 '08 #4
natural
21
wow Thank you very much

You have you have been extremely helpfull.

And thank you for the changes and advise.

I will definetly be looking at making some more changes

I really do appreciate it.

Once again Thank you

Kindest Regards
Aug 12 '08 #5
hjozinovic
167 100+
Welcome to bytes Natural :-)
Aug 12 '08 #6

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

Similar topics

2
by: deko | last post by:
I have two subforms within a particular form. The one on top is a datasheet of transactions; the one on the bottom is a summary of totals. I would like to have the datasheet fill the entire...
7
by: Caroline Bradford | last post by:
Hi there, I wonder if there is a kind and knowledgeable person out there who can help me with a sticky problem. I have a form with a subform which shows detailed data. For complicated reasons,...
1
by: Matthew Wells | last post by:
I have a a parent form with a subform. The parent form has two command buttons to change the subform view to single form view and datasheet view respectively. I can't seem to get this to work. ...
5
by: Lyn | last post by:
Hi, I have a form which contains a number of subforms in different pages of a tab control. In the detail section of each subform, I list records related to the main form record, but from...
1
by: sasan3 | last post by:
I have a main form "topform" contaning "subform1" and "subform2" The goal is: I need to requery subform2 on CURRENT event of subform1, and I need to load subform2 contents based on settings on...
6
by: ryan | last post by:
I created in design view a subform within a subform. However the subform within the subform in only visible in design view. In form view the subform within the subform is not visible. I have...
1
by: dBNovice | last post by:
Please help! I have 3 forms: Task, Subtask, Elements. Elements is a subform of Subtask and Subtask is a subform of Task. I am able to navigate from Task to Subform to Element and from Element to...
6
by: DMUM via AccessMonster.com | last post by:
Hello I am trying to pass the name of my subform to a function/sub but I can't seem to get it to work. I am using an autokey function (ctrl E) to unlock text boxes on a subform. I have a few...
3
by: ckrows | last post by:
I have a main form with a button that makes a subform visible. I added a button in the form footer of the subform that is supposed to hide the subform. This does not work because the focus is on...
1
by: woodey2002 | last post by:
Hi Everyone and many thanks for your time.. I am trying to begin access and a bit of VBA i am enjoying it but I have a annoying problem I just can’t get any where on. My databse mostly includes...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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
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
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...

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.