473,387 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Binding OLE Object to Bitmap without Record Source

Hey folks.

I have a problem concerning an ole object in reports and forms which IŽd like to fill with Bitmap Data from a seperate table which is not part of the record source.

The Bitmap-containing table is build up as follows:

Logos (ID, Name, Logo, Actual)

Logo contains the oleObject, Actual is a Yes/No field.

IŽll make sure that only one record can be set to be actual.

What I am looking for is some kind of solution to set the control source of the object to
"SELECT Logo From Logos WHERE Actual=-1"

Unfortunately, select statements arenŽt allowed in control source fields. So how can I get the information in my oleObject?

I tried control source: "=DLookUp("Logo";"Logos";"ID=X"), just filling in a random existing ID to check if it works.. but it did not)

I hope somebody has any ideas or help,

kind regards from germany,

Matthias
Jul 26 '11 #1
2 2414
NeoPa
32,556 Expert Mod 16PB
Have you considered setting the Control Source explicitly with VBA code in the form's Open event procedure?
Jul 26 '11 #2
Rabbit
12,516 Expert Mod 8TB
In the record source of the form, you could join your tables to pull in the ole object.
Jul 26 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Dustin Wilson | last post by:
With the code listed below I can get a list of all the forms within my database. Is there a way to also get the Record Source property from each of these forms? How is this done? Thanks...
2
by: Lyn | last post by:
If I have a form where the RecordSource property is set to the name of a table, then on opening the SingleForm form I can cycle through all the records in the table one at a time via Next and...
4
by: steph | last post by:
Hi, A question regarding Access 2002: I've got a form which should be displayed in Form View and in Datasheet View. But I want to use a different record source for each view. That means, when...
6
by: ApexData | last post by:
I have 2 tables: Table1 and Table2. Neither one has a primary key because each table will only have 1-record. My form is a SingleForm unbound with tabs (my desire here). Using this form, in...
1
by: Kurt | last post by:
If one has a working subform, adds a new field to the subform's table, then adds the field (control) to the subform, MS Access 2003 (11.6566.6568) SP2 will not see that new field in Form View. The...
1
by: usenet_e | last post by:
Hello, few users have problems with our application (ADP/MsAcces2000+SqlServer2000). When they want to open a report which source is a stored procedure, they get message that "record source...
1
by: Peter Herath | last post by:
I have created a report using sample codes taken by the forum. one problem is that the report displays the field/column names in the table in columnar format(field names display in rows.) but i want...
1
by: Whiteeagle | last post by:
Hi all I have inherated a bit of a dilema and not sure about the correct way of solving the problem. The company I work for have 60 identical but seperate databases which are all in seperate...
1
by: thread | last post by:
Hi i built a form that getting dynamic SQL string,the SQL string is placed in the record source when the form is opened. i notice when trying to reduce some proccess time from the form that it...
30
by: CD Tom | last post by:
I found Stephen Lebans modReportToPDF and have been trying to get it to work in my application. I've downloaded his database and when I run his test it works fine. I then added it to my application...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.