Quantcast
Channel: Lotus Domino & Notes
Viewing all articles
Browse latest Browse all 364

Help with script

$
0
0

Hello community

i Need help to change code i have found for importing a csv file.
i have very low experience in script.
The script works fine only one Change i need.
In the Agent i can define the fields, the view etc. One Point is. Delete docs in DB where is no entry in the csv.
What i want is. The Docs they are not in the csv i dont want to delete them.
But i want that the script write in a existing Field the Text "not present"

In script library in found
Call Me.ImportDatabase.GetDocumentByUNID(ListTag(x)).Remove(True)
in easy words in need
Call Me.ImportDatabase.GetDocumentByUNID(ListTag(x)).writeText"not present" inField xxxx


Heres the Agent:
##############################################

Use "ImportCSV"

Sub Initialize
Dim csv As CSVFile
Dim st_Fields(1 To 10) As String
Dim type_Fields(1 To 10) As Variant

st_Fields(1) = "System" ' Field is primary...


Viewing all articles
Browse latest Browse all 364

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>