PC Review


Reply
Thread Tools Rate Thread

Validation text caption

 
 
Jack Leach
Guest
Posts: n/a
 
      15th Sep 2009
Can we change the Caption of the text message displayed on a failed validation?

The only thing I can get this to say is Microsoft Office Access

thanks...
--
Jack Leach
www.tristatemachine.com

"I haven''t failed, I''ve found ten thousand ways that don''t work."
-Thomas Edison (1847-1931)

 
Reply With Quote
 
 
 
 
Jeanette Cunningham
Guest
Posts: n/a
 
      15th Sep 2009
Hi Jack
If you are using a msgbox to display a failed validation, you can use
MsgBox strMsg, ,strTitle
Where you supply a string value for the title.

If that's not the issue, which validation message are you talking about?



Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia

"Jack Leach" <dymondjack at hot mail dot com> wrote in message
news:421DE497-321E-4998-B908-(E-Mail Removed)...
> Can we change the Caption of the text message displayed on a failed
> validation?
>
> The only thing I can get this to say is Microsoft Office Access
>
> thanks...
> --
> Jack Leach
> www.tristatemachine.com
>
> "I haven''t failed, I''ve found ten thousand ways that don''t work."
> -Thomas Edison (1847-1931)
>



 
Reply With Quote
 
John W. Vinson
Guest
Posts: n/a
 
      15th Sep 2009
On Mon, 14 Sep 2009 18:29:02 -0700, Jack Leach <dymondjack at hot mail dot
com> wrote:

>Can we change the Caption of the text message displayed on a failed validation?
>


You will get the most flexibility by not using the builtin validation message
at all; instead, do the validation in the Form's BeforeUpdate event and pop up
a Form in dialog view displaying the message. You can set its caption and
appearance however you would like.
--

John W. Vinson [MVP]
 
Reply With Quote
 
Jack Leach
Guest
Posts: n/a
 
      15th Sep 2009
I had meant the built-in validation message, but John has pointed me in the
right direct.

Thanks.
--
Jack Leach
www.tristatemachine.com

"I haven't failed, I've found ten thousand ways that don't work."
-Thomas Edison (1847-1931)



"Jeanette Cunningham" wrote:

> Hi Jack
> If you are using a msgbox to display a failed validation, you can use
> MsgBox strMsg, ,strTitle
> Where you supply a string value for the title.
>
> If that's not the issue, which validation message are you talking about?
>
>
>
> Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
>
> "Jack Leach" <dymondjack at hot mail dot com> wrote in message
> news:421DE497-321E-4998-B908-(E-Mail Removed)...
> > Can we change the Caption of the text message displayed on a failed
> > validation?
> >
> > The only thing I can get this to say is Microsoft Office Access
> >
> > thanks...
> > --
> > Jack Leach
> > www.tristatemachine.com
> >
> > "I haven''t failed, I''ve found ten thousand ways that don''t work."
> > -Thomas Edison (1847-1931)
> >

>
>
>

 
Reply With Quote
 
Jack Leach
Guest
Posts: n/a
 
      15th Sep 2009
Sorry John... I was trying in BeforeUpdate to format the string, but was
getting "the macro or function in the BeforeUpdate or ValidationRule property
is preventing you from saving data..." error.

I was trying out a validation rule and not even thinking that I should just
do the validation and make the user manually re-enter the phone number by
cancelling the Update rather than attempting to automatically format it.

thanks,


--
Jack Leach
www.tristatemachine.com

"I haven't failed, I've found ten thousand ways that don't work."
-Thomas Edison (1847-1931)



"John W. Vinson" wrote:

> On Mon, 14 Sep 2009 18:29:02 -0700, Jack Leach <dymondjack at hot mail dot
> com> wrote:
>
> >Can we change the Caption of the text message displayed on a failed validation?
> >

>
> You will get the most flexibility by not using the builtin validation message
> at all; instead, do the validation in the Form's BeforeUpdate event and pop up
> a Form in dialog view displaying the message. You can set its caption and
> appearance however you would like.
> --
>
> John W. Vinson [MVP]
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Caption for Text Box =?Utf-8?B?U3RldmUgV29yY2VzdGVy?= Microsoft Outlook Form Programming 1 14th Dec 2006 01:39 PM
Caption Text Box Rekoop Microsoft Word Document Management 1 16th Aug 2004 09:36 PM
Re: Validation (Drop down list vs simple text length validation) Bob Phillips Microsoft Excel Programming 2 27th Apr 2004 08:47 PM
Re: Validation (Drop down list vs simple text length validation) Jason Morin Microsoft Excel Programming 1 27th Apr 2004 05:56 PM
Validation (Drop down list vs simple text length validation) Pete McCosh Microsoft Excel Programming 0 27th Apr 2004 04:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:52 PM.