Re: getting a form field to default to the value entered in the last record
From: Marshall Barton (marshbarton_at_wowway.com)
Date: 10/07/04
- Next message: Geof Wyght: "Mission Impossible - Comparing Files"
- Previous message: Paul James: "Re: capturing the login name or ID"
- In reply to: Paul James: "Re: getting a form field to default to the value entered in the last record"
- Next in thread: Paul James: "Re: getting a form field to default to the value entered in the last record"
- Reply: Paul James: "Re: getting a form field to default to the value entered in the last record"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 07 Oct 2004 14:46:20 -0500
Paul James wrote:
>I do have a question about this, Marsh. What is the reason for
>concatenating the double quotation marks before and after Me.textbox? I
>would have thought it would work without them.
The DefaultValue property is a string. There are times when
you can get away without using them, but only when Access
makes the right guess in its automatic conversion process.
Since the Default value is evaluated as an expression, this
is a very iffy affair. The quotes are not required for
numeric values, but it is especially confusing with date
literals where the automatic conversions can change the date
to a different format depending on the local settings.
-- Marsh MVP [MS Access]
- Next message: Geof Wyght: "Mission Impossible - Comparing Files"
- Previous message: Paul James: "Re: capturing the login name or ID"
- In reply to: Paul James: "Re: getting a form field to default to the value entered in the last record"
- Next in thread: Paul James: "Re: getting a form field to default to the value entered in the last record"
- Reply: Paul James: "Re: getting a form field to default to the value entered in the last record"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|