フィールド数をあと1個増やしたいのですが。。。
フィールド数をあと1個増やしたいのですが。。。
初心者ですが、宜しくお願い致します。環境は、Access2002 Windows XP です。
13テーブルよりクエリを作成中なのです。保存の時に
定義されているフィールドが多すぎます というメッセージが出ます。
目的は、CSVに出力してファイルを作成することです。
現状は、52フィールドあと1つ ●カテゴリーID● というフィールドを増やし
保存できれば完成なのですが・・・・
Accessでのフィールド数の上限は255フィールドとなっていると思うのですが
変更の仕方が解りません。SQLも解らないので宜しくお願い致します。
SELECT T_ec_no.商品ID, T_ec_no.規格ID, T_ec_no.規格名1, T_ec_no.規格名2, IIf(Trim("" & T_price!stock_number)="","" & "未出品","") & Mid(IIf(Trim("" & T_maker!maker1)="",""," " & T_maker!maker1) & IIf(Trim("" & T_maker!maker2)="","","" & " " & T_maker!maker2) & IIf(Trim("" & T_price!stock_number)="","","" & " " & T_price!stock_number) & IIf(Trim("" & T_price!item_brandname)="",""," " & T_price!item_brandname) & IIf(Trim("" & T_price!item_name)="",""," " & T_price!item_name) & IIf(Trim("" & T_price!path_2)="",""," " & T_price!path_2) & IIf(Trim("" & T_material!color1)="",""," " & T_material!color1) & IIf(Trim("" & T_original!made)="",""," " & T_original!made) & IIf(Trim("" & T_original!capacity)="",""," " & T_original!capacity) & IIf(Trim("" & T_material!weight1)="",""," " & T_material!weight1) & IIf(Trim("" & T_delivery!postage7)="",""," " & T_delivery!postage7),2) AS 商品名, IIf(Trim("" & T_category!sold)="",1,0) AS 公開フラグ, T_ec_point.商品ステータス, IIf(Trim("" & T_price!fixed_price)="",""," " & T_price!fixed_price) AS 通常価格, IIf(Trim("" & T_price!開始価格)="",""," " & T_price!開始価格) AS 販売価格, T_ec_point.在庫数, [T_delivery!ec送料] AS 送料, T_ec_point.ポイント付与率, T_ec_point.購入制限, T_maker.url, Trim(StrConv(LeftB(StrConv(Mid(IIf(Trim(" " & T_maker!maker1)="","","" & T_maker!maker1 & ",") & IIf(Trim(" " & T_maker!maker2)="","","" & T_maker!maker2 & ",") & IIf(Trim(" " & T_price!path_1)="","","" & T_price!path_1 & ",") & IIf(Trim(" " & T_price!path_2)="","","" & T_price!path_2 & ",") & IIf(Trim(" " & T_price!stock_number)="","","" & T_price!stock_number & ",") & IIf(Trim(" " & T_price!item_brandname)="","","" & T_price!item_brandname & ",") & IIf(Trim(" " & T_price!item_name)="","","" & T_price!item_name & ",") & IIf(
お礼
ご回答ありがとうございます^^ 在庫処分ですか…!なるほど!