- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsHI;
I have a Helpdesk DB when a case is raised a case number is assigned automatically from a network file. I have not found any way to make it auto via script only. Now some times when network is slow or due to time out the auto number is not picked when a new case is raised.I want either the field be made in such way that it has to wait unless the number is picked or to be automated via lotus script so i may not need the network file. I have pasted the script here. Please help.
Thanks
Sub Querysave(Source As Notesuidocument, Continue As Variant)
Dim fileNum As Integer
Dim fileName As String
Dim NrCrt As Long
Dim NewNrCrt As Long
fileNum% = Freefile()
fileName$ = "\\server\uniqueNo\SRegNo.
'If is new doc assign a new number
If source.IsNewDoc Then
'Open for reading the file, read the value then close the file
Open fileName$ For Input Lock Read Write As fileNum% '
Input #fileNum%,NrCrt
Close fileNum%
NewNrCrt=NrCrt+1 'Increment the value
'Open for writing the file, write the value then close the file
Open fileName$ For Output Lock Read Write As fileNum%
Write #fileNum%,NewNrCrt
Close fileNum%
If Isnull(NewNrCrt) Then
Msgbox("Can't generate the registration number ! Please check the path to the file: " & fileName$ )
End If
If Source.FieldGetText("Depar
Msgbox "Please enter the required values such as Department and phone number"
continue=False
Exit Sub
End If
Call source.FieldSetText("sRegN
End If
End Sub
This question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
900+ topic areas (and counting)
It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul.
We love the accolades. We love to be seen as the digital white knight who fixed the server, the computer, the email, and anything else that life depends on.
We love it so much, we sometimes make horrible decisions. Sometimes, we work "FOR FREE."
SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispersed nature of the blog posts that deal with some of these issues. This article will help SCCM OSD newbies with some of these issues.
For our deployments, we always install MDT 2008 on our SCCM server and select Configure ConfigMgr Integration from the MDT area on the start menu. This gives us:
Get full access to the help you need.
30-day free trial. Register in 60 seconds.
Bringing you the latest in technology
| Congressman Proposes Bill to Ban... | 11/28/12 |
| Death to Internet Anonymity: Google... | 11/27/12 |
| TEDx San Luis Obispo | 11/20/12 |
| SharePoint 2010 No-Code Solutions... | 11/19/12 |
| Keeping Your Passwords And Your Win... | 11/15/12 |
| Fun and Games with Hackers: How to... | 11/15/12 |
Listen while you work
Because of our active community of experts, on average new questions receive their first comment in under 30 minutes.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Business Accounts
Answer for Membership