Closed Thread
Results 1 to 3 of 3

Thread: need help!! program codes

  1. #1
    jov
    jov is offline Newbie
    Join Date
    Nov 2007
    Posts
    10
    Rep Power
    0

    need help!! program codes

    Hi! guys,

    i would like to ask everyone if this procedure is correct. pls. coreect me if im wrong...i put a sound when this condition is validate.

    Code:
    IF m12
       SELECT * from online2 WHERE online2.served<>.T. INTO CURSOR sr
       SELECT sr
       mcounts=RECCOUNT()
       IF mcounts>0
          SET BELL TO "ringout.WAV"
          ?? CHR(7)
          SET BELL TO (ADDBS(GETENV('windir'))) +"MEDIA\DING.WAV"    [/COLOR]  thisform.command7.enabled=.T.
          *thisformset.mAIN23.command7.Visible=.T.
          WAIT WINDOW "You have "+TRANS(mcounts,'99')+" Job Order from Import Department" +  CHR(13)+;
          "to view transaction click on the button below" NOWAIT noclear
       ELSE
          thisform.command7.enabled=.F.   
          thisformset.mAIN.command7.Visible=.F.
          WAIT CLEAR
       ENDIF
    ENDIF
    thanks...

    jov
    Last edited by WingedPanther; 01-25-2008 at 08:45 AM. Reason: add code tags

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Lop's Avatar
    Lop
    Lop is offline Speaks fluent binary
    Join Date
    May 2006
    Posts
    1,178
    Rep Power
    30
    what language is this?

  4. #3
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143
    I can't say with certainty, but my guess is that your code is not correct.

    1) There is SQL intermixed with another language without qualifiers of any sort to separate them.
    2) It looks like you're using vbscript within a webform, or maybe visualbasic.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 08-15-2011, 10:19 AM
  2. What is wrong with this codes
    By SandyTeo in forum Java Help
    Replies: 21
    Last Post: 05-19-2011, 10:18 AM
  3. AMcap codes
    By suefyzah in forum Managed C++
    Replies: 1
    Last Post: 08-07-2008, 10:01 AM
  4. codes please
    By hasintha in forum Introductions
    Replies: 2
    Last Post: 08-08-2006, 09:50 PM

Tags for this Thread

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