Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
lnNumber = < your numeric value >
lcItem = TRANSFORM(lnNumber, "9999")
THISFORM.List1.AddItem(lcItem)
Local lcsearch
lcsearch = Upper(Alltrim(This.Value))
Thisform._csearch = m.lcsearch
Select icode As icode,;
barcode As barcode,;
full_desc As full_desc,;
m_code As m_code,;
s_code As s_code,;
f_code As f_code, ;
packing As packing,;
unit As unit ;
from icode Where ;
upper(icode+barcode+full_desc+m_code+s_code+f_code) ;
like '%'+m.lcsearch+'%' Order By icode Into Cursor junk4
Select junk4
Go Top
DoDefault()
With Thisform.list1
.RowSource = 'Junk4'
.RowSourceType = 2
.ColumnCount = 8
.ColumnLines = .T.
Endwith
packing As packing,;
packing As TRANSFORM(packing, "99999");
packing As PADL(packing, 5);
packing As packing,;
TRANSFORM(packing, "99999") AS Packing, ;
PADL(packing, 5) AS Packing, ;