Multiple Realationships Forms

Aug 3, 2005

hi
i have a database set up with a table for monitoring registarations for seminars each attendee can attendee up to three seminars and as such i have three fields in this table (amoung other) SeminarId1, SeminarID2, SeminarID3. Each one of these has a one to many realationship with the primary key of the seminar table SeminarId. On the form i wish to have the name of the seminars apear next to each of these when the id is entered. This always works for me when the object is in one realationship yet i can only work out how to get one seminar textbox that shows the data of SeminarId1 (using the wizard) yet cannot work out how to do this for this situation.
Thanks in advance
Rowan

p.s is it also possible to restrict the amount of times a certain piece of data can be entered in a field (each seminar can only take 30 people) so it would be nice if after the field contains 30 entries for seminar 1 he input mask changed to no longer accept this value,
i am confident with vb and am sure this would need to be done in code just wondering if there is an easier way.

View Replies


ADVERTISEMENT

Forms :: Inventory - Allow Users To Update Multiple Fields For Multiple Assets

Sep 25, 2014

I want to create a form that allows users to update multiple fields for multiple assets. Below is what I came up with:

Ideally, I'd like the subform to be filled in by having the user select multiple Assets from the S/N combobox field which would then auto-populate the "Type" field. Then they would fill out the appropriate fields they want edited in the top part of the form. They hit save and magic happens. This would also be nice because only assets they want edited would be displayed (easier on the eyes) and no distinguishing would be necessary. To do it this way, I know I would need to use a temp table but I wanna avoid using temp tables.

I know I can do this by adding a Yes/No field in the "Asset" table, setting the "Asset" table as the subform's recordsource, and then putting a checkbox in the subform and allowing them to check the assets that they want to edit (which would also allow me to sort it instantly so that checked Assets are at the top of the datasheet for easy viewing), but I would like to know if there's a way of accomplishing this without the use of checkboxes.

I know I could also use a listbox and that allows them to multi-select items, but I'm not sure if that allows me to group all selected items at the top of the listbox for easy viewing of selected items. Plus it would involve a lot of scrolling (there are over 2k assets).

View 2 Replies View Related

Forms :: Query Criteria Used For Same Subform In Multiple Parent Forms

Apr 11, 2014

I have a sub form that shows me a companies history. This subform is used on 2 different Parent forms. The record source for the sub form uses a criteria that looks at a companyID field on the parent to determine which records to return. My question is how do I have the query criteria depend on which form is currently opened? The criteria would look something like this:

[Forms]![frmCompanyHistory]![txtCompanyID] OR [Forms]![frmCompany_Project_Details]![txtCompanyID]

If I open the form with this criteria, I will be asked for a value in txtcompanyID for whatever parent form is not open. How do I properly do this without making multiple queries that are almost identical?

View 5 Replies View Related

Forms :: Add Multiple Text Boxes Of Different Sub Forms In Another Sub Form

May 12, 2014

I have multiple sub forms and want to add specific text boxes of different sub forms into one another sub form. Then all sub forms are incorporated in one main unbound form.

View 6 Replies View Related

Forms :: Linking Data Between Multiple Tables / Forms

May 27, 2013

I am a girl guide leader trying to make a faster way to keep track of my unit's completed badge and program work. I have made tables for every area I need (I started with one table but it was too large to change into a form).

In total I have:

- Basic Member table (main information like their name and how many years they have been in, whether they are still in the unit, etc)
- Program area tables
- Interest badge tables

What I want to do is be able to "add/edit" members from the main form, then go to all the sub forms for their program and badge work -- problem is, how to link them!

I am using Access 2007-2010.

View 2 Replies View Related

Forms :: Print Multiple Forms Or Reports From One Command?

Sep 23, 2014

I have forms that are printed based on a query parameter of [enter item number]. There are several of these forms that I would like to print at one time (with one command) making it easier for the user to gather their information at the beginning of the day. I also don't want to lose the ability to print them out individually as we do now.

View 14 Replies View Related

Forms :: How To Create Navigation Forms With Multiple Levels

Sep 20, 2014

I want create combination of navigation forms, navigation forms with two horizontal level and vertical level that link to navigation buttons in second level of horizontal navigation.

View 1 Replies View Related

Forms :: Open Multiple Forms When Database Opens?

Apr 26, 2013

Is it possible to open multiple forms when the database opens? Currently only one form opens. I am using Access 2010.

View 5 Replies View Related

Multiple Forms In Main Forms

Jan 17, 2006

I have a Main Form with 10 Buttons on the Left side (Right side of the Form is Blank. On Click the Main Forms Closes and respective Forms opens based on the button I Clicked.

Now over here I wish to Keep the MainForm OPEN and subsequently open the other Form on the Right Side in Blank area.

Request for the SmartTips to startover -Thanks

View 1 Replies View Related

Forms :: Use Same Code For Multiple Forms

Sep 11, 2013

I've been trying to figure a way to minimize my code in a module. I currently have three function built excalty the same way to work with three different forms. Each textbox in all the forms are named the same now what I'm trying to do is have the function identify which form called the function and where should the data be.

Code:
Dim frmCurrentForm As Form
Set frmCurrentForm = Screen.ActiveFormMsgBox "Current form is " & frmCurrentForm.Name

Once that is found. have something like this.

Code:
Select Case frmCurrentForm.Name
Case 1
WorkForm = Form1

Case 2
WorkForm = Form2

End
Code:
WorkForm.NameField = "John Smith"

No matter if all three forms are open the data should only go to the one that declared the function.

View 2 Replies View Related

Multiple Users And Forms

Mar 17, 2008

Hi, very new to access and chucked in at the deep end.
we require a database which will be used by multiple users to place orders.
the users are at different locations although they all log on via terminal services so connection issues are minimal.
i understand that we require a fe/be database because of the users.
the users will only work with forms and reports. they should not be allowed to see the other users orders and the form needs to automatically put the users id into the order.
the only way i can see to achieve this is to make a custom form up for each location. would i be right in assuming this?
if so, how would i prevent one location from opening up another locations form? infact, i wouldn't want one location to know that there are other forms for other locations.
any help would be appreciated. thanks

View 8 Replies View Related

One Set Of Criteria, Multiple Forms

Feb 27, 2008

I'm sure this one has been asked time and time again!

I currently have a set of staff questionairres each on a different table.
Currently when I want to export all the scores for one employee to excel (eventually) I have a macro which runs 7 queries, but each asks for the same criteria (Date To & From) and (Staff Name) in turn - very time consuming!

How do I create a query or macro which will ask once for a date range and an employee name and apply to all of my queries?

I am a novice on access and am trying to do this without SQL

Thanks for your help

View 1 Replies View Related

Printing From Multiple Forms

Mar 3, 2005

I am trying to print one record displayed in a form. I also need to print one record in another form at different times. I have one form working fine. It prints out the displayed record in my report just fine by clicking the Print_report button.

I copied the report and renamed it. in this form the print button is named Print_Requested. When I open this form and click the Print_Requested button, it prints out everything except for the data.

Edit:
The reason I made a duplicate report is because it was doing the same thing when I tried to print the same report from different forms. One report is all I need, but I need to be able to print it from different forms.

Here is my code:
-----------------------------

Private Sub Print_report_Click()
On Error GoTo Err_Print_report_Click


Dim stDocName As String

stDocName = "work_order_report"

DoCmd.OpenReport "work_order_report", , , "WOnumber = " & Me.WOnumber


Exit_Print_report_Click:
Exit Sub

Err_Print_report_Click:
MsgBox Err.Description
Resume Exit_Print_report_Click

End Sub


-----------------------------



Private Sub Print_Requested_Click()
On Error GoTo Err_Print_Requested_Click

Dim stDocName As String

stDocName = "work_order_report_requested"
DoCmd.OpenReport "work_order_report_requested", , , "WOnumber = " & Me.WOnumber

Exit_Print_Requested_Click:
Exit Sub

Err_Print_Requested_Click:
MsgBox Err.Description
Resume Exit_Print_Requested_Click

End Sub
----------------------------------

Any idea what I am doing wrong??

View 1 Replies View Related

Synchronise Multiple Forms

Jul 29, 2005

Hi,

Scenario - I have one main form containing all the customer details. From this I can open several other forms, containing various other information about the services that they have applied for, and the stage of their application.

Some of these forms also have forms that can be opened from within them, so there can be at times three tiers of forms.

When I add a new customer on the main form, I then open the second form, add more info, then choose from another selection of forms. So at this stage there are 3 forms open. The final form contains a command button to run a report.

However to get the report to work, I have to shut down the last two forms and re-open them, even if I refresh the data on all of the forms.

Is there any way I can create a command button on the final form that will synchronise the data on all of the forms that are open and make the report work first time? Is there a way of doing this using Macros?

Hopefully this all makes sense, thanks.

View 1 Replies View Related

Print Within Multiple Forms

Aug 16, 2005

I have 2 subforms embedded into one main form. Everything looks great on screen, and even when I hit the print preview button. But when I print the form out the 2 embedded forms will not print.

Any clues?

View 12 Replies View Related

Help With Linking Multiple Forms

Nov 30, 2005

Hello,

I am using multiple forms to enter some data. When I enter the data in the second form and go back to the main (first) entry form it always goes back to the first record. Also when I am at a record at the first form and go to the second form it always starts at the first record. Is there a way to make the two forms match the record I am entering. I am entering data into the same table. I needed to use two forms because I could not fit all the information on one form. Thanks

View 2 Replies View Related

Open Multiple Forms?

Jan 5, 2007

Hello- I’ve searched the forums and was not able to find the answer, so I was hoping someone would be able to help with this.

I would like to open multiple forms (cascade) in the same .mdb file when the first form is opened. There are a total of 4 forms. This is probably a very simple thing to do. I'm not much of an Access person to simple things like these throw me for a loop. Cheers to anyone who can help. -Tom

View 4 Replies View Related

Update Multiple Forms/tables

Apr 7, 2006

I would like to create a text box where I can input todays date, then I want to be able to select the tables I want to update with that information.
So if I input todays date I can then update my Stock, Sales and Control tables with todays date. Tomorrow I would only like to update the Control and Tape tables with it as its the weekend.
I been playing around with 'new date for next record' scenario but the problem is that on the weekend we would not input any data into some of the tables.
Hope I've explained myself clear enough.

Thanks

Tim

View 3 Replies View Related

Binding Forms To Multiple Tables

Sep 28, 2006

Hi,

I wonder if it's possible to bind one form to more than one table without using 'sub-form'?
I basically have one text box that I want to bind to a different table than the one the form is linked to and I don't know if I should use a subform.

Regards,
B

View 14 Replies View Related

Query Based On Multiple Forms

Jul 22, 2005

Hi there,

I have a query to update data to a table which takes the account ID from the form and updates. This works fine as is.

The problem is that the update can be made on several different forms and was wondering whether there was a way to conditionally select the ID in the query based on what form is open. I have tried some combinations of IIF statements but every time I get a parameter prompt for the Forms that are not open.

Is there any way around this or do I just need a separate query for each form. Any advice would be appreciated.

JC

View 7 Replies View Related

Forms Sourcing From Multiple Tables

May 3, 2005

Hi!,

I am interested in making a form based on 2 tables. I would like to put in ID and wish that the name and contact information is automatically filled using the ID match from a second table. Then I proceed with the data entry which is saved in the first table. How do I do the autofill based on the ID check. Do I need some code for that?

Thanks.

View 2 Replies View Related

Multiple Forms/single Table?

Dec 4, 2006

Hello friends,I have a pretty noobish question. I was wondering if it was possible to have several (3 in my case) different forms that apply data to a single table? The main table has three different types of data: 1. Client info 2. Services A 3.Services B. Each type of data has about 7/50/12 different fields of data in each set so that trying to include all this data on a single form is not very user friendly due to clutter.I have three forms that input data into the table, however the record navigation command buttons that I have on the forms do not apply the data to the correct record. For instance, when I input the Client info for client #2, and click the "open services A form" command button, the form opens on client #1 Services A instead of to a new record. Is this something I have done wrong, or is it due more to MS Access limitations? Thanks

View 3 Replies View Related

Multiple Forms Inputting To One Table

Aug 24, 2004

I'm making a large database. There are over 100 questions per "chapter" of the data I need to enter. The forms aren't large enough to accept everything at once so I broke up the chapters into a few smaller forms. The problem I'm having now is it saying "you can't go to the specified record" whenever I enter the same company name in two of the forms for the same chapter. The company name is the primary key. How can I make it so the techs can go from page to page without breaking up my tables?
Thanks in advance.
Sean Sturts (USMC)

View 3 Replies View Related

Forms :: Clearing Multiple Checkboxes?

Dec 12, 2013

I have a form register with student names and three columns with checkboxes showing whether they were present, absent or late. The form runs an append query that records the data into a historical table, however on submission the checkboxes remain ticked. way to clear the checkboxes once the data has been submitted?

View 13 Replies View Related

Forms :: Multiple Between / And Criteria But Only One To Be Chosen

Oct 20, 2014

I have a form where users can enter the beginning and ending dates into text boxes. They could also do it for the number of the week (1 to 52) or a single text box for the quarter.

I set up VBA code where, if you click on a button, it will clear out the data from the other two options before a query is run based on the parameters in those text boxes. Here's a sample piece of code.

Code:
Private Sub btn_UseDates_Click()
Dim lngGreen As Long, lngWhite As Long

lngGreen = RGB(0, 255, 0)
lngWhite = RGB(255, 255, 255)
Me!txtDateFrom.BackColor = lngGreen
Me!txtDateTo.BackColor = lngGreen
Me!txtWeekFrom.BackColor = lngWhite
Me!txtWeekTo.BackColor = lngWhite
Me!txtQuarter.BackColor = lngWhite
Me!txtWeekFrom = ""
Me!txtWeekTo = ""
Me!txtQuarter = ""
End Sub

I've tried setting those txt boxes to Null and I've tried both "" and " ", but to no avail. The query will work if the three types of ranges (date, week, or quarter) are on OR lines, but not on the same line.

View 5 Replies View Related

Forms :: Multiple Records In One Form?

Nov 11, 2014

I want to create a form in MS access for General Journal input for an accounting software. Problem is that my client required a form in which he can input as many Debits and/or credits as he likes, for one transaction on one form. For example it may be 2 debits and 4 Credits in one transaction. Its a simple one table entry with fields; TrNo (Transaction Number), Date, Type (Debit or Credit), Amount, and Narration (for details of transaction). Out of these field TrNo, Date & Narration will be same for all debits & credits in one transaction.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved