Just so you know what I did with the combobox, this is the way I set up my variable to hold the text value of the combobox:
Private Sub CmdTop10AgtsLSUnits_PropCity_Click()
On Error GoTo Err_CmdTop10AgtsLSUnits_PropCity_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Top10AgtsLSUnits-PropCity"
stLinkCriteria = "ListPropCity='" & CmboAgtLSUnits_PropCity & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormReadOnly, acDialog
Exit_CmdTop10AgtsLSUnits_PropCity_Click:
Exit Sub
Err_CmdTop10AgtsLSUnits_PropCity_Click:
MsgBox Err.Description
Resume Exit_CmdTop10AgtsLSUnits_PropCity_Click
End Sub
stLinkCriteria is the variable that holds the field name and the value of the combobox.
ListPropCity is the field name.
CmboAgtLSUnits_PropCity is the combobox control on the form.
I don't know if you used the DoCmd.OpenReport method, but wooks very similarly to the OpenForm method and allows criteria and formatting during the open command.
I think you might try setting the entire path and file name into string variables like:
imgPath ="C:\uvi\NetworkForms\NetworkForms_Local\MemberImages\Logos\" & flgLogoName & "'"
We need to get the entire path and file name inside the string value so the syntax is met. It might be a variation of this example.
Bryan Meek
bmeek@pacbell.net
A "Solution Provider" in your corner gives you the personal attention you need to find the right technology solutions for your business.