Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 2nd, 2004, 06:53 PM
bakerboy_1111 bakerboy_1111 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 14 bakerboy_1111 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile Company logo in report header

Hello all,

I've made quite a few reports for my company and each one has the company logo stored in the report header as an image.

I also have a job title and number in the heading that just describes the current job.

The problem is that firstly, I've added the logo top every report and therefore it is stored about 20 times! The other problem is that if I wish to change the job title, then I have to edit the report each time. This is fine if I am doing it (because I made the report) but I'd like to avoid this so that other users aren't involved in too much editting etc.

My idea is to have a table called "Job_Info" with the following fields: "Job_Logo", "Job_Title", and "Job_Number".

In this table I can store various different job names, logos numbers etc. eg

[LOGO1], First Job, 0001
[LOGO2], Second Job, 0002
etc.

I then wish to create a query and form which allows the user to select one of these records (current job).

I then would like to try and get these three fields to appear in the report header, including the logo. At the moment, the main report info comes from a seperate query.

I'm having trouble calling the information from the table. I get error messages saying cannot find field. I assume this is because the info I'm calling is in a table seperate to the main query.

Is there any way I can call this table (or query) which adds the currently selected company logo and info?

Thankyou to anyone that helps,

Bakerboy

Reply With Quote
  #2  
Old February 3rd, 2004, 11:57 AM
supersubra's Avatar
supersubra supersubra is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Coimbatore, India
Posts: 280 supersubra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 15 m 10 sec
Reputation Power: 6
For Imagedatatype i have not tried. For rest of the datatype You can use Dlookup command .

Place the following in a textbox in the report header (including = symbol)

=Dlookup("RequiredFieldtobedisplayed","FromTable","Jobbumber = '0001")

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Company logo in report header


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway