PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Properties specific to the description of gglOrganization variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
gglOrganization (Type of variable)
In french: gglSociété
The gglOrganization type is used to describe the companies and organizations to which the contact belongs.
This type of variable is used by the gglContact type.
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Example
// Connection to Google
Cnt is gglConnection
Cnt.Email = "balthazar@gmail.com"
Cnt.Password = "qwerty"
Cnt.ApplicationName = "MyApp-01"
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
END
...
// Retrieve the array of contacts
arrContacts is array of gglContact
arrContacts = GglListContact(Cnt)
// Display the companies of the first contact
MyContact is gglContact = arrContacts[1]
Org is dynamic gglOrganization
FOR EACH Org OF MyContact.Organization
Trace(Org.Name + ": " + Org.Caption)
END
Remarks

Properties specific to the description of gglOrganization variables

The following properties can be used to handle a gglOrganization variable:
NameType usedEffect
CaptionCharacter stringDescription of the company.
NameCharacter stringName of the company.
PrimaryBoolean
  • True if the company corresponds to the main company of the contact,
  • False otherwise.
TitleCharacter stringTitle of the contact in the company.
TypeInteger constantType of the company corresponding to one of the following variables:
  • gglOther: Company to which the contact is linked in a non-professional way.
  • gglWork: Company to which the contact is linked in a professional way.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment