cancel
Showing results for 
Search instead for 
Did you mean: 

aligning data in smartforms

Former Member
0 Kudos

Hi,

I want to print data in a secondary window as follows.

Amendment number : 3 date: 3-03-2008

Number :4444444444 date: 3--3-2008

But the second date field is not aligning properly either it comes before the first date field or it comes after the first date field. i want both the date should start at the same coulmn.

please help me on this . pls be elaborative.

Thanks,

rose.

Edited by: camila phyrose on Feb 20, 2008 2:21 PM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hey Camila,

The best method is to use Tabs. If you didnt anything before the date,if the Number doesnt have any value then the date field will move in the front as shown below:

Amendment number : 3 date: 3-03-2008

Number : date: 3--3-2008

Method to create Tabs:

1) Goto Paragraph Formats say suppose T1. Click Edit -> Create Element.

2) Click tabs button and give the position at which you need the date to be printed. say suppose 5cms. Now we have assigned the first tab position at 5cms.

3) Inside the Text Element.Give as shown below.

T1 Amendment number :&v_amend&,,date:&v_date&

T1 Number : &v_number&,,date:&v_Date1&

The Paragraph format T1 and the Tab ,, will make the date to be printed at 5cms.

please REWARD Points if useful.

Thanks,

Karthik

Former Member
0 Kudos

Hi

Create a template and then use the text element to display

Regards

Shiva

Former Member
0 Kudos

Hi don't worry for this use tabs while writing in editor in Smartforms , tabs are made under a paragraph format we make tabs when we making a paragraph format and use that para fromat while writinfg field on editor on your smartforms

For tabs i give u an idea that tabs are used as a property of paragraphs for proper alingment of values or data in coloumns .

take tabs as the position from where u want to start printing data in coloumn

as for example

if ur first field is item no. than u have to alingned it as right alingment so it will start printing the value from right in coloumn so u decide that how many charcter is actullly it is taking so as for example it is of 10 character than give frst tab as on 10th in postion and type as CH while defining first coloumn , than suppose next field is description so u have to define it as left alingment so if first tabis at 10 and due to left alingment the positon of cursor is just after 10 becouse it is left alingned and previous one is right so start it from 12 as giving space of 1 or 2 character and do the same thing with using comman sence for other , but remember in this method of scripts u have to do one or more times trial and error so just do it once and practice it . this is very important.

just do one thing that if u r using tabs in paragraph format jsut chek that same para number u used for on ur editor while printing or not if it is ok than , in using tabs do right alingment for all value , quantity and no. fields in tabs while using tabs in editor u define tab after each field with two commas where u have to put tab or means from this field u have to strt ur next tab

*thank

  • if useful please please reward points.

Former Member
0 Kudos

Hi,

Give the SPACES before the statment in the script, it will allign,

otherwise, you need to use the paragraph format for the both Dates and use the ,, for the Spaces

Regards

Sudheer