General information
Category:
Coding, syntax & commands
>Hi,
>
>I'm getting a 'Data type mismatch' error message when I
>do a select of any work area. This happens when I run a
>program that prints a report but not on the first time.
>So it works fine on the first time but not on succeeding
>ones. Selecting 'Ignore' lets the program continue and
>print the report with no problems.
>
>Any help would be greatly appreciated. Thanks.
Arriyel,
Do you SELECT your work area by alias or number? Do you SELECT the work area of the report table/cursor right before you print? It sounds like the second or third time through something other than the expected table is in the current work area.
If this doesn't help, post the code (starting from the last table/cursor that is created) with a description of what other tables are open.
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