[flexcoders] Re: writing data to SQL database

2009-02-17 Thread Anthony DeBonis
You may find not many people use the wizard - its ok for a quick demo 
(maybe code table admins) but not for real application development.

Check the CF Logs under the CF install dir, there may be something in 
the logs to tell what the problem is IF its on the CF side.

I often create a basic cfm file to test call the CFC function to be 
sure it returns what I expect and removed Flex from the complexity.
Write cfunit test is another great way to test each CFC call to be 
sure its correct.

Find the fault event handler (OR add one if it does not exist)and put 
a break just inside the event handler function - look at the 
FaultEvent in the debugger - it should have some info that will help 
you.

Anthony
www.troywebconsulting.com

--- In flexcoders@yahoogroups.com, Danny Buetow da...@... wrote:

  
 
 Greetings All,
 
  
 
 Yes, I am new to FLEX, as my question will surely show. I am making 
a simple
 CRUD app designed to administer my table of users. I used the 
ColdFusion
 wizard and created a Master/Detail set. The query is simple and 
tests out
 fine, however, when I Run the application and test it live, I am 
able to
 edit and delete records, yet I am not able to add a record. I 
receive no
 error and when running in debug mode, I get no breaks. I have tried 
to
 re-create the app and have googled my question in hopes of finding 
other
 newbie's with the same question. I have looked through all of the 
CFC's
 and see nothing glaring that would raise my lightly trained eyebrow.
 
  
 
 Any ideas why I would not be able to add a record?
 
  
 
 Thank You 
 
  
 
 Danny Buetow
 
 President and LOC
 
 DMB Services
 
 da...@...
 
 804.918.1027
 
  
 
  
 
 DMB Services accepts no liability for the content of this email, or 
for the
 consequences of any actions taken on the basis of the information 
provided,
 unless that information is subsequently confirmed in writing. Any 
views or
 opinions presented in this email are solely those of the author and 
do not
 necessarily represent those of DMB Services. WARNING: Computer 
viruses can
 be transmitted via email. The recipient should check this email and 
any
 attachments for the presence of viruses. DMB Services accepts no 
liability
 for any damage caused by any virus transmitted by this email. 
 
 
**
**
 
 IMPORTANT: This email is intended for the use of the individual 
addressee(s)
 named above and may contain information that is confidential, 
privileged or
 unsuitable for overly sensitive persons with low self-esteem, no 
sense of
 humour or irrational religious beliefs. If you are not the intended
 recipient, any dissemination, distribution or copying of this email 
is not
 authorised (either explicitly or implicitly) and constitutes an 
irritating
 social faux pas. 
 
 Unless the word
 http://www.it.rit.edu/~jxs/definitions/absquatulation.html 
absquatulation
 has been used in its correct context somewhere other than in this 
warning,
 it does not have any legal or grammatical use and may be ignored. No 
animals
 were harmed in the transmission of this email, although the kelpie 
next door
 is living on borrowed time, let me tell you. Those of you with an
 overwhelming fear of the unknown will be gratified to learn that 
there is no
 hidden message revealed by reading this warning backwards, so just 
ignore
 that Alert Notice from Microsoft. 
 
 However, by pouring a complete circle of salt around yourself and 
your
 computer you can ensure that no harm befalls you and your pets. If 
you have
 received this email in error, please add some nutmeg and egg whites, 
whisk
 and place in a warm oven for 40 minutes. 
 
 
**
**
 ***






[flexcoders] Re: writing data to SQL database

2009-02-17 Thread Amy
--- In flexcoders@yahoogroups.com, Danny Buetow da...@... wrote:

  
 
 Greetings All,
 
  
 
 Yes, I am new to FLEX, as my question will surely show. I am making 
a simple
 CRUD app designed to administer my table of users. I used the 
ColdFusion
 wizard and created a Master/Detail set. The query is simple and 
tests out
 fine, however, when I Run the application and test it live, I am 
able to
 edit and delete records, yet I am not able to add a record. I 
receive no
 error and when running in debug mode, I get no breaks. I have tried 
to
 re-create the app and have googled my question in hopes of finding 
other
 newbie's with the same question. I have looked through all of the 
CFC's
 and see nothing glaring that would raise my lightly trained eyebrow.
 
  
 
 Any ideas why I would not be able to add a record?

I'm not sure what you mean by a SQL database.  Possibly you mean 
either SQL Server or mySQL.  I'm not sure about SQL Server, but you 
might want to check to see if your directory permissions allow the 
internet guest account to write and execute to the directory with the 
database files if it's mySQL.