Mulitiple Selection Of Records

Dec 18, 2005

I'm building a database for a realtor friend. Part of his job is keeping track of where his clients want to live. I have added a field named "Areas". I need to populate that field with names of cities where his clients want to buy thier house. Sometimes there are only a couple of cities. Other times there could be more then 10. I don't want him to type these cities in. He is not a good typer, either am I, and he is prone to abbreviations and typos. Garbage in garbage out. I would like to provide him a drop down list, or something like that, of all the cities or areas and have him select each area and then either hit a command button or copy/paste it to that text box. Either way will work. The command button would be nifty. The result would give him the option of doing a form filter and being able to filter that text box for ex: "atlanta" and "syracuse". He then could cue these people when he has a property come available in either one of those cities.

I DON'T understand VBA code. I don't know how to write it or where to put it.

I tried to search this site and I could not find any threads like this, to my amazement. If there is a similiar post out there and I could not find it I apologize in advance.

View Replies


ADVERTISEMENT

Multiple Selection Of Records

Dec 17, 2005

I'm building a database for a realtor friend. Part of his job is keeping track of where his clients want to live. I have added a field named "Areas". I need to populate that field with names of cities where his clients want to buy thier house. Sometimes there are only a couple of cities. Other times there could be more then 10. I don't want him to type these cities in. He is not a good typer, either am I, and he is prone to abbreviations and typos. Garbage in garbage out. I would like to provide him a drop down list, or something like that, of all the cities or areas and have him select each area and then either hit a command button or copy/paste it to that text box. Either way will work. The command button would be nifty. The result would give him the option of doing a form filter and being able to filter that text box for ex: "atlanta" and "syracuse". He then could cue these people when he has a property come available in either one of those cities.

I DON'T understand VBA code. I don't know how to write it or where to put it.

I tried to search this site and I could not find any threads like this, to my amazement. If there is a similiar post out there and I could not find it I apologize in advance.

View 1 Replies View Related

No Selection In Combo Box Shows All Records

Feb 9, 2006

I know this is probably posted in a dozen places, but I don’t think I have the smarts to find stuff with the search.

I use the results of a combo box for the criteria in a saved query. Can anyone tell me how to make it show all the record if no selection is made?

Thanks again Folks,
Joe

View 2 Replies View Related

Queries :: Multiple Records Selection

Jun 13, 2014

I have a database that contains different departments per office location with the dept. codes such as 100, 101, 102, 103 etc.

I like to have a criteria in a query that will give me all departments that are running from one office location OR if I do not want one dept. to show in my query to be excluded.

Also, the way I currently set the parameters is, it is asking for the office location by state, county, city, address and department code. I set the department criteria as Not [Department] which excludes the dept. that I do not want to see in the query, BUT I also want to have an option that when I run the query to SEE all the departments.

Is it possible to have a criteria like that?

View 3 Replies View Related

Combo Filter Selection Affects All Records

Nov 18, 2004

this is a re-post - can anyone help? I think this is an easy one for the experts out there!

I have a form called frmTshtExp which is bound to a query called qryTshtExpenses. Most of the fileds in the form are combos and text boxes bound to the fields in the queries.

However, the first combo is unbound. It is called cboProjectSelect and it filters the second combo called cboWorkstreamExp. This is done using a query called qryTshtWorkstreamExp which has workstreamID, workstream and projectID as fields.

The filter works fine. The trouble is that selecting a project from the first combo filters workstreams from the second combo for ALL records that are entered. In other words, no matter how many rows are entered in the datasheet on the form, they all have to have a workstream belonging to just ONE project. I want to be able to enter different workstreams belonging to DIFFERENT projects on each row.

I hope you can help. I've put in a reduced version of my db in the following location:

http://uk.f2.pg.briefcase.yahoo.com...rum.zip&.src=bc

unfortunately, I didn't know how to disable the securities I've set up, so you need to log use the shortcut (after modifying the target location in it's properties) and use the word "forum" as username and password.

Thanks in advance

Sunil

View 1 Replies View Related

How To Filter Records Based On Selection Of Combox Box

Jun 29, 2005

Hi every body. I got bounded form as picture below. Initially the form loads all the recod.
I want add a feture to this form so that when i make 4 combo box selection it goes and
load those records that matches that crieteria only . All my controles are in the main form.
I am not using form and subform.I be happy if some one show me how i can switch from show all
mode to filtered mode.(an example higly appretiated)Thanks


http://i5.photobucket.com/albums/y180/method007/comboboxfilter.jpg
( form pic)

View 1 Replies View Related

Multiple Selection List Boxes To Add New Records

Aug 16, 2007

Hi! I hate to ask for so much help on this, but I'm lost.

I have a budget database that is used to track equipment for purchase. Many times, the same item (a desk, or chalkboard) is needed for more than one room, so I need to buy more than one. The way my form is set up, I put the detail about the chalkboard in and select the room ID for the room it is going into. The problem with this is that I don't want to have to do it for every single chalkboard location in the college.

So, I want to use a multiple selection list box to add the records all at once. In other words, I want to enter the item detail in my form, and then select all of the rooms that item is going into, and then click OK! and have it create new records for each room that item is going into. So rather than having one new record created (as would be with a combo box), if I have three rooms selected, I want the OK button to add the record to the table three times with a different room number for each record. Any ideas????? Thanks!

KellyJo

View 8 Replies View Related

Find - Not Finding All Matching Records, But Filter By Selection Does.

Jul 9, 2007

Hi All,

I have a strange problem that has me beaten.
I open an Access 2003 table, sort on field "Job Number", click the Find button and enter a job number.
I expect to find 30 records, but Find only hits 8 of them.
If I over-type the Job Number (with the same numerics), Find is then able to return this record.
If I place my cursor in ANY of the 30 records and click Filter by Selection, all 30 records are included.
I thought there may be a non-printable character or a space hidden at the end of the field, but I expect both Filter and Find would return the same records.
Even more strangely, when my client zips the MDB file and emails it to me, this behaviour does not occur on my PC.
Has anyone else comes across this behaviour? If so, can you please point me in the direction that will help me find a solution.
cheers,
Mark Chimes

View 3 Replies View Related

Forms :: Date Selection On Form - Filter Records Based On ID

Feb 15, 2015

I have been building a database for use in a charity shop and am struggling with an issue regarding one of the forms.

I currently have a form which displays all expenses from the shop. I have added a combo box to the top of this form which allows users to filter records based on an expense ID Code. It all works fine but I would like to be able to add a start date and end date box to the form also so that records can be shown between two dates.

I have tried adding parameter boxes to the query which runs the form (which works) but the issue I am having is that when a new id is selected from the combo box the parameter boxes pop up again asking me for start date and end date again. This happens every time a new combo box id is selected.

I think the way resolve this issue may be to add a start date and end date box to the form but I don't know how to implement this.

Please see the attached files for images of what I currently have. The forum won't let me post images directly here until I have 10 posts so I have had to attach the files instead.:

Query running the form - Attachment 1

The Form itself - Attachment 2

Combo Box - Attachment 3

Bound Column on combo box - Attachment 4

Code in Combo Boxes after update event - Attachment 5

View 3 Replies View Related

Queries :: Drop Down List Selection - Move Records From One Table To Another?

Sep 15, 2013

Is there a way in which someone can select a table from a drop down list and then search that table for a record then move that record to another table.

For example.

User selects 'Mikey's_table' searchs for a record then move this selected record to 'Mandy's_table'

(all the tables have the same structure etc. identical apart from the name of the table and records within)

I have the list of tables that all the records will be on and the users will know which table the record is in, i basically need to know if there is an ability to search for a record over multiple tables then edit that record and move it to another Table.

I have tried to use a Union Query which works when searching but i cannot edit or move the record ...

View 1 Replies View Related

Forms :: Nomination Form - Combobox Selection List Not Updating After Each Selection

Oct 27, 2014

I am designing a nomination form (web database so no vba macros can be used).

The form has 3 combo boxes: cboStaffName, cboLevel, cboNominee.

The form is bound to the tblSubmit table where the submissions are populated.

I used a select statement:SELECT Staff_List.Staff_Name FROM Staff_List; to populate the combo box for the Staff Name selection.

This is the select statement to populate the job level combobox:

SELECT Staff_List.Level, Staff_List.Staff_Name FROM Staff_List WHERE (((Staff_List.Staff_Name)=[forms]![frmtest]![cboStaffName]));

The select statement to populate the combobox for the nominee combobox:

SELECT Staff_List.Staff_Name FROM Staff_List WHERE (((Staff_List.Level)=[forms]![frmtest]![cboLevel]));

The problem is that the staff_name in the first combobox is still found in the nominee combobox which should not be because a staff cannot nominate self. There is a field in the Staff_List called YesNo that should be activated for each staff that is selected so that the select statement on the nominee combobox can be updated accordingly to remove items with the field "Active"

How to get the checkbox selected for each corresponding staff.

Sample of the database has been attached.

View 4 Replies View Related

Forms :: Based On User Selection In A Form / Create New Records For Subsequent Form

Feb 3, 2014

The user will be creating a new project that contains a bunch of releases. The releases have standard names which are stored in a table tbl_ReleaseNames It should be noted that the list of names is not static.

The user selects which of the releases pertains to their project and then based on their selections, new records would be created in tbl_RFP_Release and then a subsequent form would open where it would display each of these newly created releases where they could enter additional information. I thought of creating an unbound checkbox associated with each of the standard names, and then checking to see if the checkbox was checked and then creating the new records followed by opening up the new form.

View 6 Replies View Related

One ComboBox Selection Filtering Selection Of Second.

Jan 12, 2005

Porbably a stupid queston for most of you, but I am new to the game. Trying to get the selection of one combo box to filter the selections of a second combo box. Have one table called Sections with the colums SectionID and SectionName, a Second Table called SubSection with Colums SubSectionID, SubSectionName, and SectionID. Third Table called Points which has a column for Section, and SubSection, need to have the section combobox selection filter the SubSection combobox selections. Any help would be appreciated!

View 1 Replies View Related

Selection

Oct 5, 2005

I have part of a query that checks a string and returns a 2 letter code. the string is 9 characters long and consists of 1's and 0's, but it is picking the wrong 2 letter code

String Code
100000000AC
010000000AR
001000000CD
000100000MC
000010000MR
000001000PLS
000000100PS
000000010SBP
000000001TQ


The expression is as follows:

VALDISP2: IIf([DIS2]>="100000000
","AC",IIf([DIS2]>="010000000
","AR",IIf([DIS2]>="001000000
","CD",IIf([DIS2]>="000100000
","MC",IIf([DIS2]>="000010000
","MR",IIf([DIS2]>="000001000
","PLS",IIf([DIS2]>="000000100
","PS",IIf([DIS2]>="000000010
","SBP",IIf([DIS2]>="000000001
","TQ","")))))))))

However the string 000000001 is picked up as "" and not "TQ"

View 1 Replies View Related

Only Allow 1 Selection

Dec 18, 2006

Hi I have a continuous form that has bound checkboxes next to each record. Right now the code below finds the records that are checked and edits them accordingly. I need to find a way to make only one checkbox be able to be checked at a time. Or have the code below find if 2 or more checkboxes are checked, then prompt and exit sub.

Private Sub Command43_Click()
Set rs = Me.Recordset
Dim user As DAO.Database
Set user = DAO.OpenDatabase("c:auser.mdb")
Set rs3 = user.OpenRecordset("currentuser", dbOpenDynaset)
rs.MoveFirst
Do While Not rs.EOF
rs.Edit
If rs!dispositionchk <> 0 Then
rs!status = "Do Not Call" 'change status to to be contacted
rs!dnc = "DNC"
rs!lastlo = rs!Assignedto
rs!Assignedto = " " 'assignedto=current employee name
rs!LDdate = Now()
rs!LDdisposition = "Do Not Call"
rs.Update
Set rsmyrs = CurrentDb.OpenRecordset("internetcalls", dbOpenDynaset) ' open table
rsmyrs.Edit
rsmyrs.addnew
rsmyrs!ActivityDate = Now()
rsmyrs!disposition = "Do Not Call"
rsmyrs!LeadID = rs!LeadID
rsmyrs!Employee = rs3!Username
rsmyrs.Update
Set rsmyrs = CurrentDb.OpenRecordset("call log", dbOpenDynaset) ' open table
rsmyrs.Edit
rsmyrs.addnew
rsmyrs![Activity Date] = Now()
rsmyrs!disposition = "Do Not Call"
rsmyrs![Lead Id] = rs!LeadID
rsmyrs!Employee = rs3!Username
rsmyrs.Update
rsmyrs.Close
End If
rs.MoveNext
Loop
Me.Requery
End Sub

View 1 Replies View Related

Valide Selection...

Apr 21, 2006

hii do a little check before run codePublic Function validationValue() As Boolean If lstTransit.ItemsSelected.Count > 0 And txtDate.Text <> "" And txtHeureDebut.Text <> "" And txtHeureFin.Text <> "" Then validationValue = True Else validationValue = False End IfEnd Functionafter i check the resultDim fctReturnn As BooleanfctReturnn = validationValueIf fctReturnn = True Then..else msgbox "erreur..."endifwhen this code run, i get:Run-time error '2185'You can't reference a property or method for a control unless the control has the focuswhat is the correct way to validate user input?any idea?thanks

View 1 Replies View Related

Selection Of Trigger

Sep 20, 2005

Can anyone help with this. I have a query called trigger, which has 5 fields as follows

CONTACTID..............INV...............MSP...... ........SMS..............TRIGGER
456.............................................11 ......................................MSP
457..........................8.................... .......................................INV
458.............................................3. .......................................MSP
459............................................... ...................6...................SMS

Only 1 field between INV, MSP and SMS in any record will be >0
What I need to do is that if the value in these 3 fields are > then populate TRIGGER with the correct name

Can anyone help

View 1 Replies View Related

Checkbox Selection

Jan 30, 2006

I want to make sure that only one check box can be checked and also to make sure that on is selected, i.e. to display a warning that one is not check if someone is going to save the record. Any ideas guys?

Thanks

View 1 Replies View Related

'Dynamic' Selection

Oct 12, 2006

Now, I don't know if this topic should be in forms, queries or reports, so I decided to post it here in general until someone gives me a big bollocking and send this topic elswhere :D

I have a table with loads (50+) of columns which hold information about people in our company.
What I want is a form? that allows me to tick the information I want and then displays the result in a report.
So, today I want a list with Name, address, town and phonenumber, but tomorrow I might need a list with Name, phonenumber, passport number and expire date.
In short, I need to make a 'dynamic'? report that displays the options I ticked out of the 50+ options (does this make sense?).
I searched for it but no luck so far.
Ta in advance

View 4 Replies View Related

N Per Field Selection?

Dec 29, 2006

Hi

I have a db of about 10,000 records or so. This is a list that will be used for emailing purposes...and I want to limit the number of records per company that are emailed to.

I need to figure out a way to limit the number of records per company....any suggestions?

Thanks

View 1 Replies View Related

Swtich To Different Tab On Selection

Apr 17, 2007

Hello!

I was wondeing if I could get some help! I made a tab control page and within one of the tabs ('Find Cd') there is a drop down menu in which you can select which CD you would like to pick. After picking that CD I would like it to automatically switch to another tab called 'CD Details'

Can anyone help me please!!!!!!

Thank You

:)

View 14 Replies View Related

Filter Selection

Jan 13, 2008

Hi,

could anyone point me in the right direction? i am trying to create a filter text box where i type in a name and if the name is in the field of my form, it will autofill and then when i press enter, it will select that particular item. for example;
i start to type my name ( Nigel ). as i start Ni, it fills in my name and then after pressing enter, loads my information.

another option was to have a pop up form with a combo box offering the names to select and then by pressing go, loads the info onto my main form but not quite sure how feasible that is.
any help appreciated.

NS

View 1 Replies View Related

Selection Of Primary Key

Apr 26, 2005

Hi, I have current yards table with Trailer number as the primary key and which cannot have duplicates. When this trailer leaves the yard we send this record to History table. Now if a trailer comes again and leaves History table is not accepting as it is duplicating. So can anyone help in designing table so that it accepts duplicate trailer numbers only in the history table.


Thank You,
Naveen

View 2 Replies View Related

Variable Selection

Jul 8, 2005

I created a query using a varible to select only the months needed. This variable will change based on the report needed next time. The customer has that option.

When I go to the report, I do not want to enter the variable again (Query has the correct records already), but the report is dependent upon the query.

How do I use the query for my report without entering the same variable again?

This is a very common situation, but I can not eliminate the dependence in the report.

Help!!!!!

Thanks

View 4 Replies View Related

Combo Box Selection

Jan 10, 2006

I have a form with 4 text boxes that are populated from a query with an unbound cbo box to make the choice from. There are two fields that show on the dropdown, "Customer" and "New Product Name". I created it all with wizards. Most of the Customers have only one product name but some have several. If I choose a customer that has several products, it always selects the customer with the first product it finds. How can I get it to select the Customer by product? I have looked and seen what looked like what I needed on this forum, but I couldn't make it work. I am not good a VB. Thanks in advance for any help that you can give.

View 10 Replies View Related

Date Selection Help

Jan 9, 2007

I currently have a query that takes info from an asset support table.
I have a Support Contract Start Date in the table (Date time)
I have a Support Contract Length In months field in the tabel (numeric)

i am calculating the end date of the query using the following expression.

Support End Date: IIf([Support Start Date] Is Null Or [Support Contract Length] Is Null,"N/A",DateAdd("m",[Support Contract Length],[Support Start Date])

this Works fine and I get a Date however many months in the future that the contract length in months field dictates.

however i am now trying to add criteria to this in order to select certain date spans of when a contract ends.

So i only get records in a query that show records with end dates in 30 days time from now or another query that shows contracts ending in 365 days from now.

Can someone point me in the direction of how to do this effectivly , as i need to generate a report from this query that will show me support contracts expiring in 1 year and in 30 days time.

Thankyou for your time and help

View 10 Replies View Related







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