Re: Remove or Delete a User-defined Property

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



hi,

swedbera wrote:
Can someone help me with creating and deleting user-defined properties? If you can point me to a site with information on how to do this, I would appreciate it. I have looked in Visual Basic Help and search this site, but couldn't find anything.

Private m_CurrentDb As DAO.Database
Private m_MyProperty As String

Public Property Get CurrentDbC As DAO.Database

If m_CurrentDb Is Nothing Then
Set m_CurrentDb = CurrentDb
End If

Set CurrentDbC = m_CurrentDb

End Property

Public Property Get MyProperty() As String

MyProperty = m_MyProperty

End Property

Public Property Let MyProperty(NewValue As String)

m_MyProperty = NewValue

End Property


mfG
--> stefan <--
.



Relevant Pages