I have a table with fields: autonumber (unique), userName, userNumber (11, 22, 33 etc.), timestamp, value.
for each user (11, 22, 33) there is several records with different timestamp and values.
How can I select in table first and 2 last records for user ? I make a DataPage Report with type Gallery and have to compare first and last two values, sorted by timestamp field.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Spectr85
Hi, guys! I need some help.
I have a table with fields: autonumber (unique), userName, userNumber (11, 22, 33 etc.), timestamp, value.
for each user (11, 22, 33) there is several records with different timestamp and values.
How can I select in table first and 2 last records for user ? I make a DataPage Report with type Gallery and have to compare first and last two values, sorted by timestamp field.
UserNumber is entered use the search form.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.