473,404 Members | 2,213 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,404 software developers and data experts.

Properly creating a form without using a subform

4
I am currently building a database for applicant submissions.
Current tables consist of:

Personal Information
Personal ID (PK)

One to many relationship

Position Applied
ID (PK)
Personal ID (FK)

Within my form I am using the [position applied] for table as a subform. The problem I am running into is that I do not want to use a subform for this function and I would like to link a text box to each position applied for. Currently each text box that I have open is only linked to the first record within [position applied]. Is this possible, and if so how can I link the text box to the specific record in position applied for.
Jul 6 '16 #1
5 1013
jforbes
1,107 Expert 1GB
There are a lot of different ways you can approach this depending on what you are trying to accomplish. With the relationships you have defined, people tend to go with a SubForm as that's pretty much what it's made for. So what is it that you are trying to accomplish?
  • Displaying the last position applied for?
  • A Single textbox with all the positions applied for listed, separated by commas?
  • A list of records of positions applied and the date applied for? (pretty much a shoe-in for a SubForm)
Jul 7 '16 #2
NeoPa
32,556 Expert Mod 16PB
I'm afraid it's hard to understand what you're asking for. I'll guess :
Are you saying you'd like to see the linked records in continuous form mode in the Detail section of the main form?
Jul 7 '16 #3
BigO56
4
Thanks for the response, my problem is due to the position applied being the many in the relationship. To properly display all of the positions that the person applies for has to be in a subform. The user that I am creating this database for does not like the layout of the subform and prefers the look of textboxes. My goal is to display each position applied for in textboxes, as if it was in a one to one relationship.

I hope that I am properly conveying what I am trying to do, if not I can draw it out so that you all can see.
Jul 8 '16 #4
jforbes
1,107 Expert 1GB
If you want to roll up all the positions applied for and put them into a single TextBox, you might want to look at this function by Allen Browne: Concatenate values from related records

You could create a TextBox and set it's ControlSource to something like this:
Expand|Select|Wrap|Line Numbers
  1. =ConcatRelated("[ID]", "[Position Applied]", "[Personal ID] = " & [Personal ID]) 
This would give you a list of IDs separated by commas. There are also additional options that give you some flexibility. If what you want is beyond what the function can do, you could use is as a base point to create your own.
Jul 8 '16 #5
NeoPa
32,556 Expert Mod 16PB
NeoPa:
Are you saying you'd like to see the linked records in continuous form mode in the Detail section of the main form?
I'm really looking for a yes/no answer here. Going back to the beginning and trying to explain again seems to be the standard response in most cases (so you're certainly not unique in missing the obvious here) but it doesn't help unless you can do it in a way that's clear. Alternatively, a simple yes/no should be all that's required. I take responsibility for extracting clarity from the situation.

Obviously, extra clarification never hurts. Adding it to a yes/no response is perfectly fine. Instead of? Not so much.
Jul 9 '16 #6

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

Similar topics

11
by: gb | last post by:
Within a form, the usual way of submitting it is to use e.g. <INPUT TYPE="submit" VALUE="Send "> This produces the standard button. Is there an easy way to portray this as though it were a...
2
by: Ruchi Gupta | last post by:
I want to print a C# form by pressing button on the form. It will print the contents of the form as well with the form layout. Any suggestions Thanks, Ruchi *** Sent via Developersdex...
3
by: JavaConvert | last post by:
I would like to create form that simply hold textboxes that I log info to during the execution of a single-thread application. In Java, I found JFrame ideal for the task, but I can't recreate the...
4
by: NetMasker | last post by:
How can I reference a form (from withing a module for example) and make it visible without using the keyword "Me" ? I tried with the following code but nothing happened: Public myform As Form1...
3
by: Michael R | last post by:
I have a regular continuous form, with a sum control at the form's footer. When I change one the rows that are calculated in sum, I need to preform a requery in order for the sum control to be...
13
by: inpuarg | last post by:
Is it possible to get all controls and all of their children on a Windows form without using recursive methods ?
7
by: mukeshrasm | last post by:
Hi I have four textbox in form and I want to submit the form without using post or get method in php how can I do that.
5
by: Adnan Chowdhury | last post by:
How to close two form without using Application.Exit() the FormObj.Close() doesnt work
4
by: ndeeley | last post by:
Hi there, Simple question: how do I create CF charts without using CFCHART? My company uses CF4 which doesn't have this function, and they have no plans to upgrade! Thanks Neil
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
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
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.