: 4399 | 106118 | 11884

Assume subscript 0 in when referencing variants 
Use this IdeaSpace to post ideas about Domino Designer.

: -16
: 0
: 16
: Domino Designer
: lotusscript, variant, subscript
: Rob Pinion136 16 May 2008
:
: / Email
In LotusScript, if a variant is referred to without a subscript, assume the default lower bound (0 or 1).  For example, to refer to the value in the FirstName field...
 
doc.FirstName would be treated the same as doc.FirstName(0)
 
This would be useful as follows:
 
if doc.FirstName = "Ralph" then doc.IsAllowed = "No"
 
dim amt as integer
amt = doc.Amount
 
This would eliminate most of the Variant does not contain an object errors.



1) Morten Clausen421 (17 May 2008)
No. Variants are useful for slinging around arrays so this would be an extreme annoyance.
2) Charles Robinson5451 (19 May 2008)
Instead of this, I would support something in the editor that automatically appends the (0) to the end if you hit a space after the fieldname. But it should ONLY work if you use one of the object methods for accessing the fields, such as GetItemValue. Nothing should be done to encourage the use of extended field syntax.










:
:

Welcome to IdeaJam™


You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>


3
Add server and database as optional parameters for @GetProfileField and @SetProfileField
8
Have an option to copy an URL from an e-mail (or other)
-1
System wide Web Query Save
0
Design Element PostSave event
56
Please update Domino to fully support TLS (SSL v3.1)
4
Integrated ICS OneUI Editor for Designer
6
Agent context menu in editor tab eg. "Run Agent"
55
When deleting user, delete archive & roaming files as well as mail file
12
Set properties for all selected Forms







IdeaJam developed by