Well I get an error messich which tells me that its
an "Invalid Procedure Call".
I have also found that it is in the bit of:
UNION ALL
SELECT Left([Name], Instr([Name], " ") -1) As Forname,
Mid([Name], Instr([Name], " ") + 1) As Surname, NULL,
Base, Username, Password, [Type of Dialin]
FROM [live CISCO Accounts]
If I run it without the UNION ALL command it runs quite
happily but when I add it in I get this Invalid Procedure
Call.
Does this help any?
Many Thanks
James
>-----Original Message-----
>What is wrong with the current SQL? Undesired results or
an error message?
>
>--
>HTH,
>
>Steve Clark, Access MVP
>FMS, Inc.
>Professional Solutions Group
>http://www.FMSInc.com
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>Is your Access database too slow?
>Are you ready to upgrade to SQL Server?
>Contact us for optimization and/or upsizing!
>http://www.FMSInc.com/consulting
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>"James" <(E-Mail Removed)> wrote in
message
>news:04fb01c39c66$08797280$(E-Mail Removed)...
>> Well I have tried the follwoing code now in a new window
>> is there anything else that I could possibly do?
>>
>> Here is the code:
>>
>> SELECT Forname, Surname, Location, Department, Username,
>> Password, [Type of Dialin]
>> FROM [SQT Live CISCO Accounts]
>> UNION ALL
>> SELECT Left([Name], Instr([Name], " ") -1) As Forname,
>> Mid([Name], Instr([Name], " ") + 1) As Surname, NULL,
>> Base, Username, Password, [Type of Dialin]
>> FROM [live CISCO Accounts]
>>
>> Please could you assist?
>>
>> Many Thanks
>>
>> James
>
>
>.
>