Make a query of Balance/Outstanding Amount Display only

pdateBranchBnoscustomeridplaceagentnamegrossamttaxesdiscfinalamt
01-Apr-24India124New DelhiAbc15427751614
05-Apr-24India236BiharXyz215187152223
06-Apr-24India354UPXyz2514103252592
20-Apr-24India426New DelhiAbc18647961937
24-Apr-24Bangladesh532DhakaXyz3611115303696
30-Apr-24Bangladesh635DhakaXyz3650120353735
01-May-24Bangladesh752DhakaXyz5411135515495
01-May-24India852UPXyz3000118253093
07-May-24India936BiharXyz3500128353593
08-May-24Nepal1049kathmanduXyz3000118263092
12-May-24Srilanka1153ColumboAbc5600139525687
Branchpdatecustomeridbillnosamtagentnarration
India05-Apr-242411614AbcFull Paid
India07-Apr-243622223XyzFull Paid
India07-Apr-245432000XyzPaid 1
India07-Apr-24543592XyzPaid 2
India20-Apr-242641000AbcPaid 1
Bangladesh24-Apr-243251500XyxPaid 1
Query Result should show below item
BranchCustomerBillnoBillamtPaymentBalance
India
Bangladesh
Bangladesh
Bangladesh
India
India
Nepal
Srilanka
[td]
26​
[/td]​
[td]
4​
[/td]​
[td]
1937​
[/td]​
[td]
1000​
[/td]​
[td]
937​
[/td]​
[td]
32​
[/td]​
[td]
5​
[/td]​
[td]
3696​
[/td]​
[td]
1500​
[/td]​
[td]
2196​
[/td]​
[td]
35​
[/td]​
[td]
6​
[/td]​
[td]
3735​
[/td]​
[td]
3735​
[/td]​
[td]
52​
[/td]​
[td]
7​
[/td]​
[td]
5495​
[/td]​
[td]
5495​
[/td]​
[td]
52​
[/td]​
[td]
8​
[/td]​
[td]
3093​
[/td]​
[td]
3093​
[/td]​
[td]
36​
[/td]​
[td]
9​
[/td]​
[td]
3593​
[/td]​
[td]
3593​
[/td]​
[td]
49​
[/td]​
[td]
10​
[/td]​
[td]
3092​
[/td]​
[td]
3092​
[/td]​
[td]
53​
[/td]​
[td]
11​
[/td]​
[td]
5687​
[/td]​
[td]
5687​
[/td]​
[td]
0​
[/td]​
 
Last edited:
Bill.JPG
 

Attachments

  • Payment.JPG
    Payment.JPG
    38.6 KB · Views: 8
  • Result.JPG
    Result.JPG
    46.5 KB · Views: 7
put it in excel workbook and attached it as .zip, then it would be easy to manipulate the data.
 
Hi
I believe you need to have Data Input Forms so that you can relate 1 Customer to 1 or More Loan Amounts and also a related Form to allow you to enter payments made.

Doing your process just by entering data in two tables creates errors.

The attached screenshot is what I believe your relationships should be.

Also, based on the data provided you state that CustomerID 36 is Fully Paid when if fact the Customer has only paid some of the
money.

See Screenshot of Data Input Form for CustomerID 36
 

Attachments

  • Relationships.png
    Relationships.png
    18 KB · Views: 6
  • FormLayout.png
    FormLayout.png
    23.6 KB · Views: 6

Users who are viewing this thread

Back
Top Bottom