Information générale
Catégorie:
Codage, syntaxe et commandes
>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement