Cowboy_BeBa
Registered User.
- Local time
- Today, 18:31
- Joined
- Nov 30, 2010
- Messages
- 188
Hi
So ive rebuilt my work database
the original db had 3 tables for keeping track of Stock (tblFinishedGoods, tblProducts, tblIngredients), the new one just has one table for all types (tblStock). This new design simplified the crap out of all the queries i used to calculate stock costs/levels as well as added greater flexibility
I originally wrote up a few paragraphs explaining the different tables and their functions and why i made the decision to merge 3 tables into one (actually turned 6 tables into 2, but thats a long story)
but end of the day all that is irrelevant and i didnt overlaod you guys (or waste your time on) unnecessary info
basically i have a field (stoOldDBRef) that contains all my old ID's and the tables their from
these records have 2 letters followed by a number
I need to write an expression in a query that essentially strips the 2 letters and just leaves me with the number (the number varies between 1 and 3 characters), not quite sure how to do this, wondering if anyone can help me out here
Just wondering
So ive rebuilt my work database
the original db had 3 tables for keeping track of Stock (tblFinishedGoods, tblProducts, tblIngredients), the new one just has one table for all types (tblStock). This new design simplified the crap out of all the queries i used to calculate stock costs/levels as well as added greater flexibility
I originally wrote up a few paragraphs explaining the different tables and their functions and why i made the decision to merge 3 tables into one (actually turned 6 tables into 2, but thats a long story)
but end of the day all that is irrelevant and i didnt overlaod you guys (or waste your time on) unnecessary info
basically i have a field (stoOldDBRef) that contains all my old ID's and the tables their from
these records have 2 letters followed by a number
I need to write an expression in a query that essentially strips the 2 letters and just leaves me with the number (the number varies between 1 and 3 characters), not quite sure how to do this, wondering if anyone can help me out here
Just wondering