Announcement

Collapse
No announcement yet.

*SHOWSTOPPER* Cannot use lookup fields in grid

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • *SHOWSTOPPER* Cannot use lookup fields in grid

    As of the new version installed today:

    If you create a standard grid application and use a lookup on a keyfield then generating code will give an error:


    2 = Invalid argument supplied for foreach()
    C:\Program Files (x86)\NetMake\v7\wwwroot\scriptcase\devel\lib\php\ database.inc.php 1184

    It looks to me that a wrong lookup screen is shown here as this is a lookup screen which useually is used for a field of type 'select'. But this is a grid application so...

    This is a real showstopper as I don't want the user to see codes, but names. I have used this all over my applications, so I cannot generate any more..
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

  • #2
    Ok, it's not a showstopper as I can set the field 'use lookup in grid'. Is that new? Please restore the old behaviour.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      I now get loads of

      Invalid argument supplied for foreach() | Script: C:\Program Files (x86)\NetMake\v7\wwwroot\scriptcase\devel\lib\php\ database.inc.php linha: 1184

      when generating applications. Retrying the generation useually goes well, so there has been some changes with mystic effects. But it's realy annoying.
      Albert Drent
      aducom software netherlands
      scriptcase partner, reseller, support and (turn-key) development
      www.scriptcase.eu / www.scriptcase.nl

      Comment


      • #4
        Originally posted by aducom View Post
        [...] I can set the field 'use lookup in grid'.
        Where?

        (filler text)
        Best regards: - Reinhard -

        I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

        Comment


        • #5
          This is a field in the block to set the lookup. It's a pulldown.
          Albert Drent
          aducom software netherlands
          scriptcase partner, reseller, support and (turn-key) development
          www.scriptcase.eu / www.scriptcase.nl

          Comment


          • #6
            Hello,

            Issue reported to our bugs team.

            regards,
            Bernhard Bernsmann

            Comment

            Working...
            X