|
|
|
Как указать символ - @ в строке ? (на самом деле как повесить форму на ХП)
|
|||
|---|---|---|---|
|
#18+
Вот так не работает con.Execute (" execute SELECT_INA_Innovative_offer @id_INA, _ @cod_cex, _ @cex, _ @tree_number, _ @receipt_date, _ @name_offer, _ @autors_first_name, _ @autors_second_name, _ @place_of_work") ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2004, 12:50:17 |
|
||
|
Как указать символ - @ в строке ? (на самом деле как повесить форму на ХП)
|
|||
|---|---|---|---|
|
#18+
"blablabla" & _ "blablabla2" & _ "blablabla3" ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2004, 12:53:46 |
|
||
|
Как указать символ - @ в строке ? (на самом деле как повесить форму на ХП)
|
|||
|---|---|---|---|
|
#18+
простите не поняла? Должна выполнится эта команда, но ACCESS ругается на вот енту штуковину - @ Как мне её закавычить или что? con.Execute (" execute SELECT_INA_Innovative_offer @id_INA, _ "@cod_cex output, _ "@cex output, _ "@tree_number output, _ "@receipt_date output, _ "@name_offer output , _ "@autors_first_name output, _ "@autors_second_name output, _ "@place_of_work output, _ "@post output, _ "@id_category output, _ "@investments output, _ "@econ_benefit_set output, _ "@econ_benefit_act output, _ "@date_decision_sc output, _ "@date_decision_fc output, _ "@date_decision_mc output, _ "@mark_rationalizer output ") ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2004, 13:11:37 |
|
||
|
Как указать символ - @ в строке ? (на самом деле как повесить форму на ХП)
|
|||
|---|---|---|---|
|
#18+
& пропущен con.Execute (" execute SELECT_INA_Innovative_offer @id_INA, " & _ "@cod_cex output, " & _ "@cex output, " & _ "@tree_number output, " & _ "@receipt_date output, " & _ "@name_offer output , " & _ "@autors_first_name output, " & _ "@autors_second_name output, " & _ "@place_of_work output, " & _ "@post output, " & _ "@id_category output, " & _ "@investments output, " & _ "@econ_benefit_set output, " & _ "@econ_benefit_act output, " & _ "@date_decision_sc output, " & _ "@date_decision_fc output, " & _ "@date_decision_mc output, " & _ "@mark_rationalizer output ") ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2004, 13:17:17 |
|
||
|
Как указать символ - @ в строке ? (на самом деле как повесить форму на ХП)
|
|||
|---|---|---|---|
|
#18+
причем чую я, что и так оно тоже не заработает зачем имена параметров то передавать в ХП? есть такое мнение, что не имена параметров нужны, а их значения. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2004, 13:18:44 |
|
||
|
Как указать символ - @ в строке ? (на самом деле как повесить форму на ХП)
|
|||
|---|---|---|---|
|
#18+
Это выходные параметры, а не входные В одну строчку это работает, а как начинаю ставить переход строки - " _" фига. а........................ наверно я поняла, что делать нужно con.Execute ("execute SELECT_INA_Innovative_offer @id_INA, @cod_cex output,@cex output, @tree_number output, @receipt_date output, @name_offer output, @autors_first_name output, @autors_second_name output, @place_of_work output, @post output, @id_category output, @investments output, @econ_benefit_set output, @econ_benefit_act output, @date_decision_sc output,@date_decision_fc output,@date_decision_mc output,@mark_rationalizer output ") ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2004, 13:28:15 |
|
||
|
Как указать символ - @ в строке ? (на самом деле как повесить форму на ХП)
|
|||
|---|---|---|---|
|
#18+
BAGRAЭто выходные параметры, а не входные тем более неправильно как вы потом собираетесь их значения получать? см. хелп по ADODB.Command и ADODB.Parameter ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2004, 13:33:15 |
|
||
|
Как указать символ - @ в строке ? (на самом деле как повесить форму на ХП)
|
|||
|---|---|---|---|
|
#18+
А как же мне тогда быть??? Есть форма, в ней поля, в которые нужно вывести данные из SQL Server- ной таблицы INA_Innovative_offer Я написала хронимую процедуру в SQLServer: и вызываю ее в ACCESS, как писала выше. Что только через связанную таблицу можно? create procedure select_INA_Innovative_offer --@V_id_INA int output, @V_cod_cex int output, @V_tree_number int output, @V_receipt_date datetime output, @V_name_offer ntext output, @V_autors_first_name nvarchar(50) output, -- @V_autors_second_name nvarchar(50) output, -- @V_autors_last_name nvarchar(50) output, -- @V_place_of_work nvarchar(50) output, -- @V_post nvarchar(50) output, @V_id_category int output, @V_investments float output, @V_econ_benefit_set float output, @V_econ_benefit_act float output, @V_sum_compensation float output, @V_date_decision_sc datetime output, @V_date_decision_fc datetime output, @V_date_decision_mc datetime output, @V_date_introdaction datetime output, @V_mark_rationalizer datetime output AS SELECT --INA_Innovative_offer.id_INA, INA_Innovative_offer.cod_cex, Tbl_Cex.cex, INA_Innovative_offer.tree_number, INA_Innovative_offer.receipt_date, INA_Innovative_offer.name_offer, INA_Innovative_offer.autors_first_name, -- INA_Innovative_offer.autors_second_name, -- INA_Innovative_offer.autors_last_name -- INA_Innovative_offer.place_of_work, -- INA_Innovative_offer.post, INA_Innovative_offer.id_category, INA_Innovative_offer.investments, INA_Innovative_offer.econ_benefit_set, INA_Innovative_offer.econ_benefit_act, INA_Innovative_offer.date_decision_sc, INA_Innovative_offer.date_decision_fc, INA_Innovative_offer.date_decision_mc, INA_Innovative_offer.date_introdaction, INA_Innovative_offer.mark_rationalizer FROM INA_Innovative_offer INNER JOIN Tbl_Cex ON INA_Innovative_offer.cod_cex = Tbl_Cex.cod_cex ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2004, 14:03:58 |
|
||
|
Как указать символ - @ в строке ? (на самом деле как повесить форму на ХП)
|
|||
|---|---|---|---|
|
#18+
а зачем вам выходные параметры? Select вам и так все нужные данные вернет. Код: plaintext 1. 2. 3. 4. 5. 6. В случае если у вас adp-проект - так вообще форму напрямую на ХП вешайте. Хоть в конструкторе в RecordSource имя ХП подставьте, хоть в коде ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2004, 14:31:07 |
|
||
|
Как указать символ - @ в строке ? (на самом деле как повесить форму на ХП)
|
|||
|---|---|---|---|
|
#18+
2 BAGRA Это! типа! А ФОТКУ??? Тут на форуме по Аксу есть негластное правило: Все участники форума женского полу - должны в профиль фотку положить! В противном случае, второй вами заданные вопрос, может остаться без ответа!!! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 14.09.2004, 18:00:22 |
|
||
|
|

start [/forum/topic.php?fid=45&gotonew=1&tid=1671782]: |
0ms |
get settings: |
4ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
24ms |
get topic data: |
5ms |
get first new msg: |
4ms |
get forum data: |
1ms |
get page messages: |
25ms |
get tp. blocked users: |
1ms |
| others: | 196ms |
| total: | 273ms |

| 0 / 0 |
