
Contributor III
2022-02-16
03:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where match() clause with column of another table
Hey all,
I'm working on an app right now and have following problem.
I got a first table of Employees and an employee_id.
Now I want to load all Calls (from an qvd - file) where the Call.employee exists in Employees.
I tried to use the match function, but I don't know how to refer to the employee_id column of another table.
Is this possible?
Thanks for your answers.
2,417 Views
1 Solution
Accepted Solutions

Specialist II
2022-02-16
04:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try with Exists() function:
Employee:
Load
employee_id,
employee_id as employee_id_check,
...
From Employee.qvd(qvd);
Call:
Load
....
From Call.qvd(qvd)
Where exists(employee_id_check,employee);
Drop field employee_id_check;
Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
If a post helps to resolve your issue, please accept it as a Solution.
1 Reply

Specialist II
2022-02-16
04:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try with Exists() function:
Employee:
Load
employee_id,
employee_id as employee_id_check,
...
From Employee.qvd(qvd);
Call:
Load
....
From Call.qvd(qvd)
Where exists(employee_id_check,employee);
Drop field employee_id_check;
Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
If a post helps to resolve your issue, please accept it as a Solution.
