Sign Up |  Live StatsLive Stats    Articles 35,345| Comments 159,788| Members 17,820, Newest waheguruhelpme| Online 203
Home Contact
 (Forgotten?): 
    Sikhism

   
                                                                     Your Banner Here!    

Sikh Philosophy Network » Sikh Philosophy Network » Current Affairs » Information Technology » In desiging a form for input I have calculated fields mapped over from excel and want to know the best way to treat them so they are true to the calculations.

In desiging a form for input I have calculated fields mapped over from excel and want to know the best way to treat them so they are true to the calculations.

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 400 USD, Received: 35 USD (9%)
Please Donate...
Related Topics...
Thread Thread Starter Forum Replies Last Post
Calculations in a Form Tdahlman Information Technology 5 28-Jul-2006 08:34 AM
Placement of calculated fields in a report Shaun Rucker Information Technology 5 28-Jul-2006 08:33 AM
Calculated fields in a data access page NSNour Information Technology 0 28-Jul-2006 08:16 AM
Need Calculated Fields in Table View JB Information Technology 5 28-Jul-2006 08:09 AM
Currentuser Form & Calculations JBL Information Technology 2 14-Nov-2005 15:28 PM


Tags
desiging, form, input, calculated, fields, mapped, excel, best, treat, them, they, true, calculations
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:14 AM
rjr's Avatar rjr
Guest
 
Posts: n/a
   
   
In desiging a form for input I have calculated fields mapped over from excel and want to know the best way to treat them so they are true to the calculations.

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
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: Files imported into access from excel with calculations
that were used there to get the calculaitons.

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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10649-desiging-form-input-i-have-calculated.html
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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10649
mail merge document in WORD.

Any help would be appreciated as I am very inexperienced with
access. Thank you

Bob Reynolds







 
Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:14 AM
Brendan Reynolds's Avatar Brendan Reynolds
Guest
 
Posts: n/a
   
   
Re: In desiging a form for input I have calculated fields mapped over from excel and want to know the best way to treat them so they are true to the calculations.

I answered this question yesterday, Bob, when you posted it under the
subject line 'Calculated field in form view'.

--
Brendan Reynolds
Access MVP

"rjr" wrote in message
news:BTsfg.516$ED2.120@bignews2.bellsouth.net...
> 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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10649
> ERFname
> ERMI
> ERLname
> SPDBA
>
>
> Problem: Files imported into access from excel with calculations
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10649
> that were used there to get the calculaitons.
>
> 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 as I am very inexperienced with
> access. Thank you
>
> Bob Reynolds
>
>



Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:14 AM
Kernow Girl's Avatar Kernow Girl
Guest
 
Posts: n/a
   
   
RE: In desiging a form for input I have calculated fields mapped over

Hi Bob - do you want these calculated fields to be stored in the DB itself?
If no you can re-create the formula either on the form or in a query. either
way the IF statement is the same except it uses IIF instead of IF and the
fields are surrounded by [] .

If your IF statement is on a Form you create and Unbound Text box, enter the
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10649
formula below and name it

=IIF([BUSTYPE]="",[ERFULLNAME],IIF([BUSTYPE]="SP",[ERFULLNAME],IIF
> ([BUSTYPE]="Part",[ERCO],IIF([BUSTYPE]="Corp",[ERCO],""))))


If you are using this data in word it's easier in a Query, and therefore you
just need to put this IF statement in the Field line with the name first --
like this

NAMEMERGE: IIF([BUSTYPE]="",[ERFULLNAME],IIF([BUSTYPE]="SP",[ERFULLNAME],IIF
> ([BUSTYPE]="Part",[ERCO],IIF([BUSTYPE]="Corp",[ERCO],""))))


Run the Query and you have your merged info.

However you might not need to go to Word to do your mail merge as the
reports in Access can give you merged letters and labels.

Hope this helps - let me know if you need any more info.
Yours --- Dika


"rjr" wrote:

> 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: Files imported into access from excel with calculations
> that were used there to get the calculaitons.
>
> 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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10649
> (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 as I am very inexperienced with
> access. Thank you
>
> Bob Reynolds
>
>
>

Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:15 AM
rjr's Avatar rjr
Guest
 
Posts: n/a
   
   
Re: In desiging a form for input I have calculated fields mapped over

  Donate Today!  
First, Thanks to both of you for responding. I'm sorry it turned into a
double post but I couldn't find the first one anywhere as posted so, go
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10649
figure. Anyhow
I would like these calcualted fields to be stored in the DB - YES
Having said that is it a fair statement that I should make it a field in my
database (already have) and how do I get the query (very weak in queries) to
put the data in that field to make it permanent.

Thanks again to all

BOB

"Kernow Girl" wrote in message
news:BB55A53F-8546-4505-A64C-C41D862E1272@microsoft.com...
> Hi Bob - do you want these calculated fields to be stored in the DB
> itself?
> If no you can re-create the formula either on the form or in a query.
> either
> way the IF statement is the same except it uses IIF instead of IF and the
> fields are surrounded by [] .
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10649
>
> If your IF statement is on a Form you create and Unbound Text box, enter
> the
> formula below and name it
>
> =IIF([BUSTYPE]="",[ERFULLNAME],IIF([BUSTYPE]="SP",[ERFULLNAME],IIF
>> ([BUSTYPE]="Part",[ERCO],IIF([BUSTYPE]="Corp",[ERCO],""))))

>
> If you are using this data in word it's easier in a Query, and therefore
> you
> just need to put this IF statement in the Field line with the name
> first --
> like this
>
> NAMEMERGE:
> IIF([BUSTYPE]="",[ERFULLNAME],IIF([BUSTYPE]="SP",[ERFULLNAME],IIF
>> ([BUSTYPE]="Part",[ERCO],IIF([BUSTYPE]="Corp",[ERCO],""))))

>
> Run the Query and you have your merged info.
>
> However you might not need to go to Word to do your mail merge as the
> reports in Access can give you merged letters and labels.
>
> Hope this helps - let me know if you need any more info.
> Yours --- Dika
>
>
> "rjr" wrote:
>
>> 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: Files imported into access from excel with calculations
>> that were used there to get the calculaitons.
>>
>> 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 as I am very inexperienced with
>> access. Thank you
>>
>> Bob Reynolds
>>
>>
>>



Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Gurbani Jukebox
Listen to Gurbani while surfing SPN!
» Active Discussions
sikhism Who is "Mohan"?
Today 06:52 AM
21 Replies, 319 Views
sikhism need urgent advice.......
Today 06:46 AM
6 Replies, 72 Views
sikhism ਨਾਮਾ
Today 06:37 AM
2 Replies, 45 Views
sikhism Sikh Diamonds Video...
Today 04:23 AM
6 Replies, 112 Views
sikhism Are Creator and Creation...
Today 01:30 AM
44 Replies, 2,833 Views
sikhism Herman Hesse,...
Today 00:54 AM
13 Replies, 225 Views
sikhism On a Scale of Most...
Yesterday 21:42 PM
30 Replies, 1,277 Views
sikhism I became victim by...
Yesterday 19:50 PM
0 Replies, 39 Views
sikhism How important is Matha...
By Ishna
Yesterday 19:05 PM
58 Replies, 1,026 Views
sikhism Sikh Books downloads
Yesterday 15:39 PM
2 Replies, 62 Views
sikhism Salok Sheikh Farid ji...
Yesterday 09:35 AM
0 Replies, 43 Views
sikhism In Punjab, three farmers...
Yesterday 05:36 AM
0 Replies, 45 Views
sikhism Supernatural Sikhs, what...
Yesterday 03:45 AM
19 Replies, 408 Views
sikhism Sukhmani Sahib Astpadi...
26-May-2012 22:57 PM
0 Replies, 46 Views
Do You Think You Are...
26-May-2012 09:59 AM
94 Replies, 8,258 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.2

All times are GMT +6.5. The time now is 07:00 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.63664 seconds with 30 queries