I need you to tell me more details about
--The tables that contain the data you are displaying in the mainform:
The table I am displaying as the mainform contains client names with the
names field as the primary key (a name only needs to be entered once).
The
field is a textbox, text formatted , indexed with no duplicates, unicode
compression is allowed and IME Mode is no control and IME Sentence Mode is
none
-- the tables that contain the data that you're displaying in the
subform;
This table has a dateoflesson field formatted to short date as a
date/time,
it is not required or indexed; a name field (a defined relationship to the
name table: a name may be entered more than once for different lessons in
the
lesson table but not in the name table) that is text and not required or
indexed, lessontype, notes, makeup and horse text fields are formatted
the
same as the name, and payment amount, subtotal, gst and total currency
fields
formatted as currency not required or indexed.
-- the main form's Recordsource (if it's a query, post the SQL
statement
of the query);
The "name" table
-- the subform's Recordsource (if it's a query, post the SQL statement
of the query).
A query built on the payment info table described above
SELECT [lesson and payment info2].Name, [lesson and payment
info2].Dateoflesson, [lesson and payment info2].Lesson_type, [lesson and
payment info2].Horse, [lesson and payment info2].Notes, [lesson and
payment
info2].Makeup_Day, [lesson and payment info2].Makeup_Month, [lesson and
payment info2].Method_of_Payment, [lesson and payment
info2].Payment_Amount,
IIf([Notes]="makeup" Or [Notes]="No
Charge",0,IIf([Lesson_Type]="group",60,IIf([Lesson_type]="private",95,80)))
AS Subtotal, [Subtotal]*0.07 AS GST, [Subtotal]+[GST] AS Total
FROM [lesson and payment info2]
ORDER BY [lesson and payment info2].Name, [lesson and payment
info2].Dateoflesson;
Thanks for all your help!
Stephanie
Ken Snell said:
What you're describing (the data change in the underlying table but not
in
the form) does not make sense if the controls on the form are bound to
the
fields in the underlying table. I think this question/thread is related
to
the other thread that you and I are conducting?
See that other thread for questions about the setup of your form and
subform. I need that info in order to try to figure out what you're
trying
to do here.