Expand my Community achievements bar.

Robert_Hirst
Robert_Hirst
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • No, the only thing is that the script must be set to Javascript and not Formcalc from the drop down at the top corner of the script editor, but I would think you've already done this or the || wouldn't work either.If you navigate to the exact Line/Column indicated by the error message, is it actuall...

    Type

    Discussions

    Views

    2.8K

    Likes

    0

    Replies

    0
  • OK, just checked on app.response and it's an Acrobat scripting method I wasn't familiar with. I assume that the code you have is for calling it in Acrobat scripting, as you wouldn't call it with an object which has certain properties like that in Designer.Should be:>var Temp = 1;>while (Temp != 2 &&...

    Type

    Discussions

    Views

    2.8K

    Likes

    0

    Replies

    0
  • All that syntax appears to be fine (I'm assuming app.response is a method you have defined elsewhere), which part exactly in that code equates to line 59, column 23?I put this on a click event of a button (only slightly modified to define a replacement for app.response):>var Temp = 1;>while (Temp !=...

    Type

    Discussions

    Views

    2.8K

    Likes

    0

    Replies

    0
  • I'm pretty sure any valid boolean expression can be used in a while loop, and I don't see anything wrong using with your second version (x != 1 || x != 2). However I don't think that with that statement any value of x will allow the OR statement to evaluate to false, so the loop will continue foreve...

    Type

    Discussions

    Views

    2.8K

    Likes

    0

    Replies

    0
  • I've now tried with 2 other databases:MySQL works perfectly.MSSQL fails with the error "The Java type java.util.Date isnot a supported type."So this might be a question of whether a specific JDBC drivercan map Java's date object to a field correctly.EDIT:I tried experimenting with another JDBC drive...

    Type

    Questions

    Views

    446

    Likes

    0

    Replies

    0
  • I'm just wondering if anyone has had any luck using date/timefields with SQLAssembler, as I'm having a few problems.My update query declaration looks like this:<update-item> <sql>UPDATE Timesheet SET person=#person#,<sniiiiip, lots of fields>, date=#date# WHERE id=#_PREV.id#</sql></update-item> I'm ...

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    1
  • Have a look at Shared Objects, I think these are the sort ofthing you are after. I think the "Specifying a path" subtopicshould be particularly relevant for sharing the variables/objectsbetween the two swf files.Livedocs- Shared Objects

    Type

    Questions

    Views

    359

    Likes

    0

    Replies

    0
  • I think the best way is to make a label function somethinglike this (just off the top of my head, not tested):public function rate_label(item:Object,column:DataGridColumn):String { return "GBP"+item.prdt_rate;}Then in the DataGridColumn add a property:labelFunction="rate_label"

    Type

    Questions

    Views

    405

    Likes

    0

    Replies

    0
  • That seems like the best way to go about things, thanks.I don't think normal triggers are supported from straight MDBfiles under the Jet engine, but there are afterUpdate events whichcan be fired from forms, so I'll write the code to modify thechanges table there, and tell people not to tweak the ta...

    Type

    Questions

    Views

    566

    Likes

    0

    Replies

    0
  • Thanks for the reply Ed.This is for an internal project which only uses a MDB file,which may be updated by Flex or directly through Access itself, andI'd like any changes made in Access to reflect in Flex fairlyrapidly. I can to switch to MSSQL Standard or Enterprise if it is 100%necessary, but I'd ...

    Type

    Questions

    Views

    560

    Likes

    0

    Replies

    0
Top badges earned by Robert_Hirst
Customize the badges you want to showcase on your profile