Results 1 to 2 of 2

Thread: Help on Logic Building........Urgent

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 1999
    Location
    chennai,tamilnadu,india
    Posts
    29
    Hi,
    Can any one help me with the Logic building:

    There are user generated Codes like(codes-Description) c001-price,c002-qty.These may vary depending on the user.
    These codes description has to be mapped to fields present on the form at run time like price to text1,qty to text2 so on....

    Thanx
    Murali

  2. #2
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600

    A possible start

    Hi Murali,

    It's hard to give a more specific response than this because you didn't give a lot of information about your project. But maybe this pseudocode will help you out:
    Code:
    Do Until EOF(User Generated Codes)
        Select Case Left(User Generated Codes, 4)
             Case "c001"
                  'price
                  text1 = Right(User Generated Codes, 5)
             Case "c002"
                  'qty
                  text2 = Right(User Generated Codes, 3)
             'And so on for other User Generated Codes
        End Select
    Loop
    I hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width