Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Attach a .dbf file into a LN document programmatically?

Status
Not open for further replies.

pxw

Programmer
Jan 6, 2002
86
AU
Hi All,
Is it possible to attach a .dbf into a LN R4.6 document using VFP programmatically?

I am a VFP prorammer with some Notesscript knowledge. My case is;
- an existing LN database TEST.NSF,
- an form named TESTFORM in TEST.NSF,
- a date/time field, named D_date, and an attachment in TESTFORM,
- an existing VFP file, named TEST.DBF

With VFP, what I want to use VFP to do are,
1. Open TEST.NSF,
2. open TESTFORM,
3. Delete the existing attachment in TESTFORM,
4. attach TEST.DBF into TESTFORM,
5. replace D_date with today's date,
6. save TESTFORM,
7. close TEST.NSF.
(End)

Alternitively, it will be fine if an Notes agent can update the attachement with TEST.DBF.

Note I was adviced that Notes Forum should be better than VFP Forum for my problem.

Any help would be appreciated, especialy with Notesscript codes for the agent.



Peter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top