View Single Post
  #6   Report Post  
Posted to microsoft.public.word.mailmerge.fields
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default ASK field default

Hi Compass Rose,

No. However, since you apparently want both the year and a number is a bookmark, you could put a DATE field in the document, coded
as:
{DATE \@ "yy'-'"}
followed by a FILLIN field coded as:
{FILLIN "Please input the Receipt #"}
then bookmark both the DATE field and the FILLIN field with the ReceiptNo bookmark for subsequent cross-reference purposes.

Alternatively, you could use a SET field, coded as:
{SET ReceiptNo "{DATE \@ "yy'-'"}{FILLIN "Please input the Receipt #"}"}
for a result comparable to that which you're after with the ASK field.

--
Cheers
macropod
[Microsoft MVP - Word]


"Compass Rose" wrote in message ...
Another thought. Is there an ASCII code that corresponds to CURSOR RIGHT?
I've been looking up ASCII codes online, with no luck so far. I was thinking:

{ASK ReceiptNo "Enter the receipt number" \d {QUOTE {DATE \@ "yy'-'"} X }}

where X is the CURSOR RIGHT ASCII character. Just a thought....

David


"macropod" wrote:

Hi Compass Rose,

No.

--
Cheers
macropod
[Microsoft MVP - Word]


"Compass Rose" wrote in message
...
I have created an ASK field in a document which prompts for a receipt number,
which has the year in 2 digit format followed by a dash, and then I manually
enter the remaining digits of the receipt number. eg: 09-124

It appears like this:

{ASK ReceiptNo "Enter the receipt number" \d {DATE \@ "yy'-'"}}

When the prompt appears, the default value is highlighted. Is it possible to
change the default coding so that the default value isn't highlighted, and
the cursor is situated after the dash?

TIA
David

.