MatchUp Object:Matchcode:Saving

From Melissa Data Wiki
Jump to navigation Jump to search

← MatchUp Object Reference

MatchUp Object Matchcode Interface Navigation
Overview
Order of Operations
Mapping Information
Functions
Initialization
Creation
Retrieval
Properties
Component Information
Mapping
Change Settings
Read Settings
Modification
Saving



These functions save changes to the current matchcode file, either back to the original default file or to a new file.

Save

This function saves the current matchcode to the default matchcode file used by MatchUp Object. If an existing matchcode was edited, then that matchcode will be overwritten with the current Matchcode object. If the current Matchcode object was newly created using the CreateNewMatchcode function, then this matchcode will be added to the current file.

Syntax mdMC->Save()
C mdMUMatchcodeSave(mdMCC)
.Net mdMC.Save


SaveToFile

This function saves the current matchcode to a new copy of the current matchcode file in a location specified by a character string that contains a valid path to an existing directory and valid filename.

Syntax mdMC->SaveToFile(char)
C mdMUMatchcodeSaveToFile(mdMCC, char)
.Net mdMC.SaveToFile(string)


RenameMatchcode

This funciton changes a matchcode’s name.

This function can be used when you want to edit an existing matchcode and have that new functionality reflected in the matchcode name.

Syntax int = mdMC->RenameMatchcode(StringValue)
C int = mdMUMatchcodeRenameMatchcode(mdMUMatchcode, StringValue)
.Net int = mdMC.RenameMatchcode(StringValue)


DeleteMatchcode

This function deletes a matchcode.

Calling this function will permanently remove the matchcode from the MatchUp mdMatchUp.mc matchcode database.

Syntax int = mdMC->DeleteMatchcode()
C int = mdMUMatchcodeDeleteMatchcode(mdMUMatchcode)
.Net int = mdMC.DeleteMatchcode()