J
Jan Il
Hi all - Access 2002 XP, WinME
I have two forms that will not open, the error being Unknown Function Name.
I just accessed these forms as of 2/4/04 with no problems.
I have a command button on a filter form for each both, which opens the
forms. When I click the command button to open a form, it gives the error
message. Plus, when I close out the error message by clicking OK, it
automatically opens the filter form for the data entry. ?????
Here are the Troubleshooting steps I have already taken:
a) Check table the queries are based on - Both open with no problems, are in
good order.
be) Checked to be sure form references were still set - All is still in
order.
co) Queries will not open - Error message - Unknown Function Name
do) Did a Detect and Repair
e) Created a new db and imported all data into the new db - problem
persists.
if) Tried a backup copy - Error message - Unknown Function Name
go) Tried a 3 month old backup copy, which worked find previously - Error
message - Unknown Function Name
he) Said....Ohhhhh PHOOH!!
Listed below are the queries the forms are based on:
********************************************************
Query1
SELECT T.BeginBal, T.CheckNo, T.CheckDate, T.Transaction, T.CheckAmt,
T.DepositAmt, T.TransactionType, T.Comment, (SELECT SUM(Nz(DepositAmt, 0) -
Nz(CheckAmt, 0) + Nz(BeginBal,0))
FROM MyCheckRegister T1
WHERE T1.CheckDate <= T.CheckDate) AS RunningBalance
FROM MyCheckRegister AS T
ORDER BY T.CheckNo, T.CheckDate;
Query2
SELECT MySavingsRec.TransactionDate, MySavingsRec.TransactionType,
MySavingsRec.WithdrawAmt, MySavingsRec.DepositAmt, MySavingsRec.InterestAmt,
(SELECT SUM(Nz(DepositAmt, 0) + Nz(InterestAmt,0) - Nz(WithdrawAmt, 0) +
Nz(BeginBal,0))
FROM MySavingsRec
WHERE TransactionDate <= TransactionDate) AS Balance,
MySavingsRec.Comment, MySavingsRec.BeginBal, MySavingsRec.TransactionSign
FROM MySavingsRec
ORDER BY MySavingsRec.TransactionDate;
*******************************************************************
Based upon the fact that the much previous backup copy, which had worked
perfectly at the time of the backup, and the other recent backup, from the
last time I accessed the database and it was working fine, and the fact that
the problem persists even to the new database, seems to indicate to me (and,
being I am a novice here, so am not sure on any of this), that the problem
may not be with the database at all, but some other factor. That factor, not
being known to me.
I would truly appreciate any information, references or input regarding this
type of problem.
Best regards,
Jan
I have two forms that will not open, the error being Unknown Function Name.
I just accessed these forms as of 2/4/04 with no problems.
I have a command button on a filter form for each both, which opens the
forms. When I click the command button to open a form, it gives the error
message. Plus, when I close out the error message by clicking OK, it
automatically opens the filter form for the data entry. ?????
Here are the Troubleshooting steps I have already taken:
a) Check table the queries are based on - Both open with no problems, are in
good order.
be) Checked to be sure form references were still set - All is still in
order.
co) Queries will not open - Error message - Unknown Function Name
do) Did a Detect and Repair
e) Created a new db and imported all data into the new db - problem
persists.
if) Tried a backup copy - Error message - Unknown Function Name
go) Tried a 3 month old backup copy, which worked find previously - Error
message - Unknown Function Name
he) Said....Ohhhhh PHOOH!!
Listed below are the queries the forms are based on:
********************************************************
Query1
SELECT T.BeginBal, T.CheckNo, T.CheckDate, T.Transaction, T.CheckAmt,
T.DepositAmt, T.TransactionType, T.Comment, (SELECT SUM(Nz(DepositAmt, 0) -
Nz(CheckAmt, 0) + Nz(BeginBal,0))
FROM MyCheckRegister T1
WHERE T1.CheckDate <= T.CheckDate) AS RunningBalance
FROM MyCheckRegister AS T
ORDER BY T.CheckNo, T.CheckDate;
Query2
SELECT MySavingsRec.TransactionDate, MySavingsRec.TransactionType,
MySavingsRec.WithdrawAmt, MySavingsRec.DepositAmt, MySavingsRec.InterestAmt,
(SELECT SUM(Nz(DepositAmt, 0) + Nz(InterestAmt,0) - Nz(WithdrawAmt, 0) +
Nz(BeginBal,0))
FROM MySavingsRec
WHERE TransactionDate <= TransactionDate) AS Balance,
MySavingsRec.Comment, MySavingsRec.BeginBal, MySavingsRec.TransactionSign
FROM MySavingsRec
ORDER BY MySavingsRec.TransactionDate;
*******************************************************************
Based upon the fact that the much previous backup copy, which had worked
perfectly at the time of the backup, and the other recent backup, from the
last time I accessed the database and it was working fine, and the fact that
the problem persists even to the new database, seems to indicate to me (and,
being I am a novice here, so am not sure on any of this), that the problem
may not be with the database at all, but some other factor. That factor, not
being known to me.
I would truly appreciate any information, references or input regarding this
type of problem.
Best regards,
Jan