You can use a Data control to access the records you want and display
them using a DBGrid. Set the grid data source to datControlName.
datControlName.recordsouce = "SQL Statement"
datControlName.refresh
Quote:
>dear friends,
>I'm using Access for my database and user interface ( form ) using Vb.
>The problem is how to select a range of records and display the
>particular records to the user.
>I'm using userId field as a criteria to select records, Meaning if a
>particular user login they can only view their records.
>note:- All the different users records are in the same database file.
>I'II be appreciate if any one could help me this problem and provide
>some sample of code for this problem. thanks in advance.
>vijay