Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Move Zero if value is null or spaces

Posted on 2006-11-16
5
222 Views
Last Modified: 2006-11-18
Hi: Can any one please tell me how do i move zero if value is equals to space or null?

strAmountofPPVDispute

Thanks.
0
Comment
Question by:mustish1
5 Comments
 
LVL 61

Assisted Solution

by:mbizup
mbizup earned 100 total points
ID: 17957238
What do you mean by "Move Zero"?
0
 
LVL 65

Accepted Solution

by:
Jim Horn earned 300 total points
ID: 17957240
Define 'move zero'.

If Nz(YourValue, "") = "" OR Nz(YourValue, 0) = 0 then
  'do something here
end if
0
 
LVL 65

Assisted Solution

by:rockiroads
rockiroads earned 100 total points
ID: 17957261
what do u mean zero, give it a value of zero?

u could do this

    If IsNull(strAmountofPPVDispute) = True Then
        strAmountofPPVDispute = 0
    ElseIf Len(Trim$(strAmountofPPVDispute)) = 0 Then
        strAmountofPPVDispute = 0
    End If
0
 
LVL 44

Expert Comment

by:GRayL
ID: 17957341
Looks like we'll never know!
0
 
LVL 44

Expert Comment

by:GRayL
ID: 17972504
Does anyone see any value in leaving this question here.  Unless mushish1 comes back and 'explains' I think it should be deleted.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

792 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