My Assistant
![]() ![]() |
|
|
Aug 2 2006, 02:52 AM
Post
#1
|
|
|
UtterAccess Addict Posts: 100 From: UK, Belfast |
Hi
I have a form that has a drop down. If the user doesn't select an item from the drop down (ie it is null) the I want the code on the close button to change the value of the field to zero. I am stumped....... tried Me([Visit_rds_id]) = IIf(IsNull(Me([Visit_rds_id])), "0", [Visit_rds_id]) But it didn't work! Rodders |
|
|
|
Aug 2 2006, 03:04 AM
Post
#2
|
|
|
UA Editor + Utterly Certified Posts: 22,722 From: Melton Mowbray,Leicestershire (U.K) |
Hi
Why not set the default value to '0'..? (IMG:http://www.utteraccess.com/forum/style_emoticons/default/thumbup.gif) |
|
|
|
Aug 2 2006, 03:24 AM
Post
#3
|
|
|
UtterAccess Addict Posts: 100 From: UK, Belfast |
Doh!
Cheers, wood and trees, I have been tweaking this for soooo long. Stronger coffee needed.... Thank again, Rodders |
|
|
|
Aug 2 2006, 03:27 AM
Post
#4
|
|
|
UA Editor + Utterly Certified Posts: 22,722 From: Melton Mowbray,Leicestershire (U.K) |
Hi Rodders..
I always put in a litle drop of "Paddys" whisky when I need a stronger coffee intake. Glad I could help.. (IMG:http://www.utteraccess.com/forum/style_emoticons/default/thumbup.gif) |
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 20th May 2013 - 11:14 AM |