General :: Distribute Field Value Into A Listbox In 2 Or 3 Columns

Sep 25, 2013

i want to display a single field values in list box with query as row source.the query will produce variable number of records or rows. sometime 1, sometimes 3 or 6 my thought is to distribute these records/row into list box column. for example:

if query = 1 then listbox column = 1

if query = 6 then listbox column = 3 (two rows per column).

View Replies


ADVERTISEMENT

Distribute Row Information To Columns

Jun 18, 2012

I have a Query with many part numbers in column A and their inventory location(s) listed in column B. However, some part numbers are listed 2 or 3 times because the item is located in multiple inventory locations. How can I take these items and put list their inventory locations in multiple columns across one row?

What I have:

ITEM# Quantity INVENTORYLOCATION
A1 5 Warehouse 1
A2 3 Warehouse 1
A2 6 Warehouse 2
A3 2 Warehouse 1

What I want:

ITEM# INVENTORYLOCATION Quantity 1 INVENTORYLOCATION 2 Quantity 2
A1 Warehouse 1 5
A2 Warehouse 1 3 Warehouse 2 6
A3 Warehouse 1 2

View 3 Replies View Related

General :: Listbox - Use Columns Data As Where Clause Of SQL String To Populate Another Form

Oct 5, 2012

I have a listbox that is populated with data from a table. I would like to use one of the columns data as the where clause of a sql string that will populate another form, how do I get the selected items column data that I need into a variable? This is in Access 2010 vba.

View 9 Replies View Related

General :: Multiple Excel Columns To One Field

Apr 14, 2014

I have an excel sheet, sent to me by someone else. It contains a column of unique information (site IDs), followed by three columns which each contain either a unique value or a blank, something like this:

Code:
sID|Code1|Code2|Code3
011|1234A|1234B|
021| |2345B|3456C
031|3456A|3456D|
041| | |7890E

The ID represents a particular business with which we interact, whilst the codes represent particular types of contract that we have with them.

This is then followed by a lot of columns containing information about each entry, name, address, post code, contract data etc.

I need to relate this to the employees at those businesses, whose data I have recorded in a separate spreadsheet, so that addresses and such are also related to people, not just the business unit.

This spreadsheet records each person by employee ID (a unique value for each entry) and Code, without taking account of whether it is a code of type 1, 2 or 3. Like this:

Code:
eID|CodeX|FirsN|SecoN
011|1234A|Teddy|Bears
021|1234B|Harry|Horse
031|3456A|Edwin|Eagle
041|3456A|David|Tyrex

I figure the best way to create a relationship between these tables once imported into access is via a third table containing a column with all the Codes in a single field and a second field with the sID related to each code.

Code:
sID|CodeX|
011|1234A|
011|1234B|
031|3456A|
041|7890E|

My question is, how do I get all the Codes from the three different fields into a single field and relate it to the relevant sID for each?

View 1 Replies View Related

General :: Subtract ListBox Items In Field Of A Table?

Sep 26, 2014

I have a form with a textbox, listbox and a button.

my textbox is based on one of my tables, and when I enter a value (which is saved in my table) in my textbox and press enter, certain values in my table goes to my listbox, and my listbox will just additem whenever I do same thing in my textbox all overagain.

how can I subtract listbox.column(1) items in my table field "Item_Quantity" where my Listbox.column(0) is equal to my table field "Item_Description".

My Listbox column count property = 4
Row source type = value list

View 1 Replies View Related

General :: Lookup Combobox - Field Show Number Instead Of Text In Listbox

Jul 7, 2014

I have a field in a table where it is a lookup is a combo box. So this makes the data type of the field a number when in reality it is a text. When I have this field show in a list box it shows the number instead of the text.

View 5 Replies View Related

Resize ListBox Columns

Sep 28, 2005

Hi Everyone:
Just wondering if there's an easy way in Access 2000 to resize listbox columns if necessary to show all information - like you can in a table by clicking, or by the columns autoformatting. Thanks for your help.

View 4 Replies View Related

Adjustable Columns In Listbox?

Mar 6, 2013

Is there anyway to make columns adjustable columns in a listbox?

I want to be able to shift the column horizontally so you can see all the text.

View 4 Replies View Related

Save Columns Of Listbox Selected Item

Jul 23, 2007

Hi all,

Does anyone know how to get the columns of a listbox selected item and store it to a string? There is no multi-selection so it should be easier. I tried
s$ = Me.list1.selected but it keeps giving me an error

Thanks alot

View 3 Replies View Related

Distribute DB To Many Servers

Jul 7, 2005

I have developed a db (A2K) which will be distibuted through our companies franchising system to various licensees. These licensees generally operate in a single PC environment but occasionally they will be based on a server network. The single user is fine but I am stumped by the server situation as it impacts on the various links I have set up within the database to files etc that are part of the program but are external such as Excel, Word files. The current links are all set up as C:MainFolderNameFilename. Of course these all stop working when I place it on a server and link the users up via shortcuts. On our own installation I changed the links to the \MyServerMainFolderNameFilename format and everythings fine but due to the number of links this is a fairly lengthy process and I wouldn't want to have to repeat it at every clients installation.

Can any one please advise me if there is a way to set it up so that I could say enter the clients server name in a field. Then insert that field's contents into the pathway details for the links so that they all update automatically.

Your assistance would be greatly appreciated.

View 4 Replies View Related

Best Way To Distribute Application

Jan 3, 2006

Hi, I have a large database containing information that people all over the country want to access. I've designed a main form that contains 3 subforms that queries information from raw data. Now that the database is complete, i'm looking for the best way to distribute it. I've tried to put it on the network drive, but it has been rediculoursly slow. Could somebody tell me what would be the best way to do this? Thanks!

View 1 Replies View Related

Distribute MS Access

Sep 6, 2007

Hi,

I want to distribute an Access database to users, some of whom may not have Access installed on their computers.

The database has been developed using Access 2003 and I was wondering how I can distribute the database as a runtime version to my users.

Any help will be much appreciated.

Thanks,

Harmonic

View 9 Replies View Related

Cannot Distribute Database To Other Computers

May 26, 2006

I created the database on my computer. I added security and split the database to put the tables on the the server. Everything works just fine on my computer. However, when I try to copy the 3 files for the front end of the database to other computers on the network, it won't work.

Perhaps I'm confused as to what files need to be migrated to each additional computer or I don't have the security setup properly.

Right now, I move 3 files. The main database file with the front end. The shortcut file that is created when you add security and the security file that is created when you add security to the database.

I'm stumped.

View 4 Replies View Related

Distribute DB With Access Runtime

Jan 12, 2008

Hi

Does anyone have a good easy sugestion on how to distribute a db with access runtime in a package to users without access 2003?
I have tried setup2go and it makes a fine .exe file.
But I can't make the package with access runtime.

Thanks

Mikael

View 1 Replies View Related

Database Complete Time To Distribute

Jul 27, 2007

Hello,

I have finally completed my database project. It is a split database. Back End on a network server.

I want to distribute the front end to all users however I want to limit to the best I can what they can do to it. Can someone please advise me on the best way to wrap up and send out my front ends?

All security has been established. I am talking about the availability to see the tables, macros, control bars etc..

Any suggestions would be greatly appreciated.

Fen How

View 1 Replies View Related

Access 2007 Package And Distribute Suggestions

Dec 28, 2007

All -

I have just about finished up a Split DB that I plan on deploying in a LAN environment. The goal of course is to turn what looks like an Access Application now into a non-access looking application where the Front End can be distributed and run on any computer within the LAN.

I have several questions that I may need some help on.

How does one go about hiding the Access Shell and/or Ribbon/Nav in 2007?

How would I add a form that allows for a user to navigate to and connect to the back-end without having them check all of the appropiate tables and then browse to the back-end file if they have a different drive letter mapped to the location of the back-end files for example?

Any tips on how to sign the DB so the pesky Trust Center question can be bypassed?

Any other tips on how to simply distribute this for a LAN environment and/or make it look NOT like an Access DB with access to view the Forms, Tables, Queries, etc. This is my first Access DB project, let alone a LAN distributable one.

Thanks!

View 7 Replies View Related

Modules & VBA :: How To Divide / Distribute Books To Boxes

Apr 18, 2015

I have a list that shows how many books we have for each PO No. (Sorted by PO No.) Like below:

LIST 1:

Code:
PO NoTOTAL BOOKS
PO-0001 12
PO-0002 15
PO-0003 26

Now I would like to distribute/divide these different books to boxes and each box gets maximum 10 books. Like below list:

LIST 2:

Code:
BOX NOBOOKSPO NO
0001 BOOK 1~10 PO-0001
0002 BOOK 11~12 PO-0001
0002 BOOK 1~8 PO-0002
0003 BOOK 9~15 PO-0002
0003 BOOK 1~3 PO-0003
0004 BOOK 4~13 PO-0003
0005 BOOK 14~23 PO-0003

Format is not important in the list2, for example in Box 0002 we have book 11~12 means (book 11 of 12 +book 12 of 12) in po-0001

+ book 1 of 15 until book 8 of 15) in po-0002

books have bookno, for example for po-0001 we have 12 different books it means we have bookno (1 of 12) until (12 of 12) for this po no.

How I can produce automatically list 2 from list 1 by query or coding.

View 2 Replies View Related

Queries :: Evenly Distribute And Assign Records?

Jul 31, 2013

I have multiple databases (Front-end, Back-end, Import, Reporting) which enables auditors in our company to audit loans.

I use an Import database which imports a random sample of loans (10%) into the Back End database for audit. I import a spreadsheet of loans (let's say 5000 loans) into the Import database, and I have the query return 10% of the loans, which is then imported into our Back-end database for audit (500 loans for audit).

Currently the auditors look at the daily list of loans (the 500 imported loans) and divide the work amongst themselves (5 auditors will audit 100 loans each.) They decide Bob will do 1-100; Joe will do 101-200; Bill will do 201-300; etc.

Is there a way using a query to assign these loans to specific auditors when importing the loans into the BE for audit? I would need to enter how many auditors will be working the loans so the work is divided evenly, and then enter the auditor's initials. (Since the auditors perform different audits, I would like the ability to select or key in auditor initials when importing the loans..

View 6 Replies View Related

How To Distribute Updates From Front End Over A Network To Runtime Version

Jan 17, 2013

Is it possible to distribute updates from the frontend to an access runtime version?

View 1 Replies View Related

General :: Sort By 2 Columns

Aug 14, 2014

I am trying to sort by 2 columns

1st column by "type"
2cnd column by " stock number"

I have the query set to ascending in both fields but it will only do the type columnexample below shows 5096B00028 not together

Quote:

requistion items stock number Material type: 5096B000335 9mm x 33.5mm winding core 5mm A/F hex Polypropylene Adstif HA840R Core 5096B00028 9mm x 28mm winding core 5mm A/F hex Polypropylene Adstif HA840R Core 5096B00114 9mm x 114mm winding core 5mm A/F hex Rynite 935 (to dwg 9020) Core 5096B000675 9mm x 67.5mm winding core 5mm A/F hex Polypropylene Adstif HA840R Core 5096B00057 9mm x 57mm winding core 5mm A/F hex Polypropylene Adstif HA840R Core 5096B000355 9mm x 35.5mm winding core 5mm A/F hex Polypropylene Adstif HA840R Core 5096B00028 9mm x 28mm winding core 5mm A/F hex Polypropylene Adstif HA840R Core 5096B000335 9mm x 33.5mm winding core 5mm A/F hex Polypropylene Adstif HA840R Core 5096B00049 9mm x 49mm winding core 5mm A/F hex Polypropylene Adstif HA840R Core

View 7 Replies View Related

General :: Clearing Text In Specified Columns

Oct 31, 2013

I am creating a database that keeps track of everyone who is currently "In" at work. I am giving a set number of people "administrative" access to the backend where they can view the status of everyone. The plan is to have them export each daily report into an Excel document. Every morning when the administrator comes in, he/she will need to click a button that clears everyones status so they can start over. The employees names and payscale stays the same and does not clear.

I am all about automation! If there is a way where the specified fields automatically clear, say after midnight.

View 2 Replies View Related

General :: AUTOFIT Columns In Access?

Apr 7, 2014

How to AUTOFIT columns in Access (2013) ...

View 1 Replies View Related

Tables :: Suitable Table Structure To Distribute Payments Among Different Bank Accounts

Aug 17, 2015

Looking for efficient table structure for this. Let's say I have a list of contractors who will get paid a certain amount of money each week. The amount of money changes each week by measuring the amount of work done, giving it a price and calculating it. The fields are these:

[pk]WeeklyWorkID
WorkID
Quantity
UnitPrice
Total=Qty*UnitPrice (not stored in this table)
EmployeeID
WeekID

So far, it's all good, but we wish to pay the contractors in an unusual way. Let's say he makes $16,000 of work this week, and we want to pay him using cash AND/OR either one or multiple debit cards. For example:

Cash: $1,500
Debit card 45: $7,500
Debit card 71: $4,000
Debit card 13: $3,000
Total = $ 16,000

We can only deposit $7,500 max in each card. But it's even worse... two or more contractors can SHARE the card and it's not always the same card. Sounds pretty funky, but it's what the company wants to do. So, what would you recommend me in this case?

I'm guessing I'm gonna need these tables: tbWeeks to hold the week number, tbCards to store the cards' info, and an extra table to make a many to many relationship between the cards and the employees.

View 2 Replies View Related

General :: Display Sorted Data For Two Columns

Sep 23, 2013

I have written a query where it displays sorted data for two columns, but problem is its sorting on one column but not on another.

When checking the query separately its giving proper output, but in form view its sorting only on one column not on another.

View 1 Replies View Related

General :: Converting Rows To Columns VBA Access

Jul 31, 2013

I am trying to convert a table that looks like the following...

Customer Name SumofSum of Bill Rate Reviewer
000462 John 500 Mike
000224 Mike 900 Jeff

I would like to covert it to....

Customer 000462 000224
Name John Bill
SumOfSum.. 500 900
Reviewer Mike Jeff

I don't think Access has any functions for this but I am not 100% sure. I know this can be done in a Module but I am not sure of how to code it.

View 14 Replies View Related

General :: Database That Searches Values Between Two Columns

Jun 26, 2012

I'm new to Access programming. I want to setup an Archiving/Storage Database which contains data of boxes with folders in it. The data would be the box number, begining folder, ending folder and box description (See Below).

[BoxNum] [FromRange] [ToRange] [BoxInfo]
123456 10000 10100 Case File
123457 10101 10954 Batch File
123458 11234 11545 Case File

I would like to setup a database that once the data is entered a user can open a form and search for a folder like 10054 by entering it in to a field like [SearchBox] and search the values between [FromRange] and [ToRange] and retrieve that boxes information 123456.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved