Hi All,
First of all what a great site. I have already downloaded some samples which I think I will find useful. I have been tasked with writing a database to store details of companies which in essence, even for me is quite easy. The one thing though I am struggling with is the best way of storing an image of the company website as a linked form and then when clicking on it, act as a hyper link which goes to the site concerned. I am really "rusty" at Access but quite good at adapting code given to me. So you know I have tried, this is what I have so far.
A table called companies with a primary key called CompanyId which is simply an autonumber. As well as lots of fields such as postcode, No Of Employees etc there is also a field called Website. Mini question, can I control the input for this field so it is always in the right format? I then got snapshots for lots of websites and saved the images on a folder on my pc. Each picture is named 1,2,3 etc where the number is the same as the Company ID. Using some code I found on the internet, I created a table called Artwork, which stores a link for every image and a field called Artwork ID e.g 1,2, 3 etc.
So...I have a form with lots of tabs e.g. Address, Company Notes, Contacts, and General Information. On this tab, I have put a subform which has a photoframe. The data source for the subform is a query which finds the record in my table Artwork with the Field ArtworkID the same as Company ID on my main form. In the current event for my form, if there is a website, I then use this to make the hyperlink for the photoframe equal the webpage details. It does work ok...but, I really can't help but think its looks a little unprofessional(the images are not always the same size) and want to make it look really nice. So can I do 1 of the following;
1 (best Choice) Instead of a photo frame have the Activex Microsoft WebViewer which as a source has the website stored in the website field. I did try this but obviously the whole webpage image does not fit in the embedded object. Is it possible to shrink the webpage image so that it always fits into the Activex object as if it were a mini tv. This would be brilliant because it would always be an up to date image. I saw some examples about zooming in and out which is why I'm asking.
2 (Plan B). Still using the webpage stored in my field, grab the image from the site and store that picture on my pc...i.e. Company ID 5 is Microsoft. Go to microsoft.com....grab the image and call it 5.jpeg on my pc.
Finally, this database was requested by my managing director who strangle thinks Im very good at Access,,,,Arrrrrrr !! lol I wanted to add some fancy features which will impress. For example, I really like the sample for making a form translucent which I think I will use. I was wondering if it were possible to make the web site object look "alive" with some kind of animation such as in powerpoint..for example rotation...
Sorry for such a long question....I really hope some one can assist.
First of all what a great site. I have already downloaded some samples which I think I will find useful. I have been tasked with writing a database to store details of companies which in essence, even for me is quite easy. The one thing though I am struggling with is the best way of storing an image of the company website as a linked form and then when clicking on it, act as a hyper link which goes to the site concerned. I am really "rusty" at Access but quite good at adapting code given to me. So you know I have tried, this is what I have so far.
A table called companies with a primary key called CompanyId which is simply an autonumber. As well as lots of fields such as postcode, No Of Employees etc there is also a field called Website. Mini question, can I control the input for this field so it is always in the right format? I then got snapshots for lots of websites and saved the images on a folder on my pc. Each picture is named 1,2,3 etc where the number is the same as the Company ID. Using some code I found on the internet, I created a table called Artwork, which stores a link for every image and a field called Artwork ID e.g 1,2, 3 etc.
So...I have a form with lots of tabs e.g. Address, Company Notes, Contacts, and General Information. On this tab, I have put a subform which has a photoframe. The data source for the subform is a query which finds the record in my table Artwork with the Field ArtworkID the same as Company ID on my main form. In the current event for my form, if there is a website, I then use this to make the hyperlink for the photoframe equal the webpage details. It does work ok...but, I really can't help but think its looks a little unprofessional(the images are not always the same size) and want to make it look really nice. So can I do 1 of the following;
1 (best Choice) Instead of a photo frame have the Activex Microsoft WebViewer which as a source has the website stored in the website field. I did try this but obviously the whole webpage image does not fit in the embedded object. Is it possible to shrink the webpage image so that it always fits into the Activex object as if it were a mini tv. This would be brilliant because it would always be an up to date image. I saw some examples about zooming in and out which is why I'm asking.
2 (Plan B). Still using the webpage stored in my field, grab the image from the site and store that picture on my pc...i.e. Company ID 5 is Microsoft. Go to microsoft.com....grab the image and call it 5.jpeg on my pc.
Finally, this database was requested by my managing director who strangle thinks Im very good at Access,,,,Arrrrrrr !! lol I wanted to add some fancy features which will impress. For example, I really like the sample for making a form translucent which I think I will use. I was wondering if it were possible to make the web site object look "alive" with some kind of animation such as in powerpoint..for example rotation...
Sorry for such a long question....I really hope some one can assist.