R
Russ via AccessMonster.com
Having a problem trying to get this correct...
I have a folder called ContactPictures in the same path as the database.
Option Compare Database
Dim cnn As ADODB.Connection
Dim dbname As String
Dim Pic As String
Private Sub Form_AfterUpdate()
Pic = Me.txtPicFullName ' example "Pic1.jpeg" or Pic2.jpeg
Me![ImageFrame].Picture = getpath(dbname) & "\ContactPictures\Pic"
End Sub
I have a folder called ContactPictures in the same path as the database.
Option Compare Database
Dim cnn As ADODB.Connection
Dim dbname As String
Dim Pic As String
Private Sub Form_AfterUpdate()
Pic = Me.txtPicFullName ' example "Pic1.jpeg" or Pic2.jpeg
Me![ImageFrame].Picture = getpath(dbname) & "\ContactPictures\Pic"
End Sub