AVD128 Posted February 14, 2007 Posted February 14, 2007 Main question How can I put a index from a field in a variable (comma separated) for using for viewing those as possibilities in a custom massage box? A have now made a script with a loop starting by record 1 exit by last and set a variable by the following calculation : $$revision & "," & VN_xx_type::Revision. The problem is I can not avoid a duplication in the output string. For example : Record nr. 1 2 3 4 Field [File] A A B C Field [Revision] 01 02 01 01 The contents of the variable after performing the script will be : 01, 02, 01, 01 and I want have : 01, 02 Is there a simple possibility ( and of course there is !!) to realize this? :
Raybaudi Posted February 14, 2007 Posted February 14, 2007 Hi you can make a value list coming from values of the field: Revision So, a simple calc like this: Substitute ( ValueListItems ( Get (FileName) ; "yourValueListName" ); ¶ ; ", ") will make the job, without a looping script
AVD128 Posted February 14, 2007 Author Posted February 14, 2007 I knew that it was simple ! Many THKS :exactly:
Recommended Posts
This topic is 6494 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now