|
|
|
Кто глючит: я или ADO?
|
|||
|---|---|---|---|
|
#18+
Здрассте! Private Sub Scan_GotBarcode() Dim rsProc As ADODB.Recordset With Me.RecordsetClone If .EOF Or .BOF Then GoTo NotFound_ If Not Me.Parent!swIns Then If Scan.KeyFound = 0 Then GoTo NotFound_ .Find "bKey=" & Scan.Key If .EOF Or .BOF Then GoTo NotFound_ Me.Bookmark = .Bookmark End If End With Set rsProc = CurrentProject.Connection.Execute _ ("spInsertBarcode " & Me.Ключ.Value & ", '" & Scan.Barcode & "'") If Me.Parent!swIns Then Me.Parent!swIns = Not Me.Parent!swIns Me.Этикетка.Value = IIf(rsProc!Result = "refuse", "e", IIf(Me.Этикетка.Value = "e", "e", "b")) ShowLabelSign Exit Sub NotFound_: doBeep End Sub Вот когда Me.Parent!swIns - тру, все пролетает ок, иначе rsProc - пустой (но не nothing) ... опять без сладкого... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.12.2001, 19:26 |
|
||
|
|

start [/forum/search_topic.php?author=%D0%A1%D0%B5%D1%80%D0%B5%D0%B3%D0%B0+%D0%93&author_mode=last_topics&do_search=1]: |
0ms |
get settings: |
11ms |
get forum list: |
14ms |
get settings: |
9ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
31ms |
get topic data: |
11ms |
get first new msg: |
7ms |
get forum data: |
2ms |
get page messages: |
34ms |
get tp. blocked users: |
1ms |
| others: | 890ms |
| total: | 1028ms |

| 0 / 0 |
