Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Move Zero if value is null or spaces

Posted on 2006-11-16
5
Medium Priority
?
229 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 400 total points
ID: 17957238
What do you mean by "Move Zero"?
0
 
LVL 66

Accepted Solution

by:
Jim Horn earned 1200 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 400 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

810 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