Type and Num

davies107

Registered User.
Local time
Today, 15:46
Joined
Oct 2, 2012
Messages
143
Hello Everyone,

i have a problem regarding some of the boxes of records in my database. i have a command in every box of my DBS:

=CLng([SearchResults].[column](33))

my DBS has lots of records, some box have entries some do not have. so my problem is that if the box has no record it will show like this:

#Type! OR #Num!

is there a command that i should put that whenever an item/box has no entry it will appear blank?


picture is attached...

Thanks...
 

Attachments

  • error.jpg
    error.jpg
    35.8 KB · Views: 93
Code:
=CLng(Nz([SearchResults].[column](33),0))
Your Column count worries me..
 
ohhhhh, why? please let me know... im new to Access. your ideas or knowledge is highly appreciated. Thanks a lot.
 
Well I am not sure what the SearchResult is, but a wild guess would be ComboBox or Listbox and either of the two with a very large column will lead to confusion.. What is that you are doing here.. Could you explain a bit further?

BTW did it work?
 
im sorry but its not working...

actually, i use John Big Booty's sample :

http://www.access-programmers.co.uk/forums/showthread.php?t=188663

almost everything is similar to him...


im working on every boxes of my DBS (design view) with =CLng([SearchResults].[column](33))

some entries have no records to show, then it appears an error or something in the box (in form view already) #Type! OR #Num! , just like the attached photo.

what i want is that if it has no records to show, it will just appear blank, no #Type! OR #Num! or any characters that will appear.


but, somehow, i discovered that not only without records those errors appear but also to some boxes with records though not all.

i hope im clear because im not good in explaining since English is not my first language. i hope you understand. thanks.
 

Users who are viewing this thread

Back
Top Bottom