Right justifying fields and text:
Now you can reset your margins without your text reformatting!
FORMULAS:
basic version:
{RIGHT(SPACE(n)+ALLTRIM(fieldname), n)}
Separate multiple fields with + " "+
(plus-sign quote space quote plus-sign)
Example of formula for right justifying a three field line:
{RIGHT(SPACE(n)+ALLTRIM(fieldname1)+" "+ALLTRIM(fieldname2)+" "+ALLTRIM(fieldname3), n)}
note: This only applies to character fields, see following formulas regarding using non-character fields. For a listing of Farm field types, etc. see Farm File Layout Techfax.
Text may be substituted for a field name, but must be enclosed in quotes (see next formula).
To right justify text only, use the following formula:
{RIGHT(SPACE(n)+ "Text to be right justified, enclosed in quotes", n)}
To right justify a numeric field, use the following formula:
{RIGHT(SPACE(n)+ALLTRIM(STR(numericfield)), n)}
To right justify a date field, use the following formula:
{RIGHT(SPACE(n)+DTOC(datefield), n)}
EXAMPLE of right justification:
The following example would right justify to column 63.
{RIGHT(SPACE(63)+ALLTRIM(TODAY), 63)}
{RIGHT(SPACE(63)+ALLTRIM(FIRST)+" "+ALLTRIM(ONR_NAME), 63)}
{RIGHT(SPACE(63)+ALLTRIM(SITE_ADD), 63)}
{RIGHT(SPACE(63)+ALLTRIM(SITE_CITY)+" "+ALLTRIM(SITE_ZIP), 63)}
{RIGHT(SPACE(63)+ "Just a little word from JOHN DOE REALTY.", 63)}
{RIGHT(SPACE(63)+"We last talked on "+DTOC(LAST_CONT)+" regarding your property",63)}
{RIGHT(SPACE(63)+"Your home was last assessed at $"+ALLTRIM(TRANS(ASSD_VAL,"999,999")),63)}
{RIGHT(SPACE(63)+"Because your home has "+ALLTRIM(STR(bedrooms))+" bedrooms , I like it!",63)}
{RIGHT(SPACE(63)+ "I could sell it fast!!!!", 63)}
and would layout like:
April 27, 1994
John E. Doe
118 W Smoe Dr.
Your Town, AZ 12345-6789
Just a little word from JOHN DOE REALITY.
We last talked on 04/15/93 regarding your property.
Your home was last assessed at $33,000
Because your home has 6 bedrooms, I like it!
I could sell it fast!!!! small office, home office, soho, soho software, real estate agent software, realtor software, mortgage broker software, real estate broker, real estate tax data software, tax roll data software, property data software, real estate property software, real estate database management software, real estate listing software, real estate software, real estate management, lending software, lender software, mortgage software, contact management, listing management, cma sofware, cma report software, closing management, escrow management, escrow software, closing software, closing manager, escrow manager, campaign manager, financial calculator, financial software, refinance software, refinancing software, loan qualification software, amortization software, scheduler software, scheduling software, real estate spreadsheet, settlement sheets, bulk mailing, client management, telemarketing software, real estate database software, mls software, multiple listing service software, scheduler, spreadsheet, settlement sheets, INSTANT IMPACT! GOLD, INSTANT IMPACT!, instant impact gold, Information Products, salesimpact, sales impact, the lenders edge, lenders edge, lender's edge, INSTANT IMPACT! GOLD, INSTANT IMPACT!, instant impact gold, Information Products, salesimpact, sales impact, the lenders edge, lenders edge, lender's edge