Results 1 to 3 of 3

Thread: [Answers] Macro

Threaded View

  1. #1
    Lianja MVP
    Join Date
    Dec 2012
    Location
    Croatia, Zagreb
    Posts
    1,135

    [Answers] Macro

    Q:
    Code:
    SELECT COUNT(GSID) AS CountEntry FROM bantam_stats!gamesheet WHERE gamenumber = &GameNumber AND hometeam IN ("&strTeamID")
    A:
    Remove the quotes:
    IN (&strTeamID)



    Q:
    Code:
    lcCursor = "Cursor2"
    open database southwind
    use shippers
    select 0
    select * from shippers into cursor (lcCursor)
    insert into shippers select * from (lcCursor)
    A:
    Why not just use a &cursor2
    lianja supports macro expressions too &(basename(cursor2))



    ​All topics in [Answers] alphabetically:http://www.lianja.com/community/show...ll=1#post12352
    Last edited by josipradnik; 2016-12-14 at 02:23.

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us