
Question: I’m trying to pass a value from the Account Detail view in SalesLogix
to the .Net Embedded Control when the button on the Details view is
clicked:
Sub btnSendClick(Sender)
Dim loader
if Application.GlobalInfo.
set loader=CreateObject(“
loader.Init Form.HWND
loader.PhoneNumber=
Application.GlobalInfo.Add “Object2”,loader
else
set loader=Application.GlobalInfo(
loader.Init Form.HWND
end if
End Sub
This is returning the following error:
Object Required : ‘Form’
Any help would be appreciated.
Answer: HWND is a property of the SalesLogix form. Is your SLX form named “Form” or
something else? You could either change that to the name of your form,
or just drop the form name. If you type just “HWND” (without the form
name) it will still work, since you’re in the context of the form.
something else? You could either change that to the name of your form,
or just drop the form name. If you type just “HWND” (without the form
name) it will still work, since you’re in the context of the form.
Subscribe To Our Newsletter
Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!
You have Successfully Subscribed!