Dataset always null

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • java

    #1

    Dataset always null

    I have a dataset that I am trying to assign a value to, it goes past
    the line and sets the dataset to the value, but when I have a look at
    what value the dataset it, it's still null. I have been playing with
    it on and off for 2 days, I hope it's something simple, any help is
    muchly appreciated.

    The lines of code are:

    ManForm->frvdFrame->frxdsV->DataSet = ManForm->frvdFrame->qrFRVT;
    ManForm->frvdFrame->frxdsV->DataSet->SQL = GetSQL();
    ManForm->frvdFrame->frxdsV->DataSet->Prepare();

    If it's any help it's for Fast Reports 3.

    Thanks

  • Jack Klein

    #2
    Re: Dataset always null

    On 26 Jan 2006 17:01:04 -0800, "java <> c++" <blossum@gmail. com> wrote
    in comp.lang.c++:
    [color=blue]
    > I have a dataset that I am trying to assign a value to, it goes past
    > the line and sets the dataset to the value, but when I have a look at
    > what value the dataset it, it's still null. I have been playing with
    > it on and off for 2 days, I hope it's something simple, any help is
    > muchly appreciated.
    >
    > The lines of code are:
    >
    > ManForm->frvdFrame->frxdsV->DataSet = ManForm->frvdFrame->qrFRVT;
    > ManForm->frvdFrame->frxdsV->DataSet->SQL = GetSQL();
    > ManForm->frvdFrame->frxdsV->DataSet->Prepare();
    >
    > If it's any help it's for Fast Reports 3.[/color]

    That's enough of a help to allow me to suggest that you take it up
    with a newsgroup, web site, or mailing list that supports this
    particular third party library. It is certainly not a C++ language
    issue. C++ does not define "datasets" or SQL.

    There are newsgroups with "database" in their names.

    --
    Jack Klein
    Home: http://JK-Technology.Com
    FAQs for
    comp.lang.c http://c-faq.com/
    comp.lang.c++ http://www.parashift.com/c++-faq-lite/
    alt.comp.lang.l earn.c-c++

    Comment

    Working...