仅用于测试目的。
我尝试更改代码的某些部分并阅读api-docs。 一开始我添加" typedC + = e.getKeyChar();"它似乎记录了altgr-keys,但后来又不再了。
如何更改它以让工作altgr-keys?
由于
SELECT
(
SELECT
"LocationCode"
FROM
"Locations"
WHERE
"Invoices"."LocationID" = "Locations"."LocationID"
) AS "Location",
"Invoices"."OrderNum",
"Invoices"."ServiceCode",
"Invoices"."WorkDate",
"Invoices"."Total",
-- "Classes"."Code" AS "ServiceClass",
(
SELECT
"Employees"."Username"
FROM
"Employees"
WHERE
"Employees"."TechId" = "Invoices"."TechID1"
) AS 'Tech',
(
SELECT
"Employees"."Username"
FROM
"Employees"
WHERE
"Employees"."TechId" = "Invoices"."TechID2"
) AS 'Helper',
(
SELECT
"Employees"."Username"
FROM
"Employees"
WHERE
"Employees"."TechId" = "Invoices"."TechID3"
) AS 'Sales Blue 1',
(
SELECT
"Employees"."Username"
FROM
"Employees"
WHERE
"Employees"."TechId" = "Invoices"."TechID4"
) AS 'Sales Blue 2',
(
SELECT
"Employees"."Username"
FROM
"Employees"
WHERE
"Employees"."TechId" = "Invoices"."TechID5"
) AS 'Term Self',
CASE
WHEN --Self Gen
"Invoices"."TechID5" IN (
'298',
'194',
'330',
'391',
'335'
) THEN
(
SELECT
"Employees"."Username"
FROM
"Employees"
WHERE
"Employees"."TechId" = "Invoices"."TechID5"
)
WHEN --Sales Blue 2
"Invoices"."TechID4" IN (
'298',
'194',
'330',
'391',
'335'
) THEN
(
SELECT
"Employees"."Username"
FROM
"Employees"
WHERE
"Employees"."TechId" = "Invoices"."TechID4"
)
WHEN --Sales Blue 1
"Invoices"."TechID3" IN (
'298',
'194',
'330',
'391',
'335'
) THEN
(
SELECT
"Employees"."Username"
FROM
"Employees"
WHERE
"Employees"."TechId" = "Invoices"."TechID3"
)
END AS "Sales Rep",
CASE
WHEN --Self Gen
"Invoices"."TechID5" IN (
'298',
'194',
'330',
'391',
'335'
) THEN
'Self-Gen'
WHEN --Sales Blue 2
"Invoices"."TechID4" IN (
'298',
'194',
'330',
'391',
'335'
) THEN
'BSP Lead 2'
WHEN --Sales Blue 1
"Invoices"."TechID3" IN (
'298',
'194',
'330',
'391',
'335'
) THEN
'BSP Lead'
ELSE
'Error'
END AS "Sale Status"
FROM
(
(
"Employees" "Employees"
INNER JOIN "Invoices" "Invoices" ON "Employees"."TechID" = "Invoices"."TechID3"
)
INNER JOIN "Services" "Services" ON "Invoices"."ServiceCode" = "Services"."Code"
)
INNER JOIN "Classes" "Classes" ON "Services"."ClassID" = "Classes"."ClassID"
WHERE
-- Brian is 298, Cindy is 194, Jeremiah is 330, Monty is 391, and Tom is 335.
-- Technician AND Sales Rep
"Invoices"."ServiceCode" IN (
'BED BUG CHEM CO',
'BED BUG CHEM'
)
AND (
"Invoices"."TechID1" IN (
'298',
'194',
'330',
'391',
'335'
)
AND "Invoices"."TechID3" IN (
'298',
'194',
'330',
'391',
'335'
)
OR "Invoices"."TechID5" IN (
'298',
'194',
'330',
'391',
'335'
)
)
OR -- Sales Blue 1, Sold but BSPC Lead
"Invoices"."TechID3" IN (
'298',
'194',
'330',
'391',
'335'
)
OR --Sales Blue 2
"Invoices"."TechID4" IN (
'298',
'194',
'330',
'391',
'335'
)
OR --Term Self (Gen)
"Invoices"."TechID5" IN (
'298',
'194',
'330',
'391',
'335'
)
AND (
"Invoices"."WorkDate" <= GetDate()
AND YEAR ("Invoices"."WorkDate") = YEAR (GetDate())
)
AND "Invoices"."ServiceCode" NOT LIKE 'EOM%'
AND "Invoices"."ServiceCode" NOT LIKE 'EOM1%'
AND "Invoices"."ServiceCode" NOT LIKE 'M_%'
AND "Invoices"."ServiceCode" NOT LIKE 'M1%'
AND "Invoices"."ServiceCode" NOT LIKE 'Q_%'
AND "Invoices"."ServiceCode" NOT LIKE 'Q1__%'
/*
AND "Classes"."Code" NOT IN ('EOM', 'QUARTERLY', 'MONTHLY')
*/
ORDER BY
"Sales Rep",
"Sale Status"
答案 0 :(得分:0)
什么操作系统?在Linux上有一些已知的2.0问题,但它们将在2.1中修复。如果还有其他问题,您可能需要报告错误。请包括您确切的键盘布局,型号和语言。还提供了有关按下的键,观察到的行为和预期行为的详细信息。我只知道如何使用美国键盘,所以我不确定所有Alt-Gr语言/区域特定的键,掩码和锁是如何工作的。