Read the FAQ, including it's predecessor (702-242121) but I'm getting a runtime error. Here's a snippet of the code.
.ActiveDocument.Bookmarks("CourseID"
.Select
.Selection.Text = (CStr(Forms!frmChangeForm!CourseID))
.ActiveDocument.Bookmarks.Add Name:=CourseID, Range:=Selection.Range
This is the first form field to be filled in and it actually does fill in the correct information (through Namd:-CourseID). However, it seems stuck at Range:=Selection.Range.
Now, I know that your documentation says "Range = Selection.Range" ...without the colon. But Access seems to balk at that syntax, but likes the colon, except on execution.
I've tried getting an answer from within Access and am at a loss. Can you help?
Nathalie
.ActiveDocument.Bookmarks("CourseID"

.Selection.Text = (CStr(Forms!frmChangeForm!CourseID))
.ActiveDocument.Bookmarks.Add Name:=CourseID, Range:=Selection.Range
This is the first form field to be filled in and it actually does fill in the correct information (through Namd:-CourseID). However, it seems stuck at Range:=Selection.Range.
Now, I know that your documentation says "Range = Selection.Range" ...without the colon. But Access seems to balk at that syntax, but likes the colon, except on execution.
I've tried getting an answer from within Access and am at a loss. Can you help?
Nathalie