Forms :: Form For Adding When Not On List

Nov 26, 2013

I have a table Department

ID
DEPARTMENT
DEPARTMENT_EXPLINATION

I have a table Employee_Listing..This table includes:

Employee_ID (Primary Key)
LAST_NAME
FIRST_NAME
INITIALS

I have a table DISCREPANCY_LIST..This table includes:

DATE (Auto completes to current date)
EMPLOYEE_ID (Primary Key) (Brought over from Employee_Listing via form when initials are entered on form)
LAST_NAME (Brought over from Employee_Listing via form when initials are entered on form)
FIRST_NAME (Brought over from Employee_Listing via form when initials are entered on form)
INITIALS
DEPARTMENT
NUMBER_OF_UNITS
NUMBER_OF_DESCREPANCIES
NUMBER_OF_OK_UNITS

I have a form - DISCREPANCY_LIST..This form enters information into the DISCREPANCY_LIST table.The initials combo box is set: Limit to List Yes and Allow Value List Edits No If the user enters initials that are not stored in the Employee_Listing table they receive an error. Instead of an error I would like for them to receive a message asking if they would like to add these initials to the Employee_Listing table.If the user clicks Yes, then it will bring up the Employee_Listing form.If the user clicks No, then they are told to enter valid initials.

View Replies


ADVERTISEMENT

Forms :: Adding New Item To List Box

Apr 14, 2013

I have a list box on a form and I would like the user to have the possibility to add another item not from the list into the table using a command button. How can I do that?

View 11 Replies View Related

Forms :: Adding Key Value Pair In Combo Box Using RowSourceType As Value List

Jun 20, 2013

I am creating a form in access. In the form there is a combobox in which I am adding items using RowSourceType as Value list and Row Source as Male;Female. What I require is whether there is some way so that when I select Male from combo box M is stored in database and with Female F is stored. I know how to achieve this with RowSourceType as Table/Query but not with RowSourceType as Value List.

View 1 Replies View Related

Forms :: Adding New Tab On The Form?

Jun 17, 2013

I want to add a new tab "Debt" in CustomerDetail form. So, I want that when I click tab "Dept" to get listing the customers who are in debt to the company.

How can I get a Dept information for that Customer in a Deptform?

What is the way to do it? Dept information are stored in Dept table.

View 1 Replies View Related

Forms :: Adding Different Fields To A Form

Apr 3, 2015

I have a table Items, ItemSizes and ItemTimes. That is for my item, I also have a table tableShowCost which is
the sales I have made at shows. I created a query from all of Items, the size of the item (from table ItemSizes) and
the ItemTimes (from tableItemTimes). Then, I created form from all of that.

So, now I have a form the displays all of the information about my item. Back to the Table ShowSales, it has multiple sales of different items, I want to know the total amount of sales I have made, so, I just did a easy query that gets me the total sales, but, I don't know how to get this information to display on my form, nor how to link an item on the query that gets me the total of each items sold, to the form.

(Should of thought of zipping it first)

Also, if some one does ask and gets the database, could they look and figure out why I cant go to the next record after opening it from the main form?

View 4 Replies View Related

Forms :: Adding New Record To A Form

Jan 25, 2015

I am new to Access and I was trying to create database for chemical inventory handling.I have two tables. one of my tables (chemical info) has information on chemical properties. I used "Cas NO" as primary key. I have another fields such as "chemical name", 'product number" and etc.

In Second table (chemical inventory) i have "ID" field as primary key and I used lookup wizard in order to fill "Chemical Name" field. I thought it will be easy to pick up name rather than typing it because the names were complicated.After I created two forms. one form is chemicals info form based on chemical info table and other one is LAb_inventory based on chemical inventory table.

I set up Lab inventory form as main form and Chemicals info form as subform. Linking field is chemical name. So that when I chose chemical name from combo box i can see inventory data in main form and chemical properties information in subform. Now i have two problems..One of them is when I add new record to my subform I cant see this new record in main form. I suppose it is because chemicals names of each form is derived from different tables. furthermore in main form instead of chemicals name i see "my primary key CAS NO".

What i want to achieve is add new record to chemicals info form and fill up all chemical information save and in the main form to add new record choose new chemical name which i just added and fill up inventory information.

View 1 Replies View Related

Forms :: Adding Animated GIF Onto Form?

Jul 25, 2014

I am trying to add an animated gif file onto a form in access 2013.

I am trying to add a active x control Animation control but get an error,

Database doesn't support this active x?

View 1 Replies View Related

Forms :: Adding New Record To A Form

Jan 25, 2015

I am new to Access and I was trying to create database for chemical inventory handling...I have two tables. one of my tables (chemical info) has information on chemical properties. I used "Cas NO" as primary key. I have another fields such as "chemical name", 'product number" and etc.

In Second table (chemical inventory) i have "ID" field as primary key and I used lookup wizard in order to fill "Chemical Name" field. I thought it will be easy to pick up name rather than typing it because the names were complicated.After I created two forms. one form is chemicals info form based on chemical info table and other one is LAb_inventory based on chemical inventory table.

I set up Lab inventory form as main form and Chemicals info form as subform. Linking field is chemical name. So that when I chose chemical name from combo box i can see inventory data in main form and chemical properties information in subform. Now i have two problems

One of them is when I add new record to my subform I cant see this new record in main form. I suppose it is because chemicals names of each form is derived from different tables. furthermore in main form instead of chemicals name i see "my primary key CAS NO". What i want to achieve is add new record to chemicals info form and fill up all chemical information save and in the main form to add new record choose new chemical name which i just added and fill up inventory information.

View 6 Replies View Related

Forms :: Adding Total Box To A Form?

Aug 8, 2013

I am creating a database to track gifts to employees. The admin person will fill out a form for each gift and create a report with a total $ value for those gifts for the history of the employee.

I would like to create a box on the form that totals all of the $'s for the employee selected, so the admin can see what has been gifted before they start the next entry. They will select the employee from a drop-down list (Physician_ID) and when that selection is made, I would like to populate the Total_to_Date box on the form with a total of $ gifted for that employee from the NMC_Detail_Records table.

View 5 Replies View Related

Forms :: Why Form Adding Records On Its Own

Apr 10, 2015

I start with a table of UserIDs, names and roles (tblUserIDList). I have a simple query off that which lists them in alpha order by UserID. Next I have a simple form with a combo box which uses that query to select the User and binds the UserID field to use.

There is a button which triggers a macro which opens the 2nd form using a query which filters using that UserID. There is another point in that form in which that UserID is again used as a filter for other data. The 2nd form is a data input form. All works fine up to that point.

However, when the 2 forms are closed, for some reason the UserID is re-added to the tblUserIDList. I've never had this happen before.

View 7 Replies View Related

Forms :: Create List Box To Only Display Information From Another Form Related To Current Form

Mar 20, 2014

What I would like to do is create a list box that will only display the information from another form that is related to the current form.So I have a form call Equipment Catalog and that form is related to Equipment features 1 to M relationship and the Equipment Features is related to a Features form M to 1.

So what I want to do is display all the related equipment features in a listbox that is related to the current PK of that form.So if there is only one feature on one form the list box will only display that one item however is there is 6 features on another it will display all 6.I have been trying SQL and Queries but I still can't get it to work.

View 1 Replies View Related

Forms :: Adding A Button To Print Form?

Feb 11, 2015

I would like to add a button to a form that will print the form with the current record in it. Also, to add a level of difficulty, there are 8 subforms attached to the form. As I already have the form developed, I don't want to reinvent the wheel and go off and create a report with 8 subreports. Is this possible? If so, Can we force all the data on the form to one page?

View 1 Replies View Related

Forms :: Adding Record To A Table From A Form

Nov 6, 2013

I have limited experience in Access, but I have managed to create a user form, where items are selected from comboboxes (Test results; when, who, outcome, etc)

At the end I have built in a command button that should add a record to an existing table, but so far no luck. I have used the following VB code for this:

Private Sub Save_test_results_KeyPress(KeyAscii As Integer)
Dim dbsICT_Test_Management As DAO.Database
Dim rstActual_test_results As DAO.Recordset
Set dbsICT_Test_Management = CurrentDb
Set rstActual_test_results = dbsICT_Test_Management.OpenRecordset("Actual_test_ results")

rstActual_test_results.AddNew
rstActual_test_results.Update
End Sub

View 6 Replies View Related

Forms :: Adding Page To Tab Form Dynamically

May 24, 2013

I would like to add a page to a tab form when a certain button is clicked. I don't want to use the visible/hide solution. So I already found out that this can only be done in design view. I am using the following code:

Code:

Private Sub cmd_StrategyAdd_Click()
DoCmd.OpenForm "Form1", acDesign
Me.tabMain.Pages.Add
DoCmd.OpenForm "Form1", acNormal
End Sub

I am getting the error: Run-time error 2467. The expression you entered refers to an object that is closed or doesn't exist.I am sure the name of my tab form is tabMain.

View 14 Replies View Related

Forms :: Adding Data From Form To Table Using VBA

May 27, 2013

I have a form (called Form2) with say 3 text boxes, called txt_Field1, txt_Field2 and txt_Field3.

In txt_Field1 the user specifies the number of records to be added to an existing table. The fields txt_Field2 and txt_Field3 are used to pre-populate the records with default values.

Furthermore, I have set up a table called Table1. It's headers are ID, Strategy, divRate. ID is Autonumber, Strategy is Text, and divRate is Number.

Suppose the user inputs the following on Form2:
txt_Field1 = 3
txt_Field2 = Covered
txt_Field3 = 0.04

How do I programmatically add 3 records (since txt_Field1 = 3) to Table1 such that the table will look like:

ID, Strategy, divRate
1, Covered, 0.04
2, Covered, 0.04
3, Covered, 0.04

View 6 Replies View Related

Forms :: Adding New Record To A Table With A Form

May 22, 2013

Whenever I add a new record to a table with a form I created, it records the "ID autonumber" that it's associated with instead of the text. For instance, if I selected "Kevin" from a combobox list and had the form record it, it will show up as "1" in the table under the field name "Names".

View 3 Replies View Related

Forms :: Adding Text Boxes In Form

Apr 14, 2015

I am trying to sum the row in a access form. There are 3 text boxed called TXT1, TXT2, TXT3. I have added an additional text box and typed the following txt;

=([TXT1]+[TXT2]+[TXT3])

Instead of totalling the row it just puts the number together. For example TXT1 contains 1. TXT2 contains 2, and TXT3 contains 3 so the answer should be 6 (1+2+3) but it shows 123. I have tried putting SUM in front but that gives me the total of the whole column not just that row.

View 2 Replies View Related

Forms :: Adding Subform To Existing Form

Apr 3, 2014

I'm having a bit of a problem with a database I'm trying to create, what I am trying to do is create a database to handle jobs in an IT workshop. The idea is that you generate the job card and then at the bottom you have a section to enter in the parts that are required for the job, and then have a report that prints out a list of all the parts required for all the jobs under a heading of the job card number.

The problem I am having is how to add this sub form / table to the job card sheet. I tried putting in a sub table, but that wont let me make additions to it, and I tried putting on a form but that wont retain more than one entry per job card (I have put it on continuous form).

View 2 Replies View Related

Forms :: Adding Subdatasheets From A Table To A Form

Apr 14, 2015

I have a table for all my members, then a table for each class (for attendance purposes) and the class tables are linked to the master via subdatasheets. I also have a form that pulls up all the details of a member and I want to show all the times they've attended class. Is it possible to add the subdata sheets to the form or would I have to add the attendance record as a subform that filters on the person?

View 1 Replies View Related

Forms :: Adding New Record Using Popup Form?

Oct 25, 2013

I'm working on a database that has a subform which pulls its data from a table and I'm trying to use a popup form to enter the data in the sub form. For example the table is called student debts. The form is called student debt. The pop up form is called student debt entry from. I want the inform that's in the student debt entry form to be recorded in the student debt form which is a subform on the main form. I know i have to create a add new records button to do it but not sure of the code.

View 4 Replies View Related

Forms :: Filter List Box On Form By Using A Control On Form

Jan 14, 2015

On a form I have a:

control called "FilterListBox"
list box called "lstCustomer"
option Box called "optCustomerType"

When the user selects an option in the option box, "FilterListBox" is updated to either "1", "2" or "1 or 2"..One of the fields in the query for "lstCustomer" is "CustomerType" and its criteria is set as follows:

[Forms]![frmPrintHowCustomersPaidInvoice]![FilterListBox]

if "FilterListBox" = 1 the query for "lstCustomer" returns the correct records
if "FilterListBox" = 2 the query for "lstCustomer" returns the correct records

But if "FilterListBox" = 1 or 2, no records are returned.

View 9 Replies View Related

Forms :: Unbound Form - Adding Records To Two Tables?

Apr 22, 2013

i have an unbound form with the following code which works as it should

Code:
Dim rst As DAO.Recordset
Set rst = CurrentDb.OpenRecordset("tbl_Courses", dbOpenDynaset)
With rst
.AddNew
rst!DateCreated = DateCreated
rst!Originator = Originator

[code]....

I also need to add other text fields from the unbound form to another table but can't seem to work out how to do it.

View 6 Replies View Related

Forms :: Adding Multiple Check Boxes In A Form

Sep 15, 2014

I have a form named Member, this form has field named hobbies, this field has multiple values selection i.e. a user could select football, cricket, listening to music and etc. these values are stored in another table and i have looked up the values in my form named member, i know access has multiple value option in combo box while we look up values from another table, but i don't want that the check boxes appear in combo box, they should be listed right in form so that i can see them without going inside the combo box and at the same time the values of these populated check boxes should be stored in a single field.

View 14 Replies View Related

Forms :: Adding A Record To Table From Input Form

May 29, 2014

I have a table with 2 fields in it - Type and Pallet_Case - using a form the user enters the name of the Type and then from a combo box selects either Pallet or Case. There is a button on the form that is to save the new record to the table. (code below) The strangeness that is happening is that when the new record is added to the table, whatever is the first existing record alphabetically in the table is changed to the same Pallet_Case selection that was made for the new record.

I have a list box that displays on the form that is updated after a new record is added to show what records exist in the table (this is done by a query of the table and sorts on the type), so I can see this happening without having to open the table. It doesn't matter what sort order I put the list box in nor the table it still changes the first record alphabetically. And it is only change the Pallet-Case field. I even changed the first record to something else and it still did this.

Dim dbs As DAO.Database, strSql As String
Set dbs = CurrentDb
strSql = "Insert into [PP Type TBL] ([Prepack Type],[Pallet Case]) Values ('" & Me.Type & "','" & Me.Pallet_Case & "' )"
dbs.Execute strSql, dbFailOnError

View 5 Replies View Related

Forms :: Type Mismatch - Adding Yes / No Fields To Form

Oct 29, 2013

I have a form that I am trying to add some yes/no fields to from my table. Whenever I add the controls to the form and attempt to open the form in form view, I receive the dreaded error: "Type mismatch in expression." I can't figure out what is causing this error, or where to look.

Attached is my relationships report. The yes/no fields I am attempting to add are located in tblRelationshipToBICs, tblIndustryClassification, and tblTypeOfBusiness. All of the fields (except pk) in those three tables are yes/no and I need to add them to my form.

Report1.pdf

View 1 Replies View Related

Forms :: Adding Multi-valued Field In A Form

Oct 9, 2014

How to add a multi valued fields in a form for example a student may have multiple hobbies, access can do this using using lookup option, but access stores multiple values in one field which is difficult to analyze, looking for efficient way of adding multiple option.

View 8 Replies View Related







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