[Gambas-user] Report and Settings
Fabien Bodard
gambas.fr at ...626...
Thu May 8 21:03:31 CEST 2014
Well its an error in gb.report
Preview use gb.setting for storing last user preference when gb.setting is
used in the user project. I need to find what goes wrong.
Le 8 mai 2014 18:55, "Jussi Lahtinen" <jussi.lahtinen at ...626...> a écrit :
> How that method "Preview" is defined?
> If you cannot show more code, then can you isolate this problem in small
> runnable project you could send to us?
>
>
> Jussi
>
>
> On Thu, May 8, 2014 at 5:54 PM, Roki <n.rogozarski at ...626...> wrote:
>
> > First, thank Randall for rapid response. You're right, here's my
> > explanation of the problem.
> >
> > I did a project to record the vehicles that are registered in our
> > company. I use mysql database in background. From the Component tab, I
> > checked (gb.db.mysql, gb.report and gb.settings) because I needed for my
> > project. After all the forms and modules, I created a report of
> > registered vehicles. I run the project to test it. But when I clicked to
> > view a report, the program stopped, and return this error (Type
> > mismatch: wanted integer, got Null instead in FMain:343.)
> >
> > Here is the code where the error appears:
> > Public sub ToolButton3_Click()
> > Dim rep as New repVehicle
> > rep.Preview <<< Here returns an error (Type mismatch: wanted
> > integer, got Null instead in FMain:343.)
> > End
> >
> > After exploring the code to find the source of the error, I found
> > nothing wrong with the code.
> > Accidentally noticed that when uncheck gb.settings from the component
> > tab, the review of a report, run without any problem.
> >
> > I hope that now I was clear enough about the problem.
> >
> > On 05/07/2014 11:27 PM, Randall Morgan wrote:
> > > Can you supply your code? You don't give enough details for anyone to
> be
> > > able to help.
> > >
> > >
> > > On Wed, May 7, 2014 at 2:11 PM, Roki <n.rogozarski at ...626...> wrote:
> > >
> > >> Hello everyone, I'm new here!
> > >>
> > >> Here's my question!?
> > >>
> > >> When I add gb.settings component in my project, a report returning
> this
> > >> error ("type mismatch: wanted integer, got null instead"). When I turn
> > >> off gb.settings component, report work correctly.
> > >>
> > >> Is this a bug or I do something wrong?
> > >>
> > >> Sorry for my English, if there are some mistakes, but I think somehow
> > >> you understand.
> > >>
> > >>
> > >>
> >
> ------------------------------------------------------------------------------
> > >> Is your legacy SCM system holding you back? Join Perforce May 7 to
> find
> > >> out:
> > >> 3 signs your SCM is hindering your productivity
> > >> Requirements for releasing software faster
> > >> Expert tips and advice for migrating your SCM now
> > >> http://p.sf.net/sfu/perforce
> > >> _______________________________________________
> > >> Gambas-user mailing list
> > >> Gambas-user at lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >>
> > >
> > >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Is your legacy SCM system holding you back? Join Perforce May 7 to find
> > out:
> > 3 signs your SCM is hindering your productivity
> > Requirements for releasing software faster
> > Expert tips and advice for migrating your SCM now
> > http://p.sf.net/sfu/perforce
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
> ------------------------------------------------------------------------------
> Is your legacy SCM system holding you back? Join Perforce May 7 to find
> out:
> 3 signs your SCM is hindering your productivity
> Requirements for releasing software faster
> Expert tips and advice for migrating your SCM now
> http://p.sf.net/sfu/perforce
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list