Solved

DBcolumn formula.

Posted on 2006-06-15
4
426 Views
Last Modified: 2013-12-18
How can I use this to get a column value based on a specific fieldvalue instead of just putting in the column number?

F1 = PCB  ---- @DbColumn( "":"NOCache"; @DbName; "viewlookup"; instead of a number --2)
                                                                                                    I'd like to based it upon PCB and result will be
                                                                                                    values that is under PCB.
Hope I make sense. Thanks.
0
Comment
Question by:cyle
4 Comments
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 16912439
Well, that's not a @DbColumn, that's @DbLookup:

    @DbLookup( class : cache ; server : database ; view ; key ; fieldName ; keywords )

Instead of the key, use PCB
0
 
LVL 63

Accepted Solution

by:
Zvonko earned 500 total points
ID: 16918108
If F1 is a DialogList then I would suggest to make the values behind the list text be the column numbers for the DbColumn lookup.
If F1 is not a DialogList then you need a heling variable to calculate the column number for the DbColumn parameter. For that column number calculation you could use someting like this:

@DbColumn( "":"NOCache"; @DbName; "viewlookup"; @Member(F1,"ACB":"PCB":"XCB"));



0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now