General information
Category:
Coding, syntax & commands
>>VFP 5.0a SP3
>>
>>I can recreate this everytime.
>>2 Tables in Database.
>>A. HEADER
>> cBatchID C 10
>>B. DETAIL
>> cBatchID C 10
>> cMemberID C 10
>>Created form dataenvironment:
>>A - B
>> cBatchID (relationship)
>>It is a one to many, but the property is set to false in the data env
>>
>>In this example A has 10 records, B has 70,000
>>Form has A.cBatchID as field and B as a Grid
>>I run form and it works fine, when i move in A
>>B grib refreshes, however if i do anything with a report
>>lets say MODIFY REPORT, as soon as i exit the report,
>>without even making any changes to the report, i get illegal
>>operation, sometimes when i move to the next record in A and
>>sometimes if i just issue a thisform.refresh()
>>Any ideas?
>
>I suspect this is a bug. I experienced the same problem with the difference that the program issued not modify report but report preview. Without "report preview" everything worked fine but as soon as a user tryed to preview a report he/she was stumped by "Illegal operation" message.
>I had to grudginly use set filter to instead of set relation.
>Try to experiment, may you be more lucky!
Thanks for the reply, yeah I think this is definatley a bug.
I do experience the same results in a Print Preview scenario, however
they also get this even when they dont use preview and just send the print job
Here is a workaround that works most of the time:
I installed Generic Text/Only printer driver and set it as the default
client starts application open report for modification, does nothing
and then closes report. Then select the other printer as default
then they can print with now problems, talk about a workaround!!
Any and all help is appreciated....
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only