Thanks, with datasource_ds.research() it worked! I discovered today the "_ds" meaning! Bye

________________________________

Alessandro Zappia
________________________________

Da: Steeve Gilbert [mailto:[EMAIL PROTECTED]
Inviato: lun 04/04/2005 14.10
A: development-axapta@yahoogroups.com
Oggetto: RE : [development-axapta] Updating a form grid



Try dataSourceName_ds.executeQuery() to refresh the grid.

Steeve...


-----Message d'origine-----
De : a_zappia [mailto:[EMAIL PROTECTED]
Envoyé : 4 avril 2005 05:08
À : development-axapta@yahoogroups.com
Objet : [development-axapta] Updating a form grid




Hi everybody,
I'm very new to axapta and I'm developing some simple applications for
learning purpouses. Now, I created a simple form with a textbox and a
grid, and a simple table with a few fields (among them there is a
string field, called "Code"). The behavior I'd like to see is that when
the textbox loses its focus, a new entry is placed in the table with
the "Code" field set to the textbox's text (I absolutely don't want the
grid to be used for adding records).
I wrote some code in the lostFocus method of my textbox, using a
tablebuffer to insert the new entry in the table, and all seems to work
fine, but I don't understand how to update the grid re-fetching the
data from my table.
Any help?
Many many thanks in advance!










Yahoo! Groups Links












________________________________

Yahoo! Groups Links


*      To visit your group on the web, go to:
      http://groups.yahoo.com/group/development-axapta/
       
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]






Yahoo! Groups Links

Reply via email to