Answered by:
sql statement in the onLoad Event...how to ???

Question
-
Hi all, is there anyway to write a sql statement inside the onLoad Event??
thanks in advance
Monday, September 27, 2010 9:52 AM
Answers
-
Hello, Mostafa.
Check this article - http://jianwang.blogspot.com/2007/05/accessing-crm-database-from-jscript.html
Microsoft CRM Freelancer
My blog (english)
Мой блог (русскоязычный)- Proposed as answer by Andrii ButenkoMVP, Moderator Monday, September 27, 2010 10:08 AM
- Marked as answer by Jim Glass Jr Monday, September 27, 2010 7:08 PM
Monday, September 27, 2010 10:01 AMModerator
All replies
-
Hi all, is there anyway to write a sql statement inside the onLoad Event??
thanks in advance
- Merged by DavidJennawayMVP, Moderator Thursday, October 21, 2010 2:40 PM Duplicate thread. Please only post the question in one forum
Monday, September 27, 2010 9:53 AM -
Hello, Mostafa.
Check this article - http://jianwang.blogspot.com/2007/05/accessing-crm-database-from-jscript.html
Microsoft CRM Freelancer
My blog (english)
Мой блог (русскоязычный)- Proposed as answer by Andrii ButenkoMVP, Moderator Monday, September 27, 2010 10:08 AM
- Marked as answer by Jim Glass Jr Monday, September 27, 2010 7:08 PM
Monday, September 27, 2010 10:01 AMModerator -
Thanks Andriy alo
that will be very helpful for me :)
Monday, September 27, 2010 10:07 AM -
Thanks Andriy alo
that will be very helpful for me :)
Monday, September 27, 2010 10:07 AM -
Dear Andriy,
Could u pleaaaaaaaaaaaaase give a little description for each line of code starting from line 11 to the end ??
your help will be appreciated
i'm sorry but as i'm new in crm and jScript as well and and i'm working on them alone as the crm deployment is fresh in our company
then you could appreciate that i need alot of help :)
thanks in advance
Monday, September 27, 2010 10:20 AM -
I would not explain anything.
I suggest you to visit this website for detailes - http://www.w3schools.com/ado/
Microsoft CRM Freelancer
My blog (english)
Мой блог (русскоязычный)- Proposed as answer by Andrii ButenkoMVP, Moderator Monday, September 27, 2010 10:59 AM
Monday, September 27, 2010 10:23 AMModerator -
Hello Andriy,
Now i could write sql statement in the onLoad Event
But i'm trying to test it the following error ocurrs:
safety setting on this computer prohibit accessing a data source on another domain
I've tried to browse the internet for the error
and i found a sollution by enabling access to data source across domains in IE options
but this solution didn't work for me
do you have any suggestions ???
thanks in advance
Monday, September 27, 2010 12:10 PM