[development-axapta] retrieve directory / folder path
How do I get the physical path for a user folder? The Winapi::getFolderPath requires a CLSID. How do you find out teh CLSID or handle for a user folder or a network share folder? Thanks.
[development-axapta] multi datasource grid -- access linked table in a menuItemButton class
We are still on Axatpata 3.0. I've a grid with an inner join between InventItemGroup and InventTable. I'm accessing the grid contents in a class that is connected to the form through a menuItemButton. I'm able to access the InventItemGroup table using the commands common = fds.getFirst(true) and common = fds.getNext(). Can I access the contents of InventTable from the fds? Bottom line, I want to be able to access all the columns in my grid. Is it possible? Thanks.
[development-axapta] grid -- filter on linked table -- refresh not working
We are still on Axapta 3.0. I'm working on a simple grid with an inner join between InventItemGroup and InventTable. I've two stringedit fields -- one on ItemGroupId and the other on ItemId. I've a button with teh label Refresh that executes the command inventItemGroup_ds.refresh(). The refresh is working when the filter is applied on ItemGroupId, but not on ItemId. In fact, when I cleck teh refresh button, the InventTable.executeQuery() method, which assigns the value to the ItemId query build range, doesn't even get fired. It gets fired only when teh form is first opened. How do I get to refresh my grid with the values chosen in the stringedit for ItemId? Thanks.
[development-axapta] directory control on form
We are on Axapta 3.0 SP3. I would like to provide the users the choice to specify a network share on a form. In a dialog, I can use: dialogOutputDirectory = dialog.addFieldValue(typeid(FilePath), outputDirectory) What control/statements would I use on the form? Thanks.
[development-axapta] Re: directory control on form
Thanks Divakar. In fact, there is a tutorial in forms demonstrating the concept. --- In development-axapta@yahoogroups.com, Diwakar Reddy Atchi wrote: > > What type is "FilePath"? Use the same type. Guess it's a string, use a > StringEdit control and set the "ExtendedDataType" propety to "FilePath". > > > > > > From: ramankt2001 > To: development-axapta@yahoogroups.com > Sent: Wed, 4 August, 2010 12:19:26 PM > Subject: [development-axapta] directory control on form > > Â > We are on Axapta 3.0 SP3. > > I would like to provide the users the choice to specify a network share on a > form. > > > In a dialog, I can use: > dialogOutputDirectory = dialog.addFieldValue(typeid(FilePath), > outputDirectory) > > What control/statements would I use on the form? > > Thanks. > > > > > > > [Non-text portions of this message have been removed] >
[development-axapta] select query and grid
We are on Axapta 3.0 sp3. I've a query, the guts of which is: select T1.F1, T1.F2, T2.F3, T2.F4 from T1 where some-criteria join T2 where some-other-criteria I would like to present the results of this query (four fields) in a form's grid and iterate through the grid in button control's click method. Is it possible? Thanks.