Delete from a multitable query |
3/3/2006 3:42:06 PM |
ASPRunnerPro General questions | |
H
heets author
I encountered this problem previously and was guided past it by this forum posting Delete records from a multi-table query |
|
H
|
heets author 3/5/2006 |
A little more detail: |
![]() |
Sergey Kornilov admin 3/6/2006 |
Bruce, strSQL="delete from " & strOriginalTableName & _ " where " & KeyWhere(key,key2,key3)
strSQL="delete from XREF where " & KeyWhere(key,key2,key3) |
H
|
heets author 3/6/2006 |
I tried that change and now I get the following error message: |
![]() |
Sergey Kornilov admin 3/6/2006 |
Bruce, |
H
|
heets author 3/6/2006 |
Sergey, |
![]() |
Sergey Kornilov admin 3/7/2006 |
Bruce, if "xrefactivity"=strTable and "Name ID"=field then GetFullFieldName="[xrefactivity].[Name ID]" exit function end if
if "xrefactivity"=strTable and "Name ID"=field then GetFullFieldName="[Name ID]" exit function end if
|
H
|
heets author 3/7/2006 |
Sergey, |
P
|
peter van mechelen 8/29/2006 |
I am sorry but this is not the solution. If you told the ASPRunner software to delete pictures or even downloaded files or documents in a multi table query (general function) then, at the moment the master record is going to be deleted you get a big hangup because of the result of the asp execution. The primary files are deleted but the master record don't. The Access database can not be closed and is broken and the internet explorer (read IIS function) can't be closed the *.lmb file. |
![]() |
Sergey Kornilov admin 8/31/2006 |
Peter, |
P
|
peter van mechelen 9/3/2006 |
Peter, I wish I understand what you trying to say.
|