Page 1 of 1

Access a different file member

Posted: Sat Sep 22, 2018 6:14 am
by gstenstrom
I have a work file with multiple members and would like to use the "Select" statement against a specific member.
I don't see a parameter for Member in the Select command. I tried to do an override but that doesn't work.

Does anyone know how to accomplish this?

Code: Select all

#wstring1 := 'ovrdbf file(' + #wFile + ') mbr(' + #wMbr + ') OVRSCOPE(*JOB)'
Use Builtin(system_command) With_Args(X #wstring1) To_Get(#wRc)

Select Fields(#CONOW3 #LOADW3 #VNDRW3 #ORDNW3 #ITEMW3 #TQTYW3) From_File(PMPW3B) Where(#ITEMW3 <> *blanks)

Re: Access a different file member

Posted: Sat Sep 22, 2018 7:13 am
by caseywhite
You can use the POINT command.

Here is the info on how to use it.
https://docs.lansa.com/14/en/lansa015/c ... nt_c_w.htm