Forms :: Combo Box With OLE Picture

Mar 29, 2013

I understand that their are several ways to work with pictures and comboboxes. Working with an OLE Picture is not prefered. But I only need to add 5 little signatures. Previous attempts, like trying to connect with my SharePoint site and our server didn't work. So I have only one option left which is to work with an OLE object. Because the pictures (signatures) are just arround 15kb, I think it will not influence my database a lot.

Because I only have about 2 weeks experience working with Access, I can't enable to show the signature (Picture in jpg or bmp) when a person is selected in a combobox. I compared the code with several other posts but all do it very differently. Signature is an OLE field. In this field for each inspector I paste his Signature.

In the form I'm trying to show his Signature via a combobox. But I can't find out how I have to make the connection between the Picture field and the table were the picture is stored. And this in combination with a combobox. Here is my code were I'm struggling with:

Option Compare Database
Option Explicit
Private Sub Inspector_AfterUpdate()
Select Case Inspector.Value
Case "Inspectors_Name"
Me.Signature.Picture = Me.Inspector.Column(2)

[code]....

View Replies


ADVERTISEMENT

Combo Box /Sub Form /Picture

Dec 12, 2005

I was wondering if anyone could let me know how to do the following:

I have a form with a subform in it. I based the subform on a combo box that gets its info from a table seperate from the form(This works fine) when an item is selected from the combo box it retrieves the correct subform accordingly. I need to know if it is possible if when a selection is made from the combo box it could select the correct picture from the tab folder i have on the form aswell as the correct subform. The picture of my form I have attached may explain better than i can.

I appreciate any feedback whatsoever.

Thank you

View 9 Replies View Related

Picture Based On Combo

Dec 10, 2006

Wise one,

I have looked at several examples within this forum but can't seem to implement any suggestions. My plight is this: I want to introduce a progress status to my database. I would like to do this by depicting a traffic light (green, amber or red). The user needs to be able to pick one of the 3 through a combo box. If the user picks “Red” then the bmp picture will be displayed representing a red traffic light. I created a table with the 3 pictures embedded – tbtProgressStatus. I have a main table called tblClientData where I have a field in which I’m trying to apply a lookup value looking at tbtProgressStatus. However, the embedded objects are not showing in the wizard. Does this mean that this is not possible?
Yours truly

View 1 Replies View Related

Display Picture Depending On Combo Box.

Dec 14, 2006

Hi all! i am wanting to display a signature (jpeg image) when a combo box is displaying "Yes" and the picture to be hidden when the combo box is either empty or set as "No". i have before managed to change colours of other fields depending on combo boxes - but my coding isnt that great, so i dunno what code is req'd!all help much appriciated!thanksDave

View 4 Replies View Related

Forms :: Picture Appear From A Text Box

Jun 27, 2014

How can i make a picture appear when I've entered data in a text box. I tried the code for a check box but it didn't work.

Me.Image190.Visible = Nz(Me.checkbox, False)

View 9 Replies View Related

Forms :: How To Show Picture In A Form

Jul 9, 2013

Now I Making A FORM..... The detail i want is NEED INSERT PICTURE and DISPLAY picture in a box...

How to display a picture when i insert it? or other solutions to show a picture in the form after i attend / insert.

View 1 Replies View Related

Forms :: Picture Path - On Click Set Value To Field

Jul 18, 2013

I need a code to clean txt field for the picture path.

So a button on my frm must write the value

BEGINNERSGELUKdpsAdminFoto.jpg when I click on it. the field he need to write it in is in [tblLeerling] en the field name is [Fotopad]...

View 2 Replies View Related

Forms :: Changing Picture Color In Accordance With Value

Oct 10, 2013

Not sure if this is can be done: I have a picture and I want to change its color in accordance with values in another textBox. Is that possible? if Yes, then what would be the procedure and the codes?

View 1 Replies View Related

Forms :: Picture In Form View Never Scrolls

May 19, 2014

The form is specifically made to be wider than the screen, so that there is a scroll bar at the bottom. I have an embedded picture for the background which is intended to be the size of the form, meaning that the picture is also wide.

In Design view, I can see that the background picture fits the form perfectly, which is what I want to see in Form View.

In Form view, though, the picture is squished to fit the screen. The only time it doesn't do that is if I set the Picture Size Mode to Clip, but then it only shows a portion of it, and when I scroll horizontally, the background picture doesn't scroll with it.

View 4 Replies View Related

Forms :: Adding Profile Picture To Database

Nov 7, 2013

I am trying to add a profile picture to a dog database. The way I have it is that the picture is a file and gets renamed the dog_id, on the query for the form I have added the extra coloum

[code]ImageFile: "C:Gundog Training DatabasesProfilePictures" & [Dog_ID] & ".jpg"[code]

But the image isn't showing....

View 1 Replies View Related

Forms :: How To Display Picture In Object Frame

Mar 25, 2014

I want to know how to display picture in object frame in a form ?

I would like to select the data from a table ...

View 1 Replies View Related

Forms :: Difference Between Shared And Embedded Picture Type?

May 29, 2013

For my database, I would like a picture as my background but I don't know if I should use embedded or shared?

View 2 Replies View Related

Forms :: When Creating Form From Tables / Don't Have Picture Shown

Jan 31, 2015

When I have a simple table, users pictures inside maps (jpeg,png...) defined as OLE object, when creating the form from that tables, don't have picture shown, only name of the picture? I tried all the options, package, copy, paste... nothing...always the same... just picture name but no picture.

View 1 Replies View Related

Forms :: Changing Form Picture Based On Combobox Selection?

Jul 30, 2013

I would like to set up a picture in the form that changes based on a combobox selection, for example if you select from combo box list "design1", a picture that have a name : design1 will appear as a background to the form ..

View 8 Replies View Related

Forms :: Picture Link To Folder Broken By Moving ACCDB

Jul 8, 2013

I have a MS access db with a report that displays a list of students with a pic of their face on the side.

The pics are linked to a folder thats inside the folder where the .accdb file is stored.

The accdb is often moved around, but when it does, all the links become broken and the images are no longer displayed on the list.

How can i adjust the link path so that regardless of where the accdb is moved, the links remain valid?

I am using ms2007 and also its not a networked area but rather a bunch of standalone computers.

View 14 Replies View Related

Forms :: Toggling Visibility Of Picture For Each Row In Form Detail Section

May 31, 2013

" Is it possible to toggle the visibility of a picture on a form's detail section for each row based on a query whether a certain condition is met? "

I have a form, which fetches data from a database and populates the content as a number of rows in the detail section.

For each row I want to test if a certain 'yes/no' condition is met on each query and the toggle the visibility on a picture that I have placed in the detail section.

I've tried seveal possible solutions now, like macros and VBA but haven't got it working.

Btw I'm using Access 2010

View 4 Replies View Related

Forms :: Show Picture When Hovering Over Product Name In Order Form

Mar 11, 2014

I'm creating a database for a flower shop for training purpose. I have a main form with a sub form that has the orders in it. when placing a new order for a client and selecting the product from the combo box, it would be great if the product could show up to the right in the form.

I have no clue if this is possible and how to get it working. I have included the database as an attachment, which way to follow. I remember that I could do this on a web page, but a web page is not the same as a database.

View 5 Replies View Related

Forms :: Populate Combo Boxes With Values Depending On Selected Value In Previous Combo Box

Aug 5, 2013

I have several comboboxes (6) on my form.How to populate these comboboxes with values depending on selected value in previous combobox.

Example.Lets say that you select value "Audi" in combobox 1, then available values in combobox 2 should be "A4","A6","TT" etc. and if you selected "BMW" in combobox 1, then available values in combobox 2 should be "3-series", "5-series" etc...

View 1 Replies View Related

Forms :: Change Record Source Of Combo Box On Form Based On Another Combo Box

Mar 31, 2014

I have a form that currently uses a "catch all" table for listing available equipment to choose from for an equipment field. I call it tblEquipment. What I want to do is to make it so when I type a name in (1 of 35) in one field of the current record, the record source for the equipment field immediately looks at a different table that has equipment available only for that name. To do this I plan on making 35 different tables with limited data originally found in tblEquipment. I would call these tblEquipment1, tblEquipment2, etc. I do not use a sub form, nor do I want to.

So my questions are:

1) can this be done
2)If it can be done, how can I do it?

View 3 Replies View Related

Forms :: Filtering A Combo Box On A Subform From A Combo Box On A Main Form

Apr 27, 2013

I have a Suppliers database which contains a form that will allow me to place orders with Suppliers.The Main form has a combo box that allows me to select the supplier. The combo box is called SupplierID with the following:

Row source: SELECT Suppliers.SupplierID, Suppliers.CompanyName FROM Suppliers ORDER BY Suppliers.CompanyName;

The subform is called Stock Subform witha combo box called ProductID with the following:

Row source: SELECT DISTINCT Products.ProductID, Products.ProductName, Suppliers.CompanyName, Products.Discontinued FROM Suppliers INNER JOIN Products ON Suppliers.SupplierID=Products.SupplierID WHERE (((Products.Discontinued)=0)) ORDER BY Products.ProductName;
Event Procedure - AfterUpdate: Private Sub ProductID_AfterUpdate()
On Error GoTo Err_ProductID_AfterUpdate
Dim strFilter As String
' Evaluate filter before it's passed to DLookup function.
strFilter = "ProductID = " & Me!ProductID

[code]..

The Link fields are done on the Purchase Order ID (PONoID).What I want to achieve is to select the supplier from the combo box (SupplierID) on the main form and then the combo box (ProductID) on the subform to filter to only show products directly supplied by the Supplier selected on the Main Form.

View 11 Replies View Related

Forms :: Fill Text Box Based On Combo Box (not Using Columns In Combo Box)

May 21, 2014

I'm looking for a way to have a text box auto fill based on the selection of a combo box on the same form. I cannot use the method i find all over the internet of using multiple columns in the combo box and basing the text box on that because the combo box already has multiple columns being used to determine its own possibilities and other combo box possibilities.

I would really just like the text box to work like this, but im still kinda inexperienced in VBA...

If combo box is "F004-001", then text box is "237"
If combo box is "F004-003", then text box is "280"

I know how to add in an "after update" thing, but i do not know how to do If/then statements.

View 1 Replies View Related

Forms :: How To Filter Combo 2 From Table After Select Value From Combo 1

Nov 5, 2013

i have a table with three column Named

1-State
2-City
3-Customer

on a form i m placing 3 combo box for each column how can i filter combo 2 from table after select value from combo 1

View 1 Replies View Related

Forms :: Combo Box Value Based On Selection In Other Combo Box?

Nov 29, 2014

I'm trying to build a database for daily work. My work in daily basis I have to fill all condition for several items.

We have two areas, with two locations under each area, and three systems under each location and each system contain more than 500 items.

I created all tables and fill by all information:

1-Table 1: Area 1, Area 2, Area 3, Area 4, Area 5, Area 6.
2-Table 2: Location 1, Location 2.
3-Table 3: System 1, System 2, System 3.
4-Table 4: all items under System 1-1-1
5-Table 4: all items under System 1-1-2

[Code] ....

Last table will be LogBook which will be as follow:

date l time l area l location l system l item l Conition1 l Conition2 l Conition3

My question regarding to the form of the above table:

How can I make a combo box for area field and when I select for example area1 will appear only the locations which under area1 in location field, and when I select location1 for example will appear only the systems under location1 in system field, and when I select system1 one for example will appear only items under system 1.Combo box list will be based on the selection in previous combo box and so on.

View 3 Replies View Related

Forms :: Filtering Combo Box Based On Another Combo Box

Jun 3, 2014

I am trying to select a value from one combo box and on the basis of this selection the other combo box show only those values which have link to the value I have selected.

View 14 Replies View Related

Forms :: Hide Value From Previous Combo In Next Combo?

Jan 8, 2014

I have a continuous form which has 1 field in which is a combo box which has a list of names. Once you select a name, the next record down is available for selection. This is because my tables PK is a autonumber. How do i filter the records to only show the names which have not been previously entered in my above records.

View 11 Replies View Related

Forms :: Combo Box With Values Based On Another Combo Box

Jun 25, 2013

I have a main form that filters data in a subform based on selections via combo box users make on the main form.

So I have the 'department' and 'manager's name'. If someone selects 'Human Resources' from 'department' combo box, then I only want to see the managers that are in the Human Resources departement when I drop down the combo box for 'manager's name'. Currently I'm seeing all the managers and a user can select a manager that is not in human resources and get no data returned. I prefer for him to get a list of those that are in that department only. The source of the combo box is a query.

I got it! Found here: [URL] ....

View 3 Replies View Related







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