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
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
-
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
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
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
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
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?
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
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();
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
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
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
: 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
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
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 ã
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
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
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
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
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
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
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
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
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 =
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[\]^_)
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
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
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,);
);
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
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) { //
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
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
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
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
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
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
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
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
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)
{
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
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
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
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
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
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?
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
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
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:
: 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
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.));
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
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/
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
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;
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
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 =
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.
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
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
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
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.
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 =
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.
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.
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();
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
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.
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
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
//,
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.
70 matches
Mail list logo