Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Continuous Form Suggestions?

Status
Not open for further replies.

vlingen

Programmer
Aug 4, 2006
31
US
Hi All,

I have a continuous form that's used to enter employee time. There is a drop down box that the user selects a Pay code. The pay code determines if the user enters "Hours" or a "Flat Dollar Amount"

I'm either looking for a way to have one Amount field where the Format changes accordingly from Currency to General Number.

OR

A way to disable/enable the Hours vs Amount fields based on the Pay code selected.

This wouldn't be a problem on a "Form" but a "Continuous" form makes this a bit tricky.

Any suggestions? Know of any fancy Grid controls that could handle this?
Thanks!
 
You can use Conditonal Formatting with an expression (Expression Is) to disable a control based on the value of another control.
 
I think you can only use conditional formatting for background and font colors, etc. right? Not enabling or disabling a control?

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244. Basics at
 
In Access 2000, the very last icon in the row, just after font colour, allows enabling and disabling.
 
How are ya vlingen . . .
vlingen said:
[blue]I'm either looking for a way to have one Amount field where the Format changes accordingly from Currency to General Number.[/blue]
Sorry . . . No Can Do! . . . neither does conditional formatting offer the means to do so! . . .

Calvin.gif
See Ya! . . . . . .
 
vlingen said:
... OR

A way to disable/enable the Hours vs Amount fields based on the Pay code selected.

Which can be done with Conditional Formatting.


 
Remou . . .

Yes your right! . . . I misread the post origination [thumbsup2]

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top