| View previous topic :: View next topic |
| Author |
Message |
aligatrjoe Newbie

Joined: 05 Sep 2010 Posts: 3
|
Posted: Wed Sep 08, 2010 6:25 pm Post subject: Loading Image into Form - Problems |
|
|
I have a Form with an Image Control. The Data tab of the Image Control is referencing a File (and path). The Events tab is referencing a Macro and I have tried both Mouse button press and Key Press. I have two problems.
1. I open the Form and get the expected record. The Event option doesn't seem to work. But if I run the Macro via Tools-Macro-Run and select the macro, I get the expected Image in the Image Control. However, I can't move forward to the next record. It appears as though the first record can't be saved with the Image there. In fact the Graphics field of the Image Control now contains the Image's File Name. I have to delete same. I just want to View the Image. I do not want to save the Image with the Record.
2. I can't seem to get the Macro to respond to an Event. I have to manually run the Macro.
As a test, I opened the Form and advanced several Records and then manually ran the Macro. I again got the expected Image, but again, the Graphics field contained the File and Path Name.
Any help would be greatly appreciated.
Bill W. |
|
| Back to top |
|
 |
QuazzieEvil Super User

Joined: 17 Jan 2007 Posts: 599 Location: Houston, TX
|
|
| Back to top |
|
 |
aligatrjoe Newbie

Joined: 05 Sep 2010 Posts: 3
|
Posted: Thu Sep 09, 2010 12:24 pm Post subject: Loading Image into Form - Problems |
|
|
| I have tried to Enable Macros. I went to Tools-Options-OpenOffice.org-Security. I set the the Allow Macros to the lowest level. Is this what you meant by Enabling Macros? If so, I still have a problem. I still have to Manually run the Macro. |
|
| Back to top |
|
 |
Villeroy Super User


Joined: 04 Oct 2004 Posts: 10065 Location: Germany
|
|
| Back to top |
|
 |
|