SearchDomino.com
May 21, 2001
Developer Tip
================================================= 
------------------------------------------------- 
Sponsored By: The Learning Continuum Company
------------------------------------------------- 
What is XML and how is it used in Domino? 
Find out with TLCC's FREE XML white paper. Then take your XML skills
even further with TLCC's Using XML in Domino Applications distance
learning course. The many hands-on examples and exercises will make
you an expert in XML. This course is on sale until 5/31 - SAVE $100. 
Sign up for the white paper at http://www.tlcc.com/sdxml. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
JOIN OUR LIVE EXPERT Q&A CHAT:
"Deep Dive into Domino Messaging" with Lotus' Domino Messaging
Product Manager Cynthia Mamacos. Join us on Wednesday, May 23 at 12
PM EDT (16:00 GMT) for a Live Expert Q&A chat with Cynthia, who will
cover the nuts and bolts info to get the most out of Domino
Messaging. Log on to this event on Wednesday at:
http://searchdomino.techtarget.com/onlineEvents/0,289675,sid4,00.html

================================================= 
Feature Tip
================================================= 
Title:  R5 client access only
This tip was submitted by Oscar Medina, a senior Lotus Notes
developer in Oak Park, Illinois.

In a mixed client environment (R5 and R4.x), supporting dual version
clients can be extensive. There are potential issues that could arise
such as erasing JavaScript code, removing table formatting or
deleting graphics from documents.

Release 5 introduces a method to check for build version. It is the
NotesBuildVersion property of the NotesSession Class. However, this
is a case where some end users only have the R4.x Client. A
LotusScript code to check versions must be compatible to both Client
versions. So, the latest R5 property cannot be used in this instance.

The following LotusScript code will verify whether the end user has
an R5 client or R4.x. Place this code in the QueryOpen event of the
default database view. If the client is not R5, then the access is
denied from opening the Database default View.

CODE:
Sub QueryOpen(Source as NotesUIView, Continue as Variant)

Dim s as New NotesSession
Dim db as NotesDatabase
Set db = s.CurrentDatabase
version = Evaluate("@Version")
    If Cint(version(0)) < 163 Then
       Messagebox "Incorrect Notes Version    " + Chr(10) + Chr(10) +
           "This DataBase can be opened using version R5." , MB_OK
+16 ,
    "Notes Dev Group"
Continue = False
    Else
       Continue = True
End Sub

END CODE

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
================================================= 
NEWLY POSTED DEVELOPER TIPS: 
================================================= 
We posted 9 new tips last week. Thanks for all your tips and keep
them coming!

Domino Category
http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283837_alpD_idx0,00.html

[1] Passing variables to agents

Formula Category
http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283836_alpD_idx0,00.html

[1] Display two lists as a table in a view

HTML Category
http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283838_alpD_idx0,00.html

[1] Make a response document's row cross multiple columns on the Web
[2] Alternate View Row colors on the Web


JavaScript Category
http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283840_alpD_idx0,00.html

[1] Updating contents of a frame from a different frame in a frameset

Script Category
http://searchdomino.techtarget.com/tipsIndex/0,289482,sid4_tax283841_alpD_idx0,00.html

[1] Set Internet Password
[2] Check for dial-in users
[3] List field values of several documents in alphabetical order
[4] Return an empty document collection

------------------------------------------------- 
Sponsored By: Lotus
------------------------------------------------- 
WIN A FREE PASS TO LOTUS' DEVCON!
2001 DOMINO APPLICATION SERVER SOLUTION SHOWCASE  
Have you created an innovative solution using Lotus technology? If
so, tell Lotus about it and you may receive a full conference pass to
Lotus DevCon, the Lotus event exclusively for developers on June
17-20 in Las Vegas, Nev. For more details, see
http://www.lotus.com/home.nsf/welcome/confpass

================================================= 
FEATURED BOOK:
================================================= 
WebSphere V3.5 Handbook: Using Websphere Application Server Standard 
By: Ken Ueno

This book walks you through every key task and procedure associated
with deploying, executing, administering, and troubleshooting
WebSphere applications.  The authors also include in-depth
discussions or architectural alternatives, deployment topologies, and
workload management.  Get clear explanations of every key WebSphere
concept and technology, including the Servlet, JSP, EJB, APIs,
WebSphere security, and transaction support.  The included CD-ROM
contains invaluable source codes, Java Class files, HTTP sessions,
and more.

http://www.digitalguru.com/dgstore/product.asp?isbn=0130416568&ac_id=60

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
------------------------------------------------- 
LAST CHANCE TO WIN A RAZOR SCOOTER!
------------------------------------------------- 
Win a Razor Extreme Scooter!  You don't have to be a kid to be the
coolest on your block.  The Razor Extreme Scooter includes the
following features:  *Exclusive linear front coil suspension *Blue
inline-style wheels *Collapsible, locking steering column *Wheelie
bar that acts as a footrest *A retail value of $130.00.  Submit a
Developer tip in May and win ... you could be the coolest in the
neighborhood!

http://searchdomino.techtarget.com/tipsContest/0,289488,sid4_prz546242_cts546237,00.html

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
================================================= 
Disclaimer: These tips are submitted by your Domino peers. Our tips
services and online tips exchange are a way for you to learn from
other IT professionals and share technical advice and expertise with
your peers. Techtarget.com provides the infrastructure to facilitate
this sharing of information. However, we can't guarantee the accuracy
and validity of the material submitted. You agree that your use of
the searchDomino.com tips services and your reliance on any
questions, answers, information or other materials received through
searchDomino.com will be at your own risk.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
================================================= 
NOTIFY US WITH FEEDBACK  
================================================= 
Send us your tips feedback! Cast your vote and send us your tips
comments.  If you have vital code information or other comments you'd
like to add to one of our online tips, send your comments to
[EMAIL PROTECTED], and we'll add your User Feedback to the
online tip!




If you no longer wish to receive this newsletter simply reply to 
this message with "REMOVE" in the subject line.  Or, visit 
http://searchDomino.techtarget.com/register 
and adjust your subscriptions accordingly. 

If you choose to unsubscribe using our automated processing, you 
must send the "REMOVE" request from the email account to which 
this newsletter was delivered.  Please allow 24 hours for your 
"REMOVE" request to be processed.

Reply via email to