Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

more than 1 in one query criteria

Discussion in 'Information Technology' started by msmuzila@gmail.com, Jul 28, 2006.

  1. msmuzila@gmail.com

    Expand Collapse

    I have a query that takes information from a combo box. Right now that
    is a single value. I need a way to inclue multiple values

    Here is the query criteria and the function behind it: GetCombo30(33)

    Public Function GetCombo30(ByVal lngID As Long) As Long
    On Error Resume Next
    Dim lngCombo30 As Long

    ' You'll need an IsLoaded or equivilent function
    If CurrentProject.AllForms("Product_Sales_Monthly").IsLoaded Then
    lngCombo30 = Forms!Product_Sales_Monthly!Text42
    lngCombo30 = lngID
    End If

    GetCombo30 = lngCombo30
    End Function
  2. Loading...

    Similar Threads Forum Date
    Is There An Increasing Trend Of More And More Sikh Girls Dating Bihari Hindu Guys? General Sep 24, 2016
    Sikhism More Than Just Another Religion New to Sikhism Jul 25, 2016
    Interfaith I Have More Sikhs In My Cabinet Than Modi Does - Trudeau Interfaith Dialogues Mar 12, 2016
    I want to learn more about Sikhism New to Sikhism Jan 11, 2016
    Health More personal stuff about anxiety Blogs Dec 11, 2015

Share This Page