home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / sybase / 650 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.7 KB  |  50 lines

  1. Newsgroups: comp.databases.sybase
  2. Path: sparky!uunet!caen!spencer
  3. From: spencer@med.umich.edu (Spencer W. Thomas)
  4. Subject: APTEXEC bug (5.0)
  5. Message-ID: <SPENCER.93Jan11155847@guraldi.med.umich.edu>
  6. Date: Mon, 11 Jan 93 15:58:47 EST
  7. Organization: University of Michigan
  8. Distribution: comp
  9. Nntp-Posting-Host: guraldi.itn.med.umich.edu
  10. Lines: 38
  11.  
  12.  SQL Server/4.8/P/Sun 4/SunOS 4.1.X/5/OPT/Fri Apr 24 10:15:10 PDT 1992 
  13.  APT Workbench/5.0/P/Sun4/SunOS 4.1/1/Fri Jan 24 21:41:00 PST 1992
  14.  
  15. I've got a form that works fine under apt(edit), and under aptexec
  16. UNLESS I specify -P passwd (e.g., I type
  17.     aptexec form 1 -P $PASSWD where $PASSWD contains my database
  18. password).  The form contains two "float" fields, the corresponding
  19. database columns are of type "real".  When I try to "find by example",
  20. I get a warning message "... SQL column xxx is datatype real and xxx
  21. is float."  This happens on the opensql statement for the row.  Then I
  22. get a fatal message when it actually tries to assign the value from
  23. the row to the form field.
  24.  
  25. To reproduce it:
  26.  
  27. create table testbug (
  28.     x real
  29. )
  30. go
  31. sp_primarykey testbug,x
  32. go
  33.  
  34. Then, run apt and create a test form.  Choose "testbug" as the table,
  35. and build an application.  Add a few rows to the table.  Clear the
  36. form and choose "find/by example".  Works fine, right?
  37.  
  38. Now run aptexec (without -P).  Again, find/by example works fine.
  39. Now, run aptexec -P passwd.  See the error message.
  40.  
  41. Question: does anyone know if this has been fixed?  If I take the time
  42. and effort to do the 4.8->4.9 upgrade (and APT 5.0->5.2) will it fix
  43. it?  
  44.  
  45.  
  46. --
  47. =Spencer W. Thomas         |  Info Tech and Networking, B1911 CFOB, 0704
  48.    "Genome Informatician"    |  Univ of Michigan, Ann Arbor, MI 48109
  49. Spencer.W.Thomas@med.umich.edu    |  313-747-2778, FAX 313-764-4133
  50.