How to convert a Automation variable to Variant variable

peter.lipeter.li Member Posts: 11
IF we can convert any variable to Variant variable in Navsion.Just see VARIANT2DATE,VARIANT2Time,DATI2VARIANT in Help Document.

Comments

  • todrotodro Member Posts: 117
    peter.li wrote:
    IF we can convert any variable to Variant variable in Navsion.Just see VARIANT2DATE,VARIANT2Time,DATI2VARIANT in Help Document.
    there are no functions for that. Navision has it's own (limited) implicit type conversion, when necessary, not every data type known in other coding environments is supported by Navision or could be mapped to a C/AL variable.

    What do you want to achieve ?

    From the C/SIDE help:
    A C/AL variant contains two allocation areas. There is one for C/AL variables and one for Automation and OCX variants.
    Torsten
    MCP+I, MCSE NT, Navision MCT (2004,2005)
Sign In or Register to comment.