Hey guys,
i have been pondering this question for the last two weeks and have yet to come up with a good answer. What i got, is a custom E-commerce shopping cart that runs off of a filesystem database. I am trying to create a "offline" ( meaning not webbased ) way of maintaining products, categorys...all that good stuff. What im running into however. Is that each time a product or category is created, its assigned an ID value, which acts as a primary key. This primary key is used to identify the object in other tables, for example, what product belongs to what category. In my app i am going to be using MSDE and plan on importing and exporting products through a custom script. I am stuck as to how to handle this id issue though...becuase thje ids must be unqiue. SO if i have a user that is using the web interface, and another using the app, i might get a overlapping id, even though its actually two completely different products.
Any ideas?
i have been pondering this question for the last two weeks and have yet to come up with a good answer. What i got, is a custom E-commerce shopping cart that runs off of a filesystem database. I am trying to create a "offline" ( meaning not webbased ) way of maintaining products, categorys...all that good stuff. What im running into however. Is that each time a product or category is created, its assigned an ID value, which acts as a primary key. This primary key is used to identify the object in other tables, for example, what product belongs to what category. In my app i am going to be using MSDE and plan on importing and exporting products through a custom script. I am stuck as to how to handle this id issue though...becuase thje ids must be unqiue. SO if i have a user that is using the web interface, and another using the app, i might get a overlapping id, even though its actually two completely different products.
Any ideas?