Everything is working, but I notice that Private Sub FillConnectionDetailsBox(OwnerId As Double) is only filling the first record. I tried the ways you have used to get the "N" included, but listbox is causing problems for me. I could use your help if you have time.
Ran into an error in frmConnectionActivity
Made some changes to make it work again (saved v1.0.6 to the dropbox):
lstConnOwnerBox_Click()- disabled deselecting lstUnConPropBox (makes no sense)
- made call to FillConnectionDetailsBox conditional, because you need both an OwnerId and a PropId
- added PropId to the call to FillConnectionDetailsBox
lstUnConOwnerBox_Click()- disabled blanking txtPropertyIdCD (makes no sense)
- disabled deselecting lstUnConPropBox (makes no sense)
- made call to FillConnectionDetailsBox conditional, because you need both an OwnerId and a PropId
- added PropId to the call to FillConnectionDetailsBox
lstUnConPropBox_Click()- disabled deselecting lstUnConOwnerBox (makes no sense)
- disabled deselecting lstConnOwnerBox (makes no sense)
- made call to FillConnectionDetailsBox conditional, because you need both an OwnerId and a PropId
- added PropId to the call to FillConnectionDetailsBox
FillConnectionDetailsBox- added PropId as parameter
- adjusted the lookup of RecIdx to handle not found error
This gave a type mismatch because RecIdx is integer (positive numbers) where a not-found error is a negative number
- disable setting txtPropertyIdCD and txtOwnerIdCD (already there)
- made filling the connection box conditional based of value of RecIdx
If 0 initialize connection box
Funny thing: I can't test the Connect button, because it's just outside the boundaries of my laptop screen
Edit: managed to get to the button tabbing. Connecting seems to work OK.
Bookmarks