Solved

Formula used in Excel

Posted on 2011-02-17
6
251 Views
Last Modified: 2012-05-11
Experts,

I have a formula in Excel that works:

="1/"&TEXT(B2/B3/100,0)&" of 1%"
and I converted it to a unbound text box as follows but I dont belive the TEXT function is applicable in Access? I get a #name:
="1/" & Text([[tblLetterOfCredit].[Amount]/[tblfees.Amount]/100,0) & " of 1%"

Any suggestions?  
0
Comment
Question by:pdvsa
6 Comments
 
LVL 28

Expert Comment

by:omgang
ID: 34920571
CStr to convert to string in Access.
OM Gang
0
 
LVL 44

Accepted Solution

by:
GRayL earned 500 total points
ID: 34920751
Try:

="1/" & Round([[tblLetterOfCredit].[Amount]/[tblfees.Amount]/100,0) & " of 1%"
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 34920838
try this


="1/" & formatNumber([tblLetterOfCredit].[Amount]/[tblfees.Amount]/100,2) & " of 1%"


or

="1/" & formatNumber([tblLetterOfCredit].[Amount]/[tblfees.Amount]/100,1) & " of 1%"
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:pdvsa
ID: 34921071
they both worked...  thank you
0
 

Author Comment

by:pdvsa
ID: 34921087
but the reason I had the #Name was due to the my incorrect bracketing...
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 34921110
looks like you picked one, that also have incorrect bracketing.

0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
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…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

679 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