Database & Application Miscellaneous: YASQQLQ- Yet another SQL query question

  • samirnagheenanajar / 104 / Tues, 26 Jan 2010 01:28:00 GMT / Comments (5)
  • Im working in access 2003. Ill just start with the query, im trying to populate a combobox with:
    SELECT DISTINCT [Feeder Property Values].value FROM [Feeder Property Values] WHERE ([Feeder Property Values].[feeder property key]=3 And ([Feeder Property Values].value Like (ComboState.Value) & '.%'))

    this works when I dont include the part after the AND. when I include the part after AND i get nothing.

    [Feeder Property Values].value looks like this: UT.GGR.CKB.GGR17.ZKVA

    and ComboState is a combo box with two letter state abbreviatsions (UT, CA, ID, etc).

    Im trying to narrow the query down to just [Feeder Property Values].value that begin with the two letters currently selected in ComboState.

    Any thoughts.
  • Keywords:

    yasqqlq-, sql, query, database, application

  • http://database.itags.org/database-application/158041/«« Last Thread - Next Thread »»
    1. There should not be a .value after the field names. Is this being done inside Access or from an application outside the database and bing passed in?

      garymazzone | Wed, 05 Dec 2007 19:35:00 GMT |

    2. its being done inside access. im setting the rowsource to the above query. I just tried it with out the .value after the field name and got the same result. thanks for the speedy response. any other thoughts.

      samirnagheenanajar | Wed, 05 Dec 2007 19:36:00 GMT |

    3. If inside access then the wildcard is * and not %

      garymazzone | Wed, 05 Dec 2007 19:37:00 GMT |

    4. that did it. thanks.

      samirnagheenanajar | Wed, 05 Dec 2007 19:38:00 GMT |

    5. Your welcome. If this resolves the issue could you please use the thread tools above and mark this thread as resolved.

      garymazzone | Wed, 05 Dec 2007 19:39:00 GMT |

  • Database & Application Miscellaneous Questions

    • YaST plugins for oracle

      Hi,It is possible to know what YaST plugins for oracle do and where i can find information about tha...

      By benoitmandeville

    • Importing text file via .bat file

      Aah, I see "Shell" means something different to you than to me. I'm sorry, I was thinking SQLit...

      By clarkchristensen

    • yet another simple SQL question

      ,You guys must be getting sick of these newbie questions, but I can'tresist since I am learning...

      By joshua

    • Your Account # WT574

      Hi,I sent you an email last week and just wanted to confirm everything.Please review the info below ...

      By albertapool

    • Yes. I Think So.

      I guess I am asking how do I save the 'Current' order of the data. Is there a property tha...

      By nv2002, 2 Comments

    • zip to exe

      do somebody know a COMMAND LINE (free as possible) to transform .zip to.exe?thanksEtienne...

      By hbb, 3 Comments

    • xml --> mySQL

      Does someone know how to read a xml file and then put the information into a database (eg. mySQL).eg...

      By robin, 2 Comments

    • Received operations sent to a previous extract of ...

      Hi,My consolidated database server crashed this morning due to a RAID5 failure.I had to restore from...

      By edgardl_riba, 2 Comments

    • Year of mobile databases?

      HelloIs anybody know in which year was implement soma database on mobile =devices PDA?...

      By biela, 1 Comments