on 07-25-2022 12:31 PM
Hello,
I need help with a query for a formatted Search in which a value from a column (POR1.Text = ItemDetails)
is written to an UDF - even before it is saved.
Query:
SELECT $[$38.256.0] FROM POR1 T0
INNER JOIN OPOR T1 ON T0.[DocEntry] = T1.[DocEntry]
WHERE T1.[DocNum] = $[$8.0.0] and T0.[VisOrder] = $[$38.0.0]
Can you find my error in this case ?
Thanks for your help.
Greetings
Markus
Hi Markus,
I don't really understand, what you expect.
Where is the UDF (Lines/Header), you want to fill, and where is the Information you want to get (Lines/Header). You are mixing the value/variables in your query in a strange way.
e.g.
SELECT $[$38.256.0] (from Lines) FROM POR1 T0
INNER JOIN OPOR T1 ON T0.[DocEntry] = T1.[DocEntry]
WHERE T1.[DocNum] = $[$8.0.0] (from Header) and T0.[VisOrder] = $[$38.0.0] (from Lines)
If you'd like to test your query, open the Form where the magic should happen. And then open the FMS via Menu
Tools->Queries->UserQueries ---choose FMS
The variabels will be filled the with the values it could get from the Form
regards
Lothar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
9 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.