Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Compass Rose Compass Rose is offline
external usenet poster
 
Posts: 29
Default ASK field default

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
  #2   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.

--
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

  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Compass Rose Compass Rose is offline
external usenet poster
 
Posts: 29
Default ASK field default

That was an honest and abrupt answer. However, on contemplating further, can
the receipt number be incremented automatically through the use of a
DOCVARIABLE, and incorporated into the ASK field coding? If so, a little
detail would be helpful. I use an autonew macro when I open the template that
generates the document.

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

.

  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Compass Rose Compass Rose is offline
external usenet poster
 
Posts: 29
Default ASK field default

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

.

  #5   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default ASK field default

See the article "Creating sequentially numbered documents (such as
invoices)" at:

http://word.mvps.org/faqs/MacrosVBA/index.htm

--
Hope this helps,

Doug Robbins - Word MVP

Please reply only to the newsgroups unless you wish to obtain my services on
a paid professional basis.

"Compass Rose" wrote in message
...
That was an honest and abrupt answer. However, on contemplating further,
can
the receipt number be incremented automatically through the use of a
DOCVARIABLE, and incorporated into the ASK field coding? If so, a little
detail would be helpful. I use an autonew macro when I open the template
that
generates the document.

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

.




  #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

.


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default Text for Form Field The Merg[_2_] Microsoft Word Help 2 May 17th 08 12:09 AM
Can you set default field properties? rodiem Microsoft Word Help 1 January 30th 08 12:26 PM
Remove default text in form field JB Page Layout 2 May 4th 07 09:16 PM
How do I set default on Toggle Field Codes? BoulderRon Microsoft Word Help 1 March 7th 05 04:25 PM
Default formatting of INCLUDEPICTURE field Greg Reese Formatting Long Documents 0 February 19th 05 02:25 AM


All times are GMT +1. The time now is 08:57 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"