× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

Routine to grab the last item in a separate table

  • PowerGirl
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 3 months ago #22537 by PowerGirl
Hi All. I have an enquiry which accesses file AA.ACCOUNT.DETAILS
one of the items i need to get is from the AA.ARR.INTEREST table

I made a concat linking together the ARRANGEMENT ID, LAST UPDATE in the account and .1
however I have found that concat is not always correct

I am looking to see if anyone has a routine already that i could use in my enquiry to basically go from look up AA.ARR.INTEREST and automatically give me the last item in that listing - or if not a routine any other way to get this. If you think you may be able to help i can upload the actual enquiry to get a better idea of what i am looking for - Thank you in advance

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #22545 by eyesark
Perhaps SSELECT the property and pick the highest serial number?

Please Log in or Create an account to join the conversation.

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
4 years 2 months ago #22555 by silvergem
Use DCOUNT function to get the last count of array or list

Please Log in or Create an account to join the conversation.

Time to create page: 0.098 seconds