PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Filter for a Table
Filter for a Table
Started by Dan Matis, Dec., 08 2008 8:07 AM - 1 reply
Connect yourself…
Dan Matis
#1
Posted on December, 08 2008 - 8:07 AM
WebDev12
Newbie here, I have a program where I am showing 1 company (on top) then I have a tab below which on one of the tabs I am trying to show only the related contacts for that company in a table ...
How do I filter? to only show the related contacts?
Thanks in advance ... Dan
Report
0
0
Fabrice Harari
#2
Posted on December, 08 2008 - 1:34 PM
Hi Dan and welcome...
There are several different ways of doing that...
You can use a query or a hfilter...
with a hFilter, you would have to do, each time you change company,
something like (I do not know your files, so it's of course just an
example):
hFilter(Contact, KeyByCompanyIDAndContactName,
[Company.CompanyID,hMinValue],[Company.CompanyID,hMaxValue])
then loop on your contact file to fill the contact table (if memory
table) or redisplay your contact table (tabledisplay) if it's a file
linked table
One more thing: this kind of operation is described in quite details in
the auto-formation guide coming with the product, so I strongly advise
you to follow it in details... The few days you'll spent on it will be
extrimely profitable
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
More information on
http://www.fabriceharari.com
Dan Matis wrote:
WebDev12
Newbie here, I have a program where I am showing 1 company (on top) then I have a tab below which on one of the tabs I am trying to show only the related contacts for that company in a table ...
How do I filter? to only show the related contacts?
Thanks in advance ... Dan
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text