Listbox to assign transactions to billing statement

After Exit For:

End If

Also move:

forms!mainform.dirty=false

Before:

forms!mainform.Recalc


Cj, it is for op.
 
Last edited:
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
 
Make sure to put statement_id on the form and on its Property-Visible is No.
 

Attachments

  • pic1.png
    pic1.png
    31.9 KB · Views: 57
  • pic2.png
    pic2.png
    49.8 KB · Views: 66
  • pic3.png
    pic3.png
    49.3 KB · Views: 55
Is txt_id bound to statement id. It should.
 
Is it possible fir yiu to zip your db and uoload to better understand why it wont allow the update.
 
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:
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.
 
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

Back
Top Bottom