Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!i12g2000cwa.googlegroups.com!not-for-mail
From: "siva" <saachinsiva@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: integrating two gui
Date: 2 Jan 2007 09:34:30 -0800
Organization: http://groups.google.com
Lines: 41
Message-ID: <1167759270.129428.243310@i12g2000cwa.googlegroups.com>
References: <1166119932.782927.245400@n67g2000cwd.googlegroups.com>
NNTP-Posting-Host: 132.238.43.145
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1167759275 28517 127.0.0.1 (2 Jan 2007 17:34:35 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 2 Jan 2007 17:34:35 +0000 (UTC)
In-Reply-To: <1166119932.782927.245400@n67g2000cwd.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060629 Red Hat/1.0.2-0.1.0.EL3 SeaMonkey/1.0.2,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: i12g2000cwa.googlegroups.com; posting-host=132.238.43.145;
Xref: news.mathworks.com comp.soft-sys.matlab:385756





On Dec 14 2006, 1:12 pm, "siva" <saachins...@gmail.com> wrote:
> hi i have some problem with matlab gui
>
> i created gui with many text boxes that are used to get user datas like
>
> name ,address etc and when the user pushes the push button it connects
> tothe ms access database and loads the data in to the database.i have
> two submenus in this gui called getdata and delete....
>
> once i click getdata a new figure window will open(this is the second
> gui i created with one text box and one push button)once the user click
>
> the push button it, get the data entered by the user in the editbox(2nd
> gui) and should connect to the databse.....but i am getting
> error like
>
> "Error in =3D=3D> untitled2>submit_Callback at 84
> usrdata=3Dget(handles.dataretrieve,'string');
>
> Error in =3D=3D> <a
> href=3D"error:C:\MATLAB7\toolbox\matlab\uitools\gui_mainfcn.m,75,1">gui_m=
ainf=ADcn
>
> at 75</a>
>         feval(varargin{:});
>
> Error in =3D=3D> untitled2 at 44
>     gui_mainfcn(gui_State, varargin{:});
>
> ??? Error while evaluating uicontrol Callback."
>
> but if run the second gui alone it works fine and i am able to retrieve
>
> the datas from the database ..but if open the second gui through the
> first gui and when i click the push button in the second gui it
> shows the error shown above..i open the second gui by using openfig(my
> second gui name) in the sub menu editor callback in the first gui
> please help me out this.....