Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7738125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:10:59+00:00 2026-06-01T08:10:59+00:00

Ok this seems so silly but I’m having some trouble getting this to work.

  • 0

Ok this seems so silly but I’m having some trouble getting this to work. I want to do an @DbColumn() or @DbLookup() to another database. Same server – BUT it’s in a folder. And I can’t get a result. The view of the database in question is sorted by the first column.

I’m trying to populate choices of a combobox.

I’ve tried that built in @DbColumn():

var dbname = new Array("", "myfolder\\myDB.nsf");
return @DbColumn(dbname, "byCode", 0)

I’ve tried that with and without the “double slashes” and with column 0 and also column 1.

I’ve also tried the XSnippet :
http://openntf.org/XSnippets.nsf/snippet.xsp?id=dblookup-dbcolumn-with-cache-sort-and-unique

That would be my preferred method really because of caching. I tried creating a SSJS function:

function getFacilityList() {
  var dbPath = database.getFilePath().split(database.getFileName())[0];
  return DbColumnArray("","myfolder\\myDB.nsf","cache", "sort", "byCode", 0)
}

Which I think should have worked but did not.

Any thoughts would be appreciated! Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T08:11:01+00:00Added an answer on June 1, 2026 at 8:11 am

    Try:

        var dbname = session.getServerName() + "!!" + "myfolder\\myDB.nsf";
        return @DbColumn(dbname, "byCode", 0)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This seems to be a silly question but, I have to read some data
This seems a little silly to ask but some background: I'm a designer who
This seems like a silly question but I want to be able to instantiate
This seems like a silly question but I would really like your comments and
Ok, so this seems like a really silly problem but I can't get my
This seems really silly but; How can I know which version of ASP.net MVC
This seems really silly but I somehow hit a key combination by mistake in
This seems silly, but I don't understand how Django Templates access nested data in
I have been over this... seems silly but couldnt figure out! I wanna UNLOAD
This almost seems silly but what is the most reliable pattern to follow when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.