![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
#12
| |||
| |||
|
|
OK after some thinking and thanks to your input, I believe I was able to combine the two queries into one. DoCmd.RunSQL " INSERT INTO tblLC ( strDescription, strAC, sngLCPrice ) SELECT [11030204].strDescription, [11030204].strAC, [11030204].[000111022001] " _ & " FROM [11030204] WHERE ((([11030204].[000111022001]) Is Not Null And ([11030204].[000111022001])<=nz([11030204].[001011022402]) And ([11030204].[000111022001])<=nz([11030204].[000211022301]))) ;" Since I know the table name and the number and name of the fields I could come up with the appropriate SQL string statement. We'll see how it behaves if we have more fields. Many thanks, John |
#13
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |