Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

Calculated field in form view

Discussion in 'Information Technology' started by rjr, Jul 28, 2006.

  1. rjr

    rjr
    Expand Collapse
    Guest

    Hello, MS Access 2003. I have a form and have 5 fields that were
    calculations in MS Excel. This db has been imported from Excel.

    My problem: Placing a field in the form view that will do calculations on
    other fields and merged those fields.
    Fields
    BusType
    ERDBA
    ERFULLNAME
    ERCO
    NameMerge
    ERFname
    ERMI
    ERLname
    SPDBA


    Problem:


    NameMerge excel formula
    =IF(BUSTYPE="",ERFULLNAME,IF(BUSTYPE="SP",ERFULLNAME,IF(BUSTYPE="Part",ERCO,IF(BUSTYPE="Corp",ERCO,""))))
    ***used to merge a calculated fullname of an employer with the company name.

    SPDBA EXCEL FORMULA =IF(BUSTYPE="",NAMEMERGE,IF(BUSTYPE="SP",NAMEMERGE &
    DBAMERGE,IF(BUSTYPE="Part",NAMEMERGE & DBAMERGE,IF(BUSTYPE="Corp",NAMEMERGE
    & DBAMERGE,""))))
    ***used to calculate some nulls and then either produce a merged name or a
    merged name and a dba name.

    DBAMERGE =IF(BUSTYPE="",ERDBA,IF(BUSTYPE="SP"," dba " &
    ERDBA,IF(BUSTYPE="Part"," dba " & ERDBA,IF(BUSTYPE="Corp"," dba " & ERDBA,
    ""))))
    ***used to calculate the dba name and actually insert the "dba" into the
    name..

    ERFULLNAME =CONCATENATE(IF(ERFNAME="","",ERFNAME2),IF(ERFNAME="","","
    "),IF(ERMI="","",ERMI),IF(ERMI="",""," "),ERLNAME)
    ***used to calculate a person's full name from three fields.


    All of the basic fields are in access when I imported them over. How do I
    get these into a field titled as indicated above and have it automatically
    calculate the product so that I can merge it with a mail merge document in
    WORD.

    Any help would be appreciated.
    Bob Reynolds
     
  2. Loading...

    Similar Threads Forum Date
    India Reading Calculated Banis Breaking News Mar 6, 2013
    Canada Huddersfield Sikh community leader Bakhshish Singh Bhullar dies... Breaking News Jan 27, 2014
    The ‘Flying Sikh’ on India’s lamentable track-and-field prowess Sports & Fitness Oct 4, 2010
    India India Can Never Beat China in Any Field Breaking News May 22, 2010
    US Defense Department Hiring Resident Aliens in Medical and Language Fields Business, Lifestyle & Leisure Dec 6, 2008

Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page