Johny
Registered User.
- Local time
- Today, 17:54
- Joined
- Jun 1, 2004
- Messages
- 80
I have several checkboxes where only 1 can be checked, every time a checkbox has been checked, I want update the rowsource of my listbox. So i get the SQL string and update the string with the new condition.
Can it be done like this:
stSQL=
"SELECT field1, field2
FROM tbl1
WHERE field1='test' AND field2='test2'"
Now I wanna replace 'test' into 'AccessWorld'. Where do I start?
I already figgered out the beginning and end position of the word (here: 'test' ) but the lenght of the words are obviously not equal to each other, so this is a dead end.
Help
Can it be done like this:
stSQL=
"SELECT field1, field2
FROM tbl1
WHERE field1='test' AND field2='test2'"
Now I wanna replace 'test' into 'AccessWorld'. Where do I start?
I already figgered out the beginning and end position of the word (here: 'test' ) but the lenght of the words are obviously not equal to each other, so this is a dead end.
Help

Last edited: