<div>  I guess I&#39;m still not getting it.........</div>
<div>  In the &quot;main&quot;file, there are records associated with different clients.</div>
<div>  In this particular instance, client number 4764 needs to have access to our </div>
<div>  system via ssh to just VIEW their records, along with asociated notes that are</div>
<div>  made on their records (these notes are contained in a separate file where</div>
<div>  currently on our system there are browse windows created on screen 2 for us to</div>
<div>  see the notes, etc.</div>
<div> </div>
<div>  So, in playing around with @menu I have created a file that has 2 dummy fields</div>
<div>  in it.  So, if I now go to IUA and choose this &quot;new file&quot; it gives me the option to</div>
<div>  search by name or account number (the 2 dummy fields I created)</div>
<div>  However, when I do the @menu processing, it still shows ALL records in the</div>
<div>  &quot;main&quot; file.  I can&#39;t figure out how to do the browse lookup to the &quot;main&quot; file and</div>
<div>  only show the records that belong to them.  How would I accomplish this?</div>
<div> </div>
<div>  My 2nd alternative I&#39;m playing with is simply creating a &quot;new&quot; file and copying just</div>
<div>  their records to it nightly and creating 2 screens for them to view notes, etc.</div>
<div>  That is the &quot;easy&quot; way out, but not really how I want to do this in the event I have</div>
<div>  future clients that want to also be able to see their data, I would like to have a</div>
<div>  &quot;solution&quot; in place.  I&#39;m just stuck on the lookups and limiting them to seeing</div>
<div>  just their data.</div>
<div> </div>
<div>  They will have their own unique login, but I don&#39;t see how I would tie that in to</div>
<div>  limiting the records they see unless I do what I just mentioned above and create</div>
<div>  a new file for just their records?!!??!   uggh.....lol</div>
<div> </div>
<div>  Scott</div>
<div><br><br> </div>
<div class="gmail_quote">On Tue, Sep 1, 2009 at 9:24 AM, Joe Chasan <span dir="ltr">&lt;<a href="mailto:joe@magnatechonline.com">joe@magnatechonline.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">you only need &quot;lookup -&quot; if you want to go to that record for update or<br>similar.  &quot;lookup -&quot; moves the current record pointer to that record.  if<br>
you are not going to update it it may not be necessary to use &quot;-&quot;.  a<br>regular browse lookup should do it.<br><br>i don&#39;t know what your criteria are for associating a record with a<br>particular login.  maybe you need a reference file to cross-reference<br>
unix user login (@id) with customer # field or some other similar field<br>in that file.<br><br>once you figure that out you can decide if there is an index with which<br>you can restrict the selection or not - if not, when you define a lookup<br>
via &lt;F5&gt; you will see a prompt for &quot;Processing Label&quot; - this section of<br>your prc table gets executed for every record in the index before it gets<br>displayed.  you create a section of your process table with this label, and<br>
its flow must end with an &quot;end&quot; statement - in it you can do lots of things,<br>but the main thing you are after in this case is some conditional logic<br>based on lookupfile(field) that an tell you whether or not to issue &#39;drop&#39;<br>
command - which will prevent the display of that record in the lookup<br>browse screen.  (e.g. if: lookupfile(5) ne &quot;XYZ&quot; then: drop)<br><font color="#888888"><br>-joe<br></font>
<div>
<div></div>
<div class="h5"><br>On Mon, Aug 31, 2009 at 03:30:26PM -0400, <a href="mailto:scooter6@gmail.com">scooter6@gmail.com</a> wrote:<br>&gt;   Joe,<br>&gt;<br>&gt;   I have a general idea what you&#39;re saying....in fact I made a &#39;dummy&#39; file<br>
&gt; and added<br>&gt;   some @menu processing to browse records from the &#39;main&#39; file, etc.<br>&gt;   I&#39;m still not certain how I would limit the lookup to just their data?<br>&gt;   I&#39;m also not certain how to write a lookup to another file when in @menu<br>
&gt;   processing......all I see is a &#39;dash&#39; lookup in the examples I&#39;ve seen in<br>&gt; the manual<br>&gt;   how do I lookup to another file?<br>&gt;   Still trying to figure this out - ughh  haha<br>&gt;<br>
&gt;   thanks again<br>&gt;<br>&gt;   Scott<br>&gt;<br>&gt; On Mon, Aug 31, 2009 at 10:05 AM, Joe Chasan &lt;<a href="mailto:jchasan@gmail.com">jchasan@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; &gt; I am not near a computer with filepro right now, but the basic idea is<br>
&gt; &gt; this:<br>&gt; &gt; Call clerk on a file and have processing take over immediately, either with<br>&gt; &gt; @menu, or with -xe/@entsel combo.  In that prc, prompt for input search<br>&gt; &gt; criteria - search key and search method if applicable.  Take that info and<br>
&gt; &gt; use it in a browse lookup processing line.  How you drop non-user-specific<br>&gt; &gt; records is on you then.  If you are lucky, index may help, if not, use the<br>&gt; &gt; prc= part of lookup to use drop processing.<br>
&gt; &gt;<br>&gt; &gt; That&#39;s a simple browse display - you can add popup screens to that pretty<br>&gt; &gt; easily.  since it is view only, you don&#39;t need to take it further than that.<br>&gt; &gt;  Also, if it is view only - suppose it doesn&#39;t even matter what fp file you<br>
&gt; &gt; run this out of.<br>&gt; &gt;<br>&gt; &gt; -joe<br>&gt; &gt; Sent from my Verizon Wireless BlackBerry<br>&gt; &gt;<br>&gt; &gt; -----Original Message-----<br>&gt; &gt; From: &quot;<a href="mailto:scooter6@gmail.com">scooter6@gmail.com</a>&quot; &lt;<a href="mailto:scooter6@gmail.com">scooter6@gmail.com</a>&gt;<br>
&gt; &gt;<br>&gt; &gt;  Date: Mon, 31 Aug 2009 09:42:25<br>&gt; &gt; To: &lt;<a href="mailto:joe@magnatechonline.com">joe@magnatechonline.com</a>&gt;; <a href="mailto:scooter6@gmail.com">scooter6@gmail.com</a>&lt;<a href="mailto:scooter6@gmail.com">scooter6@gmail.com</a>&gt;;<br>
&gt; &gt; filePro Mailing List&lt;<a href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a>&gt;<br>&gt; &gt; Subject: Re: limiting browse based on login?<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>
&gt; &gt; Filepro-list mailing list<br>&gt; &gt; <a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>&gt; &gt; <a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
&gt; &gt;<br>&gt; &gt;<br></div></div>
<div>
<div></div>
<div class="h5">--<br>-Joe Chasan-                           Magnatech Business Systems, Inc.<br>joe - at - magnatechonline -dot- com   Hicksville, NY - USA<br><a href="http://www.magnatechonline.com/" target="_blank">http://www.MagnatechOnline.com</a>         Tel.(516) 931-4444/Fax.(516) 931-1264<br>
</div></div></blockquote></div><br>