04.08.2018 0:49, Chuck Belanger phytot...@lanset.com [firebird-support] wrote:
> The above string is created and
> stored in a string just as you see it, but how do I store it in Firebird
> , preferably as-is in a table field?

   Use field (VAR)CHAR CHARACTER SET OCTETS. Then "just store" your string.

> I have tried rawbytestring but that truncates the string at the first #0
> character, thus losing the information in the '0' (or some other
> character) that follows.

   It is a problem on client side, either in your program on in IBO.

> My only solution right now is to create a new table in a one:many
> relation, such that I can have more than one record per Access code.

   It would be a right solution if you made one step further and forget about 
bitmasks at 
all. Just keep access rights as one record per table and user:

CREATE TABLE rights (user INTEGER, table INTEGER, allowed BOOLEAN)

-- 
   WBR, SD.


------------------------------------

------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu.  Try FAQ and other links from the left-side menu there.

Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/ 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/firebird-support/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/firebird-support/join
    (Yahoo! ID required)

<*> To change settings via email:
    firebird-support-dig...@yahoogroups.com 
    firebird-support-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    firebird-support-unsubscr...@yahoogroups.com

<*> Your use of Yahoo Groups is subject to:
    https://info.yahoo.com/legal/us/yahoo/utos/terms/

  • [firebird-... Chuck Belanger phytot...@lanset.com [firebird-support]
    • Re: [... 'River~~' river14ap...@gmail.com [firebird-support]
      • R... Chuck Belanger phytot...@lanset.com [firebird-support]
        • ... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
          • ... Chuck Belanger phytot...@lanset.com [firebird-support]
        • ... 'River~~' river14ap...@gmail.com [firebird-support]
          • ... Chuck Belanger phytot...@lanset.com [firebird-support]
    • Re: [... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
      • R... Chuck Belanger phytot...@lanset.com [firebird-support]
        • ... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
          • ... 'River~~' river14ap...@gmail.com [firebird-support]
            • ... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
            • ... Hamish Moffatt ham...@risingsoftware.com [firebird-support]
              • ... 'River~~' river14ap...@gmail.com [firebird-support]
                • ... Tomasz Tyrakowski t.tyrakow...@sol-system.pl [firebird-support]
          • ... Chuck Belanger phytot...@lanset.com [firebird-support]

Reply via email to