|
-
Feb 9th, 2000, 02:36 AM
#2
Thread Starter
Addicted Member
A stored procedure can do what you want. The stored procedure would look something like the following:
Create Procedure GetClient
@ClientNum int
AS
SELECT * FROM tb_Client WHERE ClientNumber = @ClientNum
To call this stored procedure from VB you can use the ado command object or straight SQL:
lsSQL = "Call GetClient " & ClientNum
recordset = adoconnection.execute(lsSQL)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|