Right now, as the user types I'm invoking this code in the field's Change event:
-----------------
With theField
cursorPos = .SelStart
Application.RunCommand acCmdSaveRecord
.SelStart = cursorPos
End With
-----------------
The idea is that there may be a floater window open that's linked to the same
field and I want the user's typing to show up immediately in both windows.
The code above works...sort of.... but it seems TB swallowing SpaceBars. i.e.
If somebody types "xyz" it works OK. But if somebody types "x y z", what gets
to the field is only "xyz".
I tried .SelStart = cursorPos + 1, but it didn't help...seems like the spaces
just aren't there at that time...yet amphamerics are...
?
--
PeteCresswell