Drag And Drop Works Great But How Do I Open A Reports Based On What I Selected?

Aug 4, 2006

Drag and Drop works great but how do I open a reports based on what I selected?
I have two list boxes the first is "items not selected" and the second is "Items selected" now I want to create a button that open a report showing the result from "Items selected"?? Hope someone can help I've been to ms access web site but our firewall does not allow any down loads. Thanks in advance.

View Replies


ADVERTISEMENT

DLookUp Works Great BUT

Feb 28, 2008

here is the code I put in the OnExit of the InDate

If DLookup("[BeginDate]", "GroupEvent", "[In Date] >= [BeginDate] And [In Date]<= [EndDate]") Then

It works great BUT I need to get the Activity and Number field information from the record. I cannot use another DLookup cause it pulls the Activity information from the first record and not the found record. Any Ideas?

GroupEvent Table :
Fields are BeginDate, EndDate, Activity and Number

Thanks
Ed

View 1 Replies View Related

Drag Ans Drop ?

Nov 23, 2006

Hello,
How to do drag & drop in a form ?
I would like user click a field on a listbox and place it with the mouse in a field of the form as you can see in windows explorer to move a file from a place to an other.
I tried with mouse events but i don't obtain exactly what i want.
I this possible to do that ?
Thanks in advance.

View 4 Replies View Related

Drag & Drop In Continuous Form

Mar 31, 2005

Hello ppl,

I have a database for selling items.

In my opinion there are actualy 3 solutions to fix this. As i will explain later on.
But first i will try to describe the database first.

there is a reciept part and a "offerte" (<--in dutch) part. I cant remember the word anymore.

Everything is working fine. But i have got just one problem. I have a continuous subform with records in it. When adding records they get added at the end of the record set. Ok fine.... thats still no problem.

But if some item is forgotten. They will need to add it. But it will be added at the end of the list. and for example it needs to be between record 2 and 3.

So this is the problem. Is it posible to have it moved. For example with 2 buttons "Move Up" "Move Down" or drag and drop. I actualy don't care how this will hapen. but the items need to have the posibility to be reordered.

I found a interesting example database. with a listbox with the records in it. and drag and drop possibilities. But i cant figure out how to update this recordset order to the continuous form (it is the same query they pik). Or maybe to send the recordset in the listbox directly to an report would do the job either.

I would appriciate some help here. I am looking for a solution for 2 weeks already. and you ppl are my last hope.

Bye


Lon3,

View 3 Replies View Related

General :: Drag And Drop Between Databases

Sep 10, 2012

I've been developing several databases. Some elements that were experimental are now going "live". My development environment is Access 2010 on Windows 7 Pro. The "live" environment is also Access 2010 but running on Windows Vista SP2.

In development, I can drag tables, queries, etc. from one database to another by dropping them in the navigation column. When I try that on the "live" environment, it doesn't seem to work.

Is this a knownh difference between Windows 7 and Vista? Is this some sort of "trusted database" issue?

It is lots easier to drag and drop than using the Import External Data process so I'd like it to work.

View 2 Replies View Related

Drag And Drop Images Into Form?

Nov 4, 2012

We want a catalog - style report but the boss is going to want drag and drop. The tables are based on a link to an image.

View 7 Replies View Related

Simulate Drag And Drop Between Two List Boxes

Jan 20, 2005

Hello to all
The problem that I am facing is the following. I am trying to create a form that has the following:
1. A combo box in which you select from a list of users
2. A list box which is populated when I select a user showing me the courses that they have to take
3. Another list box that is populated when I select a course showing me the dates available for that course
4. Finally a third list box which is populated by what I drag or double click on the dates list box basically scheudling the user to his courses.

The first 3 parts of this done what is left to do now is the hard part which is to be able to drag and drop the dates in the other listbox which basically maps that user to that course date and populates the corresponding table. Any suggestions on how to do this would be highly appreciated. Thank you in advance

View 6 Replies View Related

Procedure Works Great First Pass, But Not The Second Pass

Jul 15, 2005

Good afternoon, I have a form with a subform and in the first txtbox of the subform in the GotFocus event I have a little procedure which checks the txtboxs on the parent to make sure that there is data in all four of the txtboxes. This works great the first time and it pops up a msgbox and it even setsfocus on the txtbox with no data in it, but if I tab into the subform a second time and there still is no data in one of the txtboxs on the parent form, nothing happens, no message and no setting focus on the txtbox with no data in it. Does anyone know of a way to get this procedure to re-set everytime a user tries to enter the subform? Thank you in advance to anyone offering and ideas and suggestions.

View 8 Replies View Related

Move Or Copy Email By Drag & Drop On Form

Sep 27, 2006

Hi all,

Is there a way that I can move or copy emails directly from Outlook to a form by using drag & drop?

I know how to do for the files in explorer, but can't figure out how to do from outlook.

Thanks,
Jatz

View 1 Replies View Related

Drag And Drop Listbox Item Into Text Field

Nov 7, 2006

the title explains this..

im not even sure if this is possible.. but if it is it will be just what i need.

basically the job1 form has a search feature added to it..

as users type the passenger name in the form.. a listbox below updates if a match is found..


if you can imagine the situation..

my user will be entering jobs into this form.. they will not know whether or not a passenger has used us before.. the only way they will know is if they see in the listbox the same name.. and pickup/destination/phone no. details as the job they are about to enter


i wondered if it was possible for the user to click on the customer in the listbox.. and drag and drop it into the passenger name textbox..

can this be done.. the attatchment is very simple.. one form.. job1.

if someone can explain to me how to do it.. or perhaps alter the db i have attached i will be most grateful

thanks

View 1 Replies View Related

Move Or Copy Email By Drag & Drop On Form

Sep 27, 2006

Hi all,

Is there a way that I can move or copy emails directly from Outlook to a form by using drag & drop?

I know how to do for the files in explorer, but can't figure out how to do from outlook.

Thanks,
Jatz

View 1 Replies View Related

Modules & VBA :: Drag And Drop Feature Added To Databse

Nov 10, 2014

I am in the process of trying to create a DragNDrop feature in the Access database that I've built. I have 3 employee with several different txt boxes all side by side and I need to be able to drag and drop the job from one to another.

I need to create a class module to do this but my problem is I don't know how.

View 7 Replies View Related

How To Have Users Drag And Drop A Document Into A Text Box Within A Form

Jul 7, 2015

how to have users drag and drop a document into a text box within a form and have it create a hyperlink. What I need to know now, is if there is a way that when a file is dropped into the text box, it only shows the icon associated with that file, or at the very least, edit the hyperlink to only show a certain text. The files I need to see are all in a networked drive, so the hyperlink addresses can be quite long, and ultimately I'd just like the hyperlink to say "letter". Showing the icon would be a plus.

View 3 Replies View Related

Reports :: Print Or Preview Reports Based On Selected Value In List Or Combobox

Jul 11, 2013

I am still trying to get a hang of development in access 2010.

I would like to design a form with a listbox or a combobox which holds all 8 of my reports (a table has all the reports), with a Print and a Preview view buttons. In addition, the user must be able to select if they want to view the report by month, quarter and the year in question.

How do i have a specific report print or previewed based on the value selected in the listbox or combobox and the date criteria.

View 4 Replies View Related

Reports :: Use Drop Down To Open Different Reports

Apr 17, 2015

I have a lot of reports I have created. A lot of them are the same report but with different criteria. Right now I just have a report form, which displays all of the reports with buttons and the user chooses the desired report, clicks, and bam. In an attempt to make this look nicer and cleaner, is there a way to use a couple of drop down menus to open the reports. For example, can I group them by the main report category, have a drop down, click on a desired report and it opens from there??

View 12 Replies View Related

Reports :: Calculation Based On Row / Value Selected From List

Dec 8, 2014

I have a table with a primary key as date, and various other fields with numerical values. I also have a query that calculates running totals for each of these fields, as well as including the fields from the table.

I need to create a report or form in which I can select a date(primary key) from a drop down list.

I need the selected date to determine a row/value from a field (a running total from the query)

I then need to use that value in a formula;

result = sum([field]) - value

What I am trying to do is calculate the difference between the sum of a field, and a specific row/value in a calculated field containing a running total of the original field.

View 10 Replies View Related

Reports :: Create A Form Which Filters A Report Based Off Of Combo Boxes Selected By User

Jan 2, 2014

I'm trying to create a form which filters a report based off of combo boxes selected by the user. The code I'm using currently is:

Code:
DoCmd.OpenReport "rptProgramAttendees", acViewReport, , "ProgramIDFK = " & cboProgramTitle

This works great to return a report if the user selects something from the combo box. How do I adapt this so that the user can also leave the combo box blank and filter the report to return all records?Additionally, what if I want to have the user filter between dates selected on the form; i.e. between 'txtStart' and 'txtEnd'

View 10 Replies View Related

If Employee Already Selected Do Not Allow To Be Shown In Drop Down Again

Jun 4, 2012

I am trying to create an available list of employees to assign to an event. Basically, when I assign someone to the event and need to assign additional people, I don't want the ones who have already been selected to show up in the drop down.

Sheet1 is the linked Excel sheet where all of the employees are contained.
Assigned officers is the table where those selected to work are stored.

Using the following code, I get a prompt for sheet1.[employee id]

Code:
SELECT Sheet1.[Officer Name], Sheet1.[Employee Number], Sheet1.[Employee Number]
FROM Sheet1
WHERE (((Sheet1.[Employee Number]) Not In ([Assigned Officer].[Employee ID])));
;

I don't think the "not in" is correct.

View 8 Replies View Related

Forms :: Drop Down Shows Both Columns When Selected

Jun 29, 2015

I've got a form with a drop down combo box with two columns. When you hit the down arrow it shows both columns, but when you click a choice, it only shows the data in the first column. How do I make it show both columns after it has been chosen? First col is First Name, second col is Last Name.

View 3 Replies View Related

Scanning Barcode Into Search Box Works But Causes Multiple - Cannot Open Any More Databases - Errors

Aug 5, 2014

I'm scanning bar codes into the record search box, most of the time it works as it should but occasionally I get multiple "cannot open any more databases" errors. It still finds the product record but the error messages are super annoying. I am sure to clear the memory on the scanner each time before I scan in a new barcode but it doesn't seem to matter. Also sure to only have one or 2 forms open at a time, that doesn't seem to matter either. Most of the time I don't get the errors but when I have to click through like 10+ error messages (all identical). I only have one database open so I'm not sure what it even means. Also I have tried this in 2 different forms and it's the same for both forms. Seems like I get the errors in my initial scan and then after clearing them it seems to work without errors.

View 4 Replies View Related

Tables :: Answer To Question Selected From Drop Down Menu

Jul 12, 2013

I have a table with questions and answers. I want the answers to be selected from a drop down menu. The problem is that for each question the answer options are different. That means I need to prepare different drop down menus for each question.

I've attached the table as well.

View 2 Replies View Related

Drop Down Selection - Once Item Is Selected - Populate Field To Right

Apr 14, 2014

I am trying to do the following. I understand how to create relationships.However, when I create a field with a drop down selection (in this example Phone Number and Email) once that list item is selected I would like the column to the right to populate that information.So when Phone # is selected, the field to the right will populate a number for this individual.

View 2 Replies View Related

Reports :: Subreport Only Works If Set Breakpoint

Apr 19, 2013

I have a report with 2 subreports on it. One of the subreports does not show on the report preview unless I set a breakpoint in the report's code. Set a breakpoint in the code (for no other reason), hit the breakpoint, continue, and the report works fine from then on, until you close the database and open it again, even if you remove the breakpoint. The other subreport, which is similar, always shows fine.

I can't find out what's wrong by setting a breakpoint.

View 1 Replies View Related

Access 2002: Selected Data In Drop-down Boxes Blacked Out!

Apr 1, 2008

Hi everyone!

Why is it that everytime I print a report containing Drop-down Boxes, the selected value for that particular record is blacked out?

This is a screenshot of what I'm talking about: http://ww w.hotlinkfiles.com/files/1177902_txqed/AccessReport-Error.JPG
All the blacked-out bits are supposed to be the selected values for each record.

I use Microsoft Access 2002. How can I fix this so that the actual value is legible?

To recreate the problem:
1) My table contains a field (called "Colour") that can only be satisfied by certain values ("Black"; "White"; "Coloured") as defined by a drop-down list.
2) I enter a record about a white scarf. Therefore under "Colour", I select "White" from the drop-down list.
3) I make a report from my table.
4) I print the report.
5) However, when I look at the record of the white scarf, all I see under "Colour" is a box containing the values "Black" and "Coloured", and in between them, the selected value "White" should be, is a black line.

THANKS IN ADVANCE FOR ANY HELP YOU CAN OFFER!

View 3 Replies View Related

Forms :: Displaying Initials In Combo Box When Option Selected From Drop Down

Oct 2, 2013

I have a Combo Box bound which gets its values from a table (T_Users).

The Combo Box displays the Users 'Initials' [Column 1], but the Bound Column [Column 2] is that of the Users 'ID' (which is used when a record is edited or a new record added).

What I want to be able to do is when the user clicks the Combo Box, and the drop down list 'drops down' the options, I want them to not only see the 'Initials' but also selected other columns - BUT - when the option is selected I just want the 'Initials' to be displayed in the Combo Box.

Code:
So, Normal > | ABC |

Dropped Down > | ABC |
--------------------------------------------
| ABC (Annabel Carcus, Big Company Ltd.) |
| JB (Joe Bloggs, Medium Company Ltd.) |
| FS (Fred Smith, Little Company Ltd.) |

Select JB, and > | JB |

View 6 Replies View Related

General :: Display Selected Form Using Drop Down On Opening Database

Jun 23, 2015

I have created a Db in MS Access 2010 and under Options > Current Database I have done the following:

- Used drop down to select a form I want to display on opening
- Unchecked display navigation pane
- Unchecked allow full menus

This works how I want it to, perfectly. I then send it to a client who also has MS Access 2010 and when they open the file the form I have told it to open doesn't open, the navigation bar is displayed (with the form I want to open highlighted) and the full menus show but are locked.

What's going on? Is it some security setting the client has that isn't letting the opening procedure execute properly?

View 1 Replies View Related







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