English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How to get filtered records in Crystal reports or data reports on a table where I Want to filter records by name and date between two dates using dtpicker1 and dtpicker 2.
Eg : I have table Named tab1 with fields ID, Name, Date of Joining.

I have table in MS Access ACC.MDB and table name is tab1

I created a textbox1 and two dtpicker controls on a form. Suppose user wants to search for name starting with R and DOJ between 01/01/1972 and 01/01/1974. Please give me the correct coding.

2007-01-14 01:58:28 · 2 answers · asked by Mahavir 1 in Computers & Internet Programming & Design

2 answers

Use a QUERY in Access, and make the query read the datepicker controls - put the following in the CRITERIA cell for the date: BETWEEN FORM1!dtPickerStart And Form1!dtPickerEnd, then base the REPORT on your QUERY

2007-01-14 18:00:11 · answer #1 · answered by Richard H 7 · 0 0

attempt this, first get a count huge form form form of the values indoors the aggregate field, then dynamically initialize the array of the respective length, enter the products of the 1st combination field into array and insert the comparable products into diverse combination field. use the assumption of swapping variable values.

2016-12-12 11:06:42 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers