Solved

Access 2003 - Need to properly use Zoom in query design

Posted on 2009-03-29
3
362 Views
Last Modified: 2013-11-29
I have a field named 1 in which the data is .0635438

At runtime of the query I need to convert that data to 63.  I just can't seem to write the correct small algorithim in the Zoom area to accomplish that.

I wrote: 1: IIf(tblRptscores.1>0,Int([(tblRptscores.1]*100),"") and Access does not like that at all.

I also tried a couple of other ways, too, but they also failed the compile.

What is the right way to make that conversion?  Please!
0
Comment
Question by:ljcor
  • 2
3 Comments
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 24013196
IIf([tblRptscores].[1] > 0, Int([tblRptscores].[1] * 100), "")
0
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 500 total points
ID: 24013199
BTW, it is a bad, bad, bad idea to use a number for a column name :)
0
 

Author Closing Comment

by:ljcor
ID: 31564052
Thanks Patrick.  And I promise (really) never to use a number for a field again.  I don't even know what possessed me that time - and I have to many fields in that table and don't want to go back and change them all now.  Perhaps I will have to - but we'll see.
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Confronted with some SQL you don't know can be a daunting task. It can be even more daunting if that SQL carries some of the old secret codes used in the Ye Olde query syntax, such as: (+)     as used in Oracle;     *=     =*    as used in Sybase …
Composite queries are used to retrieve the results from joining multiple queries after applying any filters. UNION, INTERSECT, MINUS, and UNION ALL are some of the operators used to get certain desired results.​
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

820 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