Date Conversions & Relate

BenBen Johannesburg
edited 9:44PM in FastReport Studio
When using MYSQL I need to find all entries in a table where month(date) - (1 -12)

So:- month(table.date) = 1

In Fast Report using the "where" option for table.date the script does not work.

Any suggestion where I an going wrong?

New kid on the block. >

Comments

  • edited 9:44PM
    Try solution like below. I tested it with FR demo table customer:

    ADOTable1.Filter := 'custno < 2000';
    ADOTable1.Filtered := true;

    Mick

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.