1

(1 replies, posted in General)

Hi, I have an application that has 10 plus forms. On each form there is a button to print a report. Is there any way to make a menu and print all the reports from a single form. Any advice would be appreciated. Thanks

2

(2 replies, posted in SQL queries)

Hi Derek,
Thanks for the offer but have found another way to get the required outcome. But still would be interesting to know the answer.
Cheers Terry

3

(2 replies, posted in SQL queries)

Hi.
I have a table "Transfers" in a project that uses another table, "Accounts" in a relationship twice as a lookup. So I end up with fields in Transfers of id_Accounts and id_Accounts1. No problem to show all the data in a tablegrid by using two calculated fields. But if I want to do a more detailed search say between two dates I'm unable to use the calculated fields in a SQL Query. So can any one help with a work around.
Thanks
Terry

4

(4 replies, posted in General)

Hi Derek and Tcoton
Thanks for the example and it answers a number of questions. The summary table was for a printed report listing only the countries and locations visited, not all countries or locations in the lookup tables for country or location. So is there a way to filiter out countries and locations not yet visited. I should have added that a trip can have many countries and locations. Thanks again for your input.
Terry

5

(4 replies, posted in General)

Hi,
I have a project that has a table that records the locations of a trip (Tripnum, Country, Location) and I want to have another table that is a summary of the first in recording Country, Location and the number of visits. Is this possible and if so can the summary table feed of the first. Meaning as the data is saved in the first table the second is  added at the same time ie before or after saving. Thanks for any help
Terry

6

(4 replies, posted in General)

Thanks for the quick reply. Is there any way to reproduce to the selected dates on the MonthCalendar  with a ShowRecord action. I get an error message saying that unable set dates. Thanks

7

(4 replies, posted in General)

Hi,
I remember seeing an example of selecting multi dates using a MonthCalendar and transfer the start and end date to 2 DateTimePickers on the same form and saved to the database. I checked the forum but can't find it.

Cheers
Terry

8

(2 replies, posted in General)

Thanks. Easy when you know how.

9

(2 replies, posted in General)

Hi,
I have a table with 2 fields Name and Type. I want to use Name in a combo box but have it order by or index by Type. Is this possible. Thanks for any help.
Cheers from Down Under

10

(3 replies, posted in General)

Hi Derek,
Thanks again for your assistance. It works well. I will buy you a beer next time you are in Australia.
Cheers Terry

11

(3 replies, posted in General)

Hi,
Like most projects my single account with a running balance has grown into one with multiple accounts. I have a table called Accounts and one called Transactions that is linked to Accounts. If I use the calculated field method that Derek assisted me with the results are wrong once you add a second account and have two or more transactions on the same date. Any help would be appreciated.

Cheers Terry

Hi Derek,
Thanks very much it is what I was looking for I appreciate your input.

Cheers Terry

Hi,
I'm working on a simple project that has a petty cash module. The table has date, details deposit, withdraw and balance fields, sorted on date order. I'm able to keep the correct account balance if claims are entered in the correct date order. But if an entry is made after the current date the balance field is no longer showing the correct sequence for the total balance. Put another way, how can you adjust the balance when an entry is made out of order - apart from doing it manually. Thanks for any help or advice.


Cheers terry

14

(1 replies, posted in Reports)

Hi,
Is it possible when using a OnBeforePrint event  to trim the existing data before printing. For example say the data was "This is a test" and I only wanted to use "test" in the printed report. Can it be done and if so what is the code to do it. Thanks for any advice offered.

Hi,
Is it possible in Fast Reports using an on before print event  to change the font color based on the data. For example 'Flight' would be clRed and 'Cruise' would clBlue and so on up to say 6 different possible differnt colors. So far all I can do is change it only on one condition .

begin
if Copy(<Report."TableName.FieldName">,1,1)='F' then
ReportActionItemsType.Font.Color:= clRed
else
ReportActionItemsType.Font.Color:=clBlack;
end;

Any help would be appreciated. Thanks

Hi, I need some help please. Is it possible to use conditional highlighting in Fast Reports with text. I have a text field in a report  and I would like to change the default text color when the report is run if an entry was say "Destination Tour" Thanks.

17

(1 replies, posted in General)

Hi Dmitry,
Thank you for your answers to my previous question. This time I would like to know is it possible to sort the Child records in the Treeview control after say adding a new record  or even at form show.
Thanks Terry

18

(1 replies, posted in General)

Hi, A little help please. I have a project that uses 2 encrypted fields in a table (the encryption method was obtained from the  forum  and works well) but I need to print a simple report without the fields being encrypted. Whats is required?

Thanks Terry

19

(1 replies, posted in General)

I'm using MVD 4 and in my current project  I get a error message telling me the form I want to open (to add a new record) is either disabled or invisible. I click OK on the dialog and the form I want opens. Any ideas

Thanks Terry

Hi,
I have a form with multiple text boxes and memos. Is there any way I can clear all existing text from both the text boxes and memos before closing the form using a component count. Any advice would be appreciated.

Thanks Terry

21

(3 replies, posted in General)

Derek and Dmitry
Thank you for the help
Terry

22

(3 replies, posted in General)

Hi,

I have a project that has a form with over 70 objects (texboxes, memos, buttons and labels) and I need to reproduce the same layout on other forms. Is it possible to copy all objects at once and paste it to the new form. Any help would be appreciated.

Terry

Hi Derek,
Thank you very much. That was the work around I was looking for. I never gave calculated fields a thought. I appreciate the example.
Cheers
Terry

Hi,
A little help please. I have a form using a number comboboxes that use the same table as a data source. The comboboxes are all linked via relationships to the table which has a list  of locations. id_Location, id_Location1 and so on. The problem I'm having is displaying the data in a tablgrid. I tried using a search approach and  SQL without any success apart from the first item.  Can it be done? Also some advice on combobox parent child arrangements would be appreciated.

Thanks Terry

25

(2 replies, posted in General)

Hi Math,

Thanks for the reply. And to answer your question I was trying to format a tablegrid by grouping the data and 1 field was currency. The formatting worked, but when I tried to print a report, Fast Reports saw the original currency field as text and SUM would not work. Not sure what went wrong so that is why I asked the question. Thanks again for your input.

Cheers