Rabu, 02 April 2014

RE: [ExcelVBA] Help me here Please !!

 

When you build the query in Excel, just use Left$(cell,1).

 

From: ExcelVBA@yahoogroups.com [mailto:ExcelVBA@yahoogroups.com] On Behalf Of Satheesh Kumar
Sent: 02 April 2014 11:51
To: ExcelVBA@yahoogroups.com
Subject: [ExcelVBA] Help me here Please !!

 

 

Hi Everyone,

 

In My project, we connecting to MS Access from MS Excel, in excel we have one dropdown (medd) with Yes or No values. At the same time, in MS Access, we have column Med_D with Y or N values.

So, if the user selects 'Yes' from the dropdown, then it should fetch the MS Access rows where Med_D = Y. If the user selects 'No' from the dropdown, then it should fetch the MS Access rows where Med_D in ('Y','N').

I want to check this condition in a single query, we cant use CASE in Access, tried IIF & Switch but I got failed.

 

Thanks

Satheesh Kumar S

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------
.

__,_._,___

Tidak ada komentar:

Posting Komentar