Venice
Lookup::Insert
 
Inserts a lookup card.
 
void Insert ()
 
 
See Also
CreateLookup
Init
 
Samples
 
C++
 
// Insert a new lookup record for a customer alias containing the value 'ALIAS'
pLookup->Init ();
pLookup->SetFieldVal (lkpfTypeNum, ltCstAlias);
pLookup->SetFieldVal (lkpfText, "ALIAS");
pLookup->Insert ();

C#
 
// Insert a new lookup record for a customer alias containing the value 'ALIAS'
oLookup.Init ();
oLookup.SetFieldVal (eLookupFld.lkpfTypeNum, eLookupType.ltCstAlias);
oLookup.SetFieldVal (eLookupFld.lkpfText, "ALIAS");
oLookup.Insert ();

VBS
 
' Insert a new lookup record for a customer alias containing the value 'ALIAS'
Call oLookup.Init()
Call oLookup.SetFieldVal(oLookup.GetFieldID("TypeNum"), ltCstAlias)
Call oLookup.SetFieldVal(oLookup.GetFieldID("Text"), "ALIAS")
Call oLookup.Insert()

VB.NET
 
' Insert a new lookup record for a customer alias containing the value 'ALIAS'
oLookup.Init()
oLookup.SetFieldVal(eLookupFld.lkpfTypeNum, eLookupType.ltCstAlias)
oLookup.SetFieldVal(eLookupFld.lkpfText, "ALIAS")
oLookup.Insert()