blob: 761862e258c6559c33c06e00b8fc95332346a13a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?xml version='1.0' encoding='UTF-8'?>
<macro name="test_dbwidget" version="1.0">
<resume></resume>
<queries>
</queries>
<maps>
</maps>
<scripts>
</scripts>
<window caption="Test DBWidget"
layout="vbox">
<dbwidget name="prep" driver="QPSQL" server="sensei.j.auh.dk" user="postgres" database="lms"
select="drugname, dosageform_code, strength_text"
from="lms01"
where="drugname || ' ' || strength_text || ' (' || dosageform_code || ')'"
format="${drugname} ${strength_text} (${dosageform_code})"
value="a"
/>
<frame layout="hbox">
<spacer />
<button caption="Reset" action="reset"/>
<button caption="Gem" action="commit"/>
</frame>
</window>
</macro>
|