| View previous topic :: View next topic |
| Author |
Message |
dimpflmoser Power User

Joined: 16 Aug 2006 Posts: 59
|
Posted: Tue Apr 15, 2008 9:16 am Post subject: How to set an object variable to null |
|
|
Hello everybody,
can anybody tell me how to set an obkectvariable to null, i.e. I have for example an object-varaible which points to a database-connection. Now I'd like to delete the pointer. In VBA I can use the | Code: | | set objCon = nothing | -Method. Is there somting equivalent in OOo-Basic?
Thanks Helmut |
|
| Back to top |
|
 |
B Marcelly Super User

Joined: 12 May 2004 Posts: 1414 Location: France
|
Posted: Tue Apr 15, 2008 10:43 am Post subject: |
|
|
Hi,
Did you try it ?
It does what you want.
But I think your real problem is something else.
Bernard |
|
| Back to top |
|
 |
|