I have several search forms. Each one is the same style, with similar queries. In fact, I copy one to make another.
For some reason, ???, only one column In one of my search forms not displaying data and looks like the field is not visible. All of the other columns displays the data correctly. There is no code behind that would set the field to visible but yet it doesn't display. I've triple checked everything I could think of but have not been able to get it to display. I must be missing something, but I can't figure it out.
Query
SELECT tblBankAccounts.BankID, tblBankTransactions.BankTransID, tblBankTypes.BankType, tblBankAccounts.BankName, tblBankTransactionTypes.TransType, tblBankAccounts.RoutingNumb, tblBankAccounts.AccountNumb, tblBankTransactions.Amt, tblBankTransactions.DateOfTrans, tblBankTransactions.Balance, tblPaymentMethods.PaymentMethod, tblBillsPaidDetails.CheckNumber, [BankName] & [BankType] & [DateOfTrans] & [TransType] & [PaymentMethod] & [CheckNumber] & [Amt] AS SearchTerm
FROM tblPaymentMethods RIGHT JOIN (tblBankTypes INNER JOIN (tblBankAccounts INNER JOIN (tblBankTransactionTypes INNER JOIN ((tblBankTransactions LEFT JOIN tblBillsPaidDetails ON tblBankTransactions.PaidDetailID = tblBillsPaidDetails.PaidDetailID) LEFT JOIN tblBankDepositDetails ON tblBankTransactions.DepositDetailID = tblBankDepositDetails.DepositDetailID) ON tblBankTransactionTypes.BankTransTypeID = tblBankTransactions.BankTransTypeID) ON tblBankAccounts.BankID = tblBankTransactions.BankID) ON tblBankTypes.BankTypeID = tblBankAccounts.BankTypeID) ON tblPaymentMethods.PaymentMethodID = tblBillsPaidDetails.PaymentMethodID
WHERE ((([BankName] & [BankType] & [DateOfTrans] & [TransType] & [PaymentMethod] & [CheckNumber] & [Amt]) Like "*" & [Forms]![frmCustomNav]![fSubForm].[Form]![txtDummy] & "*"))
ORDER BY tblBankTypes.BankType, tblBankTransactions.DateOfTrans DESC;
For some reason, ???, only one column In one of my search forms not displaying data and looks like the field is not visible. All of the other columns displays the data correctly. There is no code behind that would set the field to visible but yet it doesn't display. I've triple checked everything I could think of but have not been able to get it to display. I must be missing something, but I can't figure it out.
Query
SELECT tblBankAccounts.BankID, tblBankTransactions.BankTransID, tblBankTypes.BankType, tblBankAccounts.BankName, tblBankTransactionTypes.TransType, tblBankAccounts.RoutingNumb, tblBankAccounts.AccountNumb, tblBankTransactions.Amt, tblBankTransactions.DateOfTrans, tblBankTransactions.Balance, tblPaymentMethods.PaymentMethod, tblBillsPaidDetails.CheckNumber, [BankName] & [BankType] & [DateOfTrans] & [TransType] & [PaymentMethod] & [CheckNumber] & [Amt] AS SearchTerm
FROM tblPaymentMethods RIGHT JOIN (tblBankTypes INNER JOIN (tblBankAccounts INNER JOIN (tblBankTransactionTypes INNER JOIN ((tblBankTransactions LEFT JOIN tblBillsPaidDetails ON tblBankTransactions.PaidDetailID = tblBillsPaidDetails.PaidDetailID) LEFT JOIN tblBankDepositDetails ON tblBankTransactions.DepositDetailID = tblBankDepositDetails.DepositDetailID) ON tblBankTransactionTypes.BankTransTypeID = tblBankTransactions.BankTransTypeID) ON tblBankAccounts.BankID = tblBankTransactions.BankID) ON tblBankTypes.BankTypeID = tblBankAccounts.BankTypeID) ON tblPaymentMethods.PaymentMethodID = tblBillsPaidDetails.PaymentMethodID
WHERE ((([BankName] & [BankType] & [DateOfTrans] & [TransType] & [PaymentMethod] & [CheckNumber] & [Amt]) Like "*" & [Forms]![frmCustomNav]![fSubForm].[Form]![txtDummy] & "*"))
ORDER BY tblBankTypes.BankType, tblBankTransactions.DateOfTrans DESC;
Last edited: