baffled by Access 2002 - Any ideas

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default baffled by Access 2002 - Any ideas

    I have this simple shopping cart that I am working with with two
    databases

    - products & orders

    -orders has two tables: orders & itemsOrdered
    -products has a products table

    When a customer orders somethign the data gets written to the
    itemsOrderd table. There is a field that is giving me a lot of
    trouble (property of that field is text). The field name is
    synaroCode

    Here's the strange thing...

    In my form I have these hidden values:

    <input type="hidden" name="intProdID" value="2">
    <input type="hidden" name="strProdName" value="product X">
    <input type="hidden" name="strProdPrice" value="89.95">
    <input type="hidden" name="synaroCode" value="CAL-150P KIT:">

    The synaroCode field is the stinker. WE can all see that the value of
    the synaroCode hidden field in my form is

    CAL-150P KIT:

    It can only be that cause that field is getting it's value from my
    products database/products table.

    The hidden fields values gets written to an itemsOrderd table

    The crazy thign is that when I am displaying the contents of the
    itemsOrdered table, the synaroCode field - rs("synaroCOde") is getting
    displayed as


    CAL-150 BP KIT:

    Where did the 'B' come from? At an earlier rev of my products table
    did have that value, but it aint there no more.

    Some how Access is remembering that value and it is showing up and I
    cannot get the 'real' value of my origional hidden field to show up.

    I even verified that the 'new' data that gets written to the
    itemsOrdered table is in fact the correct hidden value.

    I know this may sound a bit crazy, but Access i sremembering my
    previous value and I'm stuck
    % =joe % Guest

  2. Similar Questions and Discussions

    1. Access 2002 PDFWriter VBA Code w/WinXP does not work like Access 2000
      I am trying to print an Access 2002 report (Windows XP OS) as a PDF. I had success with Access 2000 in a Windows 2000 environment, but as soon as I...
    2. subform Problem access 2002
      I have a form (frmMeasure) with a sub form (frmMemo). The sub form is built on a table that has only 3 fields: Its own Recnum (autonumber) a...
    3. Access 2002
      I get this error message"compile error: Invalid outside procedure" regarding the SET DB = CURRENTDB() in access 2002 that I never got in access 97...
    4. Conversion problem from Access 97 to Access 2002
      I have an old access 97 database and I tried to convert to Access 2002. After the conversion, some of the forms and all modules are not converted...
    5. Access 2000 / 2002 errors - urgent
      Hi there, I tried to open the access 2000 mdb(migrated from access 97) in access 2002 on XP. the forms are running. the forms have entry fields...
  3. #2

    Default Re: baffled by Access 2002 - Any ideas

    On 4 Jun 2004 14:06:31 -0700, [email]jweiss@lanelabs.com[/email] (% =joe %) wrote:
    >I have this simple shopping cart that I am working with with two
    >databases
    Why two databases? These should all be tables in the same database.
    >- products & orders
    >
    >-orders has two tables: orders & itemsOrdered
    >-products has a products table
    >
    >When a customer orders somethign the data gets written to the
    >itemsOrderd table. There is a field that is giving me a lot of
    >trouble (property of that field is text). The field name is
    >synaroCode
    >
    >Here's the strange thing...
    >
    >In my form I have these hidden values:
    >
    ><input type="hidden" name="intProdID" value="2">
    ><input type="hidden" name="strProdName" value="product X">
    ><input type="hidden" name="strProdPrice" value="89.95">
    ><input type="hidden" name="synaroCode" value="CAL-150P KIT:">
    >
    >The synaroCode field is the stinker. WE can all see that the value of
    >the synaroCode hidden field in my form is
    >
    >CAL-150P KIT:
    >
    >It can only be that cause that field is getting it's value from my
    >products database/products table.
    >
    >The hidden fields values gets written to an itemsOrderd table
    >
    >The crazy thign is that when I am displaying the contents of the
    >itemsOrdered table, the synaroCode field - rs("synaroCOde") is getting
    >displayed as
    >
    >
    >CAL-150 BP KIT:
    >
    >Where did the 'B' come from? At an earlier rev of my products table
    >did have that value, but it aint there no more.
    >
    >Some how Access is remembering that value and it is showing up and I
    >cannot get the 'real' value of my origional hidden field to show up.
    >
    >I even verified that the 'new' data that gets written to the
    >itemsOrdered table is in fact the correct hidden value.
    >
    >I know this may sound a bit crazy, but Access i sremembering my
    >previous value and I'm stuck
    It *is* crazy. Access doesn't remember a value, each update to a
    record is finished when the record is updated. You may be oulling
    from the wrong table, the wrong record or even have the value in your
    code somewhere, but we can't tell that since we don't have your
    database or code to look at.

    Search your database(s) and code for that value.

    Jeff
    Jeff Cochran Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139