[AccessD] what is the right way to write this code

Hale, Jim Jim.Hale at FleetPride.com
Mon Nov 29 13:38:03 CST 2004


<If Me.JobTitleID Is Null >
I know some jobs are a bore but this is a bit Kafkaesque don't you think? Or
just a freudian slip perhaps?
Jim Hale

-----Original Message-----
From: Joe Hecht [mailto:jmhla at earthlink.net]
Sent: Monday, November 29, 2004 1:10 PM
To: 'Access Developers discussion and problem solving'
Subject: [AccessD] what is the right way to write this code


  

 

 If Me.JobTitleID Is Null Then                  'If row is blank do nothing

        Else

       Me.cboJob_Title.Value = Me.cboJob_Title.Column(1)            'Display
job title

 

   End If

 

Rowsource =

SELECT [Job Title].JobTitleID, [Job Title].JobTitle

FROM [Job Title]

ORDER BY [Job Title].JobTitle;

    

 

JOE HECHT

LOS ANGELES CA 

jmhla at earthlink.net

 

-- 
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

***********************************************************************
The information transmitted is intended solely for the individual or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or
other use of or taking action in reliance upon this information by
persons or entities other than the intended recipient is prohibited.
If you have received this email in error please contact the sender and
delete the material from any computer. As a recipient of this email,
you are responsible for screening its contents and the contents of any
attachments for the presence of viruses. No liability is accepted for
any damages caused by any virus transmitted by this email.


More information about the AccessD mailing list