[development-axapta] How to determine the primary index of a table

2005-05-31 Thread smeagul2303
I want to write a method which tests if a record can be inserted in a table without violating any primary index declarations (no doubles). But how do i find the primary index of a table ? Regards Manfred Yahoo! Groups Links To visit your group on the web, go to:http://groups.ya

[development-axapta] Rowmarker for FormTableControl

2005-05-13 Thread smeagul2303
Is it possible to mark the actual row in a table control - like in a grid -  with an arrow in the 1st column ? Don't  tell me to use a grid, I have to use a tablecontrol for some reasons ;). Regards Manfred Yahoo! Groups Links To visit your group on the web, go to:http://grou

[development-axapta] Re: Formbuilddatasource - adding a datasource runtime to an already running form

2005-04-15 Thread smeagul2303
- but not a formbuilddatasource. I suspect it's a bug > in Axapta. > > > Best regards, > > Lars Holm > Senior Technical Consultant > > > > -Original Message- > From: development-axapta@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of smeagul

[development-axapta] Re: Formbuilddatasource - adding a datasource runtime to an already running form

2005-04-15 Thread smeagul2303
Hi Lars, I think the problem is the FormBuildDatasource. A FormBuildDatasource is used in Designer, in Morphx, before the form is build. At runtime you have to use a FormDatasource. Try it, perhaps it helps Manfred --- In development-axapta@yahoogroups.com, "Lars Holm" <[EMAIL PROTECTED]

[development-axapta] Setting breakpoint in AX++ code

2005-02-09 Thread smeagul2303
I want to set a breakpoint in dependency of a value of a variable. Is this possible ? Greetings Manfred Yahoo! Groups Sponsor ADVERTISEMENT Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/  To unsubsc

[development-axapta] Dynamic call to a method

2004-12-29 Thread smeagul2303
Hello, I want to call methods from an object dynamically. Let's say I have a container including strings. The strings are methodnames of an object. Now I want to go through the container and sending each method to the object. What is the construction for that ? With a table and fieldIds i

[development-axapta] Open a form with marked record

2004-12-23 Thread smeagul2303
Hi, I want to open a form, let's say inventTable with the item 4711 being marked, but I want see all the other items too. If I open a form like: args = new Args(formstr(InventTable)); args.record(item4711); formRun = classFactory.formRunClass(args); formrun.init(); formRun.run(); formRun.

[development-axapta] Context Menu: Go to main table

2004-12-22 Thread smeagul2303
Hello, I wnat to show ItemId from InventTable in a FormTableControl. The behaviour should be the same as in a Grid. Now I have a problem with the context menu option "Go To main Table". It will not be displayed. If I fill in the property from StringEditControl (Itemid) the datasource Inven

[development-axapta] Re: Modify method for formDataSource

2004-12-21 Thread smeagul2303
;  > Why don't you try the method validateField. This method will help you. >  > Bye >  > Jyoti Ranjan >  > > smeagul2303 <[EMAIL PROTECTED]> wrote: > > > Hi all, > > my problem concerns a formDatasource. > > I want to do somethin

[development-axapta] Modify method for formDataSource

2004-12-20 Thread smeagul2303
Hi all, my problem concerns a formDatasource. I want to do something everytime the formdatasource has be changed. Every time someone has entered a value in a field and has leaved it. But I don't like to program it on each formcontrol for that datasource. I want to program it only once and

[development-axapta] Sort algorithm

2004-11-30 Thread smeagul2303
I'm looking for a sort algorithm for a container or an array. Sorting records can be done easily with RecordsortedLIst, but i have data in a container. Is in Axapta a Sortclass or something like that with bubble sort algorithm or heap sort ? Regards Manfred Yahoo! Groups Sponso

[development-axapta] Compare Records

2004-11-17 Thread smeagul2303
Hi all, I'm looking for a method for comparing two records. Is there a method like record1.compare(record2) == 0 -> both records are identical. record1.compare(record2) != 0 -> records are not identical. Regards Manfred Yahoo! Groups Sponsor ADVERTISEMENT

[development-axapta] Using ComboBox

2004-11-11 Thread smeagul2303
Hi, using a combo box for showing content of a table field is easy. You get a combo box if your table field is from type enum. But how do I fill a combo box with a list of elements and how do i select programmatically one item in the list ? How do i react on user interaction ? Does anyone

[development-axapta] Re: Variable number of fields in table!!!

2004-11-08 Thread smeagul2303
methods... >  > Thanks you and regards >  > Peter >  > > > De: smeagul2303 [mailto:[EMAIL PROTECTED] > Enviado el: Lunes, 08 de Noviembre de 2004 03:35 a.m. > Para: [EMAIL PROTECTED] > Asunto: [development-axapta] Re: Variable number of fields in table!!! >

[development-axapta] Re: Variable number of fields in table!!!

2004-11-08 Thread smeagul2303
Hi Peter, if you have data which is a dynamic structured and can differ very much, take a container in which you put your data. So u can put in forms, tables every object u want. Then create a class for defining a structure and access methods to the container. Create a field of type contain

[development-axapta] Reflection on methods of a class

2004-10-06 Thread smeagul2303
Hi, before I call a method on an object I want to check, if object understand this message. I found this example in class Runbase : client server static ClassDescription getDescription(classId _classNum) {     SysDictClass    classObj;     IdentifierName  staticName = staticmethodstr(runbase

[development-axapta] Selectionlist ffor ComboBox

2004-09-28 Thread smeagul2303
Hi, I have a question regarding handling of ComboBox: By default I (or the System) chooses a Combox for displaying Enums. Another mechanism is to use lookup forms. But how do I fill Combobox with a list of choices which are not enums or informations comming from a table? In my special case I

[development-axapta] Set timeout for form

2004-09-28 Thread smeagul2303
Hi, If a "authentication form" is opened, the user has to authenticate himself by giving a password. This authentication shall be valid only for a fixed time period. If the form is still open, he has to authenticate again. Where can I set this timeout ? Is something like that in standard Axa

[development-axapta] Query with join in X++ code

2004-08-26 Thread smeagul2303
Hi, I have headdata (Table head) and linedata (table line). Instead of showing all headdata and selecting linedata, I want to show all linedata and select the corresponding headdata. This works fine, I have joined headdatasource to linedata. My problem concerns the filter on my headdata. To e

[development-axapta] What type has dimension ?

2004-07-30 Thread smeagul2303
Hi, all ExtendedDatatypes has a base type - String, Int, Real... -. Dimension is an Array of string. Okay. In my method I make decisions base upon the type of a field. switch (typeof(_common.(_fieldId))) {     case Types::String :     ..     break;     case Types::

[development-axapta] Relations between QueryBuildDatasource and FormDatasource

2004-07-23 Thread smeagul2303
Hi all, I don't understand in detail how the values from a FormDatasource are displayed from the controls. In a standard form a query (this.query) fetches the values from the database. In this query I don't have a FormDatasource, I have a QueryBuildDatasource which is initalized with a tablei

[development-axapta] Re: Display temporary inventTable in form InventTable

2004-07-19 Thread smeagul2303
and have the InventdimId as "Axapta" ) . >   -Original Message- >   From: smeagul2303 [mailto:[EMAIL PROTECTED] >   Sent: 16 July 2004 14:11 >   To: [EMAIL PROTECTED] >   Subject: [development-axapta] Display temporary inventTable in form > InventTable > >

[development-axapta] Display temporary inventTable in form InventTable

2004-07-16 Thread smeagul2303
Hi, I want all changes doing in InventTable to be proved by a supervisor. Only proved changes should be written to InventTable. Therefore I save the inventTable (and dependent records from InventTableModule and InventItemLocation) in a container. To change the record I restore it and want t

[development-axapta] Display a temporary record from inventTable in Form InventTable

2004-07-02 Thread smeagul2303
Hi, I want to display and edit a temporary record from invent table in the form invent table. Calling form invent table like:     _args = new Args();     _args.name('InventTable');     _args.caller(this);     inventTable.setTmp();     _args.record(inventTable);     formRun = classFactory.for

[development-axapta] Re: Range with IN statement

2004-04-21 Thread smeagul2303
hi, thanks, it works regards Manfred --- In [EMAIL PROTECTED], "Groß" <[EMAIL PROTECTED]> wrote: > hi, >  > what's about: >  > ... > queryRange.value("One, Two, Four, Hundred"); > ... > ??? >  > regards > wolfgang > 

[development-axapta] Range with IN statement

2004-04-21 Thread smeagul2303
Hi, I want to make a query where I cannot work with AND or OR. I need something like an IN-operator in SQL. In SQL I would write:    select * from myTable    where myfield in ("One", "Two", "Four", "Hundred") Is there a way to make it with Range-object or any other? Regards Manfred