On Mar 28, 2013, at 7:12 PM, Aleq <[email protected]> wrote:
> parent=self.Form did the trick, but it displayed in a grid awkwardly, each
> time data is refreshed there is another table opens up in that grid. Is
> there way to close previous browse session (except for the form to be
> closed)?
> May be I need to explain what I'm trying to do. Basicaly I have a database
> of people with their birth dates. I want to make a form to search for
> specific date or month (this month, previous month, next month) and display
> result in a grid. When data is displayed and on the next search data in
> grid is doubled, the third time is trippled etc. All my codeis in dTextBox
> object onHit method. What am I doing wrong?
The browse() command is designed to create a standalone grid for quick
viewing of data. If you want to control the appearance, location, etc., you
probably shouldn't use browse().
If you don't want to manually configure a grid with the columns you
need, you might try the grid's buildFromDataSet() method, which takes a
dDataSet (or bizobj with data), and constructs the columns of the grid from the
data.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]