Jump to content

This topic is 4330 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I have a student database. Each student has a unique student Id.

 

I have a drive full of student pictures - each picture is named <student_id>.jpg.

 

I have created a container field which stores the container data externally.

 

Is there any way I can dump the student pictures into the relevant folder determined by the container field, and automatically update the container field so that it looks for the equivalent <student_id>.jpg.

 

eg UPDATE tblStudents SET PHOTO = 'Databases/Students/Photos/<Student_id>.jpg.

 

Many thanks

 

Phillip

  • Newbies
Posted

I did it like this : 

 

Setup a calculation field.  Let it result in a container and add this text "image:/Databases/Students/Photos/" & <Student_id> & ".jpg"

 

You probably need to add the full file path, including volume name.

 

Cheers

This topic is 4330 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.