Views
Replies
Total Likes
Views
Replies
Total Likes
Hi Paul, is it possible to send these samples that show how to get a SQL statement into the connection ?
Thanks
Views
Replies
Total Likes
Those samples are posted in an early post on this thread. You should be able to grab them from there.
Paul
Views
Replies
Total Likes
Hi Paul,
i'm trying to connect a SQL server DB using you code:
when open the form i still get the message "Connection failed becuse the
environment is not trusted" and when clicking on button i get the error:
GeneralError: Operation failed.
XFAObject.setAttribute:7:XFA:data[0]:#subform[0]:Button1[0]:click
Method: 'setAttribute' cannot be called because doing so would violate this document's permissions settings.
(I'm using Designer version 8.1.2)
Please help me (i'm going crazy with this!)
Regards
Luca
Views
Replies
Total Likes
Can you post your form so I can have a look at what you have done?
Thanks
Paul
Views
Replies
Total Likes
Hi Paul, thank you for quickly response.
Previous error was solved (simply sintax error).
But the "connection for source failed because the environment is not trusted" problem still remain.
I think the problem is the SQL server connection parameters settings.
Anybody has experience with SQL server sources?
(Paul: the form is a exact copy of yours, only source type changes)
Thanks in advance
In my last try i created a DSN on my pc, and i used ODBC drivers instead that SQL server drivers in the data connection settings.
When i open the form i get the message "Unable to create SOM expression $record.DataConnection.[fieldname]".
Message was edited by: Luca Macagnino
Views
Replies
Total Likes
any help on this?
Views
Replies
Total Likes
I posted this question earlier ...
So is the issue that no matter what department I choose the data is always the same? If so then in the SQL command that is executed on the exit of the DDlist does not have any variable component to it. This SQL is what is retrieving information from the DB for updating the fields. Normally the value the is selected in teh DDList is used in teh query to select data just for that item ....I do not see anything like that in the SQL statement....am I missing something?
Paul
Views
Replies
Total Likes
Hi Paul,
The problem I have is:
In the drop down menu for example there are 3 Data selections for Department1.
When I select the first on the list Department1 the data I am getting is fine!
But when I select the second one from the list Department1 data does not update(Data from previous remains)!
My buttons work fine.
How I can solve the above problem?
Or there is a way to show up ALL data from a specific Department?
Thanks Paul for all your help
Views
Replies
Total Likes
My Access cannot seem to open your DB ...can you post it again?
Paul
Views
Replies
Total Likes
Here you are..
Thanks paul
Views
Replies
Total Likes
So is the issue that no matter what department I choose the data is always the same? If so then in the SQL command that is executed on the exit of the DDlist does not have any variable component to it. This SQL is what is retrieving information from the DB for updating the fields. Normally the value the is selected in teh DDList is used in teh query to select data just for that item ....I do not see anything like that in the SQL statement....am I missing something?
Paul
Views
Replies
Total Likes
Hi,
You can grab Paul's example on the first page of this thread: http://forums.adobe.com/message/1872874#1872874.
Niall
Views
Replies
Total Likes
Thank you,
-Don
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes