For starters i would replace all the empty string arguments you're
using in your axapta calls with null arguments like this:
change:
AxaptaQuery = axapta.CreateObject("Query","","","","","","");
TO:
AxaptaQuery = axapta.CreateObject
("Query",null,null,null,null,null,null);
--- In [email protected], "Andreas Rudischhauser"
<[EMAIL PROTECTED]> wrote:
>
> I want to create an .Net application that needs to fetch all the
> records in the emplTable.
>
>
>
>
>
> Add one field with no value
>
>
>
> Further the application will have to
> delete all records in a "work table". My first question is how do
I
> delete records from an Axapta table?
>
>
>
> Use ExecuteStatement or something for sql ... or use the Dictionary
> Methods from AOT like this
>
>
>
> IAxaptaObject axDictionary =
> this.AxNetMapper.Axapta.CreateObject
("Dictionary",null,null,null,null,nu
> ll,null);
>
> object o =
> axDictionary.Call("tableObject",this.Id,null,null,null,null,null);
>
> if (o != null)
>
> {
>
> IAxaptaObject axTable = (IAxaptaObject)o;
>
> return axTable;
>
> }
>
> else
>
> {
>
> throw new Exception("Die Tabelle " +
this.Name +
> " konnte nicht geladen werden");
>
> }
>
>
>
>
>
> My second question is why I get the following error when the
> application exits:
>
> "Runtime error!"
> program: "....AXCOM\AXCOM.vshost.exe
> R6025
> - Pure Virtual Function call
>
>
>
>
>
>
>
>
>
> ________________________________
>
> YAHOO! GROUPS LINKS
>
>
>
> * Visit your group "development-axapta
> <http://groups.yahoo.com/group/development-axapta> " on the web.
>
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscri
> be>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> .
>
>
>
> ________________________________
>
>
>
> [Non-text portions of this message have been removed]
>
SPONSORED LINKS
| Computer part | Programming languages | Microsoft axapta |
| Support exchange |
YAHOO! GROUPS LINKS
- Visit your group "development-axapta" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

