I am working on VB, Lotus notes.I used the below code to get the data from LN to MS-Access through VB code.Below is my code.
Private Sub cmdNewok_Click()
Dim session As Object
Dim db As Object
Dim view As Object
Dim viewName As Object
Dim flag As Boolean
Dim intEntry As Integer
Dim viewEntry As Object
Set session = CreateObject("notes.notessession")
Set db = session.GETDATABASE("US-FAIRAPP001/Eastern/C&L/US", "MCS\WCP\contracts\contract.nsf")
flag = True
If Not (db.ISOPEN) Then flag = db.Open("", "")
If Not flag Then
MsgBox "Cant't open file: " & db.SERVER & " " & db.FILEPATH
Set view = db.GETVIEW("Central Audit DB Lookup)")
' Here i am getting error,object does not support.
'Here i want to map LN view data to MS-Access table.
For intEntry = 1 To view.AllEntries.Count
Set viewEntry = view.AllEntries.GetNthEntry(intEntry)
MsgBox Join(viewEntry.COLUMNVALUES, ",")
Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.
In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function. While writing that article I realized that no o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code.