Lets talk databases!

Started by Monster Dave, May 13, 2011, 09:36:07 AM

Previous topic - Next topic

Monster Dave

Hey Guys and Gals!

I need some assistance with a database related idea.

I built an inventory database system for our office which allows us to track and order office and medical supplies when needed. Recently, I decided that I'd like to associate an image with each item in the database. Ultimately, the goal is for upon performing a lookup for an item, that along with pricing and item information, that also an image of the item is displayed as well.

This is something that I've never tried to do before, but wanted to see if anyone had an idea how to do that. I'm using MS Access 2007.

Thanks!

Ontario_Monster

See if you can't use LOB Large objects in MS Access, I know you can in larger databases Oracle etc.  If not the next alternative is to just store a link to a picture of the item so people can look it up if they have too.  For the link if you use single storage location and make sure there are no spelling mistakes.

cheers
Ducati ..... Ducati ..... Ducati ..... It just makes me smile!

Harley drivers in short/t-shirts/and salad bowls .... make me laugh.

Monster Dave

humm....


I'd rather not use a link if I can avoid it - takes away from the "magic" of what the system can do.

I'll see if I can do something with LOB.

Thanks!




Other ideas??

derby

-- derby

'07 Suz GSX-R750

Retired rides: '05 Duc Monster S4R, '99 Yam YZF-R1, '98 Hon CBR600F3, '97 Suz GSX-R750, '96 Hon CBR600F3, '94 Hon CBR600F2, '91 Hon Hawk GT, '91 Yam YSR-50, '87 Yam YSR-50

click here for info about my avatar

Monster Dave

Now why hadn't I thought to look to Microsoft for the answer....

[roll]


Thanks.  [thumbsup]

ducatiz

One thing to note is that ACcess stores the image as a BMP which will inflate the size of the database -- no compression format.

If you use small images or a standard size with a reduced palette you might be able to control it a bit. 
Check out my oil filter forensics thread!                     Offended? Click here
"Yelling out of cars, turning your speakers out the window to blast your music onto the street, setting off M-80 firecrackers, firing automatic weapons into the airâ€"these are all well and good. But none of them create a merry atmosphere of insouciance and bonhomie quite like a revving motorcycle.

Monster Dave

Quote from: ducatiz on May 13, 2011, 11:37:44 AM
One thing to note is that ACcess stores the image as a BMP which will inflate the size of the database -- no compression format.

If you use small images or a standard size with a reduced palette you might be able to control it a bit. 

That's a really good point. Especially since I'm planning on using it for a LOT of items.

ducatiz

Quote from: Monster Dave on May 13, 2011, 11:42:27 AM
That's a really good point. Especially since I'm planning on using it for a LOT of items.

I use this fun little photo program called Paintshop Pro which has a macro function -- so you can automate shrinking and converting photos if you want.  I did it once for a catalog a friend made -- converted all her pics to 64 pix high and only 32 colors in the palette.  This shrunk the per-image size to around 3k
Check out my oil filter forensics thread!                     Offended? Click here
"Yelling out of cars, turning your speakers out the window to blast your music onto the street, setting off M-80 firecrackers, firing automatic weapons into the airâ€"these are all well and good. But none of them create a merry atmosphere of insouciance and bonhomie quite like a revving motorcycle.

Monster Dave

Quote from: ducatiz on May 13, 2011, 12:07:26 PM
I use this fun little photo program called Paintshop Pro which has a macro function -- so you can automate shrinking and converting photos if you want.  I did it once for a catalog a friend made -- converted all her pics to 64 pix high and only 32 colors in the palette.  This shrunk the per-image size to around 3k

I've got this nifty little suite called CS5 that may do something along those lines...

[cheeky]


ducatiz

Quote from: Monster Dave on May 13, 2011, 12:17:48 PM
I've got this nifty little suite called CS5 that may do something along those lines...

[cheeky]



Suiiiite
Check out my oil filter forensics thread!                     Offended? Click here
"Yelling out of cars, turning your speakers out the window to blast your music onto the street, setting off M-80 firecrackers, firing automatic weapons into the airâ€"these are all well and good. But none of them create a merry atmosphere of insouciance and bonhomie quite like a revving motorcycle.

Fresh Pants

Bwooooooahhh
Braaaaaaaappp

sugarcrook

I thought you were asking about databases, not Access.   :)
2013 BMW R1200R
2008 BMW K1200GT (Traded)
2007 Ducati Monster 695 (Sold)

Monster Dave

Quote from: sugarcrook on May 13, 2011, 02:08:13 PM
I thought you were asking about databases, not Access.   :)

OH SNAP!!  [roll]

ab

If you have multi-users , then you will hate access due to locking issues when many users are accessing rows located nearby.  Page level locking, table level locking , row level lockings are issues to think about.
If you can swing it, why not use SQL Server and write an aspx web form or even better MVC framework.
620M 2004 Dark i.e.; ~ 57K miles (all me);  Looking to swap out engine now.
Triumph Speed Triple 2006 (now ~ 44K miles bought @ 4K miles on 04/2010)
Honda Grom 2015 ~ 3500miles so far.  Love this lil bike

Monster Dave

Quote from: ab on May 15, 2011, 05:50:29 AM
If you have multi-users , then you will hate access due to locking issues when many users are accessing rows located nearby.  Page level locking, table level locking , row level lockings are issues to think about.
If you can swing it, why not use SQL Server and write an aspx web form or even better MVC framework.

I've split the database so that as many users as needed can use it without any problems.