baseportal | ||
Start | ||
baseportal message board | |
Welcome to the baseportal message board... Please read the FAQ.
|
Selected message: | To the list |
Message from Zach on 12/1 2003, 01:55 +00:00 EMail: ConfettiNinja fieldsWhat exactly is a "field"? |
|
All messages from this thread: | To the list |
Message from McQ on 12/3 2003, 02:29 +00:00 EMail: mcqnet@att.net Need help with db calls, Christoph!!Can't seem to call two different db's from the same page. Have tried every possible rights combination for both the code page and the database. Have tried using "init", though I couldn't find much documentation on its proper use. I can copy code from a working page to a new page; works on the original , not on the copy - even though I use the "get" syntax exactly as documented on the bp site. I have another codepage that has no problem calling two db's, though it is not named for either. I have checked and double-checked the rights on both codepages and db's. Is there some rule I didn't see or couldn't find? I'll send you URL's if requested, but the db's contain private info not suitable for posting here. Thanks, Will |
Message from TheOneRing on 12/4 2003, 04:28 +00:00 EMail: theonering@thegateroom.com WWW: geocities.com/theonering_stargate Re: Need help with db calls, Christoph!!I have experienced similar problems but it does work. Perhaps you are missing a db=*** somewhere, either in a "get" or a "get while". If the databases do not have the same name as the template you must be very careful to get all occurences with db=. Also, do_all or <do action db=***> -- you must be missing something somewhere. If you'd like, you can send me the database link or, it won't hurt my feelings if you prefer to wait for Christoph :) TheOneRing |
Message from Randy M. on 12/4 2003, 19:08 +00:00Re: Need help with db calls, Christoph!!did u use the carrot when you use data base something like, db=^databasename |
Message from McQ on 12/5 2003, 03:42 +00:00 EMail: mcqnet@att.net Re: Need help with db calls, Christoph!!Found my problem. Wasn't what I thought at all (as is often the case). I used "while(get_next)," without including the db name. This hadn't been a problem in any of my other codepages, and matched the first instance of its usage in the documentation. Later usages showed the other syntax, which I tried. I'm guessing that "while(get_next)" assumes the db name to be the title of the page unless explicity declared otherwise within the (). I don't know if that is exactly right, but using the syntax "while(get_next dbname)" works, so I'm taking my luck and moving on. Thanks to TheOneRing and Randy M. for trying to help. |
Messages from 3000 to 3150: | To the input form |
> Need help with db calls, Christoph!! from McQ on 12/3 2003, 02:29 +00:00 Re: Need help with db calls, Christoph!! from TheOneRing on 12/4 2003, 04:28 +00:00 Re: Need help with db calls, Christoph!! from Randy M. on 12/4 2003, 19:08 +00:00 Re: Need help with db calls, Christoph!! from McQ on 12/5 2003, 03:42 +00:00 |
<< Newest messages | < Newer messages | To the input form | Older messages > | Oldest messages >> |
© baseportal.com. All rights reserved. Terms of use |