VB錯誤,求指導(dǎo)
VB錯誤,求指導(dǎo)
select cangwei,qty,storenu,outofplace from YUCHUKU where chukunu='AA123456' and (cangwei='' or cangwei is null or qty=0 or qty='' or qty is null or storenu='' or storenu is null or outofplace='' or outofplace is null)
這句話有問題,報錯標(biāo)準(zhǔn)表達(dá)式中類型不匹配
誰幫我糾糾錯啊
本意是指,從YUCHUKU里查詢4列是否有空值,滿足條件CHUKUNU=AA123456
上面的問題我自己解決了,
有2張ACCESS表
A表字段有a,b,c,d,e(e是數(shù)字)
B表字段有f,g,h,i(i是數(shù)字)
現(xiàn)在我想要當(dāng)A.a=B.f and A.b=B.g and A.c=B.h的時候,A的e字段減去B的i字段,然后更新掉A的e字段.
即最后結(jié)果為
A的e=e-i
這句話我要怎么寫啊
select cangwei,qty,storenu,outofplace from YUCHUKU where chukunu='AA123456' and (cangwei='' or cangwei is null or qty=0 or qty='' or qty is null or storenu='' or storenu is null or outofplace='' or outofplace is null)
這句話有問題,報錯標(biāo)準(zhǔn)表達(dá)式中類型不匹配
誰幫我糾糾錯啊
本意是指,從YUCHUKU里查詢4列是否有空值,滿足條件CHUKUNU=AA123456
上面的問題我自己解決了,
有2張ACCESS表
A表字段有a,b,c,d,e(e是數(shù)字)
B表字段有f,g,h,i(i是數(shù)字)
現(xiàn)在我想要當(dāng)A.a=B.f and A.b=B.g and A.c=B.h的時候,A的e字段減去B的i字段,然后更新掉A的e字段.
即最后結(jié)果為
A的e=e-i
這句話我要怎么寫啊
英語人氣:130 ℃時間:2020-05-22 15:13:46
優(yōu)質(zhì)解答
select cangwei,qty,storenu,outofplace from YUCHUKU where chukunu='AA123456' and (cangwei='' or isnull(cangwei) or qty=0 or isnull(qty) or storenu='' or isnull(storenu) or outofplace='' or isnull(outofplace))
我來回答
類似推薦
- dim strsql as string
- VB里的問題
- 2道VB問題
- 當(dāng)x=____時,代數(shù)式2分之1-x與1-3分之x-1的值相等
- 成語,描述事情不是安照自己的意愿發(fā)展的成語
- 形容老鷹的詞
- 一直關(guān)于x的方程為3x+a=5-6x
- 將250ml密度為1.05g/cm3的質(zhì)量分?jǐn)?shù)為14%的硫酸跟足量的鐵屑充分反應(yīng),求
- 根據(jù)所學(xué)知識對對聯(lián)
- 線性代數(shù):如果n階矩陣A中的所有元素都是1,求出A的所有特征值,并求出A的屬于特征值λ=n的特征向量?
- ( )Chinese are looking forward to learning English well before Beijing Olympics.
- Eggs,though rich in nourishments,have ______ of fat.
猜你喜歡
- 1Newton proved that it is ______ the moon is pulled out of a straight path and kept in orbit.
- 2i don,t think it will rain tomorrow,----- ------?
- 3甲.乙兩地相距81千米,小林和小明同時從兩地騎車相向而行,小林每小時行10千米,3小時后兩人相遇.`1`1`1
- 4《床頭上的標(biāo)簽》中李比希為什么懊悔莫及?
- 5英語翻譯
- 6七年級課課大考卷數(shù)學(xué)答案
- 7你根本不健康,所以你必須改變你的飲食的英文是什么?
- 8英語翻譯
- 9已知數(shù)列{an}中,an=4^n-14*2^n-20,n∈N*
- 10A、那樣丑的臉,那樣長的牙,那樣安靜的態(tài)度.他們咀嚼的時候,上牙和下牙交錯地磨來磨去,大鼻孔里冒著熱氣,白沫子粘在胡須上.(駱駝)
- 11有關(guān)“美就在你身邊”的名言
- 12如果1998某人的年齡等于他出生的公元年數(shù)的數(shù)字之和,那么1980年他的年齡是?歲?