[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: order.value from sql ?
****** message to minivend-users from Stefan Hornburg <racke@linuxia.de> ******
Holm Tiffe <holm@freibergnet.de> writes:
> Hi,
>
> How can I get the order.number out of an SQL Database ?
> We wish to hold all our orders in an SQL table, and
> additionaly we wish to put some phone orders in that
> table. (trough an Access Application [temporarly Access,
> later Tk or an minivend Application]).
> We need to have "collison free" order numbers, so how can
> I get them from a SQL Table or an sequence ?
> It seems that when I disable the OrderCounter in catalog.cfg,
> minivend creates some order-id's from session and time.
>
> Has anyone a solution ?
You may replace the module extra/File/CounterFile.pm with
an equivalent SQL solution.
Ciao
Racke
--
LinuXia - Solutions of Cool Competence - Internetprogramming and more
D-30163 Hannover, Waldstraße 4, 0511-3941290 (http://www.linuxia.de/)
Come to the land of real computing where penguins and their friends
spread the word of Open Source which crushes windows instantly.
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list