hi
i've been using access for some time but i am in many respects still a begginner and this problem has me stumped.
anyway the problem i have is this; i am trying the evaulation version of DBpix but i want to reference the image using an unbound test box [i think]. i only want to load the image into access when i am viewing that record, when i shut access i only want the image location filename left in the table. the coding i have from their website is this;
"The following code saves the new image into a recordset field after the user clicked a "Load" button to select an image from the file system.
Private Sub BtnLoad_Click()
If DBPixCtl.ImageLoad Then
rs("Image") = DBPixCtl.Image
End If
End Sub "
i have tried creating a load button but the above coding does not work plus i'm not sure where excatley to put the code [create a load button? put the event on the load button on the popup menu?]. the help files suggest putting the code on the 'imageload' call but i cannot find this anywhere except in the 'events' help description.
sorry for being vague but can anyone help me on this? [if not i'm can still load images by referencing their file locations another way but DBPix seems a good program and perhaps in the long run will save me a lot of time]
thanks in advance
i've been using access for some time but i am in many respects still a begginner and this problem has me stumped.
anyway the problem i have is this; i am trying the evaulation version of DBpix but i want to reference the image using an unbound test box [i think]. i only want to load the image into access when i am viewing that record, when i shut access i only want the image location filename left in the table. the coding i have from their website is this;
"The following code saves the new image into a recordset field after the user clicked a "Load" button to select an image from the file system.
Private Sub BtnLoad_Click()
If DBPixCtl.ImageLoad Then
rs("Image") = DBPixCtl.Image
End If
End Sub "
i have tried creating a load button but the above coding does not work plus i'm not sure where excatley to put the code [create a load button? put the event on the load button on the popup menu?]. the help files suggest putting the code on the 'imageload' call but i cannot find this anywhere except in the 'events' help description.
sorry for being vague but can anyone help me on this? [if not i'm can still load images by referencing their file locations another way but DBPix seems a good program and perhaps in the long run will save me a lot of time]
thanks in advance