|
-
Sep 23rd, 2019, 08:10 AM
#1
Thread Starter
Lively Member
[RESOLVED] Limited selecton of records
Dear all,
I have a table in SQL which consists of 3 columns:
Id | Code | Image
I can have in it different images with the same Code. Sorting by id, I would like to be able to select just the "first-four" images to display them in four pictureboxes in my form.
How could I handle this?
Thanks for suggestions,
A.
-
Sep 23rd, 2019, 09:04 AM
#2
Re: Limited selecton of records
Add a Top(4) and order by clause to the select
Sometimes the Programmer
Sometimes the DBA
Mazz1
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|