Solved

Move fields up or down

Posted on 2012-03-26
6
489 Views
Last Modified: 2012-04-01
I have 4 textboxes which have a print name, address1, address2 and address3.  I have added another textbox making it 5 total fields.  I want to be able to move the fields down or up one depending on the address2 field is not filled initially. In the stored procedures I have coalesced the Address2 if there is no Address in the Address2 field I am inserting the City, State and Zip into that field. IF there is  an address in Address2 field then I move the cit, state and zip to Address3 field. How can I move the fields up one or down one?
0
Comment
Question by:pelon_80
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 25

Expert Comment

by:TempDBA
ID: 37767931
you need to check the value in Address2 and based on the presence of data, you need to write two insert statments.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 37768433
Is this in the report or in the SQL?

mlmcc
0
 

Author Comment

by:pelon_80
ID: 37768535
it is a report
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!

 
LVL 100

Expert Comment

by:mlmcc
ID: 37768754
If you put each field in its own section you can then suppress the blank sections and the fields will move up.

Right click the details section in the left margin
Click INSERT SECTION BELOW
Repeat 3 times

In DetailsA put the name
DetailsB - Address1
DetailsC - Address2
Details D - Address3
DetailsE - City, State, etc

mlmcc
0
 

Accepted Solution

by:
pelon_80 earned 0 total points
ID: 37772055
It okay what I did is create two formulas and according to Address 3 I put Name, Address and City, State and zip in the 2 formula and if there is a second Address field I put the Name, Address 1, Address 2 and City, State and Zip in the other formula 1
0
 

Author Closing Comment

by:pelon_80
ID: 37792650
It worked for me.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

A high-level exploration of how our ever-increasing access to information has changed the way we do our jobs.
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
The viewer will learn common shortcuts with easy ways to remember them. The viewer will then learn where to find all of the keyboard shortcuts, how to create/change them, and how to speed up their workflow.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

726 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