My Assistant
![]() ![]() |
|
|
May 3 2005, 09:39 AM
Post
#1
|
|
|
UtterAccess VIP Posts: 1,447 From: New York City |
How do you format a single column in a list box?
I have a column that shows a number (an account ID). This is a new feature, so consequently, some accounts have no number, while others have one. I'd like to substitue "NA" whenever an account ID is not present. |
|
|
|
May 3 2005, 09:45 AM
Post
#2
|
|
|
UtterAccess Guru Posts: 814 From: MN |
iif([AccountID] & "" = "", "NA", cstr([AccountID]))
That should do it. Nick |
|
|
|
May 3 2005, 10:14 AM
Post
#3
|
|
|
UtterAccess VIP Posts: 1,447 From: New York City |
Cookie, can you tell me where that line belongs?
Does it follow after I submit the rowsource? You know, me.myList.rowsource = "fancySQL" Then where does that line go? |
|
|
|
May 3 2005, 10:28 AM
Post
#4
|
|
|
UtterAccess Guru Posts: 814 From: MN |
Take a look at the attached db.
HTH o! Nick |
|
|
|
May 3 2005, 10:30 AM
Post
#5
|
|
|
UtterAccess VIP Posts: 1,447 From: New York City |
ThankX
|
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 19th May 2013 - 12:47 PM |