Solved

convert null value into space

Posted on 2004-03-24
1
728 Views
Last Modified: 2013-12-25
hi,
when i load a "null" value from a field in a table into a control, for e.g a text box,or listview, it will give me error of
"Type Mismatch".any way or syntax that can "convert" the null value into a valid space that can be stored by a
control?any solution for this?

i dun wan to use long statement like:
      if isnull(objrec1!field1)=true then text1=" "


thx.
daniel
0
Comment
Question by:daniellyh
1 Comment
 
LVL 8

Accepted Solution

by:
william_jwd earned 30 total points
ID: 10668721
just give

text1.text = "" & objrec1!field1
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now