Capturing Input Parameters 
Author Message
 Capturing Input Parameters

I am using the following code to attempt to collect a
integer value to populate a text field on my form:

        cnn.Open()
        Dim cmdfacid As New SybaseCommand()
        cmdfacid = cnn.CreateCommand
        cmdfacid.CommandText = "proc_newfacid"
        cmdfacid.CommandType = CommandType.StoredProcedure
        Dim facnum As SybaseParameter =


ParameterDirection.Input
        cmdfacid.ExecuteNonQuery()
        cnn.Close()
        Me.Facility_ID.Text = cmdfacid.Parameters.Item

It doesn't seem to be populating the Facility_ID field
with any value for some reason.  Any ideas?  Thanks.



Sun, 30 Jan 2005 07:57:48 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Capturing VB5 .EXE Input Parameters

2. Capturing Mic input

3. Capture F1 key input

4. How capture weird input from keyboard?

5. how to capture input from com port??

6. How can I capture keyboard and mouse inputs

7. Capture cancel in input box?

8. Capturing text input

9. How to capture keyboard input.

10. How to capture keyboard inputs

11. Capture Keyboard Input

12. Capture keyboard inputs.

 

 
Powered by phpBB® Forum Software