[development-axapta] COM Connector Timeout

2005-12-05 Thread Mike Savage
I am having problems whereby, when a user does not use a portal page for a while, the following error appears: AxaptaCOMConnector.Axapta.1 error '80042041' Error executing code: WebApplication object not initialised. Stack trace: \Classes\WebApplication\SetProp

SV: [development-axapta] Query Range and ||

2005-12-05 Thread Askeryd Thomas
See my reply to zekvelda. Also look for the similar question I send regarding this matter not to long ago. Från: development-axapta@yahoogroups.com genom Andre Klopper Skickat: fr 2005-12-02 13:19 Till: development-axapta@yahoogroups.com Ämne:

SV: [development-axapta] Query to 'OR' two ranges

2005-12-05 Thread Askeryd Thomas
What I got in the reply worked just fine.. except from the qbdsStat.relations(true); qbdsStat.joinMode(JoinMode::ExistsJoin); which never seems to work for me. I have to use qbdsStat.addLink(FieldNum(Persons, Pnr),FieldNum(FamStatus, Pnr)); has anybody got a clue what that is all

RE: [development-axapta] COM Connector Timeout

2005-12-05 Thread Kim Truelsen
Hi Mike Savage IN default.asp You set SESSION.TIMEOUT = 40 in the top % response.buffer = TRUE response.expires = -1 session.timeout = 40 % !-- #include file=i_axapta.asp -- % if (session(LoggedOff) = 1) then session.abandon response.redirect default.asp end if

RE: [development-axapta] COM Connector Timeout

2005-12-05 Thread Mike Savage
Kim That worked perfectly, thanks. Regards Mike Mike Savage Sense Enterprise Solutions Ltd Corner House Robey Close Linby Nottinghamshire NG15 8AA t: +44 (0) 115 964 6646 f: +44 (0) 115 964 6647 e: [EMAIL PROTECTED] w: www.senseenterprisesolutions.co.uk -Original Message- From:

Re: SV: [development-axapta] Query to 'OR' two ranges

2005-12-05 Thread Andrew Zekveld
Thanks! I got it to work. for those who will be trying the solution below: I couldn't get it to work with 'Person.Age' as is used in the example below. Leave out the table name if you are only working in one table, then it works. Otherwise you get a error message indicating that the

[development-axapta] return break my while loop

2005-12-05 Thread Vanessa kajtaz
Hi, I work with raport and I want to print out more then one string, but if I use return strfmt(), than while loop breaks. I dont want to break while loop , there is more then one return ; If I use print it works and it prints in the print window, but I want to print in the raport. It

[development-axapta] return break my while loop

2005-12-05 Thread Vanessa kajtaz
Hi, I work with raport and I want to print out more then one string, but if I use return strfmt(), than while loop breaks. I dont want to break while loop , there is more then one return ; If I use print it works and it prints in the print window, but I want to print in the raport. It

Re: [development-axapta] return break my while loop

2005-12-05 Thread kbi kbi
Hi Vanessa, Well, the return will end your function. I am not sure what you want do, but if you want to print the string to screen, you should use Info(strFmt(This is the string:%1, yourStr)); If you want to print a field value to the report, you can use send(DatasourceName) method. If you

[development-axapta] Sorting a table using fields on a linked table

2005-12-05 Thread redaj27
I have a two tables, ItemLists and ItemListItems. The ItemLists table has a code and description, and the ItemListItems table has an ItemListCode and an ItemId. I maintain these tables in a form that has an Overview tab with a grid for the ItemLists table, and an Items tab with a grid for

RE: SV: [development-axapta] Query to 'OR' two ranges

2005-12-05 Thread Bayliss, Barry
While the following works for fixed values, has anyone managed to make this work with wildcards (Each time I've tried, I received an error 'Query extended range failure: Right parenthesis expected ...') Barry. -Original Message- From: development-axapta@yahoogroups.com

[development-axapta] Page change event on a report

2005-12-05 Thread Martin Sujkowski
Hi guys Can you any of you tell me how to intercept a page change event on a axapta report? I have a programmable section on my invoice that i need to execute when the page changes - but only if i'm still displaying items. Is there even such thing as a report page change event in axapta?