I'm really wondering why you would like to open SysQueryForm thru code to set ranges on the first form. There's a way more simple method then this.
For example, if I want to set range (thru code) on the grid of the sales order form (SalesTable), I won't be opening SysQueryRun, I will just use SalesTable_ds.addRange(...). If you really need to open and play with SysQueryForm, I'm afraid I can't help you with that. Regards, Steeve... -----Message d'origine----- De : Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de V G Envoyé : 27 janvier 2006 17:44 À : Axapta-Knowledge-Village@yahoogroups.com Objet : Re: RE : [Axapta-Knowledge-Village] Opening a for m through code Thanks Ya I want to enter range on the grid of the sysQueryForm and press ok. And then see the result on the first form.It will be used for testing purpose.Sothat a person can run the code and sit back and watch the show. Can u please lemme know y it is not recommended to do this with SysQueryForm.I mean I would like to know if there is a implication to this. Thanks again for ur help On 1/27/06, Steeve Gilbert <[EMAIL PROTECTED]> wrote: > > Hi VG, > > What do you want to do exactly? Opening SysQueryForm to set some range > and closing it automatically is not really recommended. Do you want to set > range on a grid in a form, on a report, etc... ? > > Regards, > > Steeve... > > > -----Message d'origine----- > De: Axapta-Knowledge-Village@yahoogroups.com [mailto: > [EMAIL PROTECTED] De la part de V G > Envoyé: 27 janvier 2006 15:05 > À: development-axapta@yahoogroups.com > Cc: Axapta-Knowledge-Village@yahoogroups.com > Objet: [Axapta-Knowledge-Village] Opening a for m through code > > Hi > > I am trying to open a form through code and click on the button on the > form.I am able to do till here but the problem is that I am unable to get > hold of the sysQueryForm which is opened by clicking the button on the > first > form.I want to get hold of that form and set some range in the > sysqueryform > and click ok button on the sysqueryform. > Can anyone help me out > > Thanks in advance > > > [Non-text portions of this message have been removed] > > > > Sharing the knowledge on Axapta. > Visit www.frappr.com/axapta for axapta friends. > Yahoo! Groups Links > > > > > > > > > > Sharing the knowledge on Axapta. > Visit www.frappr.com/axapta for axapta friends. > Yahoo! Groups Links > > > > > > > > [Non-text portions of this message have been removed] Sharing the knowledge on Axapta. Visit www.frappr.com/axapta for axapta friends. Yahoo! Groups Links Sharing the knowledge on Axapta. Visit www.frappr.com/axapta for axapta friends. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/