0295 Part features - Option script

If, on the General tab, the feature type 'Script' or 'Script & free input' has been specified for a feature, the memo page on the Option script tab must contain a script in which the different options for the feature have been defined.

You might want to use a script to retrieve data from a master file, such as parts from the part group 'METAL' or 'CAR RADIO'.

Example

Dim Query

Set Query = Application.DataBase.CreateQuery( "Select PartCode, Description Description From part" )

Query.Open

IF Query.LookUp("Find radio","part") then

Answer = Query("part").Value

end if

Query.Close