Rakier said:
That is true Rich. Never thought of it that way. Takes me about that long to add items, vendor or customer information to my dB also. I agree that the time savings are huge.
Also Mike, another point about this that I think someone else brought up a while back. It's the issue of survivability. If something happened to you and you were unable to work for awhile, could someone else step in and keep the dB running. With mine, they could and do (when I'm on vacation, etc...) Just a thought.
The one part that needs me is the entering of policy wording but that is not a computer issue.
Adding another insurance company as I mentioned in my previous posting is a once in a blue moon deal.
Adding a new record is also 10 seconds like yours. You click a label New Record and then you are given the screen and the usual stuff with required fields etc. But that is only a very odd time. Most records in this data base are placed in a holding table in bulk and taken from other .mdb files. As the calls are make then mames are consumed. A macro runs and knows which category of prospect and how many of those names need to be placed in the MainTable.
Just for fun, i converted that macro to code and here it is. This runs 32 categories of prospects. 12 of these categories are treated differently the group of 20 I have mentioned earlier.....Mike
PS. I cut the middle out of it as it is long for the system to accept. It is 26682 characters
'------------------------------------------------------------
' GetNewNamesQuery
'
'------------------------------------------------------------
Function GetNewNamesQuery()
On Error GoTo GetNewNamesQuery_Err
DoCmd.Echo True, ""
DoCmd.SetWarnings False
DoCmd.OpenForm "CatSelector", acNormal, "", "", acEdit, acNormal
Forms!CatSelector!CatSelect = 1
DoCmd.DoMenuItem 0, 5, 4, 0, acMenuVer70 ' Form, Records, Save Record
Forms!CatSelector.RecordSource = "Query209"
DoCmd.OpenForm "NamesUsed", acNormal, "", "", acEdit, acNormal
DoCmd.SelectObject acForm, "CatSelector", False
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.RunMacro "ProspectCounter", Forms!NamesUsed!CountOfParents, ""
End If
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.OpenQuery "Query206", acNormal, acEdit
End If
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.OpenQuery "Query207", acNormal, acEdit
End If
DoCmd.Close acForm, "NamesUsed"
DoCmd.Echo True, ""
DoCmd.OpenForm "CatSelector", acNormal, "", "", acEdit, acNormal
Forms!CatSelector!CatSelect = 2
DoCmd.DoMenuItem 0, 5, 4, 0, acMenuVer70 ' Form, Records, Save Record
Forms!CatSelector.RecordSource = "Query209"
DoCmd.OpenForm "NamesUsed", acNormal, "", "", acEdit, acNormal
DoCmd.SelectObject acForm, "CatSelector", False
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.RunMacro "ProspectCounter", Forms!NamesUsed!CountOfParents, ""
End If
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.OpenQuery "Query206", acNormal, acEdit
End If
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.OpenQuery "Query207", acNormal, acEdit
End If
DoCmd.Close acForm, "NamesUsed"
DoCmd.Echo True, ""
DoCmd.OpenForm "CatSelector", acNormal, "", "", acEdit, acNormal
Forms!CatSelector!CatSelect = 3
DoCmd.DoMenuItem 0, 5, 4, 0, acMenuVer70 ' Form, Records, Save Record
Forms!CatSelector.RecordSource = "Query209"
DoCmd.OpenForm "NamesUsed", acNormal, "", "", acEdit, acNormal
DoCmd.SelectObject acForm, "CatSelector", False
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.RunMacro "ProspectCounter", Forms!NamesUsed!CountOfParents, ""
End If
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.OpenQuery "Query206", acNormal, acEdit
End If
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.OpenQuery "Query207", acNormal, acEdit
End If
DoCmd.Close acForm, "NamesUsed"
DoCmd.OpenForm "CatSelector", acNormal, "", "", acEdit, acNormal
Forms!CatSelector!CatSelect = 29
DoCmd.DoMenuItem 0, 5, 4, 0, acMenuVer70 ' Form, Records, Save Record
Forms!CatSelector.RecordSource = "Query209"
DoCmd.OpenForm "NamesUsed", acNormal, "", "", acEdit, acNormal
DoCmd.SelectObject acForm, "CatSelector", False
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.RunMacro "ProspectCounter", Forms!NamesUsed!CountOfParents, ""
End If
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.OpenQuery "Query206", acNormal, acEdit
End If
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.OpenQuery "Query207", acNormal, acEdit
End If
DoCmd.Close acForm, "NamesUsed"
DoCmd.OpenForm "CatSelector", acNormal, "", "", acEdit, acNormal
Forms!CatSelector!CatSelect = 30
DoCmd.DoMenuItem 0, 5, 4, 0, acMenuVer70 ' Form, Records, Save Record
Forms!CatSelector.RecordSource = "Query209"
DoCmd.OpenForm "NamesUsed", acNormal, "", "", acEdit, acNormal
DoCmd.SelectObject acForm, "CatSelector", False
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.RunMacro "ProspectCounter", Forms!NamesUsed!CountOfParents, ""
End If
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.OpenQuery "Query206", acNormal, acEdit
End If
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.OpenQuery "Query207", acNormal, acEdit
End If
DoCmd.Close acForm, "NamesUsed"
DoCmd.OpenForm "CatSelector", acNormal, "", "", acEdit, acNormal
Forms!CatSelector!CatSelect = 31
DoCmd.DoMenuItem 0, 5, 4, 0, acMenuVer70 ' Form, Records, Save Record
Forms!CatSelector.RecordSource = "Query209"
DoCmd.OpenForm "NamesUsed", acNormal, "", "", acEdit, acNormal
DoCmd.SelectObject acForm, "CatSelector", False
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.RunMacro "ProspectCounter", Forms!NamesUsed!CountOfParents, ""
End If
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.OpenQuery "Query206", acNormal, acEdit
End If
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.OpenQuery "Query207", acNormal, acEdit
End If
DoCmd.Close acForm, "NamesUsed"
DoCmd.OpenForm "CatSelector", acNormal, "", "", acEdit, acNormal
Forms!CatSelector!CatSelect = 32
DoCmd.DoMenuItem 0, 5, 4, 0, acMenuVer70 ' Form, Records, Save Record
Forms!CatSelector.RecordSource = "Query209"
DoCmd.OpenForm "NamesUsed", acNormal, "", "", acEdit, acNormal
DoCmd.SelectObject acForm, "CatSelector", False
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.RunMacro "ProspectCounter", Forms!NamesUsed!CountOfParents, ""
End If
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.OpenQuery "Query206", acNormal, acEdit
End If
If (Forms!NamesUsed!CountOfParents > 0) Then
DoCmd.OpenQuery "Query207", acNormal, acEdit
End If
DoCmd.Close acForm, "NamesUsed"
DoCmd.OpenQuery "Query62Append", acNormal, acEdit
DoCmd.OpenQuery "Query62Delete", acNormal, acEdit
DoCmd.OpenForm "SRCancel", acNormal, "", "", acEdit, acNormal
DoCmd.RunMacro "Macro135SR", , ""
DoCmd.Close acForm, "SRCancel"
DoCmd.OpenForm "TransferNumbers", acNormal, "", "", acEdit, acNormal
DoCmd.RunMacro "Macro910", , ""
GetNewNamesQuery_Exit:
Exit Function
GetNewNamesQuery_Err:
MsgBox Error$
Resume GetNewNamesQuery_Exit
End Function