Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. KMarshall

    Interrogate bits in a binary string

    Yes, the data was already an int. Basically what I'm doing is pulling back a set of data and deciding if a particular bit has been turned on or off. It is always the same bit that I am checking. Both suggestions have been helpful. My problem now is that other events make an entry in the table...
  2. KMarshall

    Interrogate bits in a binary string

    Fantastic, thanks for your help.
  3. KMarshall

    Interrogate bits in a binary string

    I need to interrogate a particular bit in a binary string. If I take the number 56246 and convert it to binary using the windows calculator I end up with this binary string 1101101110110110 I am interested in determining the status of the bold bit. If I take the number 56246 that is stored in...
  4. KMarshall

    Regular Expressions

    Brilliant, thanks grtfercho. I was struggling with that very problem after my initial excitement. Thanks!
  5. KMarshall

    Regular Expressions

    I got it: var rExp=/^\d{4}[a-z]{2,3}$/
  6. KMarshall

    Regular Expressions

    Thanks for the very fast reply guys! I've gone with grtfercho's answer as it is the easiest one for me to understand although I do appreciate what Cresby is saying about the nulls. I have one more thing to add to the mix. What if I need an optional character on the end? The last character can...
  7. KMarshall

    Regular Expressions

    I've been trying to create a regular expression to validate a string, but since this is my first time with regular expressions, I'm making very hard work of it. The accepted string format is NNNNAA where N=numberic and A=Alpha. The field is forced uppercase. I can validate the NNNN part but...
  8. KMarshall

    Add a day onto today's date

    Hi all, I'm simply trying to add 1 day onto today's date. I've figured out that I need to convert todays date to milliseconds using getTime() but when I try to add 8640000 milliseconds (ie 1 day) onto my object I can't manage to convert it back so that the date is incremented by 1 day. No doubt...
  9. KMarshall

    Making use of the id tag

    I have following xml doc: <?xml version=&quot;1.0&quot;?> <Jobs> <Job id=&quot;1&quot;> <CustomerRef>123456</CustomerRef> <CollectionDate>18/09/01</CollectionDate> <CollectionTime>18:00</CollectionTime> <DeliveryDate>19/09/01</DeliveryDate>...
  10. KMarshall

    Can this be done?

    I'd like to know if I'm going about doing this in the right way. Basically I have an xml document I want to post to the internet, capture and submit to a database. I have an xml document in simple flat format, eg: <Jobs> <Job> <DeliveryDate>01/10/01</DeliveryDate>...
  11. KMarshall

    Multiple Query in Ultradev

    Excellent, thanks!
  12. KMarshall

    Multiple Query in Ultradev

    I have a form that has three fields txtAccount (Account Number) mnuCriteria (either = < or >) txtInvoiceNo (1 to whatever) I want the user to be able to key in an account number in the textbox txtAccount, then select from the dropdown menu mnuCriteria either = < or > then key...

Part and Inventory Search

Back
Top