Hi there ,
I have a delphi form for maintaining a header & item type database set
up. Header database with many items in an item database. The tables
are Paradox. My initial screen in the delphi form is a grid with Order
Number , Description , Date and Print Flag. My form has a button which
allows the user to toggle the Print Flag to Y or N. When he has
finished editing the grid ( setting required orders to print Y) there
is a print button which calls a Crystal Report which selects the orders
with the print flag set to Y. When the toggle button is used , i set
the value in the field to Y or N and then do a Table1.Post; ( where
table1 is the header). When the Print button is pressed , i do a
database refresh ( i have also tried closing & reopening it ) then
execute the report. The problem is that the report doesn't seem to pick
up the current batch of flagged orders. ie. if when the user enters the
form , orders 1,2 & 3 are tagged for printing , he changes it to be
4,5 and 6 for printing , then presses the print button ...it still
prints 1 , 2 & 3. However , if he tagges 4,5 & 6 then exits the form &
reselects it , it will print correctly. This is driving me totally INSANE!!!!
Thanks in advance for any help ..
PS Crystal Reports was Version 3.0.1 , but I have just upgraded to 4.0
and it still does the same thing !!!!
Peter Robinson