我正在制作银行交易计划(来自学校老师的家庭作业)
我想在我的tb_transactions
表中输入一些数据,因此查询是最佳选择。
INSERT INTO tb_Transactions ( [Transaction], Account, [Date],
Details, Category, [Transaction Type], Amount )
SELECT [Enter Transaction Number] AS Expr1, [Enter Account Type] AS Expr2,
[Enter Date] AS Expr3, [Enter Details (up to 45 characters)] AS Expr4,
[Enter Category] AS Expr5, [Enter Transaction Type (C or D)] AS Expr6,
[Enter Amount] AS Expr7
FROM tb_Transactions;
因此,每个字段数据条目都有7个输入框。
我的问题:
Account
和Category
以及Transaction
的查找向导如下所示:
帐户:Cheque
,Savings
类别:Salary
,Miscellaneous
,Food/Groceries
,Car/Travel
,Clothing
,Entertainment
交易:C
,D
但是在输入框中,显然我必须输入它。但有没有办法继续使用我制作的列表框?