Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
FORUMS: listlist (w/ descriptions)archivetagssearchhall of famerecent posts

Try this, I got this from the yahoo groups it works well

Cow Forums : Chyron
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Try this, I got this from the yahoo groups it works well
by Shawn Humphrey on Jun 17, 2009 at 6:43:49 pm

This macro assumes several things: First off, your base page is stored at 501. It then takes the record fields in your database and advances the message number accordingly. It will loop and build pages until it reaches the 'Do until messageNumber' location. All these things can be changed in the macro. You can add and delete templates in the macro depending on how many dblink-ed templates are in your message.

Dim messageNumber
Dim recordNumber
messageNumber = 502
recordNumber = 2
Do until messageNumber = 506
Lyric.Message 501
Lyric.Read
set templatep = ActiveCanvas.Scene.SelectedTemplate(0)
templatep.SetActive
templatep.DBLink.RecordNumber=recordNumber
set templatep = ActiveCanvas.Scene.SelectedTemplate(1)
templatep.SetActive
templatep.DBLink.RecordNumber=recordNumber
set templatep = ActiveCanvas.Scene.SelectedTemplate(2)
templatep.SetActive
templatep.DBLink.RecordNumber=recordNumber
set templatep = ActiveCanvas.Scene.SelectedTemplate(3)
templatep.SetActive
templatep.DBLink.RecordNumber=recordNumber
set templatep = ActiveCanvas.Scene.SelectedTemplate(4)
templatep.SetActive
templatep.DBLink.RecordNumber=recordNumber
set templatep = ActiveCanvas.Scene.SelectedTemplate(5)
templatep.SetActive
templatep.DBLink.RecordNumber=recordNumber
set templatep = ActiveCanvas.Scene.SelectedTemplate(6)
templatep.SetActive
templatep.DBLink.RecordNumber=recordNumber
Lyric.Message messageNumber
Lyric.Record
messageNumber = messageNumber + 1
recordNumber = recordNumber + 1
loop



Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]