Image Quality When Using Linked Images
Nov 30, 2006
http://www.access-programmers.co.uk/forums/showthread.php?t=108698
I am using the example database to avoid storing pictures in my database, as the size could grow and make the backend slow down.
The only thing with it is, the image quality isnt that great. Is there a way to sharpen it up?
View Replies
ADVERTISEMENT
Dec 14, 2006
My database contains an embedded thumbnail image, one per record, and I would like to be able to click something on the form of that record to open the full-size image in a picture-viewer of my choosing.
Can someone give me some direction?
Thanks!
View 3 Replies
View Related
Jun 15, 2006
Hi all...
Does it make a big differance in the size of your database if you have all the images in the forms and reports linked instead of embedded? I have about 15 reports all with graphics and and about 7 forms with graphics also... Just wondering if it would make a big difference if after I split the database and create a folder with the current graphics and just link them all.. Or would that be a waste of time...?
Thanks
R~
View 3 Replies
View Related
Jun 14, 2005
Hi,
I have a form in my database that has two subforms, both of which I use to display images that are linked. This works great when I just flip though the records in Form view, but when I want to print off a certain page the images are not linked properly. Instead of showing the image associated with the unique record it previews/prints the images associated with the first record of my recordset.
Any ideas? Maybe there is something in the subform or form properties that I don't have set correctly. In a past visit to the forum I found an extremely helpful database posted (called ImageSample97) that I used to develop my form.
Thank you,
~Amaze
View 1 Replies
View Related
Jan 16, 2015
I have a report in Access 2010. The report contains some images in the main report area and in sub reports. I have The queries that feed the report and subreport contains the name of the pictures that are loaded into its image controls. I added the following code to my form in order to control what image is displayed for each record. Id like the form to work even if the database is moved as long as the subfolder and photos are moved along with it (thus using relative path).
Code:
Private Sub Report_(Current)
Dim ImagePath As String
Dim ImagePathInt As String
Dim ImagePathPlanV As String
[code]...
The problem seems to be that the routine doesn't seem to initially recognize the path. I have a blank photo in the folder containing all the images called NO PHOTO.jpg. If I open the report in design view and browse to this image in the picture parameter of any one of the image controls and run the report, then everything works perfectly even if I close and reopen the report. The report shows the right pictures even in the subreports.
The problem is when I close the database and reopen it, then the link is lost again, forcing me to do the process of browsing for the NO PHOTO image again. I already try to do an open form procedure to automatically reset the picture property, but although it resets the picture to the picture I set (I verify this by setting a different picture instead of the NO PHOTO) it does not make things work correctly as it does when I manually browse for it in design view. I also try to run the code above under the Report (Open) instead of the Report (Current) but that didn't work either.
View 2 Replies
View Related
Mar 12, 2014
I want to display the linked image in form view. 'ole object' has the property 'display type' as content or icon. but both settings shows only the icon and file name. 'attachment' field does show image in form view but attaching images (jpeg or png) will increase database size.
what is the solution?
View 4 Replies
View Related
Mar 18, 2008
Hello. I've searched and read a few threads concerning image controls on forms and haven't been able to find a solution to my problem (yet). Anyway, I have a form with two image controls (imgOK1 & imgOK2). The previous and current setting of the "Picture" property for both images is set to "C:MOMGraphicsfilename.bmp". The location of my images has changed and will change for each user which is "C:Documents and Settingsuser.nameMOMGraphicsfilename.bmp". I'm using the following code to set the .Picture property on form load:
Dim ImgPath
ImgPath = "C:Documents and Settings" & Environ("username") & "My DocumentsMOMGraphics"
Me.imgOK1.Picture = ImgPath & "imgButton-OK1_25%.bmp"
Me.imgOK2.Picture = ImgPath & "imgButton-OK2_25%.bmp"
When the form is opened, an error stating that the image located at "C:MOMGraphicsfilename.bmp" cannot be found; once for each image control. Then the form loads and .Picture properties appear to be set correctly as they are displayed fine. I've tried to clear the .Picture properties for both image controls using the properties editor but the original path returns as soon as the property loses focus. Is there a way to programatically set this property and make it stick so the errors are not displayed?
View 7 Replies
View Related
Dec 7, 2014
I have a linked table in ms access and it has a column as details. in ms access when i click on this button i will go to another form. i want to assign a picture (for opening a form) to this column but i don't know how i have to do this. my form opens as a datasheet view.
View 3 Replies
View Related
Jun 28, 2013
I have a form that I call the AdminForm. It allows the user to store administrative information about the business; business name, address, telephone number, etc. I also have as a part of the table that stores this information an Attachment Field where an image of their logo is stored in a field called, [Logo]. No problem here. The issue is that I want to use the [Logo] field elsewhere like in reports.
I've added an Attachment type control to the report and I've used DLookUp to use the image stored in the admin table, but it doesn't display on the report. There isn't any relationship between the admin table and any report so I can't join them unless I do something "unnatural" by adding a fictitious field to every record to tie it back to the key field in the admin table, (there is never more than one record in the admin table; I ensure that). That doesn't seem like the right way to accomplish this.
View 9 Replies
View Related
May 18, 2013
I am using an unbound object frame to display an .png image file which is set in vba.
The image is an excel chart saved as a .png
The problem I have however is that the image I save from Excel is great quality, and is pretty tack sharp, but when I display the same file in the unbound object frame in access, it is not nearly as sharp.
I am setting the picture property of the control as:
ubImageUserChart = "c: empmyChart.png"
It displays alright, but is just a bit fuzzy - still quite legible, but it is a complex graph with a lot going on - has regressions and formulas etc on the graph, and they need to be very clear.
BTW - the unbound frame is the same size as the Excel chart which gets saved as a .png file. If I tile the images (Access unbound frame and original file in picassa preview) side by side - they are identical - size, orientation etc.
It is not practical for me to try and do the chart natively in access as it is way to complex. I am using access vba to drive an excel session to do all the statistical yack work and chart rendering, then displaying a png image of the resulting chart in an unbound object frame in access.
View 7 Replies
View Related
Jul 9, 2013
Access 2007
Windows Vista
GOAL: Display linked images in image control, and to ultimately to export reports to pdf to share with family by email or to print
ERROR: There isnt enough free memory to update the display. Close unneeded programs and try again.
Ive created a DB for family heirlooms and as part of this Ive included images. Ive done this by storing the filename of the picture as text in the table tblPicture with a one to many relationship to the tblItem. This allows for many pictures of the item itself. I wanted to be able to show the most represent able photo of each item and added a checkbox titled primary picture to the tblPicture. I use this value in the querys to filter out all but one image per record.
I've added around 450 items to date, many of which have multiple pictures. I have started to run into some memory trouble now when running a few query driven reports.
I have stored only the file name in a text field in a table of the DB. I store all of my images in an images folder that is relative and constant to the DB location. I use code to display the images on the form with no problems (yet).
For displaying images on my reports,
1. I check to see if the record has an image path stored
2. If not I set the image control on the report to nothing
3. If there is a relative path stored I collect the DB path, and add the relative path and set the image control to that concatenated path
Code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dim strDBPath As String
Dim strRelativePath As String
Dim strPath As String
[code]...
Lastly, I have a few different pre-built reports that generate any number of records. I can select by the original owner of the item. If that person has only a few items to their name I have no problems.how can I set up my report to display my reports with images to avoid the lack of memory. Is using the image control and setting the picture property in code wrong?
View 1 Replies
View Related
May 11, 2006
I would appreciate any tips as to how I can archive records where the yes no field named "Resolved" is ticked. These records may need to be retrieved (as opposed to deleted). Any deletion would be made at some time later as part of a manual database maintenance process. Unfortuantely the database is 200 Kb larger than permitted to upload however, I can forward a zipped copy if required. Kind regards. Bernard
View 6 Replies
View Related
Jul 21, 2007
I'm attempting to normalize an enormous table with order data, but I'm running into some problems. The table currently contains many duplicates, of which also included the actual order information (yikes!), but I managed to normalize it almost all the way down. It appears that different accounts can be used on orders, and these order numbers are being recycled for some reason months down the line (don't ask my why they're reusing them for future orders because I have no idea either, they should be creating new order numbers). Of course, the Order number is the primary key in my table as it should be. I guess the same thing can occur with the sales rep. Anyway, I'm struggling to find the "best practice way" to deal with this situation. I'm almost tempted to create an intermediary "transaction table" or something like that between the main general order information (which at this point will basically be the Order Number and Customer ID only), then include a table with the account information and sales rep info, then have that link to the Order Detail with the products, quantity, order number and various dates for those order numbers. Order maybe it should be a separate, related table, but not between the general order information and the order details? Can anyone tell me if I'm on the right track for this situation? It was a total curveball that the rep and account information could be different on these orders.
Option 1:
Order (Order #, Customer) -> Transaction Information (Order #, Account Type, Sales Person) -> Order Details (dates, products, quantities, etc)
Option 2:
Order (Order #, Customer)---> Transaction Information (Order #, Account
| Type, Sales Person)
|
|-> Order Details (dates, products, quantities, etc)
View 2 Replies
View Related
Aug 20, 2013
I am designing queries to return averages for quality test data.
I have this query that functions as I want it too [URL] .....
It returns the averages of all the values received for different tests for a lot number (the lot number criteria should be filled out as well)
When I want the query to be more specific and average only certain box numbers in the lot (that start with the prefix PB") the query does not return an average for box numbers starting with PB but splits them up, showing an average for PB1, PB2 instead of combining the data for those boxes into a single unified average ...
[URL] .....
View 3 Replies
View Related
Oct 10, 2013
I am creating a database for call quality monitoring. Just when I thought everything was working perfectly, I get an error saying the record set can't be updated. I can't find anything useful about it online either.
Here is my database:
I have a table which is essentially an template for call quality. each record has a primary key ID number. I also have a table for staff and their teams which is linked to the other table.
I have a form where you can select the staff member, and there is a tab control where the second tab has their quality results via a sub form. I have made the primary key a hyperlink so when clicked it brings up the quality form of the original record. however it can't be updated and gives me the message saying record set can't be updated.
I want the user to be able to click the hyperlink, bring up the record and edit where required.
Is this even possible?
View 5 Replies
View Related
Dec 4, 2014
I have a form that I would like to update a picture on using VBA. The source of the picture path is in part a query that is not bound to the form. So far I have the following code that is pretty much working, but with a couple flaws.
Code:
Private Sub Form_Current()
LoadDefaultPicture
End Sub
Sub LoadDefaultPicture()
Dim db As DAO.Database
[Code] ....
This is working. However, when I change the record the picture flashes the current picture once and then loads the new picture. It is like it reloads the current picture then loads the new one. I'm hoping there is a way to get rid of the flash.
Also, the code fails here:
strDefaultPictureName = rs.Fields("AttachmentName")
When the query does not return a record. I can definitely fix this by adding an if statement to check for a record, but I'm kind of perplexed at why it is failing at that line. I would expect it to assign an empty string to that variable name and then fail on the next command where I try and set the ".Picture" property of the image.
View 8 Replies
View Related
Feb 6, 2005
Hi all ,
Can anyone tell me about how to embedd image in image control using imagelist.
I added the 5 images in imagelist at design time and added the following code.
image.picture=imagelist.listimages(1).picture
but iam getting error.error no :2110,cannot open the file .
thank u,
Siva
View 3 Replies
View Related
Jun 16, 2006
Hi guys,
I'm in desperate need of help and want to know if it is possible to load an image on a form once a hyper link is created.
For example, I have a form with a hyper link to an image created, currently, when you click on the hyperlink, it opens the picture in the browser, can you change it so that it loads teh image embedded into the form instead of loading it into a browser?
If so, how?
Thanks
View 1 Replies
View Related
Feb 2, 2012
I have a database with a number of linked tables that are linked to tables in different databases (not a back-end).for example, I have table1 that is linked to table1 in K:databasedb1.mdb.table2 linked to table2 in S:datadata.mdb.and so on...
However, recently we have moved all our databases to a new location.
K:databasedb1.mdb is now residing in O:masterdatabase
and S:datadata.mdb is now residing in O:masterdata
and so on...
I'm now in charge of relinking all those tables to point to the new location.I would do this in linked table manager one by one but we have 100s of tables linked to multiple different databases in different location.is there a way to create a VBA code that will automatically do this re-linking process?
so,
1. find unlinkable tables
2. search its new location under O:master
3. re-link it to the new location
Database names and tables names have not been changed. Just the location of databases.
View 5 Replies
View Related
Apr 16, 2008
I have a table that is linked to SQL server
In this table I have a field that has thepath to an image
C:TempImagexxx.pdf
What I want to do is have a dropdown that the user can select a Notice Number and then have its image pop up in the form.
I have a Notice Number field and a Path field.
Do I create a Query to query the two fields.
Create a Drop Down box and assign the query to the drop down box.
But then how do I get the image to popup...and in what and unbound object frame?
Any help would be apprecaited
THanks
View 3 Replies
View Related
Apr 13, 2007
To queries here:
Database is the MS Contacts Template with minor adjustments.
1. Trying to insert a link to an image using a bound OLE object in my form. Now I've got it top work. However, the link appears normal size in the centre of the object box. Problem is when I resize the oject box so that llink text just fits fine. The text resizes with the box and you need a microscope to read it.
2. I want to be able to cerate merged letter but I cant select Tools>Merge it with MS word fro some reason (i've aslo tried with with DB's we use in work with same problem) but publish with Word is available.:confused:
I am by no means an expert with Access so please, please post replies in lamens terms.
Thanks,
Marc
View 2 Replies
View Related
Feb 19, 2008
Hello,
I did a cursory search of the forum and didn't find anything (probably more my search than the content). I also think I know the answer to this, but I want to clear it up once and for all.
Is it true that I cannot insert an image into an Access Table in a way that it treats the image like data (e.g., it comes up on reports as entered).
If so, and I suspect it is so, what would be the best way to associate a row with a certain image in Access? Here's what I'm hoping to do: I have a list of projects and all of them have a status. Right now the "status" column includes the text "Green," "Yellow," or "Red." I would rather have this text display as green, yellow, or red color rather than text. Is this possible?
Thank you!! :D
View 4 Replies
View Related
Jan 11, 2006
Hello there
I got a questions and maybe you prof. can help me out
I got a table with all employees in it
Example
John Doil
Mina Lizo
Sholly Nopi
etc.
Its has 250 records.
I also got all the pictues of them
But the pictures have the following name
John_Doil_.jpg
Mina_Lizo_.jpg
Sholly_Nopi_.jpg
Also i still have pictues from ex employees.
I have all the filepaths of the jpg in a table.
Is there a way to link the 2 tables based on first name
Or make a extra cell and in a query take the names for the _ that takes out and put it in that cell.
Sorry for my bad english if you got question plz ask
View 9 Replies
View Related
Mar 11, 2005
I need help combining both text and images on an Access button. Does anyone know how to do this? Bryant
View 2 Replies
View Related
Mar 23, 2005
Hi there,
I have a "minor" problem which most of you will probably have a laugh about :eek:
I have set up my Table / Form to have an image for each "item".
Now...when I add the image, it does not show up as the thumbnail JPG. It only appears as the image name.
So instead of seeing a picture, I see 1.jopg (example)
Can anyone help me with a correct hint?
Much appreciated
Chris
View 5 Replies
View Related
Jul 20, 2005
Before you ask, yes I did search, but no it didn't help...
OK, database is storing members, so each member record needs to have a picture of them. I've made a field in the members table for the path of the image. I've followed the example here - http://www.utteraccess.com/candace/candace/picture/picture.zip , but I keep getting the error 'You can't reference a property or method for a control unless the control has the focus.' When I've tried to set the focus to it I get the error '# can't move the focus to the control MemberImage.'
What am I doing wrong?
View 14 Replies
View Related