G
Guest
Good morning,
can come one please help me with my following datasbase dilemma
The user will be asked, "What Catalogue Code do you require ?" The
question will be repeated until there are no more catralogue codes. I would
like to build up a STR statement in the background.
Suppose the user enters 2 Catalogue Codes;
E.G Item 1, Item 2. I would like a variable to buld up a resulting STR
statement of
code]InStr([CatalogCode],"Item1")+InStr([CatalogCode],"Item2")[/code].
I then want the database to automatically build a query with the STR
statement so that it can be used again. The reason being.........The
database will be used to track different promotions and therefore have a
different STR statment for each promotion.
As always, If you could give me the basic skeleton code, if its possible?, I
would really appreciate it.
Thank you.
can come one please help me with my following datasbase dilemma
The user will be asked, "What Catalogue Code do you require ?" The
question will be repeated until there are no more catralogue codes. I would
like to build up a STR statement in the background.
Suppose the user enters 2 Catalogue Codes;
E.G Item 1, Item 2. I would like a variable to buld up a resulting STR
statement of
code]InStr([CatalogCode],"Item1")+InStr([CatalogCode],"Item2")[/code].
I then want the database to automatically build a query with the STR
statement so that it can be used again. The reason being.........The
database will be used to track different promotions and therefore have a
different STR statment for each promotion.
As always, If you could give me the basic skeleton code, if its possible?, I
would really appreciate it.
Thank you.