473,383 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Input Mask:>C;; ValidationRule=In("T","F"," ") AutoTab:Yes ;-(

1)Access2003, beating my head against the wall, every other iteration
is "can't find macro Upshift" followed by carefully verifying that no
blank properties have been entered. Making NO changes at all,
sometimes the message goes away, sometimes not. Any clues?

2)The other headbeating iterations are due to no joy when trying to
allow T,F,Blank in a 1-character field, with AutoTab enabled.

InputMask:>C;;
DefaultValue:
ValidationRule:In("T","F"," ")

everybody says "Works for me!", but it doesn't work for ME: Upshift
works, T works, F works, but space does not; I get my ValidationMessage
(identical to the rule).

I've checked the field in my table:
FieldSize:1
Format:
InputMask:>C;;
Caption:
DefaultValue:
ValidationRule:In("T","F"," ")
Required:No
AllowZeroLength:Yes

any ideas please?

Aug 16 '06 #1
2 3897

<ke**************@comcast.netschreef in bericht news:11**********************@75g2000cwc.googlegro ups.com...
1)Access2003, beating my head against the wall, every other iteration
is "can't find macro Upshift" followed by carefully verifying that no
blank properties have been entered. Making NO changes at all,
sometimes the message goes away, sometimes not. Any clues?

2)The other headbeating iterations are due to no joy when trying to
allow T,F,Blank in a 1-character field, with AutoTab enabled.

InputMask:>C;;
DefaultValue:
ValidationRule:In("T","F"," ")

everybody says "Works for me!", but it doesn't work for ME: Upshift
works, T works, F works, but space does not; I get my ValidationMessage
(identical to the rule).

I've checked the field in my table:
FieldSize:1
Format:
InputMask:>C;;
Caption:
DefaultValue:
ValidationRule:In("T","F"," ")
Required:No
AllowZeroLength:Yes

any ideas please?
About the blank:
By default Access trims spaces, so a single space is NOT saved.
I guess you have to change your rule here.

Maybe simply allow Null ? or (if you HAVE to) allow ZLS (zero lenght string "")
But I consider ZLS a bad idea (same goes for the space...) because you don't 'see' anything in the field while it is not-Null.

Arno R
Aug 16 '06 #2
BUT I've seen it work!! (just can't seem to figure out how to repeat
it!)

I appreciate your contrib re auto-trim of spaces, but that spaces is
why I'm specifically using the mask >C;; (as opposed to >l;;), meaning
upshift "Any character or a space (entry optional)". And the whole
idea is to let the user see nothing, making the T's stand out a lot
better. question stands: how to make this actually work?

BTW I tried adding "" to the FORM's validation rule; the result is the
dread can't find macro bit.

I submitted the q to an expert who came back with "Works for me!"; he
mentioned that his rules were applied to the table before creating the
form. That's not the sequence of events here, but with my Access
experience so far, I'll not be terribly surprised to discover that's a
factor.

And does anyone have a good way to search for the non-existent errant
macro? This dang tool (toy?) really doesn't want me under the hood!

Still seeking knowledge, not speculation - I've tried lots of that
thanks!

Tracy
Arno R wrote:
<ke**************@comcast.netschreef in bericht news:11**********************@75g2000cwc.googlegro ups.com...
1)Access2003, beating my head against the wall, every other iteration
is "can't find macro Upshift" followed by carefully verifying that no
blank properties have been entered. Making NO changes at all,
sometimes the message goes away, sometimes not. Any clues?

2)The other headbeating iterations are due to no joy when trying to
allow T,F,Blank in a 1-character field, with AutoTab enabled.

InputMask:>C;;
DefaultValue:
ValidationRule:In("T","F"," ")

everybody says "Works for me!", but it doesn't work for ME: Upshift
works, T works, F works, but space does not; I get my ValidationMessage
(identical to the rule).

I've checked the field in my table:
FieldSize:1
Format:
InputMask:>C;;
Caption:
DefaultValue:
ValidationRule:In("T","F"," ")
Required:No
AllowZeroLength:Yes

any ideas please?

About the blank:
By default Access trims spaces, so a single space is NOT saved.
I guess you have to change your rule here.

Maybe simply allow Null ? or (if you HAVE to) allow ZLS (zero lenght string "")
But I consider ZLS a bad idea (same goes for the space...) because you don't 'see' anything in the field while it is not-Null.

Arno R
Aug 16 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Mikko Rantalainen | last post by:
See example at <URL:http://www.cc.jyu.fi/~mira/moz/formtest.php>. The problem is that the label of submit button is always centered on the button regardsless of 'text-align' property in CSS....
2
by: Matt | last post by:
If I do the following, the browse text box still cannot see C:/hello world/test.txt. <input type="file" name="fileName" value="C:/hello world/test.txt" size=80> Any ideas? and workarounds...
4
by: dschruth | last post by:
Hello. Can anybody solve this problem? I am using a server-side language (PERL) to *try* to POST data to a HTTPS login script that doesn't have a standard "submit" button. The form appears...
17
by: Alan Silver | last post by:
Hello, I have a page which I am converting to use themes. The page has an HTML <input type="image"> element that is used to post to another page. I would like to replace this with a server...
2
by: Alan Silver | last post by:
Hello, If I have the following HTML... <input type="image" src="fred.gif"> .... is there a way to specify the image in CSS rather than in the HTML? TIA
2
by: alxasa | last post by:
Hello, I am hoping someone can help me with this. I need a javascript function, which sits inside a <input type="text" name="firstname"> line of code. Now, if someone starts typing fine, but when...
18
by: zoilus | last post by:
Can not determine how "<?=PHP_SELF?>" is supposed to work. The below is the line of code. <!-- <form name="search" method="post" action="<?=$PHP_SELF?>"--> When the above statement is run the...
3
by: blackrunner | last post by:
ERROR in my Query?! ERROR: Element GESCHLECHT is undefined in FORM. i think everything ok. Maby somebody can help me here Element GESCHLECHT is undefined in FORM. The error occurred...
9
Catalyst159
by: Catalyst159 | last post by:
I have a form which is used to calculate residential Floor Area Ratio (FAR). The form is structured into seven parts as follows: Part A: Maximum FAR and Floor Area: Part B: Gross Floor Area of...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.