reports: olebound

K

ken

in ms access reports, i have an olebound object. how can i dynamically via
vba change source doc.
 
K

ken

thks for reply but i currently have the following triggered by the open
event. it does not seem to work..any idea what i am doing wrong


If x = 1 Then
Me.OLEUnbound1.Object.SourceDoc = "C:\Disclosure_30.rtf"
Else
Me.OLEUnbound1.Object.SourceDoc= "C:\Disclosure_50.rtf"
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top