Can anyone help with a code snippet for capturing the item Key? Thanks, Robert
- posted
18 years ago
Can anyone help with a code snippet for capturing the item Key? Thanks, Robert
Robert,
I give up, what's the item Key?
This gets you the last added item to the transaction.
Public Function Process(mySession As Object) As Boolean Dim ikey As Integer Dim ilc As String ikey = mySession.Transaction.Entries.Count If ikey 0 Then ' Assign ilc = the last item added to the transaction ilc = mySession.Transaction.Entries.Element(ikey).Item.ItemLookupCode MsgBox ilc Else ' Quit function if item was not found in database Process = False End If End Function
Rob
"Jeff" wrote:
BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.