Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create SQL Login Programmatically....
Message
From
07/11/2003 08:08:02
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00847571
Message ID:
00847574
Views:
22
Hi Julie!

>How do I get this to run in FoxPro Code?
>
>exec sp_addlogin 'Julie', 'Test', 'Loanrev'

I think that you can to do this:
lnCon = SqlConnect([ODBCName], [Login], [Password])
=SqlExec(lnCon, "exec sp_addlogin 'Julie', 'Test', 'Loanrev'"]
= SqlDisconnect(lnCon)
Bye!
Erick
Força Sempre!
Strength Always!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform