Sorting repeatable table - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Sorting repeatable table

Last post 10-01-2009 09:44 AM by Sirhoser. 15 replies.
Page 1 of 2 (16 items) 1 2 Next >
Sort Posts: Previous Next
  • 02-25-2009 01:45 AM

    Sorting repeatable table

    I have a timesheet form that I need to be able to sort by date and / or project no. There doesn't seem to be any inbuilt functionality is there a way of getting around this?

  • 02-25-2009 02:40 AM In reply to

    Re: Sorting repeatable table

    Hi,

       Not being a programmer myself, is there a way to achieve this without using code. I find the instructions difficult to follow

     Is the 2nd example C# or VB

  • 02-25-2009 10:34 AM In reply to

    Re: Sorting repeatable table

    We have a new beta product called qRules that is available for *free* download. It has a command for sorting. You could add some buttons to sort, and use qRules commands to sort your list -- no code! Give it a try, and post back if you get stuck....

    Hilary Stoupa

  • 03-02-2009 05:42 AM In reply to

    Re: Sorting repeatable table

    Hi,

        I managed to use the qrules with a normal repeating table. Will the qrules work with a repeating table that is used to submit data to an SQL database. I have tried but it doesn't seem to work, it doesn't return any errors

  • 03-02-2009 09:10 PM In reply to

    Re: Sorting repeatable table

    I just tested this and it worked for me. For the /compare argument, remember that you will probably be passing in an attribute, so it will look like '@Fieldname' rather than 'd:Fieldname' or 'my:Fieldname'. Would you mind pasting in what you are setting the Command field to?

    Hilary Stoupa

  • 03-03-2009 12:45 AM In reply to

    Re: Sorting repeatable table

    Here is the command. 

     SortTable /row=dfs:myFields/dfs:dataFields/d:Project_Hours /compare=@Project

    I am using vista not XP will this make a difference?
  • 03-03-2009 01:12 PM In reply to

    Re: Sorting repeatable table

    Your command looks right. I know one of our testers uses Vista, so that shouldn't be the problem. Try a different qRules command in your form -- let's make sure the .dll is still there. Or try using SortTabl instead of SortTable -- the misspelling of the command should trigger an error, which will let us know that qRules is still in your form.... You didn't add any event handlers to your form, did you? It can be really easy to accidentally add an event handler, and if you add code to your form, qRules gets its feelings hurt....

    Hilary Stoupa

  • 03-04-2009 01:11 AM In reply to

    Re: Sorting repeatable table

     When I try and use qrules on vista with any infopath template I receive the following message. But when I use XP its fine.

     

    Could not load file or assembly 'CabLib, Version=6.9.26.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

     The root cause seems to be vista, because I created a form on a XP machine and applied the rules to sort the SQL Table without any problems

  • 03-05-2009 05:49 PM In reply to

    Re: Sorting repeatable table

    Good to know -- I'll see if we can replicate this bug.

    Hilary Stoupa

  • 03-05-2009 06:17 PM In reply to

    Re: Sorting repeatable table

    spawforths:

    Hi,

        I managed to use the qrules with a normal repeating table. Will the qrules work with a repeating table that is used to submit data to an SQL database. I have tried but it doesn't seem to work, it doesn't return any errors

    Hello,

    If I'm understanding it correctly, you managed to get it working before even trying in XP, which means you were still on Vista during that time. So we can tell that you're able to "inject" qRules successfully in your forms in Vista. Please correct me if I'm wrong.

    Also, what version of InfoPath are you using?

    Cheers!

    Mel Clemente
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

  • 03-06-2009 12:31 AM In reply to

    Re: Sorting repeatable table

    Are you running 64-bit Vista?

    Patrick Halstead
    Project Manager at Qdabra
  • 03-06-2009 12:32 AM In reply to

    Re: Sorting repeatable table

    Hi,

       It will not work full stop in vista, I can't inject anything into any infopath form. If I use a form that has been created on an XP machine none of the command buttons will work in that infopath form.

    I am using infopath 2007 with the latest updates, my vista install in 64 bit edition doubt that will make a difference and also has service pack 1 installed.

     Darren

  • 03-06-2009 06:23 AM In reply to

    Re: Sorting repeatable table

    Hi Darren,

    Currently, there's been a known issue in qRules not working in Vista 64-bit. We are working on how to resolve this issue and will be posting updates to the site as soon as we do.

    Thanks,

    Mel Clemente
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

    Filed under: ,
  • 10-01-2009 07:11 AM In reply to

    Same Error Message on Server 2008, not Vista 64

    I'm running Server 2008 (64 bit), VS 2008, InfoPath 2007, and qRules 1.8, and I'm trying to 'Inject' a pretty simple form with the Qdabra Riles Library. I've tried using both the cablib.dll (32 bit version, size= 120 Kb) and the cablib.dll (64-bit version, size 249 Kb) in both the qDabra directory and the in the WSPbuilder directory.  I've added the 64-bit version cablib version to the GAC, and I still get the following error message:

     Could not load file or assembly 'CabLib, Version=6.9.26.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

     Admittedly, I'm new to .NET platform, but what don't I get here? I'm trying to follow the example on http://claytoncobb.wordpress.com/2009/08/03/infopath-copy-sharepoint-list-data-to-main-data-source/, and I'm stuck at " After a successful install, Inject qRules 1.7 into the form template (Fig 10)"

     

    Thanks in advance for any assistance.


     

    Filed under: , ,
Page 1 of 2 (16 items) 1 2 Next >
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.