J
Jan Il
Hi all - Access 2000 - Windows ME
A few weeks ago I posted a strange problem I was having with a table
regarding the General Date data type of a field in the table for the
Transaction date.
The General Date format, which is for both the date and time (08/01/03
12:00:00 PM) is necessary in order for the total balance field to be updated
for each line transaction (withdrawal or deposit).
Here is the SQL for the query that the form is based on:
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.CheckDate;
I also have a data entry form from which all transactions are recorded, and
based upon the table.
Here are the fields of the MyCheckRegister table:
CheckID - Auto-number - Data Type - PK
CheckNo - Number - Data Type - Indexed - Yes (No Duplicates)
CheckDate - Date/Time - Data Type (format General Date)
Trasnaction - Text - Data type
CheckAmt - Currency - Data Type
DepositAmt - Currency - Data Type
Transaction Type - Text - Data Type
Comment - Text - Data Type
BeginBal - Currency - Data Type
TransactionSign - Text - Data Type
My problem is that, I can not enter the General Date information in the
CheckDate field using the General Date format. But, If I copy the format
from a previous row of the table with this format, it will allow me to
change the date and time. But, I can not enter this from scratch in a new
entry. This happened before, and I was able to resolve it by just
recreating the table and reentering all the records. But, this time, it is
not working. :-(
Is there a way to hard code this format, or to somehow use a different
method to make this format hold in this field. It is the basis for the way
the calculations need to work to give me the by line item balance in the
registry running balance field.
I have redone and recreated the table, pulled all data into a new database,
started from scratch, lit Puce and Black candles, ran chickens around the
house a few times, threw boxes of salt over my shoulder, chanted numerous
OhhhhhmMyyyyss, hummed the theme song Star Wars...Battle for Endor
(actually, just to relax my mind a bit...), then ..with nothing working, I
did an uninstall and reinstall of the program....in hopes that..whatever it
might have forgotten to load last time it would remember this time. I have
done as much troubleshooting and research as I can, but..dang....nothing is
working. I am beginning to think that the program may have caught my CRS,
and it has affected the home Office. ????
Sheesh....I just can't figure out what I'm doing wrong? What have I not
tried? I would truly appreciate any suggestions or references...this really
should be such a simple thing, but, for some reason...I am just not able to
find the key to the right solution.
Best regards,
Jan
A few weeks ago I posted a strange problem I was having with a table
regarding the General Date data type of a field in the table for the
Transaction date.
The General Date format, which is for both the date and time (08/01/03
12:00:00 PM) is necessary in order for the total balance field to be updated
for each line transaction (withdrawal or deposit).
Here is the SQL for the query that the form is based on:
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.CheckDate;
I also have a data entry form from which all transactions are recorded, and
based upon the table.
Here are the fields of the MyCheckRegister table:
CheckID - Auto-number - Data Type - PK
CheckNo - Number - Data Type - Indexed - Yes (No Duplicates)
CheckDate - Date/Time - Data Type (format General Date)
Trasnaction - Text - Data type
CheckAmt - Currency - Data Type
DepositAmt - Currency - Data Type
Transaction Type - Text - Data Type
Comment - Text - Data Type
BeginBal - Currency - Data Type
TransactionSign - Text - Data Type
My problem is that, I can not enter the General Date information in the
CheckDate field using the General Date format. But, If I copy the format
from a previous row of the table with this format, it will allow me to
change the date and time. But, I can not enter this from scratch in a new
entry. This happened before, and I was able to resolve it by just
recreating the table and reentering all the records. But, this time, it is
not working. :-(
Is there a way to hard code this format, or to somehow use a different
method to make this format hold in this field. It is the basis for the way
the calculations need to work to give me the by line item balance in the
registry running balance field.
I have redone and recreated the table, pulled all data into a new database,
started from scratch, lit Puce and Black candles, ran chickens around the
house a few times, threw boxes of salt over my shoulder, chanted numerous
OhhhhhmMyyyyss, hummed the theme song Star Wars...Battle for Endor
(actually, just to relax my mind a bit...), then ..with nothing working, I
did an uninstall and reinstall of the program....in hopes that..whatever it
might have forgotten to load last time it would remember this time. I have
done as much troubleshooting and research as I can, but..dang....nothing is
working. I am beginning to think that the program may have caught my CRS,
and it has affected the home Office. ????
Sheesh....I just can't figure out what I'm doing wrong? What have I not
tried? I would truly appreciate any suggestions or references...this really
should be such a simple thing, but, for some reason...I am just not able to
find the key to the right solution.
Best regards,
Jan