Just a little help?

  • Thread starter Thread starter shining_sword_breaker_72
  • Start date Start date
S

shining_sword_breaker_72

I'm just starting using Microsoft Access and have run into a spot of
bother. I'm trying to make a database of names and birthdays and put
photos in there too so that it's like, you type in the reference number
of the person whose birthday you're trying to find (on a form), and
it'll come up with all of their info and their picture. Can someone
give me a simpleton's explanation of what to do, step by step? If you
could, it would be much appreciated.

Cheers, Tachikoma.
 
Create a table with ReferenceNumber (Primary key field), FirstName, LastName,
MiddleName (if you want it), BirthDate, Photo. All fields should be Data
type = Text except Phot which should be OLE object.
As you enter data in the table, when you get to the Photo field, right mouse
button click and select Insert image. Find the image on your computer and
insert it.

Open a new form in design view. Place a combobox from the Forms toolbar at
the top. Make sure that the Wizard button (the one with the wand and stars)
is in (You can tell it is in when it has a black border.) On the first
screen of the wizard select the third choice and proceed through the wizard
selecting ReferenceNumber as the only and bound column in the combo.
Place the remaining fields from the table on your form.
when you open teh form and type in a valid ReferenceNumber, the appropriate
person's data will show. You may have to Tab out of the field.
Hope this helps in getting you started. If you need clarification, get back.
Bob Miller
 
I'm just starting using Microsoft Access and have run into a spot of
bother. I'm trying to make a database of names and birthdays and put
photos in there too so that it's like, you type in the reference number
of the person whose birthday you're trying to find (on a form), and
it'll come up with all of their info and their picture. Can someone
give me a simpleton's explanation of what to do, step by step? If you
could, it would be much appreciated.

The sample imaging databases at http://accdevel.tripod.com illustrate three
approaches to handling images in Access, and the download includes an
article discussing considerations in choosing an approach. Two of the
approaches do not use OLE Objects and, thus, avoid the database bloat, and
some other problems, associated with images in OLE Objects.

If you are printing the images in reports, to avoid memory leakage, you
should also see MVP Stephen Lebans' http://www.lebans.com/printfailures.htm.
PrintFailure.zip is an Access97 MDB containing a report that fails during
the Access formatting process prior to being spooled to the Printer Driver.
This MDB also contains code showing how to convert the contents of the Image
control to a Bitmap file prior to printing. This helps alleviate the "Out of
Memory" error that can popup when printing image intensive reports.

Larry Linson
Microsoft Access MVP
 
Back
Top