Page 1 of 1
line feed within single command
Posted: Fri Feb 08, 2002 9:09 am
by Heather
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 [+ " " +]
Re: line feed within single command
Posted: Fri Feb 08, 2002 11:06 am
by Michael Appell
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
Re: line feed within single command
Posted: Fri Feb 08, 2002 11:36 am
by Heather
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?
Re: line feed within single command
Posted: Fri Feb 08, 2002 11:36 am
by Heather
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?
Re: line feed within single command
Posted: Fri Feb 08, 2002 11:52 am
by Heather
I figured out the problem with not being prompted for the party - I had incorrectly written that aspect of the form.
Re: line feed within single command
Posted: Fri Feb 08, 2002 12:15 pm
by Michael Appell
>
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
Re: line feed within single command
Posted: Fri Feb 08, 2002 12:58 pm
by Heather
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
Re: line feed within single command
Posted: Fri Feb 08, 2002 1:06 pm
by Michael Appell
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