<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>24 Oct 2014 16:33:59 Z</lastBuildDate><pubDate>23 Oct 2014 11:14:04 Z</pubDate><description>Good day&#13;
&#13;
I have a USER_RIGHTS table. It has a USER Column, PAGE Column and RIGHTS Column. How would I lookup to see that a user has the rights to look at a page? I know how to Find 1 bu using:&#13;
&#13;
[code:wl]&#13;
hreadseekfirst(USER_RIGHTS,ID,EDT_USER&#13;
IF HFOUND(USER_RIGHTS) THEN&#13;
.......&#13;
END&#13;
[/code]&#13;
&#13;
How will I then tell it that now that you found the user look in that same table for the requested page, if that is found what is the RIGHTS....&#13;
&#13;
[code:wl]&#13;
If rights = 1 then "Go to that page"&#13;
else&#13;
info("You do not have rights to view this page"&#13;
END&#13;
[/code]&#13;
&#13;
Thanks</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table/read.awp</link><title>Lookup Multiple data in Database Table</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>tbc92</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48653/read.awp</comments><pubDate>24 Oct 2014 16:33:59 Z</pubDate><description>Ruan a écrit : &#13;
&gt; &#13;
&gt; Hi &#13;
&gt; &#13;
&gt; Unfortunately this is now the first time I see this, I have never had the need for Composite-K…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48653/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48653/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table/read.awp">Lookup Multiple data in Database Table</source><title>Re: Lookup Multiple data in Database Table</title></item><item><author>Ruan</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48634/read.awp</comments><pubDate>23 Oct 2014 21:58:24 Z</pubDate><description>Joel wrote:&#13;
&gt; Some documentation that could help you :&#13;
&gt; &#13;
&gt; http://doc.windev.com/en-US/…&#13;
&gt; http://doc.windev.com/en-US/…&#13;
&gt;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48634/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48634/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table/read.awp">Lookup Multiple data in Database Table</source><title>Re: Lookup Multiple data in Database Table</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48632/read.awp</comments><pubDate>23 Oct 2014 19:16:36 Z</pubDate><description>Hi Ruan&#13;
&#13;
if you do not understand what I meant, it means that you NEED to START &#13;
by reading in details the TUTORIAL that come…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48632/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48632/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table/read.awp">Lookup Multiple data in Database Table</source><title>Re: Lookup Multiple data in Database Table</title></item><item><author>tbc92</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48631/read.awp</comments><pubDate>23 Oct 2014 17:45:16 Z</pubDate><description>Some documentation that could help you :&#13;
&#13;
http://doc.windev.com/en-US/?3044178&amp;name=Composite_keys&#13;
http://doc.windev.com/en-U…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48631/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48631/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table/read.awp">Lookup Multiple data in Database Table</source><title>Re: Lookup Multiple data in Database Table</title></item><item><author>Ruan</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48630/read.awp</comments><pubDate>23 Oct 2014 17:15:04 Z</pubDate><description>Fabrice Harari wrote:&#13;
&gt; Hi Ruan&#13;
&gt; &#13;
&gt; you need to declare a composite key on USER+Page&#13;
&gt; &#13;
&gt; this way, a simple hreadseek(MyF…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48630/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48630/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table/read.awp">Lookup Multiple data in Database Table</source><title>Re: Lookup Multiple data in Database Table</title></item><item><author>Ruan</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48629/read.awp</comments><pubDate>23 Oct 2014 17:13:47 Z</pubDate><description>Fabrice Harari wrote:&#13;
&gt; Hi Ruan&#13;
&gt; &#13;
&gt; you need to declare a composite key on USER+Page&#13;
&gt; &#13;
&gt; this way, a simple hreadseek(MyF…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48629/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48629/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table/read.awp">Lookup Multiple data in Database Table</source><title>Re: Lookup Multiple data in Database Table</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48628/read.awp</comments><pubDate>23 Oct 2014 16:14:07 Z</pubDate><description>Hi Ruan&#13;
&#13;
you need to declare a composite key on USER+Page&#13;
&#13;
this way, a simple hreadseek(MyFile,MyCompositeKey,[File,Page]) w…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48628/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48628/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table/read.awp">Lookup Multiple data in Database Table</source><title>Re: Lookup Multiple data in Database Table</title></item><item><author>info</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48627/read.awp</comments><pubDate>23 Oct 2014 15:56:16 Z</pubDate><description>Hi Ruan,&#13;
&#13;
Then the 'problem' is in the fact you only look for and only will find the first record with 'HreadSeekFirst'. You h…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48627/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48627/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table/read.awp">Lookup Multiple data in Database Table</source><title>Re: Lookup Multiple data in Database Table</title></item><item><author>Ruan</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48626/read.awp</comments><pubDate>23 Oct 2014 14:41:39 Z</pubDate><description>Rudolf van Roosmalen wrote:&#13;
&gt; Hi, Ruan,&#13;
&gt; &#13;
&gt; In this case it is really a merge of your pieces of code&#13;
&gt; &#13;
&gt; HReadSeekFirst(U…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48626/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48626/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table/read.awp">Lookup Multiple data in Database Table</source><title>Re: Lookup Multiple data in Database Table</title></item><item><author>info</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48624/read.awp</comments><pubDate>23 Oct 2014 14:11:26 Z</pubDate><description>Hi, Ruan,&#13;
&#13;
In this case it is really a merge of your pieces of code&#13;
&#13;
[code:wl]&#13;
HReadSeekFirst(USER_RIGHTS,ID,EDT_USER)&#13;
IF …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48624/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48624/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table/read.awp">Lookup Multiple data in Database Table</source><title>Re: Lookup Multiple data in Database Table</title></item><item><author>Ruan</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48623/read.awp</comments><pubDate>23 Oct 2014 12:18:47 Z</pubDate><description>Rudolf van Roosmalen wrote:&#13;
&gt; Hi Ruan,&#13;
&gt; &#13;
&gt; As far as I can understand you just have to merge your two pieces of code:&#13;
&gt; &#13;
&gt;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48623/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48623/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table/read.awp">Lookup Multiple data in Database Table</source><title>Re: Lookup Multiple data in Database Table</title></item><item><author>info</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48622/read.awp</comments><pubDate>23 Oct 2014 11:55:15 Z</pubDate><description>Hi Ruan,&#13;
&#13;
As far as I can understand you just have to merge your two pieces of code:&#13;
&#13;
[code:wl]&#13;
HReadSeekFirst(USER_RIGHTS,…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48622/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table-48622/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48620-lookup-multiple-data-database-table/read.awp">Lookup Multiple data in Database Table</source><title>Re: Lookup Multiple data in Database Table</title></item></channel></rss>
