?
Solved

Move fields up or down

Posted on 2012-03-26
6
Medium Priority
?
494 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 101

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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 101

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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

This article was originally published on Monitis Blog, you can check it here . If you have responsibility for software in production, I bet you’d like to know more about it. I don’t mean that you’d like an extra peek into the bowels of the sourc…
Invest in your employees with these five simple steps to improve employee engagement and retention.
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

771 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