![]() | |
![]() |
| | Thread Tools | Display Modes |
#21
| |||
| |||
|
|
Try this: SELECT [radio_ip] FROM [sc_survey] ORDER BY CAST(PARSENAME([radio_ip], 4) AS INT), CAST(PARSENAME([radio_ip], 3) AS INT), CAST(PARSENAME([radio_ip], 2) AS INT), CAST(PARSENAME([radio_ip], 1) AS INT) He is using MS Access. PARSENAME() is t-sql. You will need to use different method to parse the ip. |
#22
| |||
| |||
|
#23
| |||
| |||
|
#24
| |||
| |||
|
#25
| |||
| |||
|
#26
| |||
| |||
|
#27
| |||
| |||
|
#28
| |||
| |||
|
|
this is the error I get when testing the code: [microsoft][obdc MS access driver] Syntax error (missing operator) in query expression 'CAST(PARSENAME(radio_ip, 4) ASINT)' |
#29
| |||
| |||
|
#30
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |