Naftali,
I have encountered this problem in a number of my VB projects and I do not believe there is a function that provides a simple solution. "Shell" (unfortunately) is asynchronous; here is how I have solved it in a number of my projects (what follows is an example that merely...
This is what you said you wanted to do:
strOrg = "Select * from InnRecur where "
strOrg = strOrg & "rsOrg!editcode = " & "R"
strOrg = strOrg & " or rsOrg!editcode = " & "S"
When you finish running this code, strOrg will be as follows:
Select *...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.