× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Dave,
1. Yes, you should be able to do it that way.  I think the way they have
CODE set up is that it should find and use the Fields.lx in your MyMacros
folder first.

2.  I have a space in mine, so the first one listed.

3.  Did you search for it? Mine is in \WDT400\extras.  This is the profile
macro that sets up the "Extras" pull down in CODE. You should have one
unless you have really changed your CODE profile macros around.

-- Scott Johnson


Okay, a few clarifying questions:

1.  I should first copy the FIELDS.LX macro to MyMacros folder, then edit
THAT copy, correct?

2.  Do I want a blank between the second apostrophe and LEFT?  In other
words, is it
       'insert ' LEFT(stuff,80)    or
       'insert 'LEFT(stuff,80)     ??

3.  I don't have a PROFSYS.LXU file, but I do have a PROFILE.LX in MyMacros
folder.  I assume I can add the PopupMenu line to that.  I don't understand
the part about adding "it to the IF at the end of the profile source."  I
don't have an "IF" at the end.  What's the format of THAT?


This is great stuff!

Dave


> -----Original Message-----
> From: code400-l-admin@midrange.com
> [mailto:code400-l-admin@midrange.com]On Behalf Of Scott Johnson
> Sent: Tuesday, November 06, 2001 12:19 PM
> To: code400-l@midrange.com
> Subject: RE: "Extract Fields" problem
>
>
>
> David,
>
> For the error, try this:  Edit the file
> ?:\WDT400\macros\fields.lx in CODE.
> At about line 326 you should see the statement 'insert
> 'stuff. Change this
> line to
> 'insert ' LEFT(stuff,80).  Warning:  I did not have any long text
> descriptions to test this on!
>
> To add the option to the pop-up menu from the right mouse
> button, add the
> following to your profsys.lxu file (or the profile file of
> your choice):
>                'SET POPUPMENU.Extract_fields_(LIST) MACRO FIELDS'
> The single ticks are needed. If you want it only available
> for RPG source,
> add it to the IF at the end of the profile source.  I did not
> actually test
> this, but in theory it should work.
>
> --
> ------------------------------------------------------
> Scott P. Johnson
> Applications Development Team Coordinator
> Microcomputer Development Specialist
> IBM Certified Specialist - AS/400 RPG Programmer
> Highsmith Inc.
> W5527 Hwy 106, PO BOX 800
> Fort Atkinson, WI 53538-0800
> TEL:  920-563-9571                FAX:  920-563-7395
> sjohnson@highsmith.com
> www.highsmith.com
> ------------------------------------------------------








As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.