Hi
I've used MySQL before but never Access. I'm basically trying to get the first 30 records from an Access database and then, upon the person clicking to the next page, get the next 30 and so on.
I tried:
"SELECT * FROM my_table ORDER BY PROG_NO ASC LIMIT 30;";
But this didn't work. I searched the net and found out about the TOP command. I then tried.
"SELECT TOP 30 * FROM my_table ORDER BY PROG_NO ASC;";
But this hasn't worked either. Does anyone know what I'm doing wrong?
Thanks in advance for any light you can shed on this.
JT
I don't make mistakes, I'm merely beta-testing life.
I've used MySQL before but never Access. I'm basically trying to get the first 30 records from an Access database and then, upon the person clicking to the next page, get the next 30 and so on.
I tried:
"SELECT * FROM my_table ORDER BY PROG_NO ASC LIMIT 30;";
But this didn't work. I searched the net and found out about the TOP command. I then tried.
"SELECT TOP 30 * FROM my_table ORDER BY PROG_NO ASC;";
But this hasn't worked either. Does anyone know what I'm doing wrong?
Thanks in advance for any light you can shed on this.
JT
I don't make mistakes, I'm merely beta-testing life.