|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
MS Access - Limit query to TOP xxx values ?
hi,
i read here about the TOP command in ms access. that's what i need BUT i need this dynamicaly from a formular. but ms access dosen't allow a []... statement there, i have a from with and text field that represents the number of wanted tablerows. any idea how to do that ? thx |
|
#2
|
|||
|
|||
|
Code:
sql = "select top " & request.form("top") & " <rest of query>"
|
|
#3
|
|||
|
|||
|
hu vb
![]() no chance doing that in a normal query ? i have no idea of vb modules in access - how can i build a query in vb (like u descriped) and use it in a report for example ? |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > MS Access - Limit query to TOP xxx values ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|