Hi all,
I have a problem.
I am running a query upon a form that uses the following if statement:-
if USER12 = "INT1" then
Gdrno = USER1.value
WebMatch = Query
FinalRoute.db | USER1 | USER2 | Width |
| ~GdrNo | WEB | check |
endQuery
If not executeQBE(WebMatch,"WebMatch.db" then
errorshow()
endif
endif
As you can see this puts the width of all parts which meet the criteria in WebMatch.db. (This will always only be one value)
What I then need to do is read this value and use it in a formula upon the form. The problem I get is that I can't attach the WebMatch.db onto the form because it then tells me that the db is already in use.
Any ideas how I can do this?
Thanks,
Woody.
I have a problem.
I am running a query upon a form that uses the following if statement:-
if USER12 = "INT1" then
Gdrno = USER1.value
WebMatch = Query
FinalRoute.db | USER1 | USER2 | Width |
| ~GdrNo | WEB | check |
endQuery
If not executeQBE(WebMatch,"WebMatch.db" then
errorshow()
endif
endif
As you can see this puts the width of all parts which meet the criteria in WebMatch.db. (This will always only be one value)
What I then need to do is read this value and use it in a formula upon the form. The problem I get is that I can't attach the WebMatch.db onto the form because it then tells me that the db is already in use.
Any ideas how I can do this?
Thanks,
Woody.