Subform Problem (1 Viewer)

sandy70

Registered User.
Local time
Today, 08:46
Joined
Apr 16, 2008
Messages
36
Can somebody help me with my subform plz

I dont know what wrong with the form

My subform only can have 2 record only

Need to reopen the form to add another record

Plz take a look at my form
 

Attachments

  • Test 01.accdb
    1 MB · Views: 47

June7

AWF VIP
Local time
Today, 07:46
Joined
Mar 9, 2014
Messages
5,470
Why use the Enter event of each control to run data calcs? This means code runs as soon cursor enters the control, not when the Enter key is pressed.

This also causes the record to be in edit mode as soon as it opens because of the Enter event code for Keterangan textbox.

Suggest you eliminate the Enter event code for all controls.

The Labor control AfterUpdate code is missing the calc for JumPPn.

Why do you have 2 sets of identical forms?

Need data in the ID foreign key field of ProgressSub if you want more records to display. Advise not use exact same name for multiple fields.

Might want to correct spelling of Custumer to Customer.
 
Last edited:

sandy70

Registered User.
Local time
Today, 08:46
Joined
Apr 16, 2008
Messages
36
Why use the Enter event of each control to run data calcs? This means code runs as soon cursor enters the control, not when the Enter key is pressed.

This also causes the record to be in edit mode as soon as it opens because of the Enter event code for Keterangan textbox.

Suggest you eliminate the Enter event code for all controls.

The Labor control AfterUpdate code is missing the calc for JumPPn.

Why do you have 2 sets of identical forms?

Need data in the ID foreign key field of ProgressSub if you want more records to display. Advise not use exact same name for multiple fields.

Might want to correct spelling of Custumer to Customer.

TQ June7

My bad with the event

Just delete all Enter event and move the event from enter to After update

Now everything works fine

And sorry for my miss spelling :D:D:D
 

Users who are viewing this thread

Top Bottom