J
Jan Il
Hi all - Access 2000, Windows ME
I have a data entry form that has a control to enter the date/time. In the
table the form is based on the date/time is set to General, which would be
08/10/03 12:20:00 PM
Every time I open the db, the date/time will not hold, it reverts to date
only. I can copy from a previous date/time entry and manually change the
date, but, it will not allow me to enter a date and then the time. I get an
error that says it is the wrong format.
This is the third time this has happened. I just can not find a way to make
the date/time to hold, either in the table or the control. The format of the
date/time is used to update a balance amount by item, be it an addition or a
subtraction transaction. When I try to format the control on the entry form,
It does not show the date/time format, just a date. The date/time format
just will not hold. In the format selection on the table it shows the
time/date as the General Date. But, when I try to reset the time/date for
the table, it won't change it from the short date, with no time. I just
can't understand why it will not hold from one time to the next, and won't
change the table format. It is really very frustrating.
This SQL for the query the form is based on is.
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 would truly appreciate it someone could tell me where the problem is, or
provide me with a KB article or webs site that might shed some light on this
type of issue.
Best regards,
Jan
I have a data entry form that has a control to enter the date/time. In the
table the form is based on the date/time is set to General, which would be
08/10/03 12:20:00 PM
Every time I open the db, the date/time will not hold, it reverts to date
only. I can copy from a previous date/time entry and manually change the
date, but, it will not allow me to enter a date and then the time. I get an
error that says it is the wrong format.
This is the third time this has happened. I just can not find a way to make
the date/time to hold, either in the table or the control. The format of the
date/time is used to update a balance amount by item, be it an addition or a
subtraction transaction. When I try to format the control on the entry form,
It does not show the date/time format, just a date. The date/time format
just will not hold. In the format selection on the table it shows the
time/date as the General Date. But, when I try to reset the time/date for
the table, it won't change it from the short date, with no time. I just
can't understand why it will not hold from one time to the next, and won't
change the table format. It is really very frustrating.
This SQL for the query the form is based on is.
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 would truly appreciate it someone could tell me where the problem is, or
provide me with a KB article or webs site that might shed some light on this
type of issue.
Best regards,
Jan