|
Кто глючит: я или 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/topic.php?fid=45&fpage=1857&tid=1683713]: |
0ms |
get settings: |
9ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
63ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
56ms |
get tp. blocked users: |
1ms |
others: | 13ms |
total: | 173ms |
0 / 0 |