Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT and Lotus Notes
Message
 
 
To
06/11/2002 12:27:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00718921
Message ID:
00719500
Views:
14
>Thanks Larry,
>
>By "VFP's COM" automation, do you mean using VFP to create an object reference to a Notes object ie. oNotes = CREATEOBJECT("Notes.Instance") (or whatever the syntax is) or what were you thinking? I will look into the below but was just wondering.
>

Albert,
Yes.

Ex.
osession = createobject('Lotus.NotesSession')
osession.Initialize('MyPassword')

odb = osession.GetDatabase('','MyDatabase.NSF')
odoccol = odb.Search([Form="Binder"&FirstName="John"&LastName="Doe"])
for eacj odoc in odoccol
   * do some processing
endfor

store .NULL. to odoccol, odb, osession
HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform