line feed within single command

Closed Forum - older posts now retired. This forum is read only. You can search and view posts in this forum but you cannot reply or create new posts in this forum.
Post Reply
Heather

line feed within single command

#1

Post by Heather » Fri Feb 08, 2002 9:09 am

I need to write a command which asks for the party one time and inserts that party's firm name, street, csz, and phone with line breaks after each piece of data. What I have to go with so far is
>>

I know how to pull all the data, but I don't know how to add it on to one command with line breaks, instead of running it all together on one line, as when you include [+ " " +]

Michael Appell

Re: line feed within single command

#2

Post by Michael Appell » Fri Feb 08, 2002 11:06 am

If you want the firm name, address, city, state and zip you don't need the code command for the firm. Try it this way:

>
>

The above getparty command will not insert the person's name, only the firm. If you also want the person's name, use getparty,ask instead.

Mike

Heather

Re: line feed within single command

#3

Post by Heather » Fri Feb 08, 2002 11:36 am

How do I write a line break into a command?

When I utilize the getparty,ask commands, it doesn't prompt to select a party when the form is merged. How do I make sure it prompts for a selection from the user?

Heather

Re: line feed within single command

#4

Post by Heather » Fri Feb 08, 2002 11:36 am

How do I write a line break into a command?

When I utilize the getparty,ask commands, it doesn't prompt to select a party when the form is merged. How do I make sure it prompts for a selection from the user?

Heather

Re: line feed within single command

#5

Post by Heather » Fri Feb 08, 2002 11:52 am

I figured out the problem with not being prompted for the party - I had incorrectly written that aspect of the form.

Michael Appell

Re: line feed within single command

#6

Post by Michael Appell » Fri Feb 08, 2002 12:15 pm

>

I think you said in your last reply that you had misspelled the getparty command. Let me know if you are still having problems with that.

Have a great weekend,
Mike

Heather

Re: line feed within single command

#7

Post by Heather » Fri Feb 08, 2002 12:58 pm

For an example If I write >> I get:

Joe Doe

How would I write a line break instead of a space so that it looks like:

Joe
Doe

Michael Appell

Re: line feed within single command

#8

Post by Michael Appell » Fri Feb 08, 2002 1:06 pm

Now I understand. Okay, there are two ways. To expand on what you have done already you would first use the getparty command to position to the application which could either be getparty,applicant or getparty,1 if the applicant is always first in the list. Next, you use the code command from the first name on the first line and another code command for the last name on the second line like this:

>>
>

The other way to do it (if it is for the primary - the primary being getparty,1 which is the first name in the list, would be by using the NAME command like this:

>
>

Mike

Post Reply