Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: one delacruz
  
 
 
 one delacruz
 To: Darren Blanco
  Where is Darren Blanco?
 Bulacan
 Philippines
 Darren Blanco
 Tags
Subject: RE: code help
Thread ID: 189254 Message ID: 189259 # Views: 1 # Ratings: 0
Version: Not Applicable Category: Forms
Date: Thursday, August 14, 2008 7:06:24 AM         
   


> > Hi,
> >
> > In Form1:
> > txtSearch = textbox input
> > btnSearch = opens Form2 containing Grid2 from the similar results inputted in the txtSearch
> > Grid1 = displays the selected record from Form2 which has closer similar results than Grid2
> > othertextboxes = controls where to display data
> >
> > Form2:
> > Grid2 = the results in first form's btnSearch
> > btnSelect = selects the record then unloads Form2 and displaying Form1
> >
> > Now, my problem is in Form1's Grid1:
> > It should display corresponding data to the Form1's othertextboxes but I can't do it.
> > My afterrowcolchange is not working.
> >
> > TIA...
> >
> >
>
> Hi do you execute your afterrowcolchange?
>
> "The IMPOSSIBLE is often UNTRIED"

Hi Darren!

My afterrowcolchange:
if thisform.nrecpointer != recno("mycursor")
   thisform.nrecpointer = recno("mycursor")
   thisform.retrieveother()
endif


retrieveother()
sqlexec follows
thisform.Grid1.recordsource = "mycursor"
thisform.mycursorsetprop()


That does not work, can you share something what should I do?

TIA...

ENTIRE THREAD

code help(done) Posted by lopera @ 8/14/2008 5:38:23 AM
RE: code help Posted by Darren Blanco @ 8/14/2008 5:55:48 AM
RE: code help Posted by lopera @ 8/14/2008 7:06:24 AM
RE: code help Posted by Glenn Villar @ 8/14/2008 7:12:38 AM
RE: code help Posted by lopera @ 8/14/2008 7:21:59 AM
RE: code help Posted by Glenn Villar @ 8/14/2008 7:27:26 AM
RE: code help Posted by Darren Blanco @ 8/14/2008 11:11:35 AM
RE: code help Posted by lopera @ 8/14/2008 11:52:14 AM
RE: code help Posted by tushar @ 8/14/2008 5:57:24 AM
RE: code help Posted by Stefan Wuebbe @ 8/14/2008 10:57:26 AM
RE: code help Posted by lopera @ 8/14/2008 11:36:15 AM
RE: code help Posted by Christian Tabligan @ 8/15/2008 8:42:03 AM