Depending on the version you have...
For a MsgSvc dialog with "Eat" "Sleep" "Sports" buttons:
m.Ratface= "Eat;Sleep;Sports"
MSGSVC("Whatever")
MsgSvc Record (note the curly braces, which work pretty much everywhere in MsgSvc):
cKey: "Whatever"
cFunction: "{{m.Ratface}}"
Does Vulcan make hockey pucks?
**--** Steve
>How is the best way to assigns buttons during run-time for a message service.
>
>Here are 2 solutions I have thought of.
>
>(1)Do a seek, then do a replace on the cFunctions field for the cKey you need to dynamically change.
>
>(2)Specify two almost exact messages.
>
>I thought maybe I could pass it in as a param or something or maybe use %C1% but this won't work.
>
>Thanks in advance.