How Do I Only Show Current Records Image?

Oct 12, 2005

Hi

Just wondering if anyone could help me with my little problem :)

I am making a register (as in a class register of students) I have a table with the lessons on and one with students on. I have made a relationship between them etc.

I have a form where the parent allows you to choose which lesson you want to view, and the subform displays the students for that lesson. This all works fine.

My problem is that I also want a picture to be displayed for the student that is currently selected, I have managed to update the picture by using

Private Sub Form_Current()
[student_picture].Picture = [student_image]
End Sub

student_picture is the name of the image on the subform, the student_image is a row in my student database that contains the location of the image e.g. c:abc.jpg

and this works at updating the image that is show. The only problem is that the image is shown on all records/rows. Is there anyway of making it so that the image is only displayed on the current row?

Thank you

Neil

View Replies


ADVERTISEMENT

Trying To Show An Image From A URL

Jul 14, 2006

I have a form that has an image name. The image is stored on a web server. The image can be accessed through a URL. The problem is how can I show the image on my form. When I try to change the picture property of my image control it tells me that it cannot use a web address. Any help would be greatly appriciated

View 6 Replies View Related

Forms :: How To Show Image In ComboBox

Jan 4, 2014

I have a question about combo box , i want when i click on combo box show picture , for example i create a form by 2 languages (English,French) each language have a specific flag , when i click on the combo box show English and beside English show USA flag with French Language and beside French show flag of French.

View 3 Replies View Related

Forms :: Using Mousemove VBA To Show Image?

Nov 4, 2013

I have a form with mulitple buttons that run different reports, I've used the mousemove VBA script to show text about the report when the cursor is placed over one of the buttons that all works fine.

Can get it to display a image when the cursor is placed over a button.

It'd just be a screenshot of the report output so the user gets an idea of the layout before they run it.

View 7 Replies View Related

Combo Box Value Hide / Show Image

Jul 7, 2011

I'm using access 2007. I'm trying to get a combo box on a form to show or hide an image on a report based on the combo box's value. It seemed simple, but I've tried lots of codes.

View 7 Replies View Related

Forms :: Show Image Based On Another Control Value?

Nov 5, 2014

I have a text box [txtTrafficValue] that is a calculated field of two short times. I want an image to be visible if the value is >= 0.0104 (15 minutes). I have in the after update of the field:

if me.txtTrafficValue >= 0.0104 Then
Me.imgWarning.visible = true
Else
Me.imgWarning.visible = false
End if

but when the field does the calculation and updates the image is not appearing.

View 5 Replies View Related

Reports :: Can Get Image To Show In Report Print View

May 29, 2013

I have a report which gets it's records from a table which has OLE Object data type being a "file.jpg". can I get the image to show in the report print view and also print it with the report?

View 6 Replies View Related

Forms :: Using Command Button To Select Image And Show It In Access Form One After One?

Feb 26, 2015

in the attached form i can select multiple image but my next and back button does not work ,also i want the path to the file shown above.to copy the name from there and paste it in the table,to write remarks.

View 2 Replies View Related

Forms :: Show Image / Text / Xlsx File In Continuous Subform

Jul 12, 2015

I want to show an subform where in I would like to display images,txt,xlsx that are stored in a directory as icons which when clciked would open the respective files.The info related to the images are stored in t_CustomerFiles.

Record ID, CustomerID, DestinationPath,EventFileName,
1, A, C:UsersTestDesktopCustFiles, CustA1.jpg
2, A, C:UsersTestDesktopCustFiles, CustA2.xlsx
3, B, C:UsersTestDesktopCustFiles, CustB1.txt
4, C, C:UsersTestDesktopCustFiles, CustC1.jpg
5, C, C:UsersTestDesktopCustFiles, CustC2.jpg.

I would like to show them on a continusous sub form .. I am using image control by setting its control source property but it does not seem to work..Do I need something else for the xlsx and txt files..

View 2 Replies View Related

Forms :: Access 2010 / Show Image Based On Click Continuous Form Record?

Oct 29, 2014

I have continuous form in Access 2010 and I would like when user will click on record, the image, for instance, imgTest become visible for that record. But for other records the image not visible. How it to do?

View 6 Replies View Related

How To Show Most Current Record Only?

Apr 9, 2006

I am creating a query based on two tables: 1) tblClient (only one primary key "ClientID") and 2) tblContactDate (with two primary keys "ClientID" and "ContactDate").

Each client may have more than one contact date.

In the query, I only want the records from the tblContactDate showing for the MOST RECENT contact date of the client only; however, right now the query is producing more than one record for those clients with more than one contact date.

Not sure if I need add some special code to the "criteria" area in the Design View, or somewhere else. Your help is appreciated. :confused:

View 5 Replies View Related

How To Show Only The Current Forms Details!!

Jun 9, 2007

Hi i hope someone can help. :)

I have created a databse with three tables that are linked (customers, quotes and invoices). I have my main form (customers) with two sub forms (quotes and invoices).

Is it possible to create a query to show the data just from the current form that i am viewing?

I would appreciate if you could help.

View 2 Replies View Related

Forms :: Show Only Most Current Record?

Aug 3, 2013

i've designed a rental database (which seems to do what i want) - it's not perfect....

But i can't figure out how to accomplish this.

If i have a tenant, who has previously had a lease agreement on one of my properties, but then moves out, and then moves into one of my new properties, i can't seem to see how to get access to display just the new lease details.

I've attached a blank copy of the DB with some sample data to illustrate this.

you will see that test tenant has two leases, one expired lease, and one active lease, but on the main form it just shows the expired (original lease)....

View 3 Replies View Related

Report Filter To Show Only Current Record

Sep 21, 2005

Help needed again please

I have managed to link a report to a form where you can double click on the surname and the report opens automatically BUT I want the report to only show the data from the record that I have double clicked - at teh moment the report is coming up with thousands of pages - one for each record.

Can anyone help me with this - I think it's probably something simple but I can't work it out on my own :eek:

View 14 Replies View Related

Report Question - Best Way To Just Show Current Record?

Nov 17, 2004

Is there a way to configure a report to only show
the data from the current record I choose on my form?
Thanks in advance.

View 1 Replies View Related

Reports :: Query To Show Only Current Week

Dec 3, 2014

How can i make a conditional report that can give me some data from the table.

View 1 Replies View Related

Reports :: On Show Most Current Data On A Report

Mar 14, 2013

I have a report that shows all visit dates and the rep that did the visit. How do I only show the most current data. I use an append query to add records to a specific table. The report pulls from that table.

View 1 Replies View Related

General :: Set Text Field To Show Particular Time For Current Day

Aug 7, 2013

How can i put a fixed time for the current date in a text field.

So the field will be 06:00:00 for the current day when the form is open?

View 1 Replies View Related

Modules & VBA :: Show Related Record For Current User

May 11, 2014

I was creating a program using ms access. consist of 2 table of database called employee and userlevel.. in employee table have ID, name, username, password,userlevel, and others related employee profile.. and in userlevel table, it consist of admin level and normal user level.. Userlevel table allow to differenciate admin and normal user(employee) .. in my program each employee having their own loginID and pass to access their own data.. the problem with my program now is displaying the data that belong to the logged in employee. its mean that it only show the data that owned by currently user that logged in..

View 7 Replies View Related

Forms :: Show Current And Total Record Numbers

Nov 27, 2013

This code shows current record number:

Code:
=[CurrentRecord]

This code shows total record number:

Code:
=DCount("[Category]","tblCategory")

How do I combine them in a textbox to say something like "8 of 10"?

View 1 Replies View Related

Select Current Record In Datasheet And Show In Main Form?

Aug 20, 2007

Hello everyone,
I have a query that runs from the main form when the command button is clicked. It displays the results in datasheet view. I want the user to double click a specific record and jump to that specific record in the main form. How do I do this? Sorry, if this is a dumb question. Please help, my boss is breathing down my neck. :eek: The main form is called Contracts. Each record has a unique ID.

Thanks,
Jason

View 11 Replies View Related

Modules & VBA :: Current Record Does Not Show On Report - Manual Refresh?

Aug 31, 2014

I have a form that when a user fills out the information and select a submit button. It brings up that record in reports in print preview for them to print. The issue i am having when the user enter the information, the report does not show any data until i refresh it. I tried include me.refresh,etc. No luck. I attached the code to make things simpler.

Private Sub Form_BeforeUpdate(Cancel As Integer)
If Me.Dirty Then
If MsgBox("Do you want to Submit this Contract Form? Clicking No will DELETE ALL ENTERIES,and Log You Off", vbYesNo, "CONTRACT FORM") = vbNo Then
Me.Undo
Cancel = True
Else
If MsgBox("PRINT FORM", vbOKOnly, "CONTRACT PRINT") = vbOK Then
DoCmd.OpenReport "rpt_Contracts_Main", acViewReport, , "[CONTRACT_ID]=" & Me!CONTRACT_ID
End If
End If
End If
End Sub

The reports comes up, but i have to manually refresh it to show the data that was enter.

View 7 Replies View Related

Reports :: Show Data For Current Year With A Record Count

Apr 14, 2014

I have a report that I am trying to show data for the current year, but with a record count.

So, for example: I have 3-OVI, 3-Conduct Unbecoming, and 3-Did not transport for the current year.

When I run my report, it will show the above data for the current year, but in this format;

OVI-1
OVI-1
OVI-1
Conduct Unbecoming-1

and so on.

What I would like is;

OVI-3
Conduct Unbecoming-3
Did not transport-3
Total-9

If I take out the date code for the current year in my query, then I get the desired results but I get all data.

If I leave the date code in, then I get the data for the current year but I get the first example above.

View 3 Replies View Related

Modules & VBA :: Access 2007 - Retrieve Current User And Show Ribbon

Oct 7, 2013

I want to show one ribbon for any user level.

Into attach file I use a UserTable to test different user/level.

I retrieve this error: Error 438"Object Doesn't Support This Property or Method" ...

View 2 Replies View Related

Forms :: Data Entry - How To Show Current Date That Doesn't Change The Next Day

Jun 27, 2013

I am extremely new to Access. I have my database up and running ok(ish) and would like to know if in my data entry form, I can have the "Date Entered in Database" box display the current date that does not change from day to day. I know you can use the "Now()" function but won't this just change everyday?

View 3 Replies View Related

Show Current Record Value From Table In Combobox In Addition To Query Results

May 3, 2015

I have a table, with a related value in another table. E.g. A Items table with a batch value from another table.

I have a form to enter how many of these items has been used and from which batch number they belong.

The batch number is from a dropdown, and batches can be finished(exhausted) and marked such in the table so they no more show in the dropdown.

All this works fine, until, I go back to a entry which was from a batch that has been finished. The combobox is empty although the (Already finished) batch number is mentioned in the table. This is perfectly normal as my query for the combobox is :

Code:

SELECT ItemBatch.ItemId, ItemBatch.ItemBatchNumber, ItemBatch.Finished, ItemBatch.ItemName
FROM ItemBatch
WHERE (((ItemBatch.Finished)=False)
AND ((ItemBatch.ItemName)=[Forms]![ItemMasterForm]![ItemDataSheet].[Form]![ItemName]));

What I want is to show the current batch number as well. I tried to make this query get the current value, but wasn't successful. I tried to make a calculated field based on the dropdown and show its value.

Is there any way I can show the batch number in the datasheet? I have to use a datasheet and not a form, because there will be many sub records for the main form, and having a form will be very uneasy.

View 3 Replies View Related







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