Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Sharedata Subsets possible?

Sharedata Subsets possible?

Sharedata Subsets possible?

I have a "master" datawindow which contains (for argument sake) a population sample categorized by age group i.e. teens, adults and pensioners (again this is for argument sake; we have three categories)

For each category i am building a separate datawindow tailored specific to that group.
I wish to utilize share data for this purpose for each of my three corresponding datawindow objects. however for each datawindow i wish to limit the result set to only the records of the aforementioned group (teens, adults, pensioners)

How can i achieve the above? PB11.

Thanks in advance

RE: Sharedata Subsets possible?

You can't unless your master only has records from one of your three groups.  If you are thinking you can retrieve the entire data set into the master, filter for a single group, assign to a second datawindow via sharedata, filter the master for a second group, assign to a third datawindow via sharedata, etc. this is not possible via sharedata since once you issue the sharedata command, the datawindows share all their buffers.

You are better off using some sort of method which copies the rows from the master over to the individual datawindows and then back to the master (only copy rows back which have changed/inserted/deleted).



"Nature forges everything on the anvil of time"

RE: Sharedata Subsets possible?

Thanks mbalent,

thanks for pointing out this method would only work to sharedata between two datawindows (after filtering) and that the technique won't work for subsequent dw's

would have made my life much easier if it could have taken a one main datawindow and filtered it three ways and bound each dataset to separate child window simultaneously...   

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close