[development-axapta] reportsection.body

2006-05-16 Thread byteway_so
How can I reach for a body in a report? Ultimately I want to set the forgroundcolor of a report body. ReportSection s; ReportSection b; ; s = element.design().SectionName('TableName'); b = s.controlName('tableName_body'); b.foregroundColor(); - but there is no forgroundcolor for a

[development-axapta] print marginless

2006-02-01 Thread byteway_so
Hi, What settings do I need to set to print a BMP marginless in a report? These are the settings I already set to 0 char: TopMargin = 0.00 char BottomMargin = 0.00 char LeftMargin = 0.00 char RightMargin = 0.00 char Above settings are set in the following report properties: - Design -

[development-axapta] date lookup

2006-01-26 Thread byteway_so
Hi, It's easy to add a (tableless) date field to a form. But how can I make use of the calendar lookup functionality? It is possible to call the calender itself (in a testjob): static void selectDateJob(Args _args) { // Testjob: otherwise override the lookup method of the date field Args

[development-axapta] CustTableLookup lookupfields

2006-01-19 Thread byteway_so
Hi, Why is it that when I add fields to the grid on the CustTableLookup form, that I do not see these columns when adding a new sales order? When I create a new sales order, the wizard dialog starts and I want to add extra fields to the customer dropdown box. Thanks, /b

Re: RE : [development-axapta] Axapta programming version control

2006-01-19 Thread byteway_so
Hi, To my knowledge there are two business partners that have a sollution based on (Axapta 3.0) microsoft visual source safe. These are: http://www.g-s.com.au and the other is http://www.watermark- europe.com Both sollutions work more or less the same: axapta objects are first exported as

[development-axapta] Re: Unit testing tool

2006-01-19 Thread byteway_so
I have used these tools and must say that they are very handy for automated testing: http://www.automatedqa.com/mydownloads/tc_ent.asp /b --- In development-axapta@yahoogroups.com, V G [EMAIL PROTECTED] wrote: Hello Can anyone let me know if there is a unit testing tool available

[development-axapta] args

2005-11-23 Thread byteway_so
Hi, How can I pass a datasource (with selected records) in an args object? Tried the dataset method without luck, also parm(datasourceName) didn't work. Args arg; ; args = new Args(); //args.parm(datasourceName); //args.dataset()= datasourceName; Any hints?

[development-axapta] run 2 reports

2005-07-13 Thread byteway_so
Hi, How can I run two reports from one class? I can see that IdentifierName lastValueElementName() returns one report, but how can I run two? Any thoughts? /b YAHOO! GROUPS LINKS Visit your group "development-axapta" on the web. To unsubscribe from this

[development-axapta] Re: run 2 reports

2005-07-13 Thread byteway_so
Thanks, Thought about that, but what do you think of the following: Create a class that extends from runbasereport. Then add the following in the run() method after the call to super(); Args arg; ReportRun rr; ; args = new Args(reportname2); rr = new ReportRun(args); rr.init();

[development-axapta] dhl

2005-06-10 Thread byteway_so
Hi, Is there a business partner who has experience with interfacing with DHL (from axapta)? For printing and validating barcodes to DHL? Thanks, b Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ To unsubscribe from

[development-axapta] image on tabpage

2005-04-21 Thread byteway_so
Hi, How can I show an image, that is stored in my project as a resource, on a tabpage? There is no image-control... /b 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

[development-axapta] Re: image on tabpage

2005-04-21 Thread byteway_so
Thanks, i had forgotten about that --- In development-axapta@yahoogroups.com, Andrae, Tobias [EMAIL PROTECTED] wrote: there is - but it's called window ;-) -Ursprüngliche Nachricht- Von: byteway_so [mailto:[EMAIL PROTECTED] Gesendet: Do 21.04.2005 11:01

[development-axapta] Re: network folders

2004-11-25 Thread byteway_so
: byteway_so [mailto:[EMAIL PROTECTED] Sent: 25. november 2004 14:00 To: [EMAIL PROTECTED] Subject: [development-axapta] network folders Hi all, Is it possible that the WinApi::PathExists() is not working correct? i.e. Give a network path and it will always return false

[development-axapta] str2map

2004-11-19 Thread byteway_so
Hi all, I was looking for a method like: str2map. But there is no such method available in Axapta. The only alternative to assign a key=value pair to a map object is to itterate through the string yourself. Because I always forget this, I post this information here. If someone has a

[development-axapta] Re: str2map

2004-11-19 Thread byteway_so
site that you also have Delphi experience ;-) Didn't you wish somethimes there was an axapta equivalent for the delphi TStringList? Ok, but that's for pointing that out to me! /b --- In [EMAIL PROTECTED], Max Belugin [EMAIL PROTECTED] wrote: Hello byteway_so, ïÿòíèöà, 19 íîÿáðÿ 2004 ã

[development-axapta] FolderName

2004-11-18 Thread byteway_so
Hi, Is there an EDT for directories? I am looking for something with the same functionality like the FileNameSave EDT, but then specifically for selecting a folder. Or is the solution here that I would use the FileNameSave as parent and then change the methods that need to be overridden

[development-axapta] Re: Image Directory

2004-11-18 Thread byteway_so
Try using #winapi WinApi:getCurrentDirectory() /b Yahoo! Groups Sponsor ADVERTISEMENT 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

[development-axapta] Re: FolderName

2004-11-18 Thread byteway_so
oeps it should be: myDirectoryEDT extends FilePath Yahoo! Groups Sponsor ADVERTISEMENT 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

[development-axapta] number sequence

2004-10-29 Thread byteway_so
Hi all, Perhaps this is a silly question, but is there a way to check if a number sequence exist from x++ code? I thought I would get full acces to them by using a variable of the type NumberSeq. But I can't see how. Logically the next question would be: if this is possible, would i be

[development-axapta] Re: number sequence

2004-10-29 Thread byteway_so
from the X++ code, for example: MyNewId = NumberSeq::newGetNum(MyModuleParameters::numRefMyDataType()).num(); From: byteway_so [mailto:[EMAIL PROTECTED] Sent: 29. oktober 2004 13:36 To: [EMAIL PROTECTED] Subject: [development-axapta] number sequence

[development-axapta] Re: How can i get the address of a function

2004-08-11 Thread byteway_so
HI, Perhaps you should declare the variable lpEnumFunc locally and then test it? Try passing this as second parameter: #define.sizeOflpEnumFunc(1024) Binary lpEnumFunc = new Binary(#sizeOflpEnumFunc); Then execute the function with the call-method. If it returns true, then you have the

[development-axapta] Re: file writing and reading

2004-08-11 Thread byteway_so
First create the file: WinApi:CreateFile(somefilename.csv); Then use the asciiio routines. /b Yahoo! Groups Sponsor ADVERTISEMENT Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ To unsubscribe from this

[development-axapta] setup settings

2004-08-11 Thread byteway_so
Hi all, What is the equivalent to the FUNTIONALAREASetup-table in navision? What I mean is: where and how do I store values from settings, to be used once in an information flow, but these values are not requring... /b Yahoo! Groups Sponsor ADVERTISEMENT

[development-axapta] Re: pause(seconds)

2004-08-10 Thread byteway_so
Thanks for your reply! It works, but I thought there would be some build in commando for that. Something like: sleep(int milliseconds) But for now I think I can live with you solution: { int startTime, endTime; int pauseTime; ; startTime = WinApi::getTickCount(); pauseTime =

[development-axapta] Re: validate xml string

2004-08-10 Thread byteway_so
Another strange thing is when I do use the strKeep-function... Try and #define.rightHyphen()) And you get an error! That is really strange, why is that? #define.charfrom032to063( !\#$%'(*+,-./0123456789:;=?) #define.charfrom064to095(@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_)

[development-axapta] Re: pause(seconds)

2004-08-10 Thread byteway_so
yes yes yes now I can: sleep(1000); Thanks! Yahoo! Groups Sponsor ADVERTISEMENT 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] Your

[development-axapta] inifiles

2004-08-05 Thread byteway_so
Hi all, Is there some kind of class that can take care of ini-files, or settings in the registry? I know I can use the functions in the WinApi-class, but what I am looking for is some kind of wrapper class that will take care of this. Any hints are welcome. i.e. listobjects to use, best

[development-axapta] validate xml string

2004-07-30 Thread byteway_so
Hi all, When creating a XML-Node I want to check the values of the nodes. How can I check a value before it is placed in the XML-node? All values have to comply to the ISO 8859-1(Latin-1) standard. example: str aString; ; //... xmlNode = xmlDoc.createNode(XMLNodeType::ELEMENT,#SomeField,);

[development-axapta] Re: Passing Args

2004-07-27 Thread byteway_so
); newClass = MyNewClass::main(args); Args also enables you to parse e.g. strings and enums, like this: args = new args(); args.parmEnumType(enumnum(NoYes)); args.parmEnum(NoYes::Yes); args.parm(Test); //Lars -Original Message- From: byteway_so [mailto:[EMAIL PROTECTED] Sent

[development-axapta] Re: Override versus Overload

2004-07-27 Thread byteway_so
No overloading is not an axapta option. Overriding is done when an object needs its own implementation. override example: myObject.aMethod method - myObject.name() myNewObject extends myObject overriden method - myNewObject.name() example of overloading: int handleOfSomething(str value) { //

[development-axapta] Re: Passing Args

2004-07-27 Thread byteway_so
a construct method. //Lars -Original Message- From: byteway_so [mailto:[EMAIL PROTECTED] Sent: 27. juli 2004 11:08 To: [EMAIL PROTECTED] Subject: [development-axapta] Re: Passing Args The reason for creating a seperate class is because of the different usage

[development-axapta] Re: Passing Args

2004-07-26 Thread byteway_so
But what do you do when you want to solve it using the Axapta best practise? In this case I have a dialog that runs a NewMyClass(). In the main-method of the dialog I would have something like: //... Args myArgs; MyNewClass myNewClass; ; if(dlg.prompt()) { dlg.run(); //I need

[development-axapta] Re: Dialog

2004-07-23 Thread byteway_so
Actually it was quite easy ;-) The only difficulty was that in the overridden method dialogSelectCtrl, because you first need to get the handle of the field you're trying to change. So in short these are the steps: - newClass extends RunBase - Set allowUpdateOnSelectCtrl(true) in the

[development-axapta] Dialog

2004-07-22 Thread byteway_so
Hi all, How do I add radiobuttons to a dialog that determine the content of a dropdownbox, when selecting a radio-option? What's needed? Create a new class that extends from RunBase Override these methods: - dialog - getFromDialog - pack - unpack - validate - main Eventually the dialog is

[development-axapta] Re: Dialog

2004-07-22 Thread byteway_so
Thanks! This will be one of those nights that I´ll see the sun rize again:-) /b --- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: Hi Byteway, There's a good example of what I think you need here: Master planning, Periodic, Master scheduling. Try to fill in a master plan and and

[development-axapta] xml namespace

2004-07-20 Thread byteway_so
Hi all, Has anyone of you have a clue on how to adjust the namespace tag when creating a XML File? Here is the code to create a XML Node, this node is then added to an xmlDocument instance. xmlNode = xmlDoc.createNode (XMLNodeType::ELEMENT,#XMLTagMacro,'xsi=http://www.w3.org/2001/XMLSch

[development-axapta] Re: Sending SMS on mobiles

2004-07-20 Thread byteway_so
Hi, Try and take a look at the solution provided on this site: http://www.zonith.dk/products/axapta.php There you can download some examples, you also get more information on the concept (of using SOAP). /b Yahoo! Groups Sponsor ADVERTISEMENT Yahoo! Groups Links

[development-axapta] Re: xml namespace

2004-07-20 Thread byteway_so
Thanks a lot! Yahoo! Groups Sponsor ADVERTISEMENT 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] Your use of Yahoo! Groups is subject to

[development-axapta] map in array

2004-06-23 Thread byteway_so
Hi all, This is a job where I try to put a map into an array an then read it back. Somewhere I must be doing something wrong. How is it possible that the values are disapeared when I try to read them back? Does anyone have a clue? --thanks in advance-- static void mapInArray(Args _args) {

[development-axapta] Move items

2004-04-27 Thread byteway_so
Hi all, Does anyone know how I can move items in the AOT programmatically? And I mean: not to change the items with drag or drop. example: [forms node] form b form a After moving, it will be: [forms node] form a form b Thanks, /b Yahoo! Groups Links To visit your group on the

[development-axapta] Re: tabpage

2004-04-21 Thread byteway_so
Yes I tried that too, without succes though. It seems that there is no screen update when changing from tabPage. So perhaps I should force a reread when a tabPage change takes place... Any more ideas? --- In [EMAIL PROTECTED], markskinner [EMAIL PROTECTED] wrote: Have you tried putting

[development-axapta] after form post

2004-03-31 Thread byteway_so
Hi All, - A form has a datasource. - The fields from the datasource are added to the forms design. - When values are entered the record is saved. What method do I need to override to reread the Forms datasource? I want to see the updated data. I think it must be some afterPost method where

[development-axapta] Re: after form post

2004-03-31 Thread byteway_so
Ok, but where can I put this: Ds_ds.research(); ? I mean, in which form method? 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] Your use of Yahoo! Groups

[development-axapta] start help

2004-03-09 Thread byteway_so
Hi all, Is there a command I can use to start up the build in online help? For example, when i go to the system documentation in the AOT, I can double click a node to start up the online help. Also when I am in a form I can press F1. Is there a way to program this start up of the online

[development-axapta] Re: start help

2004-03-09 Thread byteway_so
Again, the answer is to simple for words :-) I found an answer already! Take a look into the HeapLog class. void clicked() { xInfo xInfo = new xInfo(); ; super(); xInfo.helpGenerator().showURL (http://technet.navision.com/default.asp?

[development-axapta] enter dialogfield

2004-03-08 Thread byteway_so
Hi all, Is it possible to create a method in a self made dialog, so that when I enter a dialogfield I can set some initial value? for example: I have to implement the enter-method of a stringedit i have added to a dialog. But how? This is not bases on a new form, but on a dialog class

[development-axapta] Re: enter dialogfield

2004-03-08 Thread byteway_so
I love it how it works in Axapta! The way to get it to work is: dialog.allowUpdateOnSelectCtrl(true); and then: public void dialogSelectCtrl() { ; super(); if ((DialogFieldName1.value()==) { DialogFieldName1.value( DialogFieldName2.value() ); } } This is all to get another value

[development-axapta] Multiline label

2004-03-05 Thread byteway_so
How can I get the label to display text multiline? Example: Place a StringEdit on a form and set a really long text in the StringEditName.Text(a really long text that I want to show over more than one line.). When you open the form, the form is adjusted in the width, but what i want is:

[development-axapta] Re: Multiline label

2004-03-05 Thread byteway_so
: byteway_so [mailto:[EMAIL PROTECTED] Sent: 5. mars 2004 10:13 To: [EMAIL PROTECTED] Subject: [development-axapta] Multiline label How can I get the label to display text multiline? Example: Place a StringEdit on a form and set a really long text in the StringEditName.Text(a really long

[development-axapta] Re: Multiline label

2004-03-05 Thread byteway_so
But when I try to dynamically set the text, it could be done with the Global function strFmtLB(). But when I use that it seems not to work either. public void init() { super(); StringEdit.text(strFmtLB(This is a text to test the multiline in the input field of a StringEdit.));

[development-axapta] Shakespeare Insult

2004-03-02 Thread byteway_so
There is a tutorial_webservices form which contains a tabpage where you can get Shakespeare insults back from a webservice online. The only problem is, the online webservice is down. The original creater of that services was kind enough to put his source online so that An you can ques

[development-axapta] Re: isString

2004-02-17 Thread byteway_so
Thank you!!! But why should I not use: return (! strnFind(strUpr(_value), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 1, strLen(_value))); Because, a number can also be a string... /b Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/

[development-axapta] isString

2004-02-16 Thread byteway_so
Is there a function to check if a given character is of some type? Here are two none working functions. What is the best way to do the check? private Boolean isString(str _value) { try { return (_value == Types::String); } catch { return false; } return true; } private Boolean

[development-axapta] add column

2004-02-10 Thread byteway_so
Hi all, A while ago I got a great answer in how to adjust a property dynamically of a column on a table. But now I want to take it one step further. So here is the question: can i add/delete columns dynamically (in x++ code)? I have tried the following: ZipCode table; dictTable dictTable;

[development-axapta] Re: read multi row select

2004-02-05 Thread byteway_so
That was quick!!! I just saw that it was also possible to not use a Common declaration, but use the table name instead. Is there also a property I need to set to prohibit that my button gets greyed out when multi selecting rows? Use common.(fieldId2Ext(fieldId, 0)). In case of a normal

[development-axapta] Re: read multi row select

2004-02-05 Thread byteway_so
Do you mean this? Combining your replies, I get the following: void clicked() { Common tmpDS; ZipCodeId zipCodeId; ; if (DataSource1_DS.getFirst(true)) tmpDS = DataSource1_DS.getFirst(true); while(tmpDS) { tmpDS = DataSource1_DS.getNext(); zipCodeId =

Re: RE : [development-axapta] sum

2004-01-27 Thread byteway_so
Thanks all! 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] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

[development-axapta] sum

2004-01-26 Thread byteway_so
Hi all, A question on how to use simple database functions ;-) Suppose I have the next new static function: static real MyTotal(Date _dd, Code _cc) { MyTable myTable; ; return select sum (realfield) from myTable where myTable.Date == _dd myTable.Code == _cc; } How do I get the

[development-axapta] Re: reading form datasource

2004-01-15 Thread byteway_so
Thank you for your good replies. The way I was thinking was: in a more generic way of accesing data... I see now that Axapta forces me to use the datasource by name, that is: to use the tablename (idd declared in the form's datasource). There are advantages to use it like that (user

[development-axapta] reading form datasource

2004-01-14 Thread byteway_so
Hi all, The form datasource is the aorta for all data in a form. Why can't I read directly from it? Suppose I have this: { FormDataSource f; ; f=element.dataSource(); } Now why can't I do something like this: print f.field[0].value(); Or print the value of the second field of the selected

[development-axapta] XMLDataImport

2004-01-02 Thread byteway_so
Where can I find an example on the XMLDataImport class? Or who has tried this class already? Yahoo! Groups Sponsor ADVERTISEMENT Click Here! Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

[development-axapta] Adjustment

2004-01-02 Thread byteway_so
Hi all, I wonder if it is possible to adjust a field of a table programmatically. I know how to get to the SQLDictionary record for the specifick field. It goes something like: MyTable _table; int _tableId; int _fieldId; ; _tableid = _table.TableId; _fieldId =

[development-axapta] Re: Adjustment

2004-01-02 Thread byteway_so
Thanks, I will dive into it. Yahoo! Groups Sponsor ADVERTISEMENT click here Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

[development-axapta] Re: Adjustment CLOSED

2004-01-02 Thread byteway_so
Thank you all for replying to this thread. To my opinion the final sollution is given by Holger Pedersen! This was what I was looking for and it works;-) /bjo Yahoo! Groups Sponsor ADVERTISEMENT Click to learn more... Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

[development-axapta] Re: Adjustment

2004-01-02 Thread byteway_so
Thank you for you advise, but I can't seem to find that property. This is what I use: TreeNode _treenode; str _properties; ; _treenode = Infolog.findNode(\\Data Dictionary\Extended Data Types\MYCODEFIELD); if (_treenode) { _properties = _treenode.AOTgetProperties();

Re: RE : [development-axapta] Adjustment

2004-01-02 Thread byteway_so
www.boa-franc.com -Message d'origine- De : byteway_so [mailto:[EMAIL PROTECTED] Envoy : 28 octobre, 2003 10:08 : [EMAIL PROTECTED] Objet : [development-axapta] Adjustment Yahoo

[development-axapta] ComboBox index

2004-01-02 Thread byteway_so
Hi all, This may be a stupid question, but I can't seem to find how I can get the index of a selected item of a ComboBox. How do I get it? I suspected something like: ComboBox1.item().selected; Yahoo! Groups Sponsor Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

[development-axapta] Re: Adding javascript

2004-01-02 Thread byteway_so
Sure, you can. Just create a nice script file. Add this file to your web project, in the node: web files/client and you are ready to use it within your web pages. Yahoo! Groups Sponsor ADVERTISEMENT Click to learn more... Your use of Yahoo! Groups is subject to the Yahoo! Terms of

[development-axapta] createProcess

2004-01-02 Thread byteway_so
Can anyone help me with this to run? I addded another function to the WinApi-class. Compile this and it is ok. Now create a job and try and test it with: // WinApi::createProcess( // null //, dir/w c:\\dirtest.txt //, null //, null //, False //, 0 //, null //,

[development-axapta] Axata 2.5 SP3 sql server 2000 sp3a

2004-01-02 Thread byteway_so
Hi all, Does anyone know if I can run Axata 2.5 SP3 sql server 2000 sp3a? /b Yahoo! Groups Sponsor ADVERTISEMENT click here Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.