Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

JOINING TABLES USING executeQBE

$
0
0
I am trying to join two tables using executeqbe to use the output in a report. The common key for both tables in this case is the "WORK ORDER NUMBER". Can anyone tell me the correct format for joing the two tables? I tried typing JOIN, just prior to the check and ~s but that did not work. Thanks.


method pushButton(var eventInfo Event)
var
r Report
q Query
s String
endVar

s = WORK_ORDER_NUMBER.value

q = Query

ANSWER: :PRIV:ANSWER.DB

FLEET SERVICE.DB | WORK ORDER NUMBER | UNIT | LTD HOURS |
| Check ~s | CHECK | CHECK |

FLEET SERVICE NOTES JD.DB| WORK ORDER NUMBER |TYPE |SEGMENT |
| Check ~s | CHECK | CHECK |
EndQuery

executeQBE(q)


r.open("FLEET SERVICE-OPEN WORK ORDER")


endmethod

Viewing all articles
Browse latest Browse all 13329

Trending Articles