Question Coding a simple browser to show in QAD NFG PRO .NET UI

pedro cataño

New Member
Hi everybody, I have a quite good basis in 4GL. I use Progress 10.2.b version in Unix Environment. I'm trying to show a scrollable list of customers in QAD MFG PRO .NET UI.

I run succesfully this code in character mode, but in .NET UI runs slowly and stops unexpectedly. I just need to show a scrollable customer list, may be show 5 records and scrolls other results, no need to edit that, only view.
code:
----------------------------------------------------------------------------------------
FORM
cm_mstr.cm_sort cm_mstr.cm_addr cm_mstr.cm_cr_limit
cm_mstr.cm_curr cm_mstr.cm_taxable
WITH FRAME a 33 DOWN SIZE 40 BY 5.

FOR EACH cm_mstr NO-LOCK BREAK BY cm_mstr.cm_sort:
DISPLAY cm_sort cm_addr cm_cr_limit cm_curr
WITH FRAME a.
IF NOT LAST(cm_mstr.cm_sort)
THEN DOWN WITH FRAME a NO-BOX THREE-D .
END.
-----------------------------------------------------------------------------------------

Does anyone have an idea to make it works in QAD .NET UI?

Thanks in advance
 

dulecki

Member
I agree with Pechadre. In the .Net environment, it's easier to create a browse to do this. Then you can set it up as a standalone program (power browse) or lookup (drill down). In character, I'd use the old scrolling windows functionality for lookups. Create your own sw program to try it out... QAD has examples you can use to copy from.
 
Top