Forms :: Choose Next In Sequence Via Form Entry

Mar 20, 2013

Any way to automatically choose next in sequence via form entry in Access 2007.We currently have an excel spreadsheet tracking who attends review meetings for new products. There are 12 people who are eligible to attend the meeting, and the next person in the sequence should be chosen when a new meeting is scheduled. I'll be adding this to an existing database with an "associate" table- where each associate name is assigned a numeric value, if this can even be done.

The problem is that the logical order may not always be followed. Associate 8 might be up next but be on vacation, so Associate 9 is sent in their place. We can't skip over Assoc. 8 completely so we'll go back to them once they're back in the office, but we don't want 9 being sent to the next one after that again. Or the manager might determine one associate has more knowledge in the area of the new product being presented and send them out of order. In Excel it's easy to see who is up or who has been skipped, but in single-form data entry in Access the pattern won't be visible.

View Replies


ADVERTISEMENT

Choose From Combo-box, Or Manual Entry. Help!

Apr 6, 2005

Can't seem to figure this out.

I built a db for tracking and entering sales info but I'm having a problem with one of my combo boxes. To make entering data easier, I created a combo box that you can select a sales persons name from, then based on who is selected, their Title and Office location also populated.

The problem I have is when I want to manually type in the Name and other info for a temporary sales person. How can I allow users to choose from the drop down or just type it in if that person is not in the list?

Thanks in advance for your assistance.

View 1 Replies View Related

Forms :: Form Loading Sequence?

May 6, 2014

I have a RTE 94 happening due to a piece of code running on a subform current-event which looks at a text box on the parent form. I understand this is due to the order of loading of the forms initially and all works fine when moving to other records once all are opened. How can I overcome this happening on first opening?

I am thinking I need to set a counter on the subform on load event to say 1, then when the subform current-event fires add some code so if the counter is 1, then do nothing, if 0 then run the code. When the mainform opens reset the counter to 0, then requery the subform. The form will now see the counter is set to 0 for the rest of the time, so will then always run the code.

Not sure how to go about setting out the code as I guess there needs to be some form of Public variable involved?

View 4 Replies View Related

Forms :: Include Check Boxes In Interactive Access Form Allowing To Choose Output Field

Jun 27, 2013

Including check boxes (representing the query fields) in an interactive access form, in order to decide which fields should be visible.

I think the solution is building an invent in VBA for each check box, however I'm not an expert in Access VBA and don't know how to write the code.

In the example that I've uploaded, in the Form1, when I run the query, all fields are displayed, i.e. VENDOR, REGION, CUSTOMER and MATERIAL are displayed. How can I manage it in the form with a listbox to display only the REGION or MATERIAL for instance.

View 4 Replies View Related

Forms :: Button Click Event To Choose Between Forms To Open Based On TextBox Input

Jun 7, 2013

Making a small database, Got 1 Table.

1. ContactDetailTable

Got 3 forms.

1. ContactIDForm
2. ContactInfoForm
3. NewContactFrom

In ContactIDForm it contain 1 textbox name 'TextBox' with Button Name 'Btn'

In ContactIDForm there is only 1 Text Box ContactIDTextBox and 1 Button. User Enters ID in TextBox and On Button Click Event it should check data from TextBox in Table name (ContactDetailTable) in field ContactID and if there is record matching, ContactInfoForm should Open else NewContactForm should open with ContactIDTextBox value in it.

View 10 Replies View Related

Forms :: Choose Which Subform To Display From Combo Box?

Jun 16, 2014

I have a blank form with a subform. All I want to do is have a combo box with the names of the subforms in, and when you choose one it is displayed in the subform box.

Names of the subforms are:-

qselDuplicateCustomersByHomePhoneNumber
qselDuplicateCustomersByMobileNumber
qselDuplicateCustomersBySurname&Street
qselDuplicateCustomersBySurnameHouseNo&PartStreet
qselDuplicateCustomersBySurnameHouseNo&Street

I'd like to display them more readable in the combo box, i.e. 'Duplicate Customers by Mobile Number'.I'd also prefer that the subform box is blank when the form is opened.

View 7 Replies View Related

Forms :: Choose Varying Number Of Subforms

Jun 23, 2015

I am designing a data-entry system in Access 2003 for a clinical case-reading study. The questions that the case readers have to answer are divided into modules, and different batches of records use different modules, but all batches use a core module which includes identifying information and a set of questions that apply to all cases. The modules can include anywhere from about 15 to 60 questions. Some of the modules have been written, but the idea is to create new modules as the need arises. The data will be exported to an Excel spreadsheet for analysis. There is no need to plan for reports and this isn't really a relational database.

The problem is to allow the reader to enter data for the relevant modules, sometimes one, sometimes four or five or more.

I have created a main table for the core module and a form to go with it. I’m assuming I need to create a separate table, related to the main table, for each module and an accompanying subform for each table.

How do I create a menu system that will allow the case reader to choose only the subforms needed for a particular record?

View 4 Replies View Related

Forms :: Using Checkboxes To Choose Data From A Table?

May 5, 2015

I have a table tblMessages, with a yes/no column called Available I have a form with three checkboxes chk1, chk2, and chk3 the when i click chk1 the other two check should be checked which this code seems to do but what it is not doing is going to the table and selecting the data where the ID is 2. what am i missing here?

Private Sub chk1_Click()
Dim strSQL As String 'Holds the SQL statement for this command only.
If chk1 = True Then
chk2 = True
chk3 = True
strSQL = "UPDATE'[Available]' FROM 'tblMessages' WHERE '[ID]'= 2"
Else
chk2 = False
chk3 = False
strSQL = "UPDATE '[Available]' FROM 'tblMessages' WHERE '[ID]'=2"
End If
Me.Requery
End Sub

View 4 Replies View Related

Forms :: Cascading Combo Box - Cannot Choose Contact?

Jan 7, 2014

I have two combo boxes. One with the customer and one with the customer contact. These boxes seem to be working fine however, after you select the customer and then the customer contact box updates, it isn't allowing me to choose the contact. Nothing happens when you click.

View 7 Replies View Related

Forms :: Combo Box To Verify With Last Entry And Display Other Options Than Last Entry

Sep 8, 2013

I am working on creating an access database for tracking physical assets linked to locations. I need to make a combo box list to show items other than the current location of the asset. Basically I need it to refer to last enery of the user and define the new possible entries. so we have a unique relationship between location and asset. The assets and location will always remain fixed and there is never going to be any addition. I am creating a web form so that it can be uploaded into sharepoint.

View 3 Replies View Related

Use 1 Form And Choose From Which Query

Jun 2, 2005

Hi,
I have a requirement to filter some queries periodically on the date field.
What I want to do is create a form that lets you choose which query to use and filter and not create alot of single forms.
The filter will be only be applied whilst the form is open.

Cheers

Gordon

View 3 Replies View Related

Forms :: Choose Custom Colours With Conditional Formatting

Sep 6, 2013

I'm using access 2003. I've got a textbox placed ontop of an image that I want to make it seem to disappear on a conditional format.

The back color property of the textbox I want to set is "13160660". How do I choose this colour when applying conditional formatting as I only seem to be able to choose from the swatch of 40 default colours and no option to define custom colours.

View 4 Replies View Related

Forms :: Update Combo Box For Entry In Another Form?

Feb 3, 2014

I can't work out how to update the selections available in a combo box as follows: I use a combo box in a main form to select a record (yacht) If it's a new yacht then I use an event linked to a button to call another form to add the new Yacht On exiting the Yacht Maintenance form I return to the main form The combo box in the main form doesn't list the yacht i just added unless I exit and re-load the form

I'm not sure of the best way to refresh the combo box selections or main form without exiting.

View 1 Replies View Related

Forms :: Combo Box In A Form For Data Entry

Jun 3, 2015

I want a combo box in a form for data entry. Is the best method in doing this creating a new combo box in the form and linking it to a table, or using a lookup field in my table?

View 14 Replies View Related

Forms :: How To Make Form To Always Open To New Entry Only

Jul 15, 2013

Is there any setting that I can use that will make a form always open to a new entry?

I don't want people to be able to edit the form.

On the form I have created a New form button and a Save and clear button, but i would prefer it to be that when they open the form its always a new entry and when they hit save it just save and clears and comes back to a new entry form.

These are my buttons.

Code:
Private Sub Command103_Click()
DoCmd.RunCommand acCmdRecordsGoToNew
End Sub

Private Sub Command90_Click()
RunCommand acCmdSaveRecord
Me.Requery
End Sub

View 3 Replies View Related

Forms :: Create A Form To Be Used For Data Entry

Apr 5, 2015

I have created a form to be used for data entry, Where i have identified standard data, I have set the Combo Box on the form to be a "Value List" so as to standardise the data entry.This creates two problems for me.

1. When Using the form, instead of saving the text value to my table it is entering a numerical character?

2. On two of my combo boxes, whilst they have been configured the same, when i try to select an option for the list, it does not accept it? when i try to type the same option into the field of the form it tells me that the option is not in the list?

View 2 Replies View Related

Forms :: Prevent Duplication In Form Entry

Jul 7, 2014

I've been trying to use some code I've found to prevent a user from entering a duplicate ID. I've tried this:

Dim Answer As Variant Answer = DLookup("[SAR_ID]", "Request", "[SAR_ID] = '" & Me.SAR_ID & "'")
If Not IsNull(Answer) Then MsgBox "Duplicate SAR ID Found" & vbCrLf & "Please enter again.", vbCritical + vbOKOnly + vbDefaultButton1, "Duplicate"

Cancel = True Me.SAR_ID.Undo
Else:
End If

but it displays the message even if I don't enter a duplicate.

View 14 Replies View Related

Forms :: Combo Box On Data Entry Form

Oct 9, 2013

I'm trying to create a Data Entry only form based on a small table called tblProject.

It consist of the fields Project_ID, Artist_ID, Project_Name, and Project_Notes.

I used the wizard to get me started and i know how to change the form to data entry only, but the problem is the vague data in the Artist_ID control. It shows up as a number, because it is an FK to another table (tblArtist) where more details on the artist are held. (including Band_Name)

I want to be able to make it a combobox with a list of the Band_Names from the tblArtist table. This would make creating "a new project" much easier.

View 4 Replies View Related

Forms :: Form Entry With Multiple Tables?

Jul 19, 2013

I am currently working on a form that involves several linked tables. Since our personnel got so used to a certain form format, I have scanned the form and imported into an access form as a background and have laid corresponding fields on top.(I have attached a snapshot of the form). This works great for a view only form, but I can't seem to add/edit records using this form because of the table relationship. I have done some research, and found that one way to get around this problem is to use subforms, but that would kill the form format. Another way I have seen (which I am not sure how to do) is to have a temporary field and once you hit the submit button it will then fill out the tables.

View 1 Replies View Related

Forms :: Data Entry Into Database Though Form

Jun 18, 2013

I've just finished model of DB and it looks like this ( ERM.png )

Now I would like to insert some data into database though form, but if I for example add New contractor ( first name, last name ) with his location , it doesnt connect in table User-Location ... so it is not matched ...

View 2 Replies View Related

Forms :: Data Entry In Continuous Form

Aug 5, 2013

I have a continuous form that is populated from a query. The header has data entry text box for NCR#. I want to run a update query to have the header update each record found in the query.

I've tried a number of things and the closet thing I've got is the header entry updating every record. Something is wrong with my criteria but I'm not sure what.

View 1 Replies View Related

Forms :: Incremental Numbering From Existing Number Sequence

Aug 28, 2013

I have a Primary Key field named Member ID(Number format) in a Table named Mail List. The field is populated with existing ID numbers and my need is to use my Member Entry Form to increment by 1 from the last entry.

I have gleaned from other references that this can easily be achieved by the following entry in the Default Value of the property sheet for the relevant field;

=DMax("Member ID","Mail List")+1

The Form saves without error but when I attempt to add a new record in the entry form, the ID Number reads "#Error".

View 14 Replies View Related

How To Choose The 10 Latests Entries In A Table (from A Form)

Aug 10, 2007

I'll start by saying that I'm not sure which sub-forum to choose, as my question(s) covers several areas, so I have tried with this one first.

I'm currently making a database, which among other things contains a 'Port of Call list' table. I have a form, where I can add data to this table, meaning, that whenever a vessel has left its port, user can update following: Port name, security level, arrival date and departure date.

What I need is two things (it might be more or less the same):

1. When user click a "Generate" button on a form, the 10 latest port calls from the table, should be shown. I'm not sure what kind of control is the best to should the list on the form. Code is also needed.

2. I would also need to be able to print the list. It should be part of a report. Again which controls/which code to be used is needed.

I hope that someone are able to assist, as I have no clue what to do.

Thanks.

View 10 Replies View Related

Choose Account On Force Email From Form

Jan 4, 2008

I have a form that has a bunch of check boxes on it.
The user selects specific check boxes
My code then has a few If then statements to test which ones were selected.
With each one that is selected a query is run to select specific records in a table. (querying out the values from an email field)
The user then hits a button to send the email.
Microsoft Outlook opens and the emails list is added to the "To" in the email.

Everything works great...But I have a slight issue. If a user has permissions on more than one account when they go to send an email they have the ability to choose a "From" (thus specifying which account to send from)

The user can currently select which one they want but I want this to be more automatic.

CAN i specify which account to send from automatically when the email opens. BUT Just for this application...

Does that Make any sense?

THanks in Advance




Code:Private Sub Command23_Click()' This section is Calling seperate Subs that verify if a Radio Button is selected' If selected it builds the string needed for the email.Call TestCheck3Call TestCheck5Call TestCheck7Call TestCheck9Call TestCheck11Call TestCheck13Call TestCheck15Call TestCheck17Call TestCheck19Call TestCheck21Call TestCheck24Call TestCheck26Call TestCheck39Call TestCheck41Call TestCheck43' This part concatenates the email string being build andDim FinalEmailString As StringFinalEmailString = ""FinalEmailString = Test03 + Test05 + Test07 + Test09 + Test11 + Test13 + Test15 + Test17 + Test19 + Test21 + Test24 + Test26 + Test39 + Test41 + Test43' THIS SECTION TESTS THE CONCANTENATED STRING TO SEE IF IT IS NULL' IT THEN GIVE THE USER THE CHOICE TO CONTINUE WITHOUT ADDING EMAIL' ADDRESSES OR TO STOP AND MAKE A SELECTION.If FinalEmailString = "" Then Answer = MsgBox("You must first select a Group to email, if you wish to continue without adding an email list just hit No", vbQuestion + vbYesNo, "???") If Answer = vbYes Then Exit Sub Else ' This part sends the string to the email and opens the email DoCmd.SendObject acSendNoObject, , , , , FinalEmailString, "Alert Group", , True End IfElse ' This part sends the string to the email and opens the email DoCmd.SendObject acSendNoObject, , , , , FinalEmailString, "Alert Group", , TrueEnd IfEnd Sub' EXAMPLE OF ONE OF THE QUERIES BASED ON THE CHECK BOXESPublic Sub TestCheck3()Test03 = ""If Check3 = True Then Dim dbs As Database Dim rs As DAO.Recordset Set dbs = CurrentDb Set rs = dbs.OpenRecordset("Select * From tbl_Business_Name WHERE TYPE = 'APARTMENTS'", dbOpenDynaset) Dim strTO3 As String strTO3 = "" Do Until rs.EOF strTO3 = rs!EMAIL & ";" rs.MoveNext Test03 = Test03 + strTO3 Loop rs.Close 'Close what you opened. Set rs = Nothing Set dbs = NothingEnd IfEnd Sub

View 1 Replies View Related

General :: Choose Backend Location From A Form

Dec 18, 2014

I'm making updates for the front end then i send it to 10 pc's in the office then i should change the backend location via linked table manager for every pc

So is there any way to let the user choose the backend location when he open the database nad then it will automatically update the tables link

View 4 Replies View Related

Forms :: Data Entry Form - Set Focus On Tab Control

Sep 10, 2014

On my data entry form I have a tab control with three pages

At the bottom of the first page I have a sub form with 3 fields

Currently, when tabbing, the focus runs through the fields as per the tab order

BUT

Once it gets to the subform (datasheet view) it jumps into the first field of the first record rather than the first 'empty cell' thereby starting a new record in the datasheet.

Once the three fields in the datasheet are completed the focus tabs back to the top of the first page of the form rather than onto the next page of the form

How to correctly reference controls using VBA so I could SetFocus where I want?

The Main form is called frm_Admissions

It has three pages called Patient, Treatment & Service Providers

Patient has a subform called sub_Cluster (which may or may not hold Cluster Information)

I would like the tab order to jump from the last textbox on the form into the first field of a new record in the datasheet (rather than the first field of any existing records)

Once it has finished in the datasheet I need to tab to the first field/textbox in the Treatment's page of the form rather than back to the first field/textbox in the Patient's page.

View 3 Replies View Related







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