Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 1732 on View in .EXE
Message
 
 
À
22/05/2001 19:50:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00510138
Message ID:
00510198
Vues:
17
>A strange problem...
>
>I have a form with parent (header) and child (view) in a grid. Works just fine in VFP but not in .EXE...
>
>Error message:
>
SELECT * FROM crsdata!empldtl WHERE empldtl.repno = mrepno
>   ORDER BY empldtl.fiseff DESC, empldtl.sysdate DESC
>   into cursor Viewcalv89
>Error:   1732
>Data type is invalid for this property.
>Method: navrefresh
>Line:    0
>*note: mrepno was actually programmed as ?mrepno in the view designer; and in the form data environment NOLOAD was set to .T., mrepno gets the value from the parent
>
>Why would it work just fine in VFP as stand-alone but not in .EXE...? All other forms, including views, work just fine.
>
>TIA

Dodi,

I don't know, whould it help, but why are you referencing empldtl table in order by clause? You select only from one table, you don't need to reference it in the order by. I personally never use table prefix in Group/Order by expression.

Though it might be absolutely unrelevant observation...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform