TAILIEUCHUNG - Developer’s Guide Borland Delphi 7 for Windows PHẦN 6

Các tài sản ParamType cho thấy các loại của các tham số được lựa chọn. Điều này có thể được ptInput (đối với các thông số đầu vào), ptOutput (đối với các thông số đầu ra), ptInputOutput (đối với các thông số đầu vào / đầu ra) hoặc ptResult (đối với các thông số kết quả). | Using stored procedure - type datasets The ParamType property indicates the type of the selected parameter. This can be ptInput for input parameters ptOutput for output parameters ptInputOutput for input output parameters or ptResult for result parameters . The Value property specifies a value for the selected parameter. You can never set values for output and result parameters. These types of parameters have values set by the execution of the stored procedure. For input and input output parameters you can leave Value blank if your application supplies parameter values at runtime. If the dataset uses a Parameters property TParameter objects the following properties must be correctly specified The Name property indicates the name of the parameter as it is defined by the stored procedure. The DataType property gives the data type for the parameter s value. For some data types you must provide additional information The NumericScale property indicates the number of decimal places for numeric parameters. The Precision property indicates the total number of digits for numeric parameters. The Size property indicates the number of characters in string parameters. The Direction property gives the type of the selected parameter. This can be pdInput for input parameters pdOutput for output parameters pdInputOutput for input output parameters or pdReturnValue for result parameters . The Attributes property controls the type of values the parameter will accept. Attributes may be set to a combination of psSigned psNullable and psLong. The Value property specifies a value for the selected parameter. Do not set values for output and result parameters. For input and input output parameters you can leave Value blank if your application supplies parameter values at runtime. Understanding datasets 24-53 Using stored p r o c e d u r e -1 y p e datasets Using parameters at runtime With some datasets if the name of the stored procedure is not specified until runtime no TParam objects .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.