Results 1 to 3 of 3

Thread: How to get data from a weird database

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2011
    Posts
    2

    How to get data from a weird database

    Hi there,

    I'm a noob in vb6, and I need some help to get values from a weirdly structured database.

    Information is stored in such a way below:

    ID Order Param_ID Description Min Max
    1 10 1000-Proc Processing null null
    2 10 1000-In Visual Check null null
    3 10 2000-Strt - 0 10
    4 20 1000-Proc Processing 1 2

    So basically what I need is to get information for Order 10 and depending on the param id the output will either be column description, min or max.

    Really appreciate the help. Thank you so much.

  2. #2
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,537

    Re: How to get data from a weird database

    what does the output need to (or supposed to) look like?

    Depending on what you need it to look like, there are at least 2, maybe three ways to do this.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2011
    Posts
    2

    Re: How to get data from a weird database

    so basically i was thinking of having a drop down list of the orders... so 10,20. and when the user chooses one of the orders say 10, all relevant information regarding that order will appear.

    Drop Down
    10
    20

    Order Description1 Description2 Description3 Min Max
    10 Processing In Visual Check - 0 25

    Thnx again!

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