this is my code i want to replace the messabox and the numbers from messagebox the sequence numbers i want it, in the field for example when i open the form the messagebox appear a number 8 for example i want the number 8 from my field instead of message box
how can i resolve this any one who help me…this is the code:::
Dim session As New NotesSession
seqNo = session.GetEnvironmentValue("SeqNo")
If Isempty(seqNo) Then
Call session.SetEnvironmentVar("SeqNo", 1)
Else
seqNo = seqNo + 1
Call session.SetEnvironmentVar _
("SeqNo", Cint(seqNo))
End If
Messagebox session.GetEnvironmentValue("SeqNo")