Go to Post What makes a man is not the mistakes, but the actions that follow. Andy B. - Andy Baker [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy > Scouting
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-03-2003, 17:21
Lindsey Lindsey is offline
Registered User
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Northville, MI
Posts: 42
Lindsey will become famous soon enough
Pictures in MS Access

I made an MS Access database for scouting this year and I want to add pictures of robots to the data. So far the only way I know of for putting pictures in a database is in a form or query, If anyone knows how or can help me I’d greatly appreciate any advice.

Thanks, Lindsey
Team 548 Robostangs
  #2   Spotlight this post!  
Unread 28-03-2003, 19:33
BryanJ BryanJ is offline
Registered User
#0312 (HeatWave)
 
Join Date: Mar 2003
Location: St. Petersburg, FL
Posts: 4
BryanJ is an unknown quantity at this point
Pictures in MS Access

There are to main ways to employ images in an Access database. The first and simplest is to simply store the path to each picture. This can be a relative path (i.e. no dirve specification, only local folder and or simply the file name), or it can be an absolute path that includes a "fully qualified path" to the file. Once you've done this, you can make forms in access to display the image, but you'll have to do some light scripting. The second, more advanced way, is to actually embed the image into access. This is done through an OLE field type. OLE stands for object linking and embedding, but is just a fancy name for a binary field. Essentially, you can put anything in this field from images to executables. The problem with this is that you must make a script to extract the data. This can vary in complexity depending on the type of data, however the simplest way that will work for most anything is probably to stream the bits into a file and then open the file. However, using only access VBA scripting, this might prove inconvenient at best. My recommendation for a quick solution is the first option.

I hope this helps you. If you think I would be able to helo you any further, feel free to e-mail me at TheTech@tampabay.rr.com

Team HeatWave's Strategy Programmer,
Bryan Jenks
__________________
- FIRST Participant since 1999
- Former captain of Team 312 HeatWave
  #3   Spotlight this post!  
Unread 28-03-2003, 20:14
jon jon is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Orlando, FL
Posts: 192
jon has a spectacular aura aboutjon has a spectacular aura aboutjon has a spectacular aura about
I actually tried to do this for a class... unsuccessfully. I'm actually not a big fan of either VB or Access, but yeah.... class. Anyway, I scoured the Intarweb for how to do this.. with OLE and with the file path. I found a few 'solutions' that all involved 5 pages of code and 1000 variables. I'm sure there's and easier way to do it... but yeah.. good luck. If you figure it out let me know please. k thx much love. I got tired of trying to figure it out.
  #4   Spotlight this post!  
Unread 14-05-2003, 15:04
Lindsey Lindsey is offline
Registered User
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Northville, MI
Posts: 42
Lindsey will become famous soon enough
I found an easy way to put pictures in MS access!

1. Create a field with the field type OLE object
2. In table view select the record
3. Go to the Insert menu and chose object
4. Select Browse and find the picture
- You can link the picture to the file so changes to the file will be made to the picture in your DB
- You can also display just an icon that you double-click on to view the picture
5. Create a Form or Query to view pictures

If any one has questions PM me

Lindsey
  #5   Spotlight this post!  
Unread 19-05-2003, 09:08
Josh Hambright's Avatar
Josh Hambright Josh Hambright is offline
{Error Processing Custom Title}
AKA: oneangrydwarf/jtosh
no team (old school gangsta)
Team Role: Alumni
 
Join Date: Apr 2002
Rookie Year: 2000
Location: Indiana
Posts: 1,421
Josh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond reputeJosh Hambright has a reputation beyond repute
Send a message via AIM to Josh Hambright
People can also pm the Screen name 'squat' on here, its Emil he's our teams database programmer, and he knows alot about it. He also did stuff with pictures and probably could tell people more then if i tried to explain it.
__________________
Former 461 Student/Mentor. Former 1272 and 1018 Mentor. Team 1555 Super-Fan.
Science and Engineering Can Open New Doors. --S.E.C.O.N.D.--
=~=!=@= #=$=%=
Co-Founder IndianaFIRST

Share your FIRST photos on Flickr!
Closed Thread


Thread Tools
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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I use your pictures? (my latest insane project) Katy General Forum 16 20-03-2004 19:54
pictures pictures pictures...and more pictures archiver 2001 0 24-06-2002 01:12
GRT pictures up archiver 2000 0 23-06-2002 22:40
CD forum don't have space for more pictures? Ken Leung General Forum 7 10-04-2002 23:41
pictures, pictures, and woah... tons of pictures Brandon Martus Regional Competitions 12 10-03-2002 17:32


All times are GMT -5. The time now is 02:25.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi