Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to filter a recordset using a combo (ASP)

New Here ,
Jul 28, 2009 Jul 28, 2009

Hi.

I have my website in ASP linked to an Access database using DSN. It is working ok.

I need some help to make a filter in a recordset, but the filter is a combo box that any time that a value is choosed the data int he grid/table is also changed.

Here it is my code:

SELECT *
FROM qry_YTD
WHERE DirMan = MMColParam
ORDER BY id_fy DESC, tot desc

Please somebody help me.

Regards,

Marco

[Moved by moderator to the appropriate forum]

TOPICS
Server side applications
610
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 28, 2009 Jul 28, 2009

I don't quite understand where you are having problems.You have a form with a combo box that submits to a script that runs the query and returns the recordset, right? Where exactly are you having difficulties?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 29, 2009 Jul 29, 2009
LATEST

Hi,

Thanks for your reply.

I don't really know how to do it.

Please explain me how to do it.

Thanks,

Marco

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines