Thank you so much, a real help I am now through that and it is working well.
Original Message:
Sent: 9/17/2023 4:07:00 PM
From: Brian Speirs
Subject: RE: Accuterm - use of a List Box to lookup a sales person and show thier code and name
OK. Understand that the AccuTerm GUI is not a 4GL - but simply a 3GL with GUI components. You have to do all the linking of components within your own code.
So, when you select a Rep from your list, the index of the selected Rep is returned in the GUIARGS variable. You have to take that index value, convert that to the Rep Code, and use that to populate any other controls with information about that Rep (and you do all that in the event handler for the click event for the listbox).
Go to www.rushflat.co.nz and download the book "Getting Started in OpenQM - Part 2". It doesn't matter if you don't use OpenQM - it is mostly about programming using the AccuTerm GUI. That may contain some useful stuff to get you going.
HTH
Brian
------------------------------
Brian Speirs
Senior Analyst - Information Systems
Rush Flat Ltd
Wellington NZ
------------------------------
Original Message:
Sent: 09-15-2023 12:19
From: Chris BAXTER
Subject: Accuterm - use of a List Box to lookup a sales person and show thier code and name
Hi, thanks to a few AccuTerm Training YouTube videos I have started to move forward but have hit a problem I cant yet resolve.
I am trying to create a screen that show customer details, basic customer info with Rep Code and name (looked up from Reps file) that's working.
Next step - to be able to update these details, simple stuff works but I am stuck on the Rep Code.
I have created a list box which should show the Rep code but no its blank.
Then I have created a click event which populates the Rep List with code in first column and Name in second that works and allows me to select a different Rep
problem is that the new Rep code is not shown, new Rep name is shown via the validate event for the Rep code
I simply can not get the Rep Code to show in the box for it
I am sure that I am doing something very simple wrong but cant find it.
Can anyone help please
p.s. the training videos get very near the answer but leave it as something for future development of the training app - which terminates there. These 4 videos by Peter have been invaluable to me in moving forward, thank you Peter.
------------------------------
Chris BAXTER
MD
CB Soft
IPSWICH GB
------------------------------