trying to define where with unserName() - InfoPath Dev
in

InfoPath Dev

trying to define where with unserName()

Last post 05-02-2010 02:29 AM by amirli. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 05-02-2010 02:29 AM

    • amirli
    • Not Ranked
    • Joined on 12-31-2008
    • Posts 3

    trying to define where with unserName()

    Hello,

    i defined data connection to SQL DB. 

    to reduce the timing, i would like to create a specific query inside the data connection.

    i used the Edit SQL button and wrote this query:

    select "LastName","FirstName"

       from "dbo"."Worker" 

         where ShortID ='" + userName() + "' 

     i can use userName() inside any field, but when writing this syntax, it doesn't work.

    i tried adding @,  & changing syntax but nothing. when i writhing my specific  user name (not function), it's work, so it has to be syntax problem.

    any ideas?

     

     

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.