Listbox to assign transactions to billing statement (1 Viewer)

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 21:28
Joined
May 7, 2009
Messages
19,242
After Exit For:

End If

Also move:

forms!mainform.dirty=false

Before:

forms!mainform.Recalc


Cj, it is for op.
 
Last edited:

CJ_London

Super Moderator
Staff member
Local time
Today, 14:28
Joined
Feb 19, 2013
Messages
16,611
It is better not to use Update query on selecting/deselecting from listbox
if that is referring to my suggestion, I was suggesting using a subform, not a listbox
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 21:28
Joined
May 7, 2009
Messages
19,242
Make sure to put statement_id on the form and on its Property-Visible is No.
 

yeasir01

Registered User.
Local time
Today, 06:28
Joined
Mar 26, 2018
Messages
67

Attachments

  • pic1.png
    pic1.png
    31.9 KB · Views: 26
  • pic2.png
    pic2.png
    49.8 KB · Views: 31
  • pic3.png
    pic3.png
    49.3 KB · Views: 24

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 21:28
Joined
May 7, 2009
Messages
19,242
Is txt_id bound to statement id. It should.
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 21:28
Joined
May 7, 2009
Messages
19,242
Is it possible fir yiu to zip your db and uoload to better understand why it wont allow the update.
 

yeasir01

Registered User.
Local time
Today, 06:28
Joined
Mar 26, 2018
Messages
67
Is it possible fir yiu to zip your db and uoload to better understand why it wont allow the update.

The two forms are clients billing & clients billing popup.
 
Last edited:

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 21:28
Joined
May 7, 2009
Messages
19,242
Id is autonumber so we cannot assign value to it. Also on the listbox statement_id is always null. It will take time ti fix this.
 

yeasir01

Registered User.
Local time
Today, 06:28
Joined
Mar 26, 2018
Messages
67
Id is autonumber so we cannot assign value to it. Also on the listbox statement_id is always null. It will take time ti fix this.

I think you got it wrong?? I need to pass the value to the list box Statement_id field.
 

Users who are viewing this thread

Top Bottom