× 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...

Multi Enquiy selection in a VERSION

  • Noureddine
  • Topic Author
  • Visitor
  • Visitor
8 years 6 months ago #20756 by Noureddine
Multi Enquiy selection in a VERSION was created by Noureddine
Hi All,

Does anyone know how can I pass more than one selection in the ENQ.SELECTION field in a version?

Note: I am working in an AA version so I cannot relay on BUILD.ROUTINE attached to the enquiry used because R.NEW does not giving me the filled values in the version.

Thank you in advance

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

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
8 years 6 months ago #20759 by jpb
Replied by jpb on topic Multi Enquiy selection in a VERSION
You should be able to use !CURRENT.XXXX variables that you set in the VERSION and use in the ENQUIRY as predefined selection.

See Application Framework > Enquiry > Enquiry Functionality > Drilldown Facilities

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

  • Noureddine
  • Topic Author
  • Visitor
  • Visitor
8 years 6 months ago #20772 by Noureddine
Replied by Noureddine on topic Multi Enquiy selection in a VERSION
Thank you... I write the value in a CURRENT VARIABLE in a field validation routine via the function System.setVariable and I read it in the enquiry build routine via the function System.getVariable...
It works

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

  • Knobz
  • Visitor
  • Visitor
6 years 10 months ago #21896 by Knobz
Replied by Knobz on topic Multi Enquiy selection in a VERSION
Hi Noureddine
Could you please send me the routine , how to set and get the Current Variable . I tried
a routine from Version as below,

CCD = R.NEW(DX.TRA.CONTRACT.CODE)
CALL System.setVariable ('CURRENT.CNTCD',CCD)

But while debug and checked the variable CURRENT.CNTCD and !CURRENT.CNTCD , I could'nt see any value .. Did I did something wrong..
Please let me know .. I appreciate your time.. My email is This email address is being protected from spambots. You need JavaScript enabled to view it.

thx much
Noby

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

Time to create page: 0.034 seconds