Previous Topic

Next Topic

AddWebLink - MaxBasic Function

AddWebLink(Account File: String, Account Code: String, URL: String[, Reference: String, Comment: String, Category 1: String,Category 2: String]): Number

Adds a weblink, returning LinkID.

AddWebLink function syntax has these named arguments:

Parameter

Description

Account File

Required. The file type to create the link for.

Account Code

Required. The value used to create the link. A unique code or ID.

URL

Required. URL to link.

Reference

Optional. Reference for the added link.

Comment

Optional. Comment for the added link.

Category 1

Optional. Link Category 1 for the added link.

Category 2

Optional. Link Category 2 for the added link.

Example code:

const Url = "www.accredo.co.nz"

Dim LinkID as Number

LinkID = AddWebLink("ARCUST", "ASHENG", Url)

Msgbox("LinkID: " & LinkID)

See Also

Objects Functions

Book Contents

Book Index