Hi ,
I need to display all items side by side using ScrollGrid. But its not working properly as expected (Genero 3.20.09). Here i will attach files used .Please find below.
FUNCTION customer_home() RETURNS()
DEFINE i ,int_value INT, arr_int DYNAMIC ARRAY OF INTEGER
OPEN FORM Home FROM "CustHome"
DISPLAY FORM Home
LOCATE gr_cus.product_image IN FILE
DECLARE c_cust CURSOR FOR SELECT DISTINCT vendor.product_id FROM vendor
LET i = 1
FOREACH c_cust INTO int_value
LET arr_int = int_value
LET i = i + 1
END FOREACH
FOR i = 1 TO arr_int.getLength()
LOCATE gr_custrec.product_image IN FILE
SELECT vendor.product_image,vendor.product_name,vendor.product_details,vendor.price INTO gr_custrec.* FROM vendor WHERE vendor.product_id = arr_int
END FOR
DISPLAY ARRAY gr_custrec TO cust.* ATTRIBUTES(UNBUFFERED)
END DISPLAY
IF int_flag OR quit_flag THEN
CLOSE FORM Home
END IF
END FUNCTION
Here i attached screenshot, i need a items display like that.
FYI : for some other system its working (same configuration)
Do I need to configure anything for that? Please advise/give some idea in this regard
Thanks
Nithin