RE : [Axapta-Knowledge-Village] Re: Selecting a table

2004-11-10 Thread Steeve Gilbert
Objet : [Axapta-Knowledge-Village] Re: Selecting a table Thanks Jim! Got it! New question though, How do use dates in AXAPTA. Like given to dates, how do you compute for their difference. e.g. 1/1/2004 - 1/2/2004 = 2 DAYS!!! Do you use ordinary subtraction or you need a special kind of functi

Re: [Axapta-Knowledge-Village] Re: Selecting a table

2004-11-09 Thread Jim Jo
Try your thoughts first !!!   lemme know if you are not successful !!   JimMorris Mendoza <[EMAIL PROTECTED]> wrote: Thanks Jim! Got it!New question though, How do use dates in AXAPTA. Like given to dates, how do you compute for their difference.e.g.1/1/2004 - 1/2/2004 = 2 DAYS!!!Do you use or

[Axapta-Knowledge-Village] Re: Selecting a table

2004-11-09 Thread Morris Mendoza
Thanks Jim! Got it! New question though, How do use dates in AXAPTA. Like given to dates, how do you compute for their difference. e.g. 1/1/2004 - 1/2/2004 = 2 DAYS!!! Do you use ordinary subtraction or you need a special kind of function to accomplish this? thanks! Morris --- In [EMAIL

Re: [Axapta-Knowledge-Village] Re: Selecting a table

2004-11-09 Thread Jim Jo
how did you add the the value to the combo box ?    if you want to add a set if vaues do something like this ... am not a full time programmer :).       while select table {     combo.add(table.fieldname)  /* use the correct method here */    }   ...got some clue ?? :-)   Jim Morris Me

[Axapta-Knowledge-Village] Re: Selecting a table

2004-11-09 Thread Morris Mendoza
Hey Jim, I know already how to add values to a combobox. My problem is how to get the values that i will place in them. Any ideas? Thanks! Morris --- In [EMAIL PROTECTED], Jim Jo <[EMAIL PROTECTED]> wrote: > buddy, > > do it in a while loop and add the values to the combo. I think that m

Re: [Axapta-Knowledge-Village] Re: Selecting a table

2004-11-09 Thread Jim Jo
buddy,    do it in a while loop and add the values to the combo. I think that method name was add .. check ...   JimMorris Mendoza <[EMAIL PROTECTED]> wrote: Hey Jim,I want to populate it dynamically. So your right, i have to do it in the init method of the form. However, how can i store the res

[Axapta-Knowledge-Village] Re: Selecting a table

2004-11-09 Thread Morris Mendoza
Hey Jim, I want to populate it dynamically. So your right, i have to do it in the init method of the form. However, how can i store the result of a specific SQL statement then afterwards put the records on the combobox? Morris --- In [EMAIL PROTECTED], Jim Jo <[EMAIL PROTECTED]> wrote: >

[Axapta-Knowledge-Village] Re: Selecting a table

2004-11-09 Thread Agus Riyadi
Hi Morris, You can put a combobox, set its lookup property to always, set its extended data type property to the same extended data type with the field you want to display. Then you should override its lookup method. There are various examples of 'creating your own lookup form' in the Develo